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

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

Issue 679593004: Refactor RenderQuote to not delete renderers on style change. (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 | Source/core/rendering/RenderQuote.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 html, body { margin: 0; padding: 0; } 3 html, body { margin: 0; padding: 0; }
4 td::first-letter { color: green; } 4 td::first-letter { color: green; }
5 td { quotes: "A" "v" "B" "u" ; } 5 td { quotes: "a" "v" "b" "u" ; }
6 .class1:before, .class2:before { 6 .class1:before, .class2:before {
7 content: open-quote; 7 content: open-quote;
8 text-transform: uppercase;
8 } 9 }
9 </style> 10 </style>
10 <script> 11 <script>
11 function runTest() { 12 function runTest() {
12 element1 = document.createElement('div'); 13 element1 = document.createElement('div');
13 element1.setAttribute('class', 'class2'); 14 element1.setAttribute('class', 'class2');
14 document.documentElement.appendChild(element1); 15 document.documentElement.appendChild(element1);
15 16
16 element2 = document.createElement('td'); 17 element2 = document.createElement('td');
17 element2.setAttribute('class', 'class1'); 18 element2.setAttribute('class', 'class1');
18 document.documentElement.appendChild(element2); 19 document.documentElement.appendChild(element2);
19 20
20 document.documentElement.offsetTop; 21 document.documentElement.offsetTop;
21 } 22 }
22 window.onload = runTest; 23 window.onload = runTest;
23 </script> 24 </script>
24 25
25 <p>Test passes if no CRASH and you see a quote on one line and a green B on the second line.</p> 26 <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 | Source/core/rendering/RenderQuote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698