Closed Bug 1647843 Opened 4 years ago Closed 3 years ago

Servo changes to support @page rule size attribute

Categories

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

Desktop
All
enhancement

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

References

()

Details

(Whiteboard: [DevRel:P3][layout:backlog][print2020_v87] )

Attachments

(1 file)

Currently the page rule structure in Servo is not much more than a CSS block. It needs to be refactored to effectively support the size attribute. This will make it more similar to the font-face rules in particular.

It will also be important to consider how named pages will affect the struct when support for named page rules is added.

Blocks: 1647845
Flags: needinfo?(emcdonough)
Whiteboard: [DevRel:P3][layout:backlog:2020][print2020_v79] → [DevRel:P3][layout:backlog:2020][print2020_v780]
Severity: S2 → N/A
Priority: P1 → P2
Whiteboard: [DevRel:P3][layout:backlog:2020][print2020_v780] → [DevRel:P3][layout:backlog][print2020_v82]
Whiteboard: [DevRel:P3][layout:backlog][print2020_v82] → [DevRel:P3][layout:backlog][print2020_v83]
Whiteboard: [DevRel:P3][layout:backlog][print2020_v83] → [DevRel:P3][layout:backlog][print2020_v84]
Whiteboard: [DevRel:P3][layout:backlog][print2020_v84] → [DevRel:P3][layout:backlog][print2020_v85]
Depends on: 1678733
Whiteboard: [DevRel:P3][layout:backlog][print2020_v85] → [DevRel:P3][layout:backlog][print2020_v87]
Pushed by emcdonough@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/981fdc60c7d8
Add page-size parsing to Servo r=emilio
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch

Will this ship with 87? Then I guess the browser compatibility data for the size descriptor needs to be updated on MDN.

Sebastian

No, right now the parsing code is not used.

Flags: needinfo?(emcdonough)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: