Closed Bug 1738297 Opened 3 years ago Closed 3 years ago

Fix a few bogus list-style-type:square/circle/disc WPTs

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P3)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

Attachments

(1 file)

No description provided.

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-types)

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
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: