gecko-dev/dom/html/reftests/body-topmargin-dynamic.html
Manish Goregaokar 111b56703c Bug 1341647 - stylo: Move HTMLBodyElement::WalkContentStyleRules to the mapped attr functionality; r=bz
MozReview-Commit-ID: 90qDHl0Ane4

--HG--
extra : rebase_source : e3dace4a0ec7345ec801c02db7339e78a6242a1e
2017-03-29 12:10:00 -07:00

13 lines
396 B
HTML

<!DOCTYPE html>
<html>
<body>
this text should have a margin of 100px on the top and left
<p style="direction: rtl">this text should have a margin of 100px on the right</p>
<script type="text/javascript">
document.body.setAttribute("topmargin", "100px");
document.body.setAttribute("leftmargin", "100px");
document.body.setAttribute("rightmargin", "100px");
</script>
</body>
</html>