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 | <script type="text/javascript"> |
michael@0 | 5 | function boom() |
michael@0 | 6 | { |
michael@0 | 7 | var s = document.getElementById("s"); |
michael@0 | 8 | s.parentNode.removeChild(s); |
michael@0 | 9 | } |
michael@0 | 10 | </script> |
michael@0 | 11 | </head> |
michael@0 | 12 | <body onload="boom();"> |
michael@0 | 13 | <!-- Need the bidi control chars to trigger non-fluid continuations, and |
michael@0 | 14 | need the span right around the div so that the prevSibling of the node |
michael@0 | 15 | whose frame we try to get doesn't have a frame map entry (so that we |
michael@0 | 16 | don't have a useful hint). --> |
michael@0 | 17 | <span>‮a‬b |
michael@0 | 18 | <span><div></div></span> |
michael@0 | 19 | <span id="s">This text should be gone</span> |
michael@0 | 20 | </span> |
michael@0 | 21 | </body> |
michael@0 | 22 | </html> |