summaryrefslogtreecommitdiffstats
path: root/layout/reftests/selection/pseudo-element-of-native-anonymous.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/selection/pseudo-element-of-native-anonymous.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/selection/pseudo-element-of-native-anonymous.html b/layout/reftests/selection/pseudo-element-of-native-anonymous.html
new file mode 100644
index 0000000000..9193f1c27c
--- /dev/null
+++ b/layout/reftests/selection/pseudo-element-of-native-anonymous.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+<style type="text/css">
+input {
+ color: white;
+ background-color: green;
+}
+input::-moz-selection {
+ color: red;
+ background-color: blue;
+}
+</style>
+</head>
+<body onload="document.getElementById('i').select();">
+<input value="text" id="i">
+</body>
+</html> \ No newline at end of file