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

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: 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/first-letter-render-quote-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
15
16 element2 = document.createElement('td');
17 element2.setAttribute('class', 'class1');
18 document.documentElement.appendChild(element2);
19
20 document.documentElement.offsetTop;
21 }
22 window.onload = runTest;
23 </script>
24
25 <p>Test passes if no CRASH and you see a quote on one line and a green B on the second line.</p>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/first-letter-render-quote-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698