1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/tab-size/tab-size-change-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<style type="text/css"> 1.8 +body { 1.9 + font-family: serif; 1.10 + padding: 2px; 1.11 +} 1.12 +span { 1.13 + padding: 2px; 1.14 +} 1.15 +.a { 1.16 + -moz-tab-size: 16; 1.17 +} 1.18 +</style> 1.19 +<script type="text/javascript"> 1.20 +function do_test() { 1.21 + var elem = document.getElementById("test"); 1.22 + elem.removeAttribute('class'); 1.23 + document.documentElement.removeAttribute('class'); 1.24 +}; 1.25 +document.addEventListener("MozReftestInvalidate", do_test, false); 1.26 +</script> 1.27 +</head> 1.28 +<!-- test for modification of tab widths, see comment at 1.29 + https://bugzilla.mozilla.org/show_bug.cgi?id=631035#c38 --> 1.30 +<body> 1.31 +<div style="white-space: pre" id="test" class="a"> 1.32 +<span>one</span>	<span>two</span>	<span>three</span>	<span>four</span>	<span>five</span> 1.33 +<span>six</span>	<span>seven</span>	<span>eight</span>	<span>nine</span>	<span>ten</span> 1.34 +</div> 1.35 +</body> 1.36 +</html>