Consider class A breakpoints when performing named page fragmentation
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | fixed |
People
(Reporter: alaskanemily, Assigned: alaskanemily)
References
Details
Attachments
(1 file, 1 obsolete file)
Our current logic implemented in bug 1740366 does not consider whether a frame satisfies the spec's definition of whether the page property applies to the frame: https://www.w3.org/TR/css-page-3/#using-named-pages
This requires that the frame satisfies the requirements to be able to cause class A breakpoints, as defined in: https://www.w3.org/TR/css-break-3/#btw-blocks
This requires that the frame be block-level for the page property to be read and propagated. We have a few tests implemented in bug 1740366 (page-name-{img,canvas}-00[1-2].html) which should fail when this is correctly implemented. Tests should also be added to check for other elements, like span which generates an anonymous containing frame.
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
Instead, do this just before we actually construct frames for items.
This has issues with replaced frames currently, as either the
insert-page-break function isn't happening for these elements or it is being
called and child elements of replaced frames are cleared/ignored. This is the
main TODO remaining.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
| bugherder | ||
| Comment hidden (obsolete) |
Comment 5•3 years ago
|
||
Gah, sorry, comment 4 was intended for another bug (Bug 1779645). Reposting there.
Updated•3 years ago
|
Description
•