Bug#549371: userContent.css test results

Mark Hedges hedges at scriptdolphin.com
Tue Dec 29 00:41:34 UTC 2009


On Thu, 24 Dec 2009, Mike Hommey wrote:
> There were two levels to this problem, and one of them is
> gone: GTK elements *can* be styled with CSS since version
> 3.5, see the attached file, for example. It means you can
> do something by editing the userContent.css file in your
> profile.

I hope this result table is helpful in fixing the bug.  Gosh
this was boring!  Yargh I wish I got paid for this.

Desktop theme color default text is orange on dark gray ("gray").
"p/g" = purple foreground, green background, used for test.
The results that were black on dark gray were impossible to read.

    userContent.css         html                result
    ---------------------------------------------------------------------
    body        input       body    input       body            input
    ---------------------------------------------------------------------
  1 none        none        none    none        b/w         orange/gray
  2 none        inherit     none    none        b/w         black/gray
  3 none        b/w         none    none        b/w         black/gray
  4 b/w         none        none    none        b/w         orange/gray
  5 b/w         inherit     none    none        b/w         black/gray
  6 b/w         b/w         none    none        b/w         black/gray
  7 p/g         none        none    none        p/g         orange/gray
  8 p/g         inherit     none    none        p/g         purple/gray
  9 p/g         b/w         none    none        p/g         black/gray
 10 none        none        none    inherit     b/w         b/w
 11 none        none        none    b/w         b/w         b/w
 12 none        none        p/g     none        p/g         black/gray
 13 none        none        p/g     inherit     p/g         p/g
 14 none        none        p/g     b/w         p/g         b/w
 15 none        inherit     none    inherit     b/w         b/w
 16 none        inherit     none    b/w         b/w         b/w
 17 none        inherit     p/g     none        p/g         orange/gray
 18 none        inherit     p/g     inherit     p/g         p/g
 19 none        inherit     p/g     b/w         p/g         b/w
 20 none        b/w         none    inherit     b/w         b/w
 21 none        b/w         none    b/w         b/w         b/w
 22 none        b/w         p/g     none        p/g         orange/gray
 23 none        b/w         p/g     inherit     p/g         p/g
 24 none        b/w         p/g     b/w         p/g         b/w
 25 b/w         inherit     none    inherit     b/w         b/w
 26 b/w         inherit     none    b/w         b/w         b/w
 27 b/w         inherit     p/g     none        p/g         p/g
 28 b/w         inherit     p/g     inherit     p/g         p/g
 29 b/w         inherit     p/g     b/w         p/g         b/w
 30 b/w         b/w         none    inherit     b/w         b/w
 31 b/w         b/w         none    b/w         b/w         b/w
 32 b/w         b/w         p/g     none        p/g         black/gray
 33 b/w         b/w         p/g     inherit     p/g         p/g
 34 b/w         b/w         p/g     b/w         p/g         b/w
 35 p/g         inherit     none    inherit     p/g         p/g
 36 p/g         inherit     none    b/w         p/g         b/w
 37 p/g         inherit     p/g     none        p/g         p/g
 38 p/g         inherit     p/g     inherit     p/g         p/g
 39 p/g         inherit     p/g     b/w         p/g         b/w
 40 p/g         b/w         none    inherit     p/g         p/g
 41 p/g         b/w         none    b/w         p/g         b/w
 42 p/g         b/w         p/g     none        p/g         black/gray
 43 p/g         b/w         p/g     inherit     p/g         p/g
 44 p/g         b/w         p/g     b/w         p/g         b/w

10 etc. are surprising.  It seems like case 2 should have
been the same. userContent.css input background is never
applied, though foreground sometimes is, except like in 22
where it seems like it should have been purple/gray.  Seems
like case 6 should have result b/w b/w, then it would be
easy to fix by supplying a default userContent.css.

Mark





More information about the pkg-mozilla-maintainers mailing list