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

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

Issue 672953002: Convert first letter into a pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for first-letter that is removed or added by style change</title> 4 <title>Test for first-letter that is removed or added by style change</title>
5 <style> 5 <style>
6 .test:first-letter { color: green; font-size:64px; float:inherit; } 6 .test:first-letter { color: green; font-size:64px; float:inherit; }
7 .test { clear:both; } 7 .test { clear:both; }
8 .boxed { border: solid 1px; } 8 .boxed { border: solid 1px; }
9 .bef:before { content:"Before "; } 9 .bef:before { content:"Before "; }
10 </style> 10 </style>
(...skipping 10 matching lines...) Expand all
21 Test 2:<br/> 21 Test 2:<br/>
22 <span class="test boxed" id="test2">Inline to Block</span> 22 <span class="test boxed" id="test2">Inline to Block</span>
23 <span class="test boxed" id="ref2" style="display:block">Inline to Block</span> 23 <span class="test boxed" id="ref2" style="display:block">Inline to Block</span>
24 <hr/> 24 <hr/>
25 25
26 Test 3:<br/> 26 Test 3:<br/>
27 <div class="test"><span id="test3" class="boxed bef">pseudo</span></div> 27 <div class="test"><span id="test3" class="boxed bef">pseudo</span></div>
28 <div class="test"><span id="ref3" class="boxed">pseudo</span></div> 28 <div class="test"><span id="ref3" class="boxed">pseudo</span></div>
29 <hr/> 29 <hr/>
30 30
31 Test 4: (Currently failing)<br/> 31 Test 4:<br/>
32 <div class="test"><span id="test4" class="boxed">pseudo</span></div> 32 <div class="test"><span id="test4" class="boxed">pseudo</span></div>
33 <div class="test"><span id="ref4" class="boxed bef">pseudo</span></div> 33 <div class="test"><span id="ref4" class="boxed bef">pseudo</span></div>
34 <hr/> 34 <hr/>
35 35
36 Test 5:<br/> 36 Test 5:<br/>
37 <div class="test"><span id="test5" class="boxed" style="float:none">To Float</sp an></div> 37 <div class="test"><span id="test5" class="boxed" style="float:none">To Float</sp an></div>
38 <div class="test"><span id="ref5" class="boxed" style="float:left">To Float</spa n></div> 38 <div class="test"><span id="ref5" class="boxed" style="float:left">To Float</spa n></div>
39 <br/> 39 <br/>
40 <hr/> 40 <hr/>
41 41
42 Test 6:<br/> 42 Test 6:<br/>
43 <div class="test"><span id="test6" class="boxed" style="float:left">To Non Float </span></div> 43 <div class="test"><span id="test6" class="boxed" style="float:left">To Non Float </span></div>
44 <div class="test"><span id="ref6" class="boxed" style="float:none">To Non Float< /span></div> 44 <div class="test"><span id="ref6" class="boxed" style="float:none">To Non Float< /span></div>
45 <hr/> 45 <hr/>
46 46
47 Test 7: (Currently failing)<br/> 47 Test 7:<br/>
48 <div class="test"><div id="test7" class="boxed" style="float:none">To Float</div ></div> 48 <div class="test"><div id="test7" class="boxed" style="float:none">To Float</div ></div>
49 <div class="test"><div id="ref7" class="boxed" style="float:left">To Float</div> </div> 49 <div class="test"><div id="ref7" class="boxed" style="float:left">To Float</div> </div>
50 <br/> 50 <br/>
51 <hr/> 51 <hr/>
52 52
53 Test 8:<br/> 53 Test 8:<br/>
54 <div class="test"><div id="test8" class="boxed" style="float:left">To Non Float< /div></div> 54 <div class="test"><div id="test8" class="boxed" style="float:left">To Non Float< /div></div>
55 <div class="test"><div id="ref8" class="boxed" style="float:none">To Non Float</ div></div> 55 <div class="test"><div id="ref8" class="boxed" style="float:none">To Non Float</ div></div>
56 <hr/> 56 <hr/>
57 57
(...skipping 17 matching lines...) Expand all
75 shouldBeTrue("document.getElementById('test2').offsetHeight == document.getEleme ntById('ref2').offsetHeight"); 75 shouldBeTrue("document.getElementById('test2').offsetHeight == document.getEleme ntById('ref2').offsetHeight");
76 shouldBeTrue("document.getElementById('test3').offsetWidth == document.getElemen tById('ref3').offsetWidth"); 76 shouldBeTrue("document.getElementById('test3').offsetWidth == document.getElemen tById('ref3').offsetWidth");
77 shouldBeTrue("document.getElementById('test4').offsetWidth == document.getElemen tById('ref4').offsetWidth"); 77 shouldBeTrue("document.getElementById('test4').offsetWidth == document.getElemen tById('ref4').offsetWidth");
78 shouldBeTrue("document.getElementById('test5').offsetWidth == document.getElemen tById('ref5').offsetWidth"); 78 shouldBeTrue("document.getElementById('test5').offsetWidth == document.getElemen tById('ref5').offsetWidth");
79 shouldBeTrue("document.getElementById('test6').offsetWidth == document.getElemen tById('ref6').offsetWidth"); 79 shouldBeTrue("document.getElementById('test6').offsetWidth == document.getElemen tById('ref6').offsetWidth");
80 shouldBeTrue("document.getElementById('test7').offsetWidth == document.getElemen tById('ref7').offsetWidth"); 80 shouldBeTrue("document.getElementById('test7').offsetWidth == document.getElemen tById('ref7').offsetWidth");
81 shouldBeTrue("document.getElementById('test8').offsetWidth == document.getElemen tById('ref8').offsetWidth"); 81 shouldBeTrue("document.getElementById('test8').offsetWidth == document.getElemen tById('ref8').offsetWidth");
82 </script> 82 </script>
83 </body> 83 </body>
84 </html> 84 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/first-letter-expected.html ('k') | LayoutTests/fast/css/first-letter-removed-added-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698