Closed Bug 1809091 Opened 2 years ago Closed 2 years ago

Child-indexed pseudo class-related logic has some duplication

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: zrhoffman, Assigned: zrhoffman)

References

Details

Attachments

(1 file)

As noted in the review of D165895/bug 1808227, now that we have an NthOf component, moving the type match (1, 2) that writes the start of the selector to a NthSelectorData method would be less redundant.

Drive-by, but selector_list_specificity() was also renamed to
max_selector_list_specificity().

Assignee: nobody → zach
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c844b4ff1608 Move nth-related logic to the NthSelectorData type for reuse r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: