Files
Simon Pieters 8f3b77e150 Bug 1837613 [wpt PR 40473] - Fix invalid HTML: /> syntax on non-void elements, a=testonly
Automatic update from web-platform-tests
Fix invalid HTML: /> syntax on non-void elements

--

wpt-commits: f620b1e4b23450cf05bf44c9afc96753a9958583
wpt-pr: 40473
2023-06-21 14:34:32 +00:00

48 lines
867 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Background and Borders Test:background-clip_pending-box</title>
<link rel="author" title="anping" href="mailto:[email protected]" />
<meta content="Check if the border-clip works.">
<style>
div{
position:absolute;
}
#outside{
border: blue dotted 5px;
height: 120px;
left: 10px;
top: 10px;
width: 120px;
background-color:transparent;
}
#inside{
border: transparent;
height: 100px;
left: 25px;
top: 25px;
width: 100px;
background-color:red;
}
</style>
</head>
<body>
<p>
"Test passes if the border is blue dotted without red."
</p>
<div id="container">
<div id="outside"></div>
<div id="inside"></div>
</div>
</body>
</html>