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

Side by Side Diff: third_party/WebKit/LayoutTests/typedcssom/cssNumberValue.html

Issue 2097093002: [Typed OM] Rename cssString methods to cssText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-transformvalue
Patch Set: Update usage in csspaint logging for tests Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 4
5 <script> 5 <script>
6 var values = [ 6 var values = [
7 {input: new CSSNumberValue(0), cssString: '0'}, 7 {input: new CSSNumberValue(0), cssText: '0'},
8 {input: new CSSNumberValue(1), cssString: '1'}, 8 {input: new CSSNumberValue(1), cssText: '1'},
9 {input: new CSSNumberValue(-2), cssString: '-2'}, 9 {input: new CSSNumberValue(-2), cssText: '-2'},
10 {input: new CSSNumberValue(3.4), cssString: '3.4'} 10 {input: new CSSNumberValue(3.4), cssText: '3.4'}
11 ]; 11 ];
12 12
13 test(function() { 13 test(function() {
14 for (var i = 0; i < values.length; ++i) { 14 for (var i = 0; i < values.length; ++i) {
15 assert_equals(values[i].input.cssString, values[i].cssString); 15 assert_equals(values[i].input.cssText, values[i].cssText);
16 } 16 }
17 }, "Test that the css string for CSSNumberValue is correct."); 17 }, "Test that the css string for CSSNumberValue is correct.");
18 18
19 </script> 19 </script>
20 20
21 <body> 21 <body>
22 </body> 22 </body>
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698