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

Unified Diff: third_party/WebKit/LayoutTests/svg/css/opacity-not-supporting-percentage.html

Issue 1441233006: Move remaining SVG properties into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests for opacity+percentage combination Created 5 years, 1 month 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/svg/css/opacity-not-supporting-percentage-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/css/opacity-not-supporting-percentage.html
diff --git a/third_party/WebKit/LayoutTests/svg/css/opacity-not-supporting-percentage.html b/third_party/WebKit/LayoutTests/svg/css/opacity-not-supporting-percentage.html
new file mode 100644
index 0000000000000000000000000000000000000000..ac7362c3f0bb9ea0bec0441d4dd7854d2e45f46f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/css/opacity-not-supporting-percentage.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+</head>
+<body>
+<script>
+ description("Test opacity properties combined with percentage.");
+
+ shouldBeFalse('CSS.supports("stroke-opacity", "0%")');
+ shouldBeFalse('CSS.supports("stroke-opacity", "100%")');
+
+ shouldBeFalse('CSS.supports("flood-opacity", "0%")');
+ shouldBeFalse('CSS.supports("flood-opacity", "100%")');
+
+ shouldBeFalse('CSS.supports("stop-opacity", "0%")');
+ shouldBeFalse('CSS.supports("stop-opacity", "100%")');
+
+ shouldBeFalse('CSS.supports("opacity", "0%")');
+ shouldBeFalse('CSS.supports("opacity", "100%")');
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/css/opacity-not-supporting-percentage-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698