1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-default/submit-button/default-multiple-submit-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <style> 1.7 + input { color: green; } 1.8 + input.notdefault:default { color: red; } 1.9 + input.default:not(:default) { color: red; } 1.10 + </style> 1.11 + <body> 1.12 + <form id="one"></form> 1.13 + <input type="submit" form="one" class="default" id="test"> 1.14 + <form id="two"> 1.15 + <input type="submit" class="notdefault"> 1.16 + </form> 1.17 + <script> 1.18 + document.body.offsetWidth; 1.19 + document.getElementById("test").setAttribute("form", "two"); 1.20 + </script> 1.21 + </body> 1.22 +</html>