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
20 lines
544 B
HTML
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>
|