Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <!-- Test that reframing content stops suppression around it correctly |
michael@0 | 5 | and that setting text content twice works. Setting text node contents |
michael@0 | 6 | twice may fail if we create a frame, then reframe, and botch the second |
michael@0 | 7 | reframe. --> |
michael@0 | 8 | <style> |
michael@0 | 9 | body > div { border:1px solid black; margin:1em; |
michael@0 | 10 | font-family:sans-serif; letter-spacing:2px; } |
michael@0 | 11 | </style> |
michael@0 | 12 | <script> |
michael@0 | 13 | function loaded() { |
michael@0 | 14 | document.body.offsetHeight; |
michael@0 | 15 | document.getElementById("d1").style.display = 'inline'; |
michael@0 | 16 | document.getElementById("d2").style.display = 'inline'; |
michael@0 | 17 | document.getElementById("d3").firstChild.data = "H "; |
michael@0 | 18 | document.getElementById("d3").firstChild.data = "Hello "; |
michael@0 | 19 | document.getElementById("d4").lastChild.data = " K"; |
michael@0 | 20 | document.getElementById("d4").lastChild.data = " Kitty"; |
michael@0 | 21 | } |
michael@0 | 22 | </script> |
michael@0 | 23 | </head> |
michael@0 | 24 | <body onload="loaded()"> |
michael@0 | 25 | <div><div id="d1">Hello</div> <span>Kitty</span></div> |
michael@0 | 26 | <div><span>Hello</span> <div id="d2">Kitty</div></div> |
michael@0 | 27 | <div id="d3"> <span>Kitty</span></div> |
michael@0 | 28 | <div id="d4"><span>Hello</span> </div> |
michael@0 | 29 | </body> |
michael@0 | 30 | </html> |