Fix a few bogus list-style-type:square/circle/disc WPTs
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
Details
Attachments
(1 file)
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D129847
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
•
|
||
For the record: historically, we failed these tests because nsBulletFrame was rendering these "bullet" types. Now that we've fixed that and are using generated content (bug 1542807), we still "fail" them (before this patch) because we use the built-in -moz-bullet-font
font for them but the reference expects the ::marker
parent's font. (see https://github.com/w3c/csswg-drafts/issues/6200 for reasons behind our decision to use a built-in font for these particular list-style-type
s)
So this patch makes the tests pass in Gecko, but arguably these tests are bogus since there is no normative rendering for list-style-type:square/circle/disc
. CSS2 says: "Glyphs are specified with disc, circle, and square. Their exact rendering depends on the user agent."
https://www.w3.org/TR/CSS22/generate.html#list-style
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb066a29b77e Fix a few bogus list-style-type:square/circle/disc tests. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31420 for changes under testing/web-platform/tests
Comment 6•3 years ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Description
•