layout/reftests/tab-size/tab-size-change-1a.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:e641413b05cb
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>&#9;<span>two</span>&#9;<span>three</span>&#9;<span>four</span>&#9;<span>five</span>
30 <span>six</span>&#9;<span>seven</span>&#9;<span>eight</span>&#9;<span>nine</span>&#9;<span>ten</span>
31 </div>
32 </body>
33 </html>

mercurial