WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
48386
Setting "overflow:hidden" overwrites preserve-3d transform style
https://bugs.webkit.org/show_bug.cgi?id=48386
Summary
Setting "overflow:hidden" overwrites preserve-3d transform style
Vangelis Kokkevis
Reported
2010-10-26 15:46:41 PDT
Created
attachment 71953
[details]
Example demonstrating the bug It appears that when a composited layer clips its descendants, the descendant layers get flattened to the parent surface even if the preserve-3d property is set. I'm attaching an example which is a trivially modified version of the transform-style demo from the 3d CSS blog. All that's added is an "overflow:hidden" property on the #parent style. I suspect this is a side-effect of how CA implements clipping in transformed layers...
Attachments
Example demonstrating the bug
(2.51 KB, text/html)
2010-10-26 15:46 PDT
,
Vangelis Kokkevis
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2010-10-26 15:56:46 PDT
This is by design. You have to flatten in order to clip, so overflow: style overrides preserve-3d. This is mentioned in the spec: <
http://www.w3.org/TR/css3-3d-transforms/#transform-style-property
>
Vangelis Kokkevis
Comment 2
2010-10-26 17:39:05 PDT
(In reply to
comment #1
)
> This is by design. You have to flatten in order to clip, so overflow: style overrides preserve-3d. This is mentioned in the spec: <
http://www.w3.org/TR/css3-3d-transforms/#transform-style-property
>
Ah, makes sense. Thanks for the pointer!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug