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