Closed Bug 1855946 Opened 9 months ago Closed 9 months ago

Reference to undefined or syntax-incompatible variables should result in inherited value

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: fredw, Assigned: fredw)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

See the corresponding tests in /css/css-properties-values-api/registered-properties-inheritance.html ; I extracted them in the attached test case.

Same test with an invalid value. initial values should be used per https://drafts.csswg.org/css-variables-2/#invalid-at-computed-value-time

Attachment #9355854 - Attachment description: WIP: Bug 1855946. Reference to undefined or syntax-incompatible variables should result in inherited value → Bug 1855946 - Handle invalid at computed-value time custom properties. r=emilio
Pushed by fred.wang@free.fr:
https://hg.mozilla.org/integration/autoland/rev/9b362770f30b
Handle invalid at computed-value time custom properties. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42392 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: