diff options
Diffstat (limited to 'layout/reftests/bugs/348809-2b.html')
-rw-r--r-- | layout/reftests/bugs/348809-2b.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/348809-2b.html b/layout/reftests/bugs/348809-2b.html new file mode 100644 index 000000000..df0e61ac0 --- /dev/null +++ b/layout/reftests/bugs/348809-2b.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> +<style> +span { color: red } +:default + span { color: green } +span.reverse { color: green } +:default + span.reverse { color: red } +button { display: none } +</style> +</head> +<body> +<form> +<div> + <button type="submit" checked="checked" id="foo"></button> + <span>There should be no red.</span> +</div> +<div> + <button type="submit"></button><span class="reverse">There should be no red.</span> +</div> +</form> +</body> +</html> |