Closed Bug 1858305 Opened 1 year ago Closed 1 year ago

Computed variable can be added without parsing

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: zrhoffman, Assigned: zrhoffman)

References

Details

Attachments

(3 files)

In bug 1846632, a new variable is created by parsing the CSS string of the properties_and_values::ComputedValue.

Because we already know that the string is valid CSS, we can skip parsing and create a variable by providing the first and last token, the CSS string, and no references.

Assignee: nobody → zach
Status: NEW → ASSIGNED
Blocks: 1864736
Attachment #9363494 - Attachment description: WIP: Bug 1858305 - Update cssparser r=#supply-chain-reviewers,#style → Bug 1858305 - Update cssparser r=#supply-chain-reviewers,#style
Pushed by zach@zrhoffman.net: https://hg.mozilla.org/integration/autoland/rev/96d0600a10ad Update cssparser r=firefox-style-system-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/194d0db1a1cb Rewrite use of deprecated function TokenSerializationType::nothing() r=firefox-style-system-reviewers,emilio
Pushed by zach@zrhoffman.net: https://hg.mozilla.org/integration/autoland/rev/a9fd21fa2333 Store ComputedPropertyValue without parsing r=firefox-style-system-reviewers,emilio
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: