summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-generated-content/content-property-change.html
blob: d9eeb23078e4902f0576458b4aae0cec86430207 (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
<!DOCTYPE html>

<style>
    #actual:before {
        content: "x";
        quotes: "-" "-";
    }

    #actual.change:before {
        content: "x" open-quote "y";
    }
</style>

<p>
    The below two lines should look identical.
</p>
<div id="actual"></div>
<div id="expected">x-y</div>

<script>
    var div = document.getElementById('actual');
    div.offsetTop;
    div.className = 'change';
</script>