summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/84400-2.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/bugs/84400-2.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bugs/84400-2.html')
-rw-r--r--layout/reftests/bugs/84400-2.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/layout/reftests/bugs/84400-2.html b/layout/reftests/bugs/84400-2.html
new file mode 100644
index 000000000..03eb67092
--- /dev/null
+++ b/layout/reftests/bugs/84400-2.html
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Testing controls that should not match :enabled/:disabled</title>
+ <style type="text/css">
+ input, label, object, *.hideme { display: none; }
+ div { margin-bottom: 1em; }
+
+ span, legend { color: lime; background-color: lime; }
+ *:enabled + span, legend:enabled { background-color: red; }
+ *:disabled + span, legend:disabled { background-color: red; }
+
+ #test + span { background-color: red; }
+ #test:enabled + span { color: lime; background-color: lime; }
+ </style>
+ </head>
+ <body>
+ <div>
+ There should be no red in the following (note: form styling should be enabled).
+ </div>
+
+ <form method="get" action=".">
+ <div>
+ Make sure that :default is actually implemented:
+ <input id="test"/> <span>FAIL</span>
+ </div>
+
+ <div>
+ label:
+ <label>bogus</label> <span>FAIL</span>
+ <label disabled="disabled">bogus</label> <span>FAIL</span>
+ </div>
+
+ <div>
+ legend:
+ <fieldset><legend>FAIL</legend></fieldset>
+ <fieldset><legend disabled="disabled">FAIL</legend></fieldset>
+ <fieldset disabled="disabled"><legend>FAIL</legend></fieldset>
+ </div>
+
+ <div>
+ div (inside form):
+ <div class="hideme">bogus</div> <span>FAIL</span>
+ <div class="hideme" disabled="disabled">bogus</div> <span>FAIL</span>
+ </div>
+
+ </form>
+
+ <div>
+ div (outside form):
+ <div class="hideme">bogus</div> <span>FAIL</span>
+ <div class="hideme" disabled="disabled">bogus</div> <span>FAIL</span>
+ </div>
+
+ <div>
+ object:
+ <object>bogus</object> <span>FAIL</span>
+ <object disabled="disabled">bogus</object> <span>FAIL</span>
+ </div>
+
+ <div>
+ form:
+ <form class="hideme" method="get" action="."><p><input/></p></form> <span>FAIL</span>
+ <form class="hideme" method="get" action="." disabled="disabled"><p><input/></p></form> <span>FAIL</span>
+ </div>
+ </body>
+</html>