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

Unified Diff: LayoutTests/transforms/perspective-parsing.html

Issue 993013002: Perspective property should only allow positive lengths (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix ASSERT Created 5 years, 9 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: LayoutTests/transforms/perspective-parsing.html
diff --git a/LayoutTests/transforms/perspective-parsing.html b/LayoutTests/transforms/perspective-parsing.html
index 221a8a985a40f6337553006f8ac21b3134d3b066..2d3ed190e8d79cf1f4454c56990d8e1cc318a376 100644
--- a/LayoutTests/transforms/perspective-parsing.html
+++ b/LayoutTests/transforms/perspective-parsing.html
@@ -17,4 +17,10 @@ expect('0px').isInvalid();
expect('5').isInvalid();
expect('-1px').isInvalid();
expect('50%').isInvalid();
+expect('calc(-1px)').isInvalid();
+expect('calc(0px)').isInvalid();
+expect('calc(1px)').parsesAs('calc(1px)');
+expect('calc(-1)').isInvalid();
+expect('calc(0)').isInvalid();
+expect('calc(1)').isInvalid();
</script>
« no previous file with comments | « no previous file | LayoutTests/transforms/perspective-parsing-expected.txt » ('j') | Source/core/css/CSSCalculationValue.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698