Closed
Bug 1840477
Opened 2 years ago
Closed 2 years ago
[css-properties-values-api] Finish syntax validation
Categories
(Core :: CSS Parsing and Computation, task)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
117 Branch
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: emilio, Assigned: zrhoffman)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Another decent chunk of work for @property
/ registerProperty
is, given a syntax Descriptor
and an UnparsedValue
, parse the later following the syntax rules of the former.
Once we parse those, probably into something like:
enum Value {
Number(specified::Number),
Length(specified::Length),
Transform(...),
Url(...),
// etc
}
We should also add checks for computational independence. That should make @property
validation and registerProperty
follow the spec.
See the references to this bug in the codebase.
Reporter | ||
Updated•2 years ago
|
Assignee: emilio → nobody
Assignee | ||
Comment 1•2 years ago
|
||
With this patch, all the WPTs for initial value validation pass, except
for one whose syntax fails to parse (see bug 1843988).
Depends on D183806
Updated•2 years ago
|
Assignee: nobody → zach
Status: NEW → ASSIGNED
Pushed by zach@zrhoffman.net:
https://hg.mozilla.org/integration/autoland/rev/2664ab12c402
Validate initial value syntax r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41122 for changes under testing/web-platform/tests
Comment 4•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•