Closed Bug 1865563 Opened 10 months ago Closed 10 months ago

[css-properties-values-api] The computed context field should be removed from Cascade.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: zrhoffman, Assigned: zrhoffman)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

As a prerequisite for calling Cascade::apply_prioritary_properties while the CustomPropertiesBuilder is borrowing the computed::Context, the computed context will need to be passed to the Cascade as an argument, rather than being a field of the Cascade struct.

$ git ls-files servo/*.rs | xargs rustup run nightly rustfmt

Assignee: nobody → zach
Status: NEW → ASSIGNED

This is necessary to call Cascade::apply_prioritary_properties while the
CustomPropertiesBuilder is borrowing the computed::Context.

Depends on D194020

Attachment #9364380 - Attachment description: Bug 1865563 - Remove computed context field from Cascade. r=zsun,fredw,#style → Bug 1865563 - [css-properties-values-api] Remove computed context field from Cascade. r=zsun,fredw,#style
Pushed by zach@zrhoffman.net: https://hg.mozilla.org/integration/autoland/rev/c5e489011233 Rustfmt servo/. r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/6ea1c084aef5 [css-properties-values-api] Remove computed context field from Cascade. r=firefox-style-system-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: