Closed Bug 2024021 Opened 8 months ago Closed 7 months ago

Implement CSSStyleValue::Parse and ParseAll

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(2 external files)

CSSStyleValue::Parse and ParseAll are currently not implemented.

Implement support for these methods, allowing parsing of CSS values into CSSStyleValue objects according to the Typed OM specification.

Depends on: 2024023

Implement CSSStyleValue::Parse and ParseAll, which were previously
unimplemented.

This allows parsing CSS values into CSSStyleValue objects using the existing
parsing and Typed OM reification infrastructure.

Keywords: leave-open
Keywords: leave-open
Blocks: 1911807

Move the helper for retrieving the extant document from a window global into
nsContentUtils and make it public.

This allows sharing the logic with Typed OM implementation and avoids
duplicating the same code.

Keywords: leave-open
Pushed by jvarga@igalia.com: https://github.com/mozilla-firefox/firefox/commit/7c71a689fcb8 https://hg.mozilla.org/integration/autoland/rev/0bc7160d82f1 Expose helper to get extant document from window global; r=dshin,firefox-style-system-reviewers
Keywords: leave-open
Pushed by jvarga@igalia.com: https://github.com/mozilla-firefox/firefox/commit/6d1fd4b2cd7d https://hg.mozilla.org/integration/autoland/rev/978d13820907 Implement CSSStyleValue::Parse and ParseAll; r=emilio,firefox-style-system-reviewers,dshin
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

Could you consider nominating this for a release note? (Process info)

Flags: needinfo?(jvarga)
Flags: needinfo?(jvarga)
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: