Closed
Bug 1808304
Opened 2 years ago
Closed 2 years ago
Consider having NthType include OnlyChild and OnlyOfType
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
110 Branch
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: zrhoffman, Assigned: zrhoffman)
References
Details
Attachments
(2 files)
Assignee | ||
Comment 1•2 years ago
|
||
Like bug 1808226, this doesn't change any behavior, it just simplifies matching.
I also added a WPT JavaScript test for :only-of-type, since dedicated WPT
JavScript tests already exist for the other pseudo-classes this patch
touches.
Updated•2 years ago
|
Assignee: nobody → zach
Status: NEW → ASSIGNED
Comment 2•2 years ago
|
||
This makes the matching / parsing more self-contained, and I believe
it's generally easier to follow. Also addresses review comments from the
previous patch.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/216344853e42
Represent FirstChild, FirstOfType, LastChild, LastOfType, OnlyChild, and OnlyOfType as functionless Nth variants r=emilio
https://hg.mozilla.org/integration/autoland/rev/93fb62b97919
Minor clean-ups and fixes on top of the previous patch. r=zrhoffman
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37740 for changes under testing/web-platform/tests
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/216344853e42
https://hg.mozilla.org/mozilla-central/rev/93fb62b97919
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox110:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•