Closed Bug 1840587 Opened 1 year ago Closed 1 year ago

[css-properties-values-api] Prevent wide keywords as initial values.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.

This is not the whole validation that needs to happen, but we need to do
this anyways for the universal-syntax.

Rename validate_syntax to validate_initial_value since that's what it
does.

This effectively undoes bug 1506760, preventing the reallocation of the
reference set.

This was done for UA sheet sharing (bug 1474793), but we can handle this
fine now (UA sheets don't have variable references anyways).

Depends on D182170

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/440bb2a35ccf [css-properties-values-api] Prevent CSS-wide keywords as initial values. r=zrhoffman
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/84b19be6711b [css-properties-values-api] Values with references shouldn't be valid initial values. r=zrhoffman https://hg.mozilla.org/integration/autoland/rev/e08f40241310 Improve custom property reference storage. r=zrhoffman
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: