summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/body-topmargin-dynamic.html
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 05:07:41 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 05:07:41 -0400
commit5f297c5f57583b0f9d27d714beb285919f42d655 (patch)
treef67fd1bafe4c449fc6527e172deb59411bfbf85f /dom/html/reftests/body-topmargin-dynamic.html
parentf07f8aecb8a03d33d0b90d685d85960a29543c75 (diff)
downloadUXP-5f297c5f57583b0f9d27d714beb285919f42d655.tar
UXP-5f297c5f57583b0f9d27d714beb285919f42d655.tar.gz
UXP-5f297c5f57583b0f9d27d714beb285919f42d655.tar.lz
UXP-5f297c5f57583b0f9d27d714beb285919f42d655.tar.xz
UXP-5f297c5f57583b0f9d27d714beb285919f42d655.zip
Issue #1375 - Include content rules from HTMLTableCellElement::WalkContentStyleRules and move to the mapped attr functionality
* Bugs 1341647 and 1341648
Diffstat (limited to 'dom/html/reftests/body-topmargin-dynamic.html')
-rw-r--r--dom/html/reftests/body-topmargin-dynamic.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/html/reftests/body-topmargin-dynamic.html b/dom/html/reftests/body-topmargin-dynamic.html
new file mode 100644
index 000000000..e6c8c505e
--- /dev/null
+++ b/dom/html/reftests/body-topmargin-dynamic.html
@@ -0,0 +1,12 @@
+<!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>