Closed Bug 2019258 Opened 7 months ago Closed 7 months ago

Extend the CSSContainerRule interface to support a list of conditions

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: jfkthame, Assigned: alaskanemily)

References

Details

Attachments

(2 files)

The CSSContainerRule interface needs to be extended to support a list of conditions, as the spec calls for @container rules to accept a comma-separated list of conditions, not just a single condition. See bug 2016929 comment 2 and https://github.com/w3c/csswg-drafts/issues/10845.

Once the spec issue is resolved, we should implement (and add tests for) the extended behavior.

Assignee: nobody → emcdonough

ni for emilio about the spec issue https://github.com/w3c/csswg-drafts/issues/10845

Flags: needinfo?(emilio)
Flags: needinfo?(emilio) → needinfo?(emcdonough)
Depends on: 2022827

That looks fine. I have a change to the Servo code to support this partially done. I can build the last part (serialization/interface to Gecko) based on the code in bug 2022827, no matter what the resolution is the actual code will have to at least have that general shape.

Flags: needinfo?(emcdonough)
Pushed by emcdonough@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/681754225fd5 https://hg.mozilla.org/integration/autoland/rev/a8d7246cd5fa Part 1 - Use derived/generated to_css for ContainerCondition r=firefox-style-system-reviewers,emilio https://github.com/mozilla-firefox/firefox/commit/29a7a013d1ee https://hg.mozilla.org/integration/autoland/rev/391f3cecaaaf Part 2 - Change to using a list of conditions for Servo ContainerRule r=firefox-style-system-reviewers,emilio
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
See Also: → 2026769
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: