summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/backgrounds/background-clip-text-on-body.html
blob: 2851e9e0a5c20ab112e2d9935d4bea2c5b8af4f4 (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>
<html>
<head>
<style type="text/css">
    body {
        font-size: 5em;
        -webkit-background-clip: text;
        height: 2000px;
        overflow: hidden;
    }
</style>
<script>
    if (window.testRunner)
        testRunner.dumpAsTextWithPixelResults();

    function doTest()
    {
        window.scrollTo(0, 600);
    }
    window.addEventListener('load', doTest, false);
</script>
</head>
<body>

Text should remain legible when window is resized. No background artifacts should appear.

</body>
</html>