[webkit-dev] Applying transforms to box-reflect

David Hyatt hyatt at apple.com
Wed Mar 4 10:11:58 PST 2009


That's not possible (mainly just a syntactic limitation).   Right now  
the transform is essentially determined by the first keyword, e.g.,  
below.  Internally the code could handle an arbitrary transform, but  
the syntax doesn't support it.

dave
(hyatt at apple.com)

On Mar 4, 2009, at 12:04 PM, Jonathan Smiley wrote:

> Is it possible to apply a transform (like skew) to the reflection  
> generated by -webkit-box-reflect?  My current style is:
> -webkit-box-reflect: below 4px
> 	-webkit-gradient(linear, left top, left bottom,
> 		from(transparent),
> 		color-stop(0.8, transparent),
> 		to(rgba(255, 255, 255, 0.25)));
>
> I'd like to skew the reflection only (not the reflected object) such  
> that the reflection's bottom edge is wider than the top.  I've  
> checked the relatively sparse documentation and can't seem to find a  
> definitive answer...if it's possible I imagine it's a syntactical  
> thing.  Thanks!
> - Jonathan Smiley
>
> ------------------------------------------
> Jonathan Smiley
> ZURB | Designer
> jonathan at zurb.com
> www.zurb.com
> Office: 408.341.0600
> Mobile: 205.514.1897
> ------------------------------------------
> Read the ZURB blog:
> http://www.zurb.com/blog
> ------------------------------------------
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090304/c2660a18/attachment.html>


More information about the webkit-dev mailing list