Files
sousa-gecko/testing/web-platform/tests/css/css-values/attr-namespace-wildcard.html
T
Antti Koivisto f1aacbb408 Bug 2029149 [wpt PR 58971] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=311190, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=311190 (#58971)
--

wpt-commits: e8025fb6e02c433bef45d83196e1b8f83f941629
wpt-pr: 58971
2026-04-17 08:38:03 +00:00

20 lines
544 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-values-5/#attr-notation">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="Wildcard not supported in attr() function">
<style>
.outer {
background: green;
height: 100px;
width: 100px;
}
.attr {
background: attr(*|bar type(*));
height: 100%;
width: 100%;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="outer"><div class="attr" bar="red"></div></div>