W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css-shaders] subdivision for transparency

From: Gregg Tavares (wrk) <gman@google.com>
Date: Tue, 4 Oct 2011 09:52:15 -0700
Message-ID: <CAKZ+BNovTbfT-MajWY-xSKc4Dgp9+PN4d4SmedGabfu_OgRbBw@mail.gmail.com>
To: www-style list <www-style@w3.org>
Note that that isn't just a "display" problem.

If you look at the 2 screenshots

http://greggman.com/downloads/examples/correct-3d-css-polygon-sorting-subdivisions-safari.png
http://greggman.com/downloads/examples/incorrect-3d-css-polygon-sorting-subdivisions-chrome.png


You'll notice that in the chrome screenshot Element #2 (green) has been
drawn in front of the other 2 elements (red, blue). Based on what is
displayed the user would expect to be able to click on anything in Element
#2. But, being based on WebKit the clicking code acts as though the scene
was subdivided meaning if you click on areas that overlap you'll get
unexpected results.

This will only get much worse with CSS shaders where without proper sorting
it will be very hard to figure out to which elements mouse events should go.
Received on Tuesday, 4 October 2011 16:52:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT