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

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

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2
3 <style>
4 svg {
5 width: 100px;
6 height: 100px;
7 margin: 10px;
8 }
9
10 #test-root {
11 position: absolute;
12 left: 10px;
13 top: 10px;
14 }
15
16 #test-child {
17 position: absolute;
18 left: 10px;
19 top: 130px;
20 }
21 </style>
22
23 <p id="test-root">
24
25 <!-- SVG root element: the first filter is valid, the rest are not. -->
26
27 <svg style="filter: url(#filter)" viewBox="0 0 50 50">
28 <filter id="filter">
29 <feColorMatrix type="hueRotate" values="90"/>
30 </filter>
31 <rect fill="red" x="0" y="0" height="50" width="50"/>
32 </svg>
33 </p>
34
35 <p id="test-child">
36
37 <!-- SVG child element: the first filter is valid, the rest are not. -->
38
39 <svg viewBox="0 0 50 50">
40 <rect fill="red" x="0" y="0" height="50" width="50"
41 style="filter: url(#filter)"/>
42 </svg>
43 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698