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

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

Issue 2024023002: Typed CSSOM: Rename Perspective and PerspectiveTransformComponent to CSSPerspective (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/perspectiveTransformComponent.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
similarity index 75%
rename from third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
rename to third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
index d879467f9970acd1c4fd5d3aba88984a483fe973..c1fa8e19b60e6736dd0175d0d60e33e02b04e406 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
@@ -6,19 +6,19 @@
test(function() {
var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
- assert_throws(null, function() { new Perspective(calcLength) });
+ assert_throws(null, function() { new CSSPerspective(calcLength) });
}, "Constructor should throw an error for CSSCalcLengths with a percentage type");
test(function() {
var simpleLength = new CSSSimpleLength(10, 'percent');
- assert_throws(null, function() { new Perspective(simpleLength) });
+ assert_throws(null, function() { new CSSPerspective(simpleLength) });
}, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
test(function() {
var simpleLength = new CSSSimpleLength(10, 'px');
var calcLength = new CSSCalcLength({px: 10, em: 3.2});
- var perspectiveTransformSimple = new Perspective(simpleLength);
- var perspectiveTransformCalc = new Perspective(calcLength);
+ var perspectiveTransformSimple = new CSSPerspective(simpleLength);
+ var perspectiveTransformCalc = new CSSPerspective(calcLength);
assert_equals(perspectiveTransformSimple.cssString, 'perspective(10px)');
assert_equals(perspectiveTransformCalc.cssString,'perspective(calc(3.2em + 10px))');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698