Bug 1489599 [wpt PR 12900] - Serialize the path() function with double quotes, a=testonly
authorFredrik Söderquist <fs@opera.com>
Tue, 11 Sep 2018 09:58:53 +0000
changeset 435996 94dec1f28de05933d12350e28871c7c6760c0bd5
parent 435995 6cc4109ffbd1f0f060ba1689e3906eceaa27945d
child 435997 fde3003a656628c6c3e0834dd1844ca8dcf9928b
push id34625
push userdvarga@mozilla.com
push dateThu, 13 Sep 2018 02:31:40 +0000
treeherdermozilla-central@51e9e9660b3e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1489599, 12900, 873527, 1213171, 589652
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1489599 [wpt PR 12900] - Serialize the path() function with double quotes, a=testonly Automatic update from web-platform-testsSerialize the path() function with double quotes Per https://drafts.csswg.org/cssom/#serialize-a-string double quotes should be used when serializing strings. Bug: 873527 Change-Id: I3b7a3c6425c6a5d0d6f96399663f5ae8b3929a59 Reviewed-on: https://chromium-review.googlesource.com/1213171 Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Reviewed-by: Eric Willigers <ericwilligers@chromium.org> Cr-Commit-Position: refs/heads/master@{#589652} -- wpt-commits: 9a5d71b326166e12784bdd9d161772e20f87c1fd wpt-pr: 12900
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/motion/parsing/offset-parsing-valid.html
testing/web-platform/tests/svg/path/property/d-interpolation-discrete.svg
testing/web-platform/tests/svg/path/property/d-interpolation-relative-absolute.svg
testing/web-platform/tests/svg/path/property/d-interpolation-single.svg
testing/web-platform/tests/svg/path/property/getComputedStyle.svg
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -576696,17 +576696,17 @@
    "5b081bcaab7e9d6a72842c4f8f0a504816672b92",
    "testharness"
   ],
   "css/motion/parsing/offset-parsing-invalid.html": [
    "cc2eb500eb88d24055dfe84e0c052546d90e9a29",
    "testharness"
   ],
   "css/motion/parsing/offset-parsing-valid.html": [
-   "75c93e5475fc050f462a3c93c6e6e27912e82559",
+   "b93091b2088987cb402c364e0d3794d847522a16",
    "testharness"
   ],
   "css/motion/parsing/offset-path-parsing-invalid.html": [
    "c69f7c81a9d479c2334769b85d0553f659b8bd83",
    "testharness"
   ],
   "css/motion/parsing/offset-path-parsing-valid.html": [
    "bda82928726dc8c3a30207f9871a4883e2db5376",
@@ -645996,29 +645996,29 @@
    "6b8a50b4f2fcf9bb3f4ae020abad9e93ba3976d1",
    "reftest"
   ],
   "svg/path/interfaces/SVGAnimatedPathData-removed.svg": [
    "d321b8b001156c1be6fb8f638267bc53e23ac7c3",
    "testharness"
   ],
   "svg/path/property/d-interpolation-discrete.svg": [
-   "aa9087395fb5f00083630f859c0049247f71a530",
+   "5b20a589bb54e0ed985b91e11258e10ff44ef66c",
    "testharness"
   ],
   "svg/path/property/d-interpolation-relative-absolute.svg": [
-   "65d2f3b2eb6e54253166a29754338b930267953d",
+   "09d4c70712f8f4cbb37e8dd6d075529500a68179",
    "testharness"
   ],
   "svg/path/property/d-interpolation-single.svg": [
-   "25c523168a7a274511f490eac8831798c19f9798",
+   "107b607beca6056bf7fc21f0b0e954bb37da5c03",
    "testharness"
   ],
   "svg/path/property/getComputedStyle.svg": [
-   "af30862781a59ad64e51264ccaac989856f5a8a7",
+   "5830191931fb4f7dd0d4e929333248b8d3019e79",
    "testharness"
   ],
   "svg/path/property/priority-ref.svg": [
    "cbc7c385f6d78d492a7d43e45cd03da6b78433f3",
    "support"
   ],
   "svg/path/property/priority.svg": [
    "ef187c191369e894920c7dc38b47d5cc4b984f01",
--- a/testing/web-platform/tests/css/motion/parsing/offset-parsing-valid.html
+++ b/testing/web-platform/tests/css/motion/parsing/offset-parsing-valid.html
@@ -11,33 +11,33 @@
 <script src="/css/support/parsing-testcommon.js"></script>
 </head>
 <body>
 <script>
 test_valid_value("offset", "100px none auto 90deg", "100px center none auto 90deg");
 test_valid_value("offset", "100px", "100px center");
 test_valid_value("offset", "auto none reverse");
 test_valid_value("offset", "auto");
-test_valid_value("offset", "center bottom path('M 1 2 V 3 Z')");
-test_valid_value("offset", "center center path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z') 100% 90deg / left bottom");
+test_valid_value("offset", "center bottom path(\"M 1 2 V 3 Z\")");
+test_valid_value("offset", "center center path(\"M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z\") 100% 90deg / left bottom");
 test_valid_value("offset", "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom");
 test_valid_value("offset", "left top");
 test_valid_value("offset", "none 30deg reverse", "none reverse 30deg");
 test_valid_value("offset", "none 50px reverse 30deg");
 test_valid_value("offset", "none calc(10px + 20%) auto");
 test_valid_value("offset", "none reverse");
-test_valid_value("offset", "path('M 0 0 H 1') -200% auto");
-test_valid_value("offset", "path('M 0 0 H 1') -200%");
-test_valid_value("offset", "path('M 0 0 H 1') 50px");
-test_valid_value("offset", "path('M 0 0 H 1') auto");
-test_valid_value("offset", "path('M 0 0 H 1') reverse 30deg 50px", "path('M 0 0 H 1') 50px reverse 30deg");
-test_valid_value("offset", "path('M 0 0 H 1')");
-test_valid_value("offset", "path('m 0 0 h 100') -7rad 8px / auto", "path('m 0 0 h 100') 8px -7rad / auto");
-test_valid_value("offset", "path('m 0 0 h 100') -7rad 8px / left top", "path('m 0 0 h 100') 8px -7rad / left top");
-test_valid_value("offset", "path('m 0 0 h 100') -7rad 8px", "path('m 0 0 h 100') 8px -7rad");
-test_valid_value("offset", "path('m 0 0 h 100') 100px 0deg");
-test_valid_value("offset", "path('m 1 2 v 3 Z')");
+test_valid_value("offset", "path(\"M 0 0 H 1\") -200% auto");
+test_valid_value("offset", "path(\"M 0 0 H 1\") -200%");
+test_valid_value("offset", "path('M 0 0 H 1') 50px", "path(\"M 0 0 H 1\") 50px");
+test_valid_value("offset", "path(\"M 0 0 H 1\") auto");
+test_valid_value("offset", "path('M 0 0 H 1') reverse 30deg 50px", "path(\"M 0 0 H 1\") 50px reverse 30deg");
+test_valid_value("offset", "path(\"M 0 0 H 1\")");
+test_valid_value("offset", "path('m 0 0 h 100') -7rad 8px / auto", "path(\"m 0 0 h 100\") 8px -7rad / auto");
+test_valid_value("offset", "path('m 0 0 h 100') -7rad 8px / left top", "path(\"m 0 0 h 100\") 8px -7rad / left top");
+test_valid_value("offset", "path('m 0 0 h 100') -7rad 8px", "path(\"m 0 0 h 100\") 8px -7rad");
+test_valid_value("offset", "path(\"m 0 0 h 100\") 100px 0deg");
+test_valid_value("offset", "path('m 1 2 v 3 Z')", "path(\"m 1 2 v 3 Z\")");
 test_valid_value("offset", "ray(farthest-corner 90deg) 1%", "ray(90deg farthest-corner) 1%");
 test_valid_value("offset", "ray(sides 0deg) 50% 90deg auto", "ray(0deg sides) 50% auto 90deg");
 test_valid_value("offset", "right bottom / left top");
 </script>
 </body>
 </html>
--- a/testing/web-platform/tests/svg/path/property/d-interpolation-discrete.svg
+++ b/testing/web-platform/tests/svg/path/property/d-interpolation-discrete.svg
@@ -12,32 +12,32 @@
   <h:script src="/resources/testharnessreport.js"/>
   <h:script src="resources/interpolation-test-common.js"/>
   <script><![CDATA[
       'use strict';
 
       // Distinct number of path segments
       test_no_interpolation({
         property: 'd',
-        from: "path('M 0 0 H 1 H 2')",
-        to: "path('M 0 0 H 3')"
+        from: 'path("M 0 0 H 1 H 2")',
+        to: 'path("M 0 0 H 3")'
       });
 
       test_no_interpolation({
         property: 'd',
-        from: "path('M 1 2 L 3 4 Z')",
+        from: 'path("M 1 2 L 3 4 Z")',
         to: "none"
       });
 
       // Distinct segment types
       test_no_interpolation({
         property: 'd',
-        from: "path('M 10 0 H 11')",
-        to: "path('M 20 0 V 2')"
+        from: 'path("M 10 0 H 11")',
+        to: 'path("M 20 0 V 2")'
       });
 
       test_no_interpolation({
         property: 'd',
-        from: "path('M 1 2 L 4 6 Z')",
-        to: "path('M 1 2 H 4 V 6')"
+        from: 'path("M 1 2 L 4 6 Z")',
+        to: 'path("M 1 2 H 4 V 6")'
       });
   ]]></script>
 </svg>
--- a/testing/web-platform/tests/svg/path/property/d-interpolation-relative-absolute.svg
+++ b/testing/web-platform/tests/svg/path/property/d-interpolation-relative-absolute.svg
@@ -12,111 +12,111 @@
   <h:script src="/resources/testharnessreport.js"/>
   <h:script src="resources/interpolation-test-common.js"/>
   <script><![CDATA[
       'use strict';
 
       // Mix relative and non-relative
       test_interpolation({
         property: 'd',
-        from: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')",
-        to: "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 300 100 z')"
+        from: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")',
+        to: 'path("M 0 0 L 100 100 m 0 100 l 100 0 z l 300 100 z")'
       }, [
-        {at: -1, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 0 -100 Z')"},
-        {at: 0, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
-        {at: 0.125, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 225 125 Z')"},
-        {at: 0.875, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 375 275 Z')"},
-        {at: 1, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 400 300 Z')"},
-        {at: 2, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 600 500 Z')"},
+        {at: -1, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 0 -100 Z")'},
+        {at: 0, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
+        {at: 0.125, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 225 125 Z")'},
+        {at: 0.875, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 375 275 Z")'},
+        {at: 1, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 400 300 Z")'},
+        {at: 2, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 600 500 Z")'},
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')",
-        to: "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z')"
+        from: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")',
+        to: 'path("M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z")'
       }, [
-        {at: -1, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
-        {at: 0, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
-        {at: 0.125, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
-        {at: 0.875, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
-        {at: 1, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
-        {at: 2, expect: "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')"},
+        {at: -1, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
+        {at: 0, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
+        {at: 0.125, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
+        {at: 0.875, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
+        {at: 1, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
+        {at: 2, expect: 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z")'},
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 10 20 l 40 50 z l 40 60 z m 60 70 l 90 60 z t 70 130')",
-        to: "path('M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220')"
+        from: 'path("m 10 20 l 40 50 z l 40 60 z m 60 70 l 90 60 z t 70 130")',
+        to: 'path("M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220")'
       }, [
-        {at: -1, expect: "path('M -190 -180 L -70 -50 Z L 10 40 Z M 30 50 L 120 70 Z T 60 220')"},
-        {at: 0, expect: "path('M 10 20 L 50 70 Z L 50 80 Z M 70 90 L 160 150 Z T 140 220')"},
-        {at: 0.125, expect: "path('M 35 45 L 65 85 Z L 55 85 Z M 75 95 L 165 160 Z T 150 220')"},
-        {at: 0.875, expect: "path('M 185 195 L 155 175 Z L 85 115 Z M 105 125 L 195 220 Z T 210 220')"},
-        {at: 1, expect: "path('M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220')"},
-        {at: 2, expect: "path('M 410 420 L 290 310 Z L 130 160 Z M 150 170 L 240 310 Z T 300 220')"}
+        {at: -1, expect: 'path("M -190 -180 L -70 -50 Z L 10 40 Z M 30 50 L 120 70 Z T 60 220")'},
+        {at: 0, expect: 'path("M 10 20 L 50 70 Z L 50 80 Z M 70 90 L 160 150 Z T 140 220")'},
+        {at: 0.125, expect: 'path("M 35 45 L 65 85 Z L 55 85 Z M 75 95 L 165 160 Z T 150 220")'},
+        {at: 0.875, expect: 'path("M 185 195 L 155 175 Z L 85 115 Z M 105 125 L 195 220 Z T 210 220")'},
+        {at: 1, expect: 'path("M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220")'},
+        {at: 2, expect: 'path("M 410 420 L 290 310 Z L 130 160 Z M 150 170 L 240 310 Z T 300 220")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 10 20 c 40 50 30 60 80 70 c 120 130 170 140 110 160')",
-        to: "path('M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330')"
+        from: 'path("m 10 20 c 40 50 30 60 80 70 c 120 130 170 140 110 160")',
+        to: 'path("M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330")'
       }, [
-        {at: -1, expect: "path('M -110 -60 C -30 -10 -40 0 -30 10 C 130 140 180 150 80 170')"},
-        {at: 0, expect: "path('M 10 20 C 50 70 40 80 90 90 C 210 220 260 230 200 250')"},
-        {at: 0.125, expect: "path('M 25 30 C 60 80 50 90 105 100 C 220 230 270 240 215 260')"},
-        {at: 0.875, expect: "path('M 115 90 C 120 140 110 150 195 160 C 280 290 330 300 305 320')"},
-        {at: 1, expect: "path('M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330')"},
-        {at: 2, expect: "path('M 250 180 C 210 230 200 240 330 250 C 370 380 420 390 440 410')"}
+        {at: -1, expect: 'path("M -110 -60 C -30 -10 -40 0 -30 10 C 130 140 180 150 80 170")'},
+        {at: 0, expect: 'path("M 10 20 C 50 70 40 80 90 90 C 210 220 260 230 200 250")'},
+        {at: 0.125, expect: 'path("M 25 30 C 60 80 50 90 105 100 C 220 230 270 240 215 260")'},
+        {at: 0.875, expect: 'path("M 115 90 C 120 140 110 150 195 160 C 280 290 330 300 305 320")'},
+        {at: 1, expect: 'path("M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330")'},
+        {at: 2, expect: 'path("M 250 180 C 210 230 200 240 330 250 C 370 380 420 390 440 410")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 10 20 q 30 60 40 50 q 110 80 90 80')",
-        to: "path('M 130 100 Q 120 160 130 150 Q 200 150 180 190')"
+        from: 'path("m 10 20 q 30 60 40 50 q 110 80 90 80")',
+        to: 'path("M 130 100 Q 120 160 130 150 Q 200 150 180 190")'
       }, [
-        {at: -1, expect: "path('M -110 -60 Q -40 0 -30 -10 Q 120 150 100 110')"},
-        {at: 0, expect: "path('M 10 20 Q 40 80 50 70 Q 160 150 140 150')"},
-        {at: 0.125, expect: "path('M 25 30 Q 50 90 60 80 Q 165 150 145 155')"},
-        {at: 0.875, expect: "path('M 115 90 Q 110 150 120 140 Q 195 150 175 185')"},
-        {at: 1, expect: "path('M 130 100 Q 120 160 130 150 Q 200 150 180 190')"},
-        {at: 2, expect: "path('M 250 180 Q 200 240 210 230 Q 240 150 220 230')"}
+        {at: -1, expect: 'path("M -110 -60 Q -40 0 -30 -10 Q 120 150 100 110")'},
+        {at: 0, expect: 'path("M 10 20 Q 40 80 50 70 Q 160 150 140 150")'},
+        {at: 0.125, expect: 'path("M 25 30 Q 50 90 60 80 Q 165 150 145 155")'},
+        {at: 0.875, expect: 'path("M 115 90 Q 110 150 120 140 Q 195 150 175 185")'},
+        {at: 1, expect: 'path("M 130 100 Q 120 160 130 150 Q 200 150 180 190")'},
+        {at: 2, expect: 'path("M 250 180 Q 200 240 210 230 Q 240 150 220 230")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 10 20 s 30 60 40 50 s 110 60 90 70')",
-        to: "path('M 130 140 S 120 160 130 150 S 200 170 140 180')"
+        from: 'path("m 10 20 s 30 60 40 50 s 110 60 90 70")',
+        to: 'path("M 130 140 S 120 160 130 150 S 200 170 140 180")'
       }, [
-        {at: -1, expect: "path('M -110 -100 S -40 0 -30 -10 S 120 90 140 100')"},
-        {at: 0, expect: "path('M 10 20 S 40 80 50 70 S 160 130 140 140')"},
-        {at: 0.125, expect: "path('M 25 35 S 50 90 60 80 S 165 135 140 145')"},
-        {at: 0.875, expect: "path('M 115 125 S 110 150 120 140 S 195 165 140 175')"},
-        {at: 1, expect: "path('M 130 140 S 120 160 130 150 S 200 170 140 180')"},
-        {at: 2, expect: "path('M 250 260 S 200 240 210 230 S 240 210 140 220')"}
+        {at: -1, expect: 'path("M -110 -100 S -40 0 -30 -10 S 120 90 140 100")'},
+        {at: 0, expect: 'path("M 10 20 S 40 80 50 70 S 160 130 140 140")'},
+        {at: 0.125, expect: 'path("M 25 35 S 50 90 60 80 S 165 135 140 145")'},
+        {at: 0.875, expect: 'path("M 115 125 S 110 150 120 140 S 195 165 140 175")'},
+        {at: 1, expect: 'path("M 130 140 S 120 160 130 150 S 200 170 140 180")'},
+        {at: 2, expect: 'path("M 250 260 S 200 240 210 230 S 240 210 140 220")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 10 20 h 30 v 60 h 10 v -10 l 110 60 Z')",
-        to: "path('M 130 140 H 120 V 160 H 130 V 150 L 200 170 Z')"
+        from: 'path("m 10 20 h 30 v 60 h 10 v -10 l 110 60 Z")',
+        to: 'path("M 130 140 H 120 V 160 H 130 V 150 L 200 170 Z")'
       }, [
-        {at: -1, expect: "path('M -110 -100 H -40 V 0 H -30 V -10 L 120 90 Z')"},
-        {at: 0, expect: "path('M 10 20 H 40 V 80 H 50 V 70 L 160 130 Z')"},
-        {at: 0.125, expect: "path('M 25 35 H 50 V 90 H 60 V 80 L 165 135 Z')"},
-        {at: 0.875, expect: "path('M 115 125 H 110 V 150 H 120 V 140 L 195 165 Z')"},
-        {at: 1, expect: "path('M 130 140 H 120 V 160 H 130 V 150 L 200 170 Z')"},
-        {at: 2, expect: "path('M 250 260 H 200 V 240 H 210 V 230 L 240 210 Z')"}
+        {at: -1, expect: 'path("M -110 -100 H -40 V 0 H -30 V -10 L 120 90 Z")'},
+        {at: 0, expect: 'path("M 10 20 H 40 V 80 H 50 V 70 L 160 130 Z")'},
+        {at: 0.125, expect: 'path("M 25 35 H 50 V 90 H 60 V 80 L 165 135 Z")'},
+        {at: 0.875, expect: 'path("M 115 125 H 110 V 150 H 120 V 140 L 195 165 Z")'},
+        {at: 1, expect: 'path("M 130 140 H 120 V 160 H 130 V 150 L 200 170 Z")'},
+        {at: 2, expect: 'path("M 250 260 H 200 V 240 H 210 V 230 L 240 210 Z")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50')",
-        to: "path('M 18 12 A 50 100 70 0 1 90 110 A 150 160 70 0 1 70 80')"
+        from: 'path("m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50")',
+        to: 'path("M 18 12 A 50 100 70 0 1 90 110 A 150 160 70 0 1 70 80")'
       }, [
-        {at: -1, expect: "path('M 2 28 A -30 -60 -10 1 0 10 30 A 70 80 -10 1 1 310 160')"},
-        {at: 0, expect: "path('M 10 20 A 10 20 30 1 0 50 70 A 110 120 30 1 1 190 120')"},
-        {at: 0.125, expect: "path('M 11 19 A 15 30 35 1 0 55 75 A 115 125 35 1 1 175 115')"},
-        {at: 0.875, expect: "path('M 17 13 A 45 90 65 0 1 85 105 A 145 155 65 0 1 85 85')"},
-        {at: 1, expect: "path('M 18 12 A 50 100 70 0 1 90 110 A 150 160 70 0 1 70 80')"},
-        {at: 2, expect: "path('M 26 4 A 90 180 110 0 1 130 150 A 190 200 110 0 1 -50 40')"}
+        {at: -1, expect: 'path("M 2 28 A -30 -60 -10 1 0 10 30 A 70 80 -10 1 1 310 160")'},
+        {at: 0, expect: 'path("M 10 20 A 10 20 30 1 0 50 70 A 110 120 30 1 1 190 120")'},
+        {at: 0.125, expect: 'path("M 11 19 A 15 30 35 1 0 55 75 A 115 125 35 1 1 175 115")'},
+        {at: 0.875, expect: 'path("M 17 13 A 45 90 65 0 1 85 105 A 145 155 65 0 1 85 85")'},
+        {at: 1, expect: 'path("M 18 12 A 50 100 70 0 1 90 110 A 150 160 70 0 1 70 80")'},
+        {at: 2, expect: 'path("M 26 4 A 90 180 110 0 1 130 150 A 190 200 110 0 1 -50 40")'}
       ]);
   ]]></script>
 </svg>
--- a/testing/web-platform/tests/svg/path/property/d-interpolation-single.svg
+++ b/testing/web-platform/tests/svg/path/property/d-interpolation-single.svg
@@ -12,234 +12,234 @@
   <h:script src="/resources/testharnessreport.js"/>
   <h:script src="resources/interpolation-test-common.js"/>
   <script><![CDATA[
       'use strict';
 
       // Exercise each segment type
       test_interpolation({
         property: 'd',
-        from: "path('M 20 70')",
-        to: "path('M 100 30')"
+        from: 'path("M 20 70")',
+        to: 'path("M 100 30")'
       }, [
-        {at: -1, expect: "path('M -60 110')"},
-        {at: 0, expect: "path('M 20 70')"},
-        {at: 0.125, expect: "path('M 30 65')"},
-        {at: 0.875, expect: "path('M 90 35')"},
-        {at: 1, expect: "path('M 100 30')"},
-        {at: 2, expect: "path('M 180 -10')"}
+        {at: -1, expect: 'path("M -60 110")'},
+        {at: 0, expect: 'path("M 20 70")'},
+        {at: 0.125, expect: 'path("M 30 65")'},
+        {at: 0.875, expect: 'path("M 90 35")'},
+        {at: 1, expect: 'path("M 100 30")'},
+        {at: 2, expect: 'path("M 180 -10")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 20 70')",
-        to: "path('m 100 30')"
+        from: 'path("m 20 70")',
+        to: 'path("m 100 30")'
       }, [
-        {at: -1, expect: "path('M -60 110')"},
-        {at: 0, expect: "path('M 20 70')"},
-        {at: 0.125, expect: "path('M 30 65')"},
-        {at: 0.875, expect: "path('M 90 35')"},
-        {at: 1, expect: "path('M 100 30')"},
-        {at: 2, expect: "path('M 180 -10')"}
+        {at: -1, expect: 'path("M -60 110")'},
+        {at: 0, expect: 'path("M 20 70")'},
+        {at: 0.125, expect: 'path("M 30 65")'},
+        {at: 0.875, expect: 'path("M 90 35")'},
+        {at: 1, expect: 'path("M 100 30")'},
+        {at: 2, expect: 'path("M 180 -10")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 100 200 L 120 270')",
-        to: "path('m 100 200 L 200 230')"
+        from: 'path("m 100 200 L 120 270")',
+        to: 'path("m 100 200 L 200 230")'
       }, [
-        {at: -1, expect: "path('M 100 200 L 40 310')"},
-        {at: 0, expect: "path('M 100 200 L 120 270')"},
-        {at: 0.125, expect: "path('M 100 200 L 130 265')"},
-        {at: 0.875, expect: "path('M 100 200 L 190 235')"},
-        {at: 1, expect: "path('M 100 200 L 200 230')"},
-        {at: 2, expect: "path('M 100 200 L 280 190')"}
+        {at: -1, expect: 'path("M 100 200 L 40 310")'},
+        {at: 0, expect: 'path("M 100 200 L 120 270")'},
+        {at: 0.125, expect: 'path("M 100 200 L 130 265")'},
+        {at: 0.875, expect: 'path("M 100 200 L 190 235")'},
+        {at: 1, expect: 'path("M 100 200 L 200 230")'},
+        {at: 2, expect: 'path("M 100 200 L 280 190")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('m 100 200 l 20 70')",
-        to: "path('m 100 200 l 100 30')"
+        from: 'path("m 100 200 l 20 70")',
+        to: 'path("m 100 200 l 100 30")'
       }, [
-        {at: -1, expect: "path('M 100 200 L 40 310')"},
-        {at: 0, expect: "path('M 100 200 L 120 270')"},
-        {at: 0.125, expect: "path('M 100 200 L 130 265')"},
-        {at: 0.875, expect: "path('M 100 200 L 190 235')"},
-        {at: 1, expect: "path('M 100 200 L 200 230')"},
-        {at: 2, expect: "path('M 100 200 L 280 190')"}
+        {at: -1, expect: 'path("M 100 200 L 40 310")'},
+        {at: 0, expect: 'path("M 100 200 L 120 270")'},
+        {at: 0.125, expect: 'path("M 100 200 L 130 265")'},
+        {at: 0.875, expect: 'path("M 100 200 L 190 235")'},
+        {at: 1, expect: 'path("M 100 200 L 200 230")'},
+        {at: 2, expect: 'path("M 100 200 L 280 190")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 20 10 C 32 42 52 62 120 2200')",
-        to: "path('M 20 10 C 40 50 60 70 200 3000')",
+        from: 'path("M 20 10 C 32 42 52 62 120 2200")',
+        to: 'path("M 20 10 C 40 50 60 70 200 3000")',
       }, [
-        {at: -1, expect: "path('M 20 10 C 24 34 44 54 40 1400')"},
-        {at: 0, expect: "path('M 20 10 C 32 42 52 62 120 2200')"},
-        {at: 0.125, expect: "path('M 20 10 C 33 43 53 63 130 2300')"},
-        {at: 0.875, expect: "path('M 20 10 C 39 49 59 69 190 2900')"},
-        {at: 1, expect: "path('M 20 10 C 40 50 60 70 200 3000')"},
-        {at: 2, expect: "path('M 20 10 C 48 58 68 78 280 3800')"}
+        {at: -1, expect: 'path("M 20 10 C 24 34 44 54 40 1400")'},
+        {at: 0, expect: 'path("M 20 10 C 32 42 52 62 120 2200")'},
+        {at: 0.125, expect: 'path("M 20 10 C 33 43 53 63 130 2300")'},
+        {at: 0.875, expect: 'path("M 20 10 C 39 49 59 69 190 2900")'},
+        {at: 1, expect: 'path("M 20 10 C 40 50 60 70 200 3000")'},
+        {at: 2, expect: 'path("M 20 10 C 48 58 68 78 280 3800")'}
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 20 10 c 12 32 32 52 100 2190')",
-        to: "path('m 20 10 c 20 40 40 60 180 2990')"
+        from: 'path("m 20 10 c 12 32 32 52 100 2190")',
+        to: 'path("m 20 10 c 20 40 40 60 180 2990")'
       }, [
-        {at: -1, expect: "path('M 20 10 C 24 34 44 54 40 1400')"},
-        {at: 0, expect: "path('M 20 10 C 32 42 52 62 120 2200')"},
-        {at: 0.125, expect: "path('M 20 10 C 33 43 53 63 130 2300')"},
-        {at: 0.875, expect: "path('M 20 10 C 39 49 59 69 190 2900')"},
-        {at: 1, expect: "path('M 20 10 C 40 50 60 70 200 3000')"},
-        {at: 2, expect: "path('M 20 10 C 48 58 68 78 280 3800')"}
+        {at: -1, expect: 'path("M 20 10 C 24 34 44 54 40 1400")'},
+        {at: 0, expect: 'path("M 20 10 C 32 42 52 62 120 2200")'},
+        {at: 0.125, expect: 'path("M 20 10 C 33 43 53 63 130 2300")'},
+        {at: 0.875, expect: 'path("M 20 10 C 39 49 59 69 190 2900")'},
+        {at: 1, expect: 'path("M 20 10 C 40 50 60 70 200 3000")'},
+        {at: 2, expect: 'path("M 20 10 C 48 58 68 78 280 3800")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 20 10 Q 32 42 120 2200')",
-        to: "path('M 20 10 Q 40 50 200 3000')"
+        from: 'path("M 20 10 Q 32 42 120 2200")',
+        to: 'path("M 20 10 Q 40 50 200 3000")'
       }, [
-        {at: -1, expect: "path('M 20 10 Q 24 34 40 1400')"},
-        {at: 0, expect: "path('M 20 10 Q 32 42 120 2200')"},
-        {at: 0.125, expect: "path('M 20 10 Q 33 43 130 2300')"},
-        {at: 0.875, expect: "path('M 20 10 Q 39 49 190 2900')"},
-        {at: 1, expect: "path('M 20 10 Q 40 50 200 3000')"},
-        {at: 2, expect: "path('M 20 10 Q 48 58 280 3800')"}
+        {at: -1, expect: 'path("M 20 10 Q 24 34 40 1400")'},
+        {at: 0, expect: 'path("M 20 10 Q 32 42 120 2200")'},
+        {at: 0.125, expect: 'path("M 20 10 Q 33 43 130 2300")'},
+        {at: 0.875, expect: 'path("M 20 10 Q 39 49 190 2900")'},
+        {at: 1, expect: 'path("M 20 10 Q 40 50 200 3000")'},
+        {at: 2, expect: 'path("M 20 10 Q 48 58 280 3800")'}
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 20 10 q 12 32 100 2190')",
-        to: "path('m 20 10 q 20 40 180 2990')"
+        from: 'path("m 20 10 q 12 32 100 2190")',
+        to: 'path("m 20 10 q 20 40 180 2990")'
       }, [
-        {at: -1, expect: "path('M 20 10 Q 24 34 40 1400')"},
-        {at: 0, expect: "path('M 20 10 Q 32 42 120 2200')"},
-        {at: 0.125, expect: "path('M 20 10 Q 33 43 130 2300')"},
-        {at: 0.875, expect: "path('M 20 10 Q 39 49 190 2900')"},
-        {at: 1, expect: "path('M 20 10 Q 40 50 200 3000')"},
-        {at: 2, expect: "path('M 20 10 Q 48 58 280 3800')"}
+        {at: -1, expect: 'path("M 20 10 Q 24 34 40 1400")'},
+        {at: 0, expect: 'path("M 20 10 Q 32 42 120 2200")'},
+        {at: 0.125, expect: 'path("M 20 10 Q 33 43 130 2300")'},
+        {at: 0.875, expect: 'path("M 20 10 Q 39 49 190 2900")'},
+        {at: 1, expect: 'path("M 20 10 Q 40 50 200 3000")'},
+        {at: 2, expect: 'path("M 20 10 Q 48 58 280 3800")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 100 400 A 10 20 30 1 0 140 450')",
-        to: "path('M 300 200 A 50 60 70 0 1 380 290')"
+        from: 'path("M 100 400 A 10 20 30 1 0 140 450")',
+        to: 'path("M 300 200 A 50 60 70 0 1 380 290")'
       }, [
-        {at: -1, expect: "path('M -100 600 A -30 -20 -10 1 0 -100 610')"},
-        {at: 0, expect: "path('M 100 400 A 10 20 30 1 0 140 450')"},
-        {at: 0.125, expect: "path('M 125 375 A 15 25 35 1 0 170 430')"},
-        {at: 0.875, expect: "path('M 275 225 A 45 55 65 0 1 350 310')"},
-        {at: 1, expect: "path('M 300 200 A 50 60 70 0 1 380 290')"},
-        {at: 2, expect: "path('M 500 0 A 90 100 110 0 1 620 130')"}
+        {at: -1, expect: 'path("M -100 600 A -30 -20 -10 1 0 -100 610")'},
+        {at: 0, expect: 'path("M 100 400 A 10 20 30 1 0 140 450")'},
+        {at: 0.125, expect: 'path("M 125 375 A 15 25 35 1 0 170 430")'},
+        {at: 0.875, expect: 'path("M 275 225 A 45 55 65 0 1 350 310")'},
+        {at: 1, expect: 'path("M 300 200 A 50 60 70 0 1 380 290")'},
+        {at: 2, expect: 'path("M 500 0 A 90 100 110 0 1 620 130")'}
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 100 400 a 10 20 30 1 0 40 50')",
-        to: "path('m 300 200 a 50 60 70 0 1 80 90')"
+        from: 'path("m 100 400 a 10 20 30 1 0 40 50")',
+        to: 'path("m 300 200 a 50 60 70 0 1 80 90")'
       }, [
-        {at: -1, expect: "path('M -100 600 A -30 -20 -10 1 0 -100 610')"},
-        {at: 0, expect: "path('M 100 400 A 10 20 30 1 0 140 450')"},
-        {at: 0.125, expect: "path('M 125 375 A 15 25 35 1 0 170 430')"},
-        {at: 0.875, expect: "path('M 275 225 A 45 55 65 0 1 350 310')"},
-        {at: 1, expect: "path('M 300 200 A 50 60 70 0 1 380 290')"},
-        {at: 2, expect: "path('M 500 0 A 90 100 110 0 1 620 130')"}
+        {at: -1, expect: 'path("M -100 600 A -30 -20 -10 1 0 -100 610")'},
+        {at: 0, expect: 'path("M 100 400 A 10 20 30 1 0 140 450")'},
+        {at: 0.125, expect: 'path("M 125 375 A 15 25 35 1 0 170 430")'},
+        {at: 0.875, expect: 'path("M 275 225 A 45 55 65 0 1 350 310")'},
+        {at: 1, expect: 'path("M 300 200 A 50 60 70 0 1 380 290")'},
+        {at: 2, expect: 'path("M 500 0 A 90 100 110 0 1 620 130")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 50 60 H 70')",
-        to: "path('M 10 140 H 270')"
+        from: 'path("M 50 60 H 70")',
+        to: 'path("M 10 140 H 270")'
       }, [
-        {at: -1, expect: "path('M 90 -20 H -130')"},
-        {at: 0, expect: "path('M 50 60 H 70')"},
-        {at: 0.125, expect: "path('M 45 70 H 95')"},
-        {at: 0.875, expect: "path('M 15 130 H 245')"},
-        {at: 1, expect: "path('M 10 140 H 270')"},
-        {at: 2, expect: "path('M -30 220 H 470')"}
+        {at: -1, expect: 'path("M 90 -20 H -130")'},
+        {at: 0, expect: 'path("M 50 60 H 70")'},
+        {at: 0.125, expect: 'path("M 45 70 H 95")'},
+        {at: 0.875, expect: 'path("M 15 130 H 245")'},
+        {at: 1, expect: 'path("M 10 140 H 270")'},
+        {at: 2, expect: 'path("M -30 220 H 470")'}
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 50 60 h 20')",
-        to: "path('m 10 140 h 260')"
+        from: 'path("m 50 60 h 20")',
+        to: 'path("m 10 140 h 260")'
       }, [
-        {at: -1, expect: "path('M 90 -20 H -130')"},
-        {at: 0, expect: "path('M 50 60 H 70')"},
-        {at: 0.125, expect: "path('M 45 70 H 95')"},
-        {at: 0.875, expect: "path('M 15 130 H 245')"},
-        {at: 1, expect: "path('M 10 140 H 270')"},
-        {at: 2, expect: "path('M -30 220 H 470')"}
+        {at: -1, expect: 'path("M 90 -20 H -130")'},
+        {at: 0, expect: 'path("M 50 60 H 70")'},
+        {at: 0.125, expect: 'path("M 45 70 H 95")'},
+        {at: 0.875, expect: 'path("M 15 130 H 245")'},
+        {at: 1, expect: 'path("M 10 140 H 270")'},
+        {at: 2, expect: 'path("M -30 220 H 470")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 50 60 V 70')",
-        to: "path('M 10 140 V 270')"
+        from: 'path("M 50 60 V 70")',
+        to: 'path("M 10 140 V 270")'
       }, [
-        {at: -1, expect: "path('M 90 -20 V -130')"},
-        {at: 0, expect: "path('M 50 60 V 70')"},
-        {at: 0.125, expect: "path('M 45 70 V 95')"},
-        {at: 0.875, expect: "path('M 15 130 V 245')"},
-        {at: 1, expect: "path('M 10 140 V 270')"},
-        {at: 2, expect: "path('M -30 220 V 470')"}
+        {at: -1, expect: 'path("M 90 -20 V -130")'},
+        {at: 0, expect: 'path("M 50 60 V 70")'},
+        {at: 0.125, expect: 'path("M 45 70 V 95")'},
+        {at: 0.875, expect: 'path("M 15 130 V 245")'},
+        {at: 1, expect: 'path("M 10 140 V 270")'},
+        {at: 2, expect: 'path("M -30 220 V 470")'}
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 50 60 v 10')",
-        to: "path('m 10 140 v 130')"
+        from: 'path("m 50 60 v 10")',
+        to: 'path("m 10 140 v 130")'
       }, [
-        {at: -1, expect: "path('M 90 -20 V -130')"},
-        {at: 0, expect: "path('M 50 60 V 70')"},
-        {at: 0.125, expect: "path('M 45 70 V 95')"},
-        {at: 0.875, expect: "path('M 15 130 V 245')"},
-        {at: 1, expect: "path('M 10 140 V 270')"},
-        {at: 2, expect: "path('M -30 220 V 470')"}
+        {at: -1, expect: 'path("M 90 -20 V -130")'},
+        {at: 0, expect: 'path("M 50 60 V 70")'},
+        {at: 0.125, expect: 'path("M 45 70 V 95")'},
+        {at: 0.875, expect: 'path("M 15 130 V 245")'},
+        {at: 1, expect: 'path("M 10 140 V 270")'},
+        {at: 2, expect: 'path("M -30 220 V 470")'}
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 12 34 S 45 67 89 123')",
-        to: "path('M 20 26 S 61 51 113 99')"
+        from: 'path("M 12 34 S 45 67 89 123")',
+        to: 'path("M 20 26 S 61 51 113 99")'
       }, [
-        {at: -1, expect: "path('M 4 42 S 29 83 65 147')"},
-        {at: 0, expect: "path('M 12 34 S 45 67 89 123')"},
-        {at: 0.125, expect: "path('M 13 33 S 47 65 92 120')"},
-        {at: 0.875, expect: "path('M 19 27 S 59 53 110 102')"},
-        {at: 1, expect: "path('M 20 26 S 61 51 113 99')"},
-        {at: 2, expect: "path('M 28 18 S 77 35 137 75')"},
+        {at: -1, expect: 'path("M 4 42 S 29 83 65 147")'},
+        {at: 0, expect: 'path("M 12 34 S 45 67 89 123")'},
+        {at: 0.125, expect: 'path("M 13 33 S 47 65 92 120")'},
+        {at: 0.875, expect: 'path("M 19 27 S 59 53 110 102")'},
+        {at: 1, expect: 'path("M 20 26 S 61 51 113 99")'},
+        {at: 2, expect: 'path("M 28 18 S 77 35 137 75")'},
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 12 34 s 33 33 77 89')",
-        to: "path('m 20 26 s 41 25 93 73')"
+        from: 'path("m 12 34 s 33 33 77 89")',
+        to: 'path("m 20 26 s 41 25 93 73")'
       }, [
-        {at: -1, expect: "path('M 4 42 S 29 83 65 147')"},
-        {at: 0, expect: "path('M 12 34 S 45 67 89 123')"},
-        {at: 0.125, expect: "path('M 13 33 S 47 65 92 120')"},
-        {at: 0.875, expect: "path('M 19 27 S 59 53 110 102')"},
-        {at: 1, expect: "path('M 20 26 S 61 51 113 99')"},
-        {at: 2, expect: "path('M 28 18 S 77 35 137 75')"},
+        {at: -1, expect: 'path("M 4 42 S 29 83 65 147")'},
+        {at: 0, expect: 'path("M 12 34 S 45 67 89 123")'},
+        {at: 0.125, expect: 'path("M 13 33 S 47 65 92 120")'},
+        {at: 0.875, expect: 'path("M 19 27 S 59 53 110 102")'},
+        {at: 1, expect: 'path("M 20 26 S 61 51 113 99")'},
+        {at: 2, expect: 'path("M 28 18 S 77 35 137 75")'},
       ]);
 
       test_interpolation({
         property: 'd',
-        from: "path('M 12 34 T 45 67')",
-        to: "path('M 20 26 T 61 51')"
+        from: 'path("M 12 34 T 45 67")',
+        to: 'path("M 20 26 T 61 51")'
       }, [
-        {at: -1, expect: "path('M 4 42 T 29 83')"},
-        {at: 0, expect: "path('M 12 34 T 45 67')"},
-        {at: 0.125, expect: "path('M 13 33 T 47 65')"},
-        {at: 0.875, expect: "path('M 19 27 T 59 53')"},
-        {at: 1, expect: "path('M 20 26 T 61 51')"},
-        {at: 2, expect: "path('M 28 18 T 77 35')"},
+        {at: -1, expect: 'path("M 4 42 T 29 83")'},
+        {at: 0, expect: 'path("M 12 34 T 45 67")'},
+        {at: 0.125, expect: 'path("M 13 33 T 47 65")'},
+        {at: 0.875, expect: 'path("M 19 27 T 59 53")'},
+        {at: 1, expect: 'path("M 20 26 T 61 51")'},
+        {at: 2, expect: 'path("M 28 18 T 77 35")'},
       ]);
       test_interpolation({
         property: 'd',
-        from: "path('m 12 34 t 33 33')",
-        to: "path('m 20 26 t 41 25')"
+        from: 'path("m 12 34 t 33 33")',
+        to: 'path("m 20 26 t 41 25")'
       }, [
-        {at: -1, expect: "path('M 4 42 T 29 83')"},
-        {at: 0, expect: "path('M 12 34 T 45 67')"},
-        {at: 0.125, expect: "path('M 13 33 T 47 65')"},
-        {at: 0.875, expect: "path('M 19 27 T 59 53')"},
-        {at: 1, expect: "path('M 20 26 T 61 51')"},
-        {at: 2, expect: "path('M 28 18 T 77 35')"},
+        {at: -1, expect: 'path("M 4 42 T 29 83")'},
+        {at: 0, expect: 'path("M 12 34 T 45 67")'},
+        {at: 0.125, expect: 'path("M 13 33 T 47 65")'},
+        {at: 0.875, expect: 'path("M 19 27 T 59 53")'},
+        {at: 1, expect: 'path("M 20 26 T 61 51")'},
+        {at: 2, expect: 'path("M 28 18 T 77 35")'},
       ]);
   ]]></script>
 </svg>
--- a/testing/web-platform/tests/svg/path/property/getComputedStyle.svg
+++ b/testing/web-platform/tests/svg/path/property/getComputedStyle.svg
@@ -34,19 +34,19 @@
     var p1 = document.getElementById('p1');
     var p2 = document.getElementById('p2');
     var p3 = document.getElementById('p3');
     var p4 = document.getElementById('p4');
     var g5 = document.getElementById('g5');
     var p6 = document.getElementById('p6');
     var p7 = document.getElementById('p7');
 
-    assert_equals(getComputedStyle(g0).d, "none");
-    assert_equals(getComputedStyle(p1).d, "none");
-    assert_equals(getComputedStyle(p2).d, "path('M 10 2 H 20')");
-    assert_equals(getComputedStyle(p3).d, "path('M 10 3 H 30')");
-    assert_equals(getComputedStyle(p4).d, "path('M 10 4 H 40')");
-    assert_equals(getComputedStyle(g5).d, "path('M 10 5 H 50')");
-    assert_equals(getComputedStyle(p6).d, "path('M 10 5 H 50')");
-    assert_equals(getComputedStyle(p7).d, "none");
+    assert_equals(getComputedStyle(g0).d, 'none');
+    assert_equals(getComputedStyle(p1).d, 'none');
+    assert_equals(getComputedStyle(p2).d, 'path("M 10 2 H 20")');
+    assert_equals(getComputedStyle(p3).d, 'path("M 10 3 H 30")');
+    assert_equals(getComputedStyle(p4).d, 'path("M 10 4 H 40")');
+    assert_equals(getComputedStyle(g5).d, 'path("M 10 5 H 50")');
+    assert_equals(getComputedStyle(p6).d, 'path("M 10 5 H 50")');
+    assert_equals(getComputedStyle(p7).d, 'none');
   });
   ]]></script>
 </svg>