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

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/script-tests/getComputedStyle-text-align-last.js

Issue 26363004: webkit prefix shoudn't be used for text-align-last (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | Source/devtools/front_end/CSSMetadata.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 function testElementStyle(propertyJS, propertyCSS, type, value) 1 function testElementStyle(propertyJS, propertyCSS, type, value)
2 { 2 {
3 shouldBe("e.style." + propertyJS, "'" + value + "'"); 3 shouldBe("e.style." + propertyJS, "'" + value + "'");
4 shouldBe("e.style.getPropertyCSSValue('" + propertyCSS + "').cssText", "'" + value + "'"); 4 shouldBe("e.style.getPropertyCSSValue('" + propertyCSS + "').cssText", "'" + value + "'");
5 } 5 }
6 6
7 function testComputedStyle(propertyJS, propertyCSS, type, value) 7 function testComputedStyle(propertyJS, propertyCSS, type, value)
8 { 8 {
9 computedStyle = window.getComputedStyle(e, null); 9 computedStyle = window.getComputedStyle(e, null);
10 shouldBe("computedStyle." + propertyJS, "'" + value + "'"); 10 shouldBe("computedStyle." + propertyJS, "'" + value + "'");
(...skipping 28 matching lines...) Expand all
39 39
40 valueSettingTest('start'); 40 valueSettingTest('start');
41 valueSettingTest('end'); 41 valueSettingTest('end');
42 valueSettingTest('left'); 42 valueSettingTest('left');
43 valueSettingTest('right'); 43 valueSettingTest('right');
44 valueSettingTest('center'); 44 valueSettingTest('center');
45 valueSettingTest('justify'); 45 valueSettingTest('justify');
46 valueSettingTest('auto'); 46 valueSettingTest('auto');
47 47
48 defaultValue = 'auto' 48 defaultValue = 'auto'
49 e.style.webkitTextAlignLast = defaultValue; 49 e.style.textAlignLast = defaultValue;
50 invalidValueSettingTest('-webkit-left', defaultValue); 50 invalidValueSettingTest('-webkit-left', defaultValue);
51 invalidValueSettingTest('-webkit-right', defaultValue); 51 invalidValueSettingTest('-webkit-right', defaultValue);
52 invalidValueSettingTest('-webkit-center', defaultValue); 52 invalidValueSettingTest('-webkit-center', defaultValue);
53 invalidValueSettingTest('-webkit-match-parent', defaultValue); 53 invalidValueSettingTest('-webkit-match-parent', defaultValue);
54 invalidValueSettingTest('-webkit-auto', defaultValue); 54 invalidValueSettingTest('-webkit-auto', defaultValue);
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/CSSMetadata.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698