Closed Bug 1319406 Opened 8 years ago Closed 6 years ago

css mask rendering should respect box-decoration-break

Categories

(Core :: Web Painting, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1319407

People

(Reporter: u459114, Assigned: lochang)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

According to CSS Fragmentation Module Level 3: https://drafts.csswg.org/css-break/#break-decoration When a break (page/column/region/line) splits a box, the box-decoration-break property controls * how the background positioning area [CSS3BG] (and mask positioning area [CSS-MASKING-1], shape reference box [CSS-SHAPES-1], etc.) is derived from or duplicated across the box fragments and how the element’s background is drawn within them. Depend on the value of box-decoration-break, we should generate the shape of mask differently. Currently, we always treat box-decoration-break as clone.
Status: NEW → ASSIGNED
Priority: -- → P2
Blocks: 1319407
Component: Layout → Layout: View Rendering
Assignee: cku → lochang
I think bug 1319407 also fix this bug. However, I only test this bug with local hack patch. I will add testcases of using PaintMask in this bug.
Component: Layout: View Rendering → Layout: Web Painting

It seems this is indeed fixed as part of bug 1319407. The testcase here is passing fine for me.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: