layout/reftests/forms/input/checkbox/label-dynamic-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/forms/input/checkbox/label-dynamic-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<style type="text/css">
     1.8 +
     1.9 +#c3, #c4 {
    1.10 +  display: none;
    1.11 +}
    1.12 +
    1.13 +label[for="c1"], 
    1.14 +label[for="c3"] {
    1.15 +  background-color: yellow;
    1.16 +}
    1.17 +
    1.18 +</style>
    1.19 +
    1.20 +</head>
    1.21 +
    1.22 +<body>
    1.23 +
    1.24 +<div><input type="checkbox" name="test" id="c1" checked><label for="c1">check #c1</label></div>
    1.25 +<div><input type="checkbox" name="test" id="c2"><label for="c2">check #c2</label></div>
    1.26 +<div><input type="checkbox" name="test" id="c3" checked><label for="c3">check #c3</label></div>
    1.27 +<div><input type="checkbox" name="test" id="c4"><label for="c4">check #c4</label></div>
    1.28 +
    1.29 +</body>
    1.30 +</html>

mercurial