summaryrefslogtreecommitdiffstats
path: root/layout/reftests/generated-content/dynamic-button-01a.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/generated-content/dynamic-button-01a.html')
-rw-r--r--layout/reftests/generated-content/dynamic-button-01a.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/generated-content/dynamic-button-01a.html b/layout/reftests/generated-content/dynamic-button-01a.html
new file mode 100644
index 000000000..1978d7974
--- /dev/null
+++ b/layout/reftests/generated-content/dynamic-button-01a.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+.test::after {
+ content:"::after content";
+}
+</style>
+
+<button>
+ Button contents
+</button>
+<script>
+ var td = document.querySelector("button");
+ td.offsetWidth;
+ td.className = "test";
+</script>