Automatic update from web-platform-tests [wpt] Update CSS-linked-Parameters test after CSS resolution The CSS WG discussed/resolved that the `param` function in CSS linked parameters feature require at least 2 values [1], and hence a comma is required. This CL updates the WPTs and Test expectations corresponding to this resolution. [1] https://github.com/w3c/csswg-drafts/issues/13767#issuecomment-4732890422 Bug: 41482962 Change-Id: Ic85f62ca2d7621139ff89360138c0aa5a0b2e6ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7961867 Commit-Queue: Divyansh Mangal <dmangal@microsoft.com> Reviewed-by: Vinay Singh <vinaysingh@microsoft.com> Reviewed-by: Gaurav Kumar <gauravkum@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1650192} -- wpt-commits: efc01a4ff41b7917863f0b6ea47905641edaaf77 wpt-pr: 60784
26 lines
962 B
HTML
26 lines
962 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Linked Parameters Module Level 1: getComputedStyle().linkParameters</title>
|
|
<link rel="author" title="Tyler Thrailkill" href="mailto:tyler@programming.dev">
|
|
<link rel="help" href="https://drafts.csswg.org/css-link-params-1/#link-param-prop">
|
|
<meta name="assert" content="link-parameters computed value is as specified">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/computed-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="target"></div>
|
|
<script>
|
|
test_computed_value("link-parameters", "none");
|
|
|
|
test_computed_value("link-parameters", "param(--a, orange)");
|
|
test_computed_value("link-parameters", "param(--a, orange), param(--b, blue)");
|
|
|
|
test_computed_value("link-parameters", "param(--a, )");
|
|
test_computed_value("link-parameters", "param(--a, ), param(--b, )");
|
|
</script>
|
|
</body>
|
|
</html>
|