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

Side by Side Diff: LayoutTests/fast/dom/length-attribute-mapping.html

Issue 10349004: Revert 115573 - Move Length and CSS length computation to float (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1123/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/length-attribute-mapping-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
1 <p> 1 <p>
2 This tests the mapping of length-type attributes to CSS length values. 2 This tests the mapping of length-type attributes to CSS length values.
3 </p> 3 </p>
4 <pre id="console"></pre> 4 <pre id="console"></pre>
5 <img id="img" style="display: none;"> 5 <img id="img" style="display: none;">
6 <table><col id="col" style="display: none;"></table> 6 <table><col id="col" style="display: none;"></table>
7 <script> 7 <script>
8 if (window.layoutTestController) 8 if (window.layoutTestController)
9 layoutTestController.dumpAsText(); 9 layoutTestController.dumpAsText();
10 10
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 var img = document.getElementById("img"); 28 var img = document.getElementById("img");
29 log ("<img>:"); 29 log ("<img>:");
30 test(img, "90zz", "90px"); 30 test(img, "90zz", "90px");
31 test(img, "80%", "80%"); 31 test(img, "80%", "80%");
32 test(img, "70%5", "70%"); 32 test(img, "70%5", "70%");
33 test(img, "60%%", "60%"); 33 test(img, "60%%", "60%");
34 test(img, "50*"); 34 test(img, "50*");
35 test(img, "40*5"); 35 test(img, "40*5");
36 test(img, "30.5", "30.5px"); 36 test(img, "30.5", "30px");
37 log(""); 37 log("");
38 38
39 var col = document.getElementById("col"); 39 var col = document.getElementById("col");
40 log ("<col>:"); 40 log ("<col>:");
41 test(col, "90zz", "90px"); 41 test(col, "90zz", "90px");
42 test(col, "80%", "80%"); 42 test(col, "80%", "80%");
43 test(col, "70%5", "70%"); 43 test(col, "70%5", "70%");
44 test(col, "60%%", "60%"); 44 test(col, "60%%", "60%");
45 test(col, "50*"); 45 test(col, "50*");
46 test(col, "40*5"); 46 test(col, "40*5");
47 test(col, "30.5", "30.5px"); 47 test(col, "30.5", "30px");
48 </script> 48 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/length-attribute-mapping-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698