Files
sousa-gecko/testing/web-platform/tests/css/css-backgrounds/background-multiple-layers-table-cell.html
T
Alexsander Borges Damaceno 42d4a40c3d Bug 2031533 [wpt PR 59094] - Add more Layout Table tests, a=testonly
Automatic update from web-platform-tests
Add more table tests for css-backgrounds (#59094)

WebKit export of following commits for table tests:

https://commits.webkit.org/305987@main
https://commits.webkit.org/310609@main
https://commits.webkit.org/306956@main
--

wpt-commits: 16c0b19c9cdb6c0d026e010ee5fe97eaea2026ab
wpt-pr: 59094
2026-04-23 10:10:33 +00:00

34 lines
699 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test background layers work fine in table elements</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#background-clip">
<link rel="match" href="background-multiple-layers-table-cell-ref.html">
<meta name="fuzzy" content="maxDifference=0-5;totalPixels=0-370">
<style>
:root {
font-size: 24pt;
}
thead {
background:
linear-gradient(rgba(0, 128, 0, 0.2), rgba(128, 0, 0, 0.2)) border-box,
linear-gradient(green, yellow) text;
color: transparent;
}
table {
border-collapse: collapse;
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th>Text</th>
</tr>
</thead>
</table>
</body>
</html>