|
1 <!DOCTYPE html> |
|
2 <html class="reftest-wait"> |
|
3 <head> |
|
4 <style type="text/css"> |
|
5 body { |
|
6 font-family: serif; |
|
7 padding: 2px; |
|
8 } |
|
9 span { |
|
10 padding: 2px; |
|
11 } |
|
12 .a { |
|
13 -moz-tab-size: 16; |
|
14 } |
|
15 </style> |
|
16 <script type="text/javascript"> |
|
17 function do_test() { |
|
18 var elem = document.getElementById("test"); |
|
19 elem.removeAttribute('class'); |
|
20 document.documentElement.removeAttribute('class'); |
|
21 }; |
|
22 document.addEventListener("MozReftestInvalidate", do_test, false); |
|
23 </script> |
|
24 </head> |
|
25 <!-- test for modification of tab widths, see comment at |
|
26 https://bugzilla.mozilla.org/show_bug.cgi?id=631035#c38 --> |
|
27 <body> |
|
28 <div style="white-space: pre" id="test" class="a"> |
|
29 <span>one</span>	<span>two</span>	<span>three</span>	<span>four</span>	<span>five</span> |
|
30 <span>six</span>	<span>seven</span>	<span>eight</span>	<span>nine</span>	<span>ten</span> |
|
31 </div> |
|
32 </body> |
|
33 </html> |