Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / vertical-rl-as-paint-container.html
blobcaa442bd8d56fd89ea9f16937daec074323deb66
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 if (window.internals) {
5 onload = runRepaintTest;
6 } else {
7 onclick = repaintTest;
9 function repaintTest() {
10 var target = document.getElementById('target');
11 target.style.color = 'green';
13 </script>
14 <div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visibility:hidden; width:600px; height:400px; font:20px/1 Ahem; color:red;">
15 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
16 </div>
17 <p>All text above should be green (if tested manually, you need to click first).</p>