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)

defect

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(4 external files)

No description provided.

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.

They share some of that code already various lookup stuff in nsCSSProps and so
on. This reuses a very similar approach for these two.

@property is also very similar to these.

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
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: