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

Side by Side Diff: LayoutTests/fast/table/script-tests/css-table-width.js

Issue 9220007: Merge 104140 - WebKit adds vertical paddings and borders to the fixed width of CSS tables (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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 | « LayoutTests/fast/table/css-table-width-expected.txt ('k') | Source/WebCore/ChangeLog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 description("This test checks that the width style is applied correctly to CSS t ables with respect to table paddings and borders."); 1 description("This test checks that the width style is applied correctly to CSS t ables with respect to table paddings and borders.");
2 2
3 function computeCSSTableOffsetWidth(extraTableStyle) 3 function computeCSSTableOffsetWidth(extraTableStyle)
4 { 4 {
5 return computeCSSTableProperty('offsetWidth', extraTableStyle) 5 return computeCSSTableProperty('offsetWidth', extraTableStyle)
6 } 6 }
7 7
8 function computeCSSTableOffsetHeight(extraTableStyle) 8 function computeCSSTableOffsetHeight(extraTableStyle)
9 { 9 {
10 return computeCSSTableProperty('offsetHeight', extraTableStyle) 10 return computeCSSTableProperty('offsetHeight', extraTableStyle)
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl;')", 150+(10+30)/2); 63 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl;')", 150+(10+30)/2);
64 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl; -webkit-text-orientation: upright; text-orientation: upright;')", 150+(10 +30)/2); 64 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl; -webkit-text-orientation: upright; text-orientation: upright;')", 150+(10 +30)/2);
65 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl; direction: rtl;')", 150+(10+30)/2); 65 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl; direction: rtl;')", 150+(10+30)/2);
66 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl; direction: rtl; -webkit-text-orientation: upright; text-orientation: upri ght;')", 150+(10+30)/2); 66 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-rl; writing-mode: vertic al-rl; direction: rtl; -webkit-text-orientation: upright; text-orientation: upri ght;')", 150+(10+30)/2);
67 67
68 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr;')", 150+(10+30)/2); 68 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr;')", 150+(10+30)/2);
69 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr; -webkit-text-orientation: upright; text-orientation: upright;')", 150+(10 +30)/2); 69 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr; -webkit-text-orientation: upright; text-orientation: upright;')", 150+(10 +30)/2);
70 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr; direction: rtl;')", 150+(10+30)/2); 70 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr; direction: rtl;')", 150+(10+30)/2);
71 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr; direction: rtl; -webkit-text-orientation: upright; text-orientation: upri ght;')", 150+(10+30)/2); 71 shouldEvaluateTo("computeCSSTableOffsetHeight('width: 200px; height: 150px; bord er-style: solid; border-width: 10px 2px 30px 4px; padding: 50px 6px 70px 8px; bo rder-collapse: collapse; -webkit-writing-mode: vertical-lr; writing-mode: vertic al-lr; direction: rtl; -webkit-text-orientation: upright; text-orientation: upri ght;')", 150+(10+30)/2);
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/css-table-width-expected.txt ('k') | Source/WebCore/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698