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

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

Issue 370593002: Remove updateFirstLetter and firstLineBlock from RenderTable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/first-letter-table-expected.txt » ('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 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5
6 function makeChild()
7 {
8 var child = document.createElement('div');
9 child.textContent = 'my text content';
10 return child;
11 }
12
13 function runTest()
14 {
15 document.querySelector('table').appendChild(makeChild());
16 document.querySelector('tbody').appendChild(makeChild());
17 document.querySelector('tr').appendChild(makeChild());
18 document.querySelector('td').appendChild(makeChild());
19 }
20 onload = runTest;
21 </script>
22 <style>
23 #target {
24 background-color: green;
25 }
26 #target:first-letter, #target div:first-letter { color: red; }
27 </style>
28
29 <div>This test is successfully if it does not crash.</div>
30 <div>This test is verifying that adding content that uses first letter into
31 a table will work correctly.</div>
32
33 <table id="target">
34 a
35 <tr><td>Test</td></tr>
36 </table>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/first-letter-table-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698