commit ce381a0564d6efc02985720330fd00abeed09476
parent dfcae17158a31e0cf12fef118212ad8007760c5b
Author: Divyansh Mangal <dmangal@microsoft.com>
Date: Fri, 19 Dec 2025 09:31:22 +0000
Bug 2006846 [wpt PR 56852] - Updating `var()` tests for unitless lengths, a=testonly
Automatic update from web-platform-tests
Updating var tests for unitless lengths
--
fixing lint errors
--
wpt-commits: 5ed2f9a965915c91d788b078e4ab7273cc788313, bac0545abd8ea580ae5562d6b4f702a774b4573f
wpt-pr: 56852
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/testing/web-platform/tests/svg/styling/css-var-on-length-attributes-02.svg b/testing/web-platform/tests/svg/styling/css-var-on-length-attributes-02.svg
@@ -1,7 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<title>Usage of css var() on svg width and height attributes (units not specified)</title>
<html:link rel="author" title="Divyansh Mangal" href="mailto:dmangal@microsoft.com"/>
- <html:link rel="match" href="../embedded/reference/green-rect-100x100.svg"/>
+ <html:link rel="help" href="https://github.com/web-platform-tests/wpt/pull/56390#issuecomment-3669058046"/>
+ <html:link rel="match" href="about:blank"/>
<style>
rect {
--length: 100;
diff --git a/testing/web-platform/tests/svg/styling/css-var-on-length-attributes-04.svg b/testing/web-platform/tests/svg/styling/css-var-on-length-attributes-04.svg
@@ -1,6 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<title>Usage of css var() with default fallback on svg width and height attributes (units not specified)</title>
<html:link rel="author" title="Divyansh Mangal" href="mailto:dmangal@microsoft.com"/>
- <html:link rel="match" href="../embedded/reference/green-rect-100x100.svg"/>
+ <html:link rel="help" href="https://github.com/web-platform-tests/wpt/pull/56390#issuecomment-3669058046"/>
+ <html:link rel="match" href="about:blank"/>
<rect width="var(--length,100)" height="var(--length,100)" fill="green"/>
</svg>