mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Fix invalid HTML: /> syntax on non-void elements -- wpt-commits: f620b1e4b23450cf05bf44c9afc96753a9958583 wpt-pr: 40473
48 lines
867 B
HTML
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>
|