summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/line-overflow.html
blob: 65551191126d2a7435cdf94303edf60f20e20dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
       function repaintTest()
       {
           var target = document.getElementById('t');
           target.style.borderTop = "30px solid blue";
           target.style.margin = "0";
       }
    </script>
    <style type="text/css">
       span#t { margin: 30px; }
    </style>
</head>
<body onload="runRepaintTest();">
    <p>
        This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9669">http://bugzilla.opendarwin.org/show_bug.cgi?id=9669</a>
        Incomplete repaint when changing an inline's border</i>.
    </p>
    <hr>
    <div style="width: 200px; height: 200px;">
        Cras faucibus. Nunc adipiscing, enim in scelerisque convallis,
        augue <span id="t">purus</span> eleifend lacus, at sagittis eros leo pulvinar velit. Integer sollicitudin nisi ut urna blandit convallis.
    </div>
</body>