Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(672)

Side by Side Diff: LayoutTests/fast/css/first-letter-render-quote.html

Issue 667263002: Add layout test for first-letter and render quote. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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 }
9 </style>
10 <script>
11 function runTest() {
12 element1 = document.createElement('div');
13 element1.setAttribute('class', 'class2');
14 document.documentElement.appendChild(element1);
Xianzhu 2014/10/22 17:39:25 What's the purpose of the div? It seems to have th
15
16 element2 = document.createElement('td');
17 element2.setAttribute('class', 'class1');
18 document.documentElement.appendChild(element2);
19
20 document.documentElement.offsetTop;
Xianzhu 2014/10/22 17:39:25 The above line seems unnecessary for a ref test.
21 }
22 window.onload = runTest;
23 </script>
24
25 <p>Test passes if you see a quote on one line and a green B on the second line.< /p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698