Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <style>
3 *::first-line { }
4 *::before { content:"--"; }
5 </style>
6 <script>
7 function doe() {
8 document.getElementsByTagName('caption')[0].removeAttribute('style');
9 document.documentElement.offsetHeight;
10 document.getElementsByTagName('span')[0].removeAttribute('style');
11 }
12 window.onload=doe;
13 </script>
15 <caption style="float: left;"></caption>
16 <span style="float: right;"></span>
17 This should not crash Mozilla
18 </html>