mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
974bbc4dfb
--HG-- extra : rebase_source : 9e1109c3c1216df58281b7c81447e44da97f681b
15 lines
364 B
HTML
15 lines
364 B
HTML
<!DOCTYPE HTML>
|
|
<style>
|
|
#d { overflow:scroll; width:200px; height:200px; background:yellow; }
|
|
#d2 { right:0; width:100px; height:100px; background:purple; }
|
|
</style>
|
|
<fieldset id="d">
|
|
<div id="d2"></div>
|
|
</fieldset>
|
|
<script>
|
|
d.getBoundingClientRect();
|
|
d.style.transform = "translateX(100px)";
|
|
d.getBoundingClientRect();
|
|
d2.style.position = "absolute";
|
|
</script>
|