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

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

Issue 2943303002: [CSS Typed OM] Refactor is2D handling in CSSTransformComponents to match new spec (Closed)
Patch Set: rebase Created 3 years, 6 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
Index: third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
index 297762f3d61ab96c7e90e76580591d7931681463..faf45acb4493e64975ed331bb1123d135bf97906 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
@@ -33,5 +33,13 @@ test(() => {
assert_equals(perspective.toString(), 'perspective(10px)');
}, "toString should return perspective(<CSSNumericValue.cssString()>)");
+test(() => {
+ let perspective = new CSSPerspective(new CSSUnitValue(10, 'px'));
+ assert_false(perspective.is2D);
+
+ perspective.is2D = true;
+ assert_false(perspective.is2D);
+}, "Setting is2D does nothing");
+
</script>

Powered by Google App Engine
This is Rietveld 408576698