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

Unified Diff: third_party/WebKit/LayoutTests/svg/filters/svg-element-invalid-filter-expected.html

Issue 2065593002: Unprefix the CSS 'filter' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disabler. Try different DCHECK expressions. Created 4 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/svg/filters/svg-element-invalid-filter-expected.html
diff --git a/third_party/WebKit/LayoutTests/svg/filters/svg-element-invalid-filter-expected.html b/third_party/WebKit/LayoutTests/svg/filters/svg-element-invalid-filter-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..325464becb2e008df4ad15d41b07223be634a838
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/filters/svg-element-invalid-filter-expected.html
@@ -0,0 +1,63 @@
+<!doctype html>
+
+<style>
+ svg {
+ width: 100px;
+ height: 100px;
+ margin: 1px;
+ }
+
+ #test-root {
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ }
+
+ #test-child {
+ position: absolute;
+ left: 10px;
+ top: 130px;
+ }
+</style>
+
+<p id="test-root">
+
+<!-- SVG root element: the first three filters are valid, the rest are not. -->
+
+<svg viewBox="0 0 50 50">
+ <rect fill="lime" x="0" y="0" height="50" width="50"/>
+</svg>
+
+<svg viewBox="0 0 50 50">
+ <rect fill="lime" x="0" y="0" height="50" width="50"/>
+</svg>
+
+<svg viewBox="0 0 50 50">
+ <rect fill="lime" x="0" y="0" height="50" width="50"/>
+</svg>
+
+<svg viewBox="0 0 50 50">
+ <rect fill="red" x="0" y="0" height="50" width="50"/>
+</svg>
+
+<svg viewBox="0 0 50 50">
+ <rect fill="red" x="0" y="0" height="50" width="50"/>
+</svg>
+
+<svg viewBox="0 0 50 50">
+ <rect fill="red" x="0" y="0" height="50" width="50"/>
+</svg>
+
+<svg viewBox="0 0 50 50">
+ <rect fill="red" x="0" y="0" height="50" width="50"/>
+</svg>
+</p>
+
+<p id="test-child">
+
+<!-- SVG child element: the first filter is valid, the rest are not. -->
+
+<svg viewBox="0 0 50 50">
+ <rect fill="lime" x="0" y="0" height="50" width="50"/>
+</svg>
+</p>

Powered by Google App Engine
This is Rietveld 408576698