[webkit-dev] CSS reflections alpha mask

Simon Fraser simon.fraser at apple.com
Wed Apr 27 08:46:10 PDT 2011


On Apr 27, 2011, at 6:05 AM, Mateusz Pedzierski wrote:

> AFAIK third component of -webkit-box-reflect property can be used to overlay the reflection. My investigation showed that current implementation applies alpha mask to the content(original object) before reflecting it. Descriptions and examples of -webkit-box-reflect usage I've found at webkit.org/blog and developer.apple.com say that mask isn't applied to the content but to the reflection. This is important for page author to know if the mask will be mirrored together with the content or not. 
> My question is if the current approach (applying mask to content before creating reflection) is considered as the correct one and will be supported by WebKit in future releases? 

The behavior of this property is unlikely to change.

Simon



More information about the webkit-dev mailing list