Closed Bug 1798581 Opened 2 years ago Closed 2 years ago

Add CSS page name to Servo computed style interface

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

References

Details

Attachments

(1 file)

No description provided.

This needs to bypass the cache on ServoStyleSet when looking up styles with
named pages. We could possibly cache the last used named page style, which
would avoid extra style calculations for multiple sequential pages with the
same page name, but for now the cache is just ignored.

Pushed by emcdonough@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0bebf5f154c
Add optional page name argument to Servo_ComputedValues_GetForAnonymousBox and ServoStyleSet::ResolveNonInheritingAnonymousBoxStyle r=emilio
Blocks: 1798801
Flags: needinfo?(emcdonough)
Pushed by emcdonough@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d0f9a88b6532
Add optional page name argument to Servo_ComputedValues_GetForAnonymousBox and ServoStyleSet::ResolveNonInheritingAnonymousBoxStyle r=emilio
Flags: needinfo?(emcdonough)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: