Closed
Bug 2021942
Opened 8 months ago
Closed 8 months ago
Unify handling of rules that have simple descriptors.
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(4 external files)
No description provided.
| Assignee | ||
Comment 1•8 months ago
|
||
For now this change is a no-op (well, it changes the generated code to
explicitly qualify eCSSProperty_foo entries).
But I want to use the same mechanism for font-face and counter-style
descriptors, and I want to use enum classes for those for consistency
with Rust, so seems worth supporting this.
| Assignee | ||
Comment 2•8 months ago
|
||
They share some of that code already various lookup stuff in nsCSSProps and so
on. This reuses a very similar approach for these two.
| Assignee | ||
Comment 3•8 months ago
|
||
@property is also very similar to these.
| Assignee | ||
Comment 4•8 months ago
|
||
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/4ccd2958765a
https://hg.mozilla.org/integration/autoland/rev/93e0f44fcdcc
Allow using enum classes in binding templates. r=edgar,webidl
https://github.com/mozilla-firefox/firefox/commit/39b71d4c0c85
https://hg.mozilla.org/integration/autoland/rev/dc55f95ed47c
Make handling of font-face and counter-style descriptors similar to handling of properties. r=firefox-style-system-reviewers,webidl,smaug,dshin
https://github.com/mozilla-firefox/firefox/commit/f7b1fac7bf40
https://hg.mozilla.org/integration/autoland/rev/b0206d36f897
Use the same set-up for @property descriptors. r=firefox-style-system-reviewers,dshin
https://github.com/mozilla-firefox/firefox/commit/87be6628b312
https://hg.mozilla.org/integration/autoland/rev/a9f4403b00c7
Unify descriptor parsing now that we use the same set-up. r=firefox-style-system-reviewers,dshin
Comment 6•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/93e0f44fcdcc
https://hg.mozilla.org/mozilla-central/rev/dc55f95ed47c
https://hg.mozilla.org/mozilla-central/rev/b0206d36f897
https://hg.mozilla.org/mozilla-central/rev/a9f4403b00c7
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Updated•8 months ago
|
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in
before you can comment on or make changes to this bug.
Description
•