OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> | 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <head> | 3 <head> |
4 <title>overflow on body should propagate to the viewport even when it has bogu
s siblings</title> | 4 <title>overflow on body should propagate to the viewport even when it has bogu
s siblings</title> |
5 <style> | 5 <style> |
6 html { overflow:visible; } | 6 html { overflow:visible; } |
7 body { display:block; overflow:scroll; width:10em; height:10em; border:thin s
olid; color:navy; } | 7 body { display:block; overflow:scroll; width:10em; height:10em; border:thin s
olid; color:navy; } |
8 .filler { color:gray; } | 8 .filler { color:gray; } |
9 </style> | 9 </style> |
10 </head> | 10 </head> |
| 11 <script> |
| 12 if (window.internals) { |
| 13 window.internals.settings.setForceCompositingMode(true); |
| 14 } |
| 15 </script> |
11 <body xmlns="urn:foo:bogus"/><body> | 16 <body xmlns="urn:foo:bogus"/><body> |
12 <p>There should be scrollbars for the viewport -- not for this box. (Additiona
lly, there should be a box above that does have scrollbars.)</p> | 17 <p>There should be scrollbars for the viewport -- not for this box. (Additiona
lly, there should be a box above that does have scrollbars.)</p> |
13 <p class="filler">This is filler text.</p> | 18 <p class="filler">This is filler text.</p> |
14 <p class="filler">This is filler text.</p> | 19 <p class="filler">This is filler text.</p> |
15 <p class="filler">This is filler text.</p> | 20 <p class="filler">This is filler text.</p> |
16 <p class="filler">This is filler text.</p> | 21 <p class="filler">This is filler text.</p> |
17 </body> | 22 </body> |
18 </html> | 23 </html> |
OLD | NEW |