[Webkit-unassigned] [Bug 35583] if font-family lists several generic families, the last one takes precedence

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 10:29:05 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35583





--- Comment #8 from Olivier Tilloy <olivier at tilloy.net>  2010-03-03 10:29:05 PST ---
(In reply to comment #7)
> (From update of attachment 49919 [details])
> Even if you can't test with DumpRenderTree cross-platform you can do the
> following:
> 
>     1) Add a DumpRenderTree test that requires per-platform results.
> 
>     2) Create a manual test with instructions for how to interpret the results
> and put it in WebCore/manual-tests.
> 
>     3) Add some new feature to DumpRenderTree to make it possible to test this
> across platforms.

#3 looks like the best option, but also the most complex to implement (given my
current knowledge of the code). Also, wouldn't changing the output of
DumpRenderTree break a lot of existing tests?

> As another possibility, is there perhaps some way to detect which family is
> used with computed style?

No, I already tried that, but the computed style only contains an ordered list
of font families as encountered by the CSS parser, no hint on which of them is
actually used.
The fact that webkit chooses to remember only one generic family instead of a
list of them is an implementation detail that's unknown to the CSS
specification.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list