Some WPT tests for ::marker use non-allowed properties
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: Oriol, Assigned: emilio)
Details
Attachments
(1 file)
There are 4 WPT tests for ::marker that are failing:
- marker-content-007.html
- marker-content-008.html
- marker-content-009.html
- marker-content-011.html
That's because they use properties like writing-mode
or display
inside ::marker, which is not currently allowed by css-pseudo.
I understand that you may want to keep these tests since you have the layout.css.marker.restricted
pref to lift the restriction.
But having these tests in WPT seems wrong. Can't you move them outside of WPT and make them Mozilla-internal? Or at least add "tentative" in the name or something.
Assignee | ||
Comment 1•4 years ago
|
||
They use properties like writing-mode or display inside ::marker, which is not
currently allowed by css-pseudo.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I think these styling restrictions on ::marker
should be removed. There are no technical reasons for why ::marker
shouldn't accept everything that ::before/::after
accepts (with a few exceptions like float/position
on outside markers perhaps). I really don't understand why the CSSWG intentionally cripples a feature like this.
Reporter | ||
Comment 3•4 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #2)
I think these styling restrictions on
::marker
should be removed. There are no technical reasons for why::marker
shouldn't accept everything that::before/::after
accepts (with a few exceptions likefloat/position
on outside markers perhaps). I really don't understand why the CSSWG intentionally cripples a feature like this.
Well, without the restrictions it was easy to trigger assert failures in Chromium e.g. with display: none
, so it's simpler this way :)
But I agree that it doesn't make much sense for inherited properties, since you can set them in the list item anyways...
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0f38d2fd983 Mark some marker tests as tentative. r=Oriol
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/20599 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks: Github PR https://github.com/web-platform-tests/wpt/pull/20599 * Community-TC (pull_request) (https://community-tc.services.mozilla.com/tasks/groups/YoOhfpj0Q7299lxScE_E4A)
Comment 8•4 years ago
|
||
Well, without the restrictions it was easy to trigger assert failures in Chromium e.g. with display: none, so it's simpler this way :)
That's clearly a Chromium problem and not something that the CSSWG should care about when writing its standards. :-p
Upstream PR was closed without merging
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 11•4 years ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Description
•