зеркало из https://github.com/mozilla/gecko-dev.git
16 строки
380 B
HTML
16 строки
380 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<title>Testcase, bug 1299736</title>
|
||
|
|
||
|
<div id="A" style="transform: translateX(50px)">
|
||
|
<div id="B">
|
||
|
<div id="C" style="position: fixed">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
document.getElementById("C").offsetLeft; // flush
|
||
|
document.getElementById("B").style.transform = "translateX(50px)";
|
||
|
document.getElementById("A").style.transform = "";
|
||
|
</script>
|