OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/repaint/vertical-rl-as-paint-container.html --> |
| 2 <!DOCTYPE html> |
| 3 <script src="resources/paint-invalidation-test.js"></script> |
| 4 <script> |
| 5 onload = runPaintInvalidationTest; |
| 6 window.expectedPaintInvalidationObjects = [ |
| 7 "LayoutText #text", |
| 8 "InlineTextBox 'Lorem ipsum dolor'", |
| 9 "InlineTextBox 'sit amet,'", |
| 10 "InlineTextBox 'consectetur'", |
| 11 "InlineTextBox 'adipiscing elit.'", |
| 12 ]; |
| 13 function paintInvalidationTest() { |
| 14 var target = document.getElementById('target'); |
| 15 target.style.color = 'green'; |
| 16 } |
| 17 </script> |
| 18 <div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visib
ility:hidden; width:600px; height:400px; font:20px/1 Ahem; color:red;"> |
| 19 Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| 20 </div> |
| 21 <p>All text above should be green.</p> |
OLD | NEW |