Work around bug 542337 by making the testplugin not call IPDL methods to paint.
☠☠ backed out by 9fb0650cbfc0 ☠ ☠
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 26 Jan 2010 17:50:01 -0500
changeset 46592 e033fa1d3b0bc04aaa37708b6d48eb8b0aeb4fb5
parent 46591 74b341abaf3516d80beeb3e16b8d53a320b7923d
child 46593 126d2c9358dedaa6daf386e1b4660725833fdbd5
child 46624 9fb0650cbfc08daf9b1371544987878f7bb3ecd6
push idunknown
push userunknown
push dateunknown
bugs542337
milestone1.9.3a1pre
Work around bug 542337 by making the testplugin not call IPDL methods to paint.
layout/generic/test/plugin_clipping_helper2.xhtml
--- a/layout/generic/test/plugin_clipping_helper2.xhtml
+++ b/layout/generic/test/plugin_clipping_helper2.xhtml
@@ -10,20 +10,20 @@
 
 <!-- Use a XUL element here so we can get its boxObject.screenX/Y -->
 <hbox style="height:10px; position:absolute; left:0; top:0; z-index:-100;" id="h1"
       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox style="width:100px;"></hbox><hbox id="h2"/>
 </hbox>
 
 <div id="d1" style="width:200px; overflow:hidden; position:absolute; top:0; left:0;">
-  <embed id="p1" type="application/x-test" wmode="window" style="position:relative"></embed>
+  <embed id="p1" type="application/x-test" wmode="window" style="position:relative" drawmode="solid"></embed>
 </div>
 <div id="d2" style="width:200px; height:200px; overflow:hidden; position:absolute; top:100px; left:0;">
-  <embed id="p2" type="application/x-test" wmode="window"></embed>
+  <embed id="p2" type="application/x-test" wmode="window" drawmode="solid"></embed>
   <div id="zbox" style="position:absolute; left:50px; top:50px; width:100px; height:100px; background:yellow;">
   </div>
 </div>
 
 <div id="scroll"
      style="position:absolute; top:0; left:0; width:300px; height:400px; overflow:scroll;">
   <div id="sbox"
        style="margin-top:350px; margin-left:50px; margin-bottom:1000px; width:100px; height:100px; background:blue;"></div>