Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-render-quote.html
blobaef8f692f8e74989994555adc2a0ba1e5a582dd7
1 <!DOCTYPE html>
2 <style>
3 html, body { margin: 0; padding: 0; }
4 td::first-letter { color: green; }
5 td { quotes: "a" "v" "b" "u" ; }
6 .class1:before, .class2:before {
7 content: open-quote;
8 text-transform: uppercase;
10 </style>
11 <script>
12 function runTest() {
13 element1 = document.createElement('div');
14 element1.setAttribute('class', 'class2');
15 document.documentElement.appendChild(element1);
17 element2 = document.createElement('td');
18 element2.setAttribute('class', 'class1');
19 document.documentElement.appendChild(element2);
21 document.documentElement.offsetTop;
23 window.onload = runTest;
24 </script>
26 <p>Test passes if no CRASH and you see a quote on one line and a green B on the second line.</p>