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

Unified Diff: third_party/WebKit/LayoutTests/svg/css/inherit-d.svg

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DECLARE_VIRTUAL_TRACE Created 5 years 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/css/inherit-d.svg
diff --git a/third_party/WebKit/LayoutTests/svg/css/inherit-d.svg b/third_party/WebKit/LayoutTests/svg/css/inherit-d.svg
new file mode 100644
index 0000000000000000000000000000000000000000..afa5a983b77c3a04cbb7f4a04b0e57a97781b4f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/css/inherit-d.svg
@@ -0,0 +1,29 @@
+<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <style>
+ #d0 {
+ fill: red;
+ d: path('M 200 100 A 100 100 0 1 1 200 100');
+ }
+
+ #p0 {
+ d: inherit;
+ }
+
+ #g0 {
+ fill: green;
+ d: path('M 100 100 H 300 V 300 H 100 V 100');
+ }
+
+ #u0 {
+ d: inherit;
+ }
+ </style>
+
+ <defs id="d0">
+ <path id="p0" />
+ </defs>
+
+ <g id="g0">
+ <use id="u0" xlink:href="#p0" />
+ </g>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698