Open Bug 1397484 Opened 8 years ago Updated 3 years ago

stylo: Consider converting `:-moz-page-content` selectors to just use @page

Categories

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

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- ?

People

(Reporter: canova, Unassigned)

References

Details

Currently we have a special case for `:-moz-page-content` pseudo element and @page rules inside `Servo_ComputedValues_GetForAnonymousBox` function. Instead of keeping this special case, we can just use @page with arbitrary properties in UA sheets and use those to style the `:-moz-page-content`. That shouldn't block stylo since @page rule works correctly after bug 1394035. We can just make it better.
Summary: stylo: Convert `:-moz-page-content` to just use @page → stylo: Consider converting `:-moz-page-content` selectors to just use @page
Priority: -- → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.