summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1366144.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1366144.html')
-rw-r--r--layout/reftests/bugs/1366144.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1366144.html b/layout/reftests/bugs/1366144.html
new file mode 100644
index 0000000000..744c668ef6
--- /dev/null
+++ b/layout/reftests/bugs/1366144.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<style>
+ div::after { color: green }
+ div.foo::after { content: "Bar" }
+</style>
+<div></div>
+<script>
+ onload = function() {
+ document.querySelector('div').classList.add('foo');
+ }
+</script>