commit 5b7b0729cf7481c61ea0674bf9312646c80fda3c
parent 2b9c925ea7d740f7f36cdc517af6f4f2020fd223
Author: Ahmad Saleem <52317531+Ahmad-S792@users.noreply.github.com>
Date: Fri, 14 Nov 2025 10:23:58 +0000
Bug 2000111 [wpt PR 56022] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=294206, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=294206 (#56022)
--
wpt-commits: 90347773f4f137ef43300f8e41a304cae8427132
wpt-pr: 56022
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/svg/painting/parsing/marker-computed.svg b/testing/web-platform/tests/svg/painting/parsing/marker-computed.svg
@@ -23,5 +23,21 @@ test(() => {
assert_equals(result, 'url("' + resolved + '")');
}, 'url values are made absolute');
+test(() => {
+ const target = document.getElementById('target');
+ target.style['marker'] = 'none';
+ target.style['marker-start'] = 'url("https://example.com/")';
+ const result = getComputedStyle(target)['marker'];
+ assert_equals(result, '');
+}, 'Setting a single marker value results in empty marker computed value');
+
+test(() => {
+ const target = document.getElementById('target');
+ target.style['marker'] = 'url("https://example.com/")';
+ target.style['marker-start'] = 'none';
+ const result = getComputedStyle(target)['marker'];
+ assert_equals(result, '');
+}, 'Setting a single marker value to "none" results in empty marker computed value');
+
]]></script>
</svg>