Bug 261667

Summary: [CSS Masking] Fragment bitmap images are not working as 'mask-image'
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
red-100x100.png
none
test case none

Description Said Abou-Hallawa 2023-09-17 22:37:53 PDT
Created attachment 467734 [details]
red-100x100.png

Open the attached test case.

Expected: Only half of the rectangles should be displayed.
Result: The whole rectangles are displayed.

https://developer.mozilla.org/en-US/docs/Web/CSS/image/image#image_fragments suggests a bitmap image fragment implementation. When specified as mask-image, an image fragment should only be used to mask the target element.
Comment 1 Said Abou-Hallawa 2023-09-17 22:40:13 PDT
Created attachment 467735 [details]
test case
Comment 2 Radar WebKit Bug Importer 2023-09-24 22:38:14 PDT
<rdar://problem/115975501>