mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
9de832b381
Differential Revision: https://phabricator.services.mozilla.com/D9349 --HG-- extra : moz-landing-system : lando
26 lines
463 B
HTML
26 lines
463 B
HTML
<!DOCTYPE HTML>
|
|
<title>outline doesn't go around overflowing abspos descendants</title>
|
|
<style>
|
|
|
|
html, body { margin: 0; padding: 0; border: none }
|
|
html { overflow:hidden /* avoid second reflow for scrollbars */ }
|
|
|
|
body > div {
|
|
margin: 100px;
|
|
width: 50px; height: 50px;
|
|
outline: 2px solid blue;
|
|
position: relative;
|
|
}
|
|
|
|
body > div > div {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
</style>
|
|
<body>
|
|
<div><div></div></div>
|