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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/effect-reference-turbulence-invalid.html

Issue 1375793003: Update error-handling for fe*Lighting and feTurbulence (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/css3/filters/effect-reference-turbulence-invalid.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/effect-reference-turbulence-invalid.html b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-turbulence-invalid.html
new file mode 100644
index 0000000000000000000000000000000000000000..7e3da8e2c851759d9c17cc55a5ee65420d8c2298
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-turbulence-invalid.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<style>
+.target {
+ display: inline-block;
+ width: 100px;
+ height: 100px;
+ background-color: red;
+}
+</style>
+<div class="target" style="-webkit-filter: url(#fn1); filter: url(#fn1)"></div>
+<div class="target" style="-webkit-filter: url(#fn2); filter: url(#fn2)"></div>
+<div class="target" style="-webkit-filter: url(#tb1); filter: url(#tb1)"></div>
+<div class="target" style="-webkit-filter: url(#tb2); filter: url(#tb2)"></div>
+<svg height="0" color-interpolation-filters="sRGB">
+ <!-- type=fractalNoise -->
+ <filter id="fn1" x="0" y="0" width="1" height="1">
+ <feTurbulence type="fractalNoise" baseFrequency="-1 1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+
+ <filter id="fn2" x="0" y="0" width="1" height="1">
+ <feTurbulence type="fractalNoise" baseFrequency="1 -1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+
+ <!-- type=turbulence -->
+ <filter id="tb1" x="0" y="0" width="1" height="1">
+ <feTurbulence type="fractalNoise" baseFrequency="-1 1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+
+ <filter id="tb2" x="0" y="0" width="1" height="1">
+ <feTurbulence type="fractalNoise" baseFrequency="1 -1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698