| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <style> | 3 <style> |
| 4 /* Must be positioned absolute or static, must have margins to push it out v
iew. */ | 4 /* Must be positioned absolute or static, must have margins to push it out v
iew. */ |
| 5 .positioned { | 5 .positioned { |
| 6 position: absolute; | 6 position: absolute; |
| 7 margin-top: 100%; | 7 margin-top: 100%; |
| 8 } | 8 } |
| 9 | 9 |
| 10 /* Any kind of quote will do, can be either :before or :after */ | 10 /* Any kind of quote will do, can be either :before or :after */ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 <div class="positioned"></div> | 38 <div class="positioned"></div> |
| 39 <div class="focusable" tabindex="1"></div> | 39 <div class="focusable" tabindex="1"></div> |
| 40 | 40 |
| 41 <script> | 41 <script> |
| 42 if (window.testRunner) | 42 if (window.testRunner) |
| 43 testRunner.dumpAsText(); | 43 testRunner.dumpAsText(); |
| 44 // .focusable still needs layout at this point, but RenderView doesn't | 44 // .focusable still needs layout at this point, but RenderView doesn't |
| 45 // think any descendants need layout. | 45 // think any descendants need layout. |
| 46 document.querySelector('.focusable').focus(); | 46 document.querySelector('.focusable').focus(); |
| 47 </script> | 47 </script> |
| OLD | NEW |