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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial