Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-before-hit-test.html
blob9fff0e1c4acfe8e408ca87c3a1aed4d3b0ef94ea
1 <!doctype html>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 #tab:first-letter {
5 text-transform: uppercase;
7 #tab:before {
8 content: "foo";
10 </style>
11 <div id="tab">content</div>
13 <script>
14 offset = document.getElementById('tab').getBoundingClientRect();
15 shouldBe('document.elementFromPoint(offset.left + 5, offset.top + 5).id', "'tab'");
16 </script>