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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html

Issue 1958943002: Typed CSSOM: Rename PositionValue to CSSPositionValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/positionValue.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/positionValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
similarity index 67%
rename from third_party/WebKit/LayoutTests/typedcssom/positionValue.html
rename to third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
index cea1d33194284414b63f0733882b894478b614a4..4dcbb034d625ce3a0a0597630ee040cd22cfe9fd 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/positionValue.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
@@ -5,13 +5,13 @@
<script>
test(function() {
- assert_equals(new PositionValue(new SimpleLength(50, 'px'),
+ assert_equals(new CSSPositionValue(new SimpleLength(50, 'px'),
new CalcLength({px: -10, em: -3.2, pt: 0})).cssString, '50px calc((-3.2em - 10px) + 0pt)');
- assert_equals(new PositionValue(new SimpleLength(50, 'px'),
+ assert_equals(new CSSPositionValue(new SimpleLength(50, 'px'),
new SimpleLength(2, 'em')).cssString, '50px 2em');
- assert_equals(new PositionValue(new CalcLength({px: -10, em: -3.2, pt: 0}),
+ assert_equals(new CSSPositionValue(new CalcLength({px: -10, em: -3.2, pt: 0}),
new CalcLength({px: -10, em: 3.2})).cssString, 'calc((-3.2em - 10px) + 0pt) calc(3.2em - 10px)');
- assert_equals(new PositionValue(new CalcLength({px: -10, em: -3.2, pt: 0}),
+ assert_equals(new CSSPositionValue(new CalcLength({px: -10, em: -3.2, pt: 0}),
new SimpleLength(10, 'percent')).cssString, 'calc((-3.2em - 10px) + 0pt) 10%');
}, "cssString returns a string with the x and y positions cssStrings separated by a space");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/positionValue.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698