From 18ce3fe4eeccda21d63828e06283f8b6308f147d Mon Sep 17 00:00:00 2001 From: Jason Fowler Date: Thu, 20 Feb 2014 08:44:55 +0800 Subject: [PATCH] MDL-44223 Atto: Setting images to display a place holder when src is broken --- lib/editor/atto/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/editor/atto/styles.css b/lib/editor/atto/styles.css index 7b966780824..48f89366374 100755 --- a/lib/editor/atto/styles.css +++ b/lib/editor/atto/styles.css @@ -201,3 +201,10 @@ div.editor_atto_content:hover .atto_control { border-radius: 2px; display: block; } + +/* Get broken images back in firefox */ +.editor_atto_content img:-moz-broken { + -moz-force-broken-image-icon:1; + min-width:24px; + min-height:24px; +} \ No newline at end of file