[webkit-dev] Possible canvas-bug when linking to an external CSS file?

Dave Hyatt hyatt at apple.com
Wed Sep 7 23:23:51 PDT 2005


Yeah, clearly a bug in our code because we defer renderobject  
creation until stylesheets are loaded.  Firefox doesn't exhibit the  
bug because it blocks its HTML parser while waiting for stylesheets  
to load.  We don't.  File it in bugzilla.

dave

On Sep 7, 2005, at 2:47 PM, Martin Dittus wrote:

> Hi all,
>
> I've found that my canvas pages stop working in Safari as soon as I
> add an external CSS file to the page. The canvas is added to the page,
> but all drawing seems to be ignored.
>
> I created three simple test cases:
>
> test 1 - simple page with external CSS, and all canvas drawing done  
> inline
> test 2 - simple page without external CSS, and all canvas drawing  
> done inline
> test 3 - simple page with external CSS, and all canvas drawing done  
> via onload()
>
> Both Safari 2.0.1 (412.5) and the most recent WebKit CVS version show
> the same behavior:
>
> test 1 doesn't work (blank canvas)
> test 2 works (canvas filled black)
> test 3 works (canvas filled black)
>
> Just to be sure I checked with a recent Firefox release, and all three
> test cases worked fine (canvas filled black).
>
>
> Please see if you can replicate this behavior.
>
> You can look at the test cases at
> http://dekstop.de/weblog/2005/09/safari_canvas_bug/
>
>
> Thanks,
> Martin Dittus
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/webkit-dev
>




More information about the webkit-dev mailing list