Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / first-letter-display-change.html
blob51649f94b6159a7fa7f27f2fbece752597b5f31a
1 <script src="../../resources/ahem.js"></script>
2 <style>
3 .a:first-letter { float: right; font-size: 2em; }
4 .b:first-letter { color: blue; }
5 </style>
6 <div id="target" style="font-family: Ahem;" class="a">Lorem ipsum dolor sit amet</div>
7 <script>
8 var target = document.getElementById("target");
9 target.offsetTop;
10 target.className = "b";
11 </script>