Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / vertical-rl-as-paint-container.html
blobd713683173a2f90637389e77f2557eff3f0909be
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.'",
13 function paintInvalidationTest() {
14 var target = document.getElementById('target');
15 target.style.color = 'green';
17 </script>
18 <div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visibility: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>