Bug 43958

Summary: transform-style perspective-3d reverts back to flat when in 2 elements with overflow:(other then normal)
Product: WebKit Reporter: Mient-jan stelling <mientjan.mediamonks>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mrobinson, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.previews.nl/webkit/bug/
Attachments:
Description Flags
a clear cut example of the bug. none

Description Mient-jan stelling 2010-08-13 01:58:21 PDT
Created attachment 64312 [details]
a clear cut example of the bug.

When using overflow:( for example auto ) in 2 elements the div in those to reverts back to transform-style flat.

div overflow:auto
  div overflow:auto
    div reverts back to transform-style flat

see url for a simple example of the bug.
Comment 1 Simon Fraser (smfr) 2010-12-21 12:02:10 PST
Please attach testcases, rather than pointing to URLs that might disappear.

overflow:hidden overrides transform-style: preserve-3d, because you have to flatten in order to clip. Is that what's happening here?
Comment 2 Martin Robinson 2021-10-14 09:05:24 PDT
The test case is long gone, but I think this might be expected behavior. In addition to what Simon writes above, overflow values other than visible or clip are "grouping" properties according to https://drafts.csswg.org/css-transforms-2/#grouping-property-values. Given that this is the case and that support for overflow:clip isn't yet complete, I think it makes sense to close this issue.

Please comment if you have a working test case or if I've misinterpreted this situation.