| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| .static-container { |
| height: 300px; |
| width: 300px; |
| background-color: #FF5252; |
| } |
| .static-inline-block { |
| width: 140px; |
| height: 50px; |
| display: inline-block; |
| background-color: #76FF03; |
| } |
| .thin-width { |
| width: 50px; |
| } |
| .large-width { |
| width: 150px; |
| } |
| </style> |
| <script> |
| if (window.testRunner) { |
| window.testRunner.waitUntilDone(); |
| } |
| |
| window.onload = function() { |
| if (window.testRunner) { |
| window.testRunner.DoNonMeasuredLayout(); |
| } |
| |
| var node = document.getElementById('node'); |
| node.className = "static-container large-width"; |
| |
| if (window.testRunner) { |
| window.testRunner.notifyDone(); |
| } |
| } |
| </script> |
| </head> |
| <body> |
| <div id="node" class="static-container"> |
| <span class="static-inline-block">test</span> |
| <span>and</span> |
| </div> |
| </body> |
| </html> |