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

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: Patch for landing 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
« no previous file with comments | « no previous file | LayoutTests/transforms/perspective-parsing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/transforms/perspective-parsing.html
diff --git a/LayoutTests/transforms/perspective-parsing.html b/LayoutTests/transforms/perspective-parsing.html
index 221a8a985a40f6337553006f8ac21b3134d3b066..276076a6439214f74ed738a384c71187ef649460 100644
--- a/LayoutTests/transforms/perspective-parsing.html
+++ b/LayoutTests/transforms/perspective-parsing.html
@@ -17,4 +17,8 @@ expect('0px').isInvalid();
expect('5').isInvalid();
expect('-1px').isInvalid();
expect('50%').isInvalid();
+expect('calc(-1px)').parsesAs('calc(-1px)');
+expect('calc(0px)').parsesAs('calc(0px)');
+expect('calc(1px)').parsesAs('calc(1px)');
+expect('calc(10em - 10px)').parsesAs('calc(10em - 10px)');
</script>
« no previous file with comments | « no previous file | LayoutTests/transforms/perspective-parsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698