layout/reftests/bugs/84400-2-ref.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
michael@0 3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
michael@0 4 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 5 <head>
michael@0 6 <title>Testing controls that should not match :enabled/:disabled</title>
michael@0 7 <style type="text/css">
michael@0 8 input, label, object, *.hideme { display: none; }
michael@0 9 div { margin-bottom: 1em; }
michael@0 10
michael@0 11 span, legend { color: lime; background-color: lime; }
michael@0 12
michael@0 13 #test + span { color: lime; background-color: lime; }
michael@0 14 </style>
michael@0 15 </head>
michael@0 16 <body>
michael@0 17 <div>
michael@0 18 There should be no red in the following (note: form styling should be enabled).
michael@0 19 </div>
michael@0 20
michael@0 21 <form method="get" action=".">
michael@0 22 <div>
michael@0 23 Make sure that :default is actually implemented:
michael@0 24 <input id="test"/> <span>FAIL</span>
michael@0 25 </div>
michael@0 26
michael@0 27 <div>
michael@0 28 label:
michael@0 29 <label>bogus</label> <span>FAIL</span>
michael@0 30 <label disabled="disabled">bogus</label> <span>FAIL</span>
michael@0 31 </div>
michael@0 32
michael@0 33 <div>
michael@0 34 legend:
michael@0 35 <fieldset><legend>FAIL</legend></fieldset>
michael@0 36 <fieldset><legend disabled="disabled">FAIL</legend></fieldset>
michael@0 37 <fieldset disabled="disabled"><legend>FAIL</legend></fieldset>
michael@0 38 </div>
michael@0 39
michael@0 40 <div>
michael@0 41 div (inside form):
michael@0 42 <div class="hideme">bogus</div> <span>FAIL</span>
michael@0 43 <div class="hideme" disabled="disabled">bogus</div> <span>FAIL</span>
michael@0 44 </div>
michael@0 45
michael@0 46 </form>
michael@0 47
michael@0 48 <div>
michael@0 49 div (outside form):
michael@0 50 <div class="hideme">bogus</div> <span>FAIL</span>
michael@0 51 <div class="hideme" disabled="disabled">bogus</div> <span>FAIL</span>
michael@0 52 </div>
michael@0 53
michael@0 54 <div>
michael@0 55 object:
michael@0 56 <object>bogus</object> <span>FAIL</span>
michael@0 57 <object disabled="disabled">bogus</object> <span>FAIL</span>
michael@0 58 </div>
michael@0 59
michael@0 60 <div>
michael@0 61 form:
michael@0 62 <form class="hideme" method="get" action="."><p><input/></p></form> <span>FAIL</span>
michael@0 63 <form class="hideme" method="get" action="." disabled="disabled"><p><input/></p></form> <span>FAIL</span>
michael@0 64 </div>
michael@0 65 </body>
michael@0 66 </html>

mercurial