Bug 712347 - 'The image cannot be displayed ...' error message is hard to read on a dark background. r=roc
authorGreg Karz <greg.karz@gmail.com>
Fri, 13 Jan 2012 16:26:41 -0800
changeset 85777 7f728aef5ad85bc06bb6502931e2a75d0299edfe
parent 85776 f7c8c8ee3fad1d0812b05857db00cf22632ff685
child 85778 4ac407704d74cf979e346a267eed3dbd6c589100
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs712347
milestone12.0a1
Bug 712347 - 'The image cannot be displayed ...' error message is hard to read on a dark background. r=roc
layout/style/TopLevelImageDocument.css
--- a/layout/style/TopLevelImageDocument.css
+++ b/layout/style/TopLevelImageDocument.css
@@ -44,16 +44,18 @@ body {
 
 /* We must declare the image as a block element. If we stay as
 an inline element, our parent LineBox will be inline too and
 ignore the available height during reflow.
 This is bad during printing, it means tall image frames won't know
 the size of the paper and cannot break into continuations along
 multiple pages. */
 img {
+  color: #eee;
+  text-align: center;
   display: block;
   position: absolute;
   margin: auto;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
 }