blob: 4f0cdc07400c0a597346cdb3b3c37571ef0fb58e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1276898">
<style>
@container (max-width: 250px) {
#target {
display: table;
}
}
</style>
<div id="ancestor" style="columns:2; column-gap:0; width:600px;">
<div style="container-type:inline-size;">
<div id="target"></div>
</div>
</div>
<script>
document.body.offsetTop;
ancestor.style.width = "400px";
</script>
|