Open Bug 1834636 Opened 2 years ago

WPT failures in css-masking/clip-path/clip-path-document-element-will-change.html and clip-path-document-element.html

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug)

Details

Firefox fails these two tests:
https://wpt.fyi/results/css/css-masking/clip-path/clip-path-document-element-will-change.html
https://wpt.fyi/results/css/css-masking/clip-path/clip-path-document-element.html

(These tests are identical, except the first one also has will-change: transform;. I don't think that makes a difference for the purposes of this bug.)

These tests are asserting that, for html { clip-path: ...; background: ...}, the html element's background gets clipped by the clip-path.

That doesn't happen for us right now, likely due to how the root element's background gets propagated to the viewport. The tests have some comments saying that clip-path is still supposed to clip, nonetheless. ("Clip-path on the document element applies to the root background.")

You need to log in before you can comment on or make changes to this bug.