Bug 252999
| Summary: | Unexpected result as paragraph z-index changes depending on CSS scale | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Gamble <adam.gamble> |
| Component: | Compositing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Adam Gamble
Example case: https://jsfiddle.net/mdfs3tb0/
An outer div scales a fixed-size inner div (a 'canvas') which contains some elements positioned with translate().
Scaling past the bounds of the inner div will cause the z-index of the stacking order of the paragraph element to change.
This doesn't seem to happen in other browsers and seems unexpected.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
I think this is about clipping and the overlap map; I recall another bug that's probably related.
Radar WebKit Bug Importer
<rdar://problem/106292875>