Closed Bug 1871540 Opened 11 months ago Closed 11 months ago

Use VariableValue to track dependencies in non-custom properties.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 2 open bugs)

Details

(Keywords: perf-alert)

Attachments

(3 files)

No description provided.

This allows moving the custom properties outside of the UA stylesheets.

Ideally these variables wouldn't be needed and the cue pseudo would
behave more like ::part(), but for now this does the trick and allows
the following patch to work.

I'll look into simplifying this a bit more.

Blocks: 1871569
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a066a966cd03 Move WebVTT default font-size/writing-mode workaround to videocontrols.css. r=dshin,desktop-theme-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/6d2274dc2f41 Use VariableValue to track references in unparsed values. r=dshin

I noticed that we weren't finding the :host::cue rule in the inspector,
even though it was applying and working.

When we're a NAC pseudo-element, also look at the relevant shadow root.

Could probably write a test for this, but I think I want to make the
setup for ::cue (which is the only weird pseudo like this) a bit nicer,
so not sure it's worth it.

Blocks: 1871584
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d1bc9b657a7 Fix an inspector assertion when inspecting ::cue pseudos. r=dshin
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cdd2bb7464c9 Move WebVTT default font-size/writing-mode workaround to videocontrols.css. r=dshin,desktop-theme-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/9eb78117bef2 Use VariableValue to track references in unparsed values. r=dshin
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Keywords: perf-alert

That can't be right, that only affects DevTools code.

Flags: needinfo?(aesanu)

Thank you for the confirmation.

Flags: needinfo?(aesanu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: