bug1636607-1-ref.html (708B)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <style> 3 div { border: medium solid blue } 4 span { background: #9090ff; } 5 span.test::before { 6 white-space: pre; 7 content: "\A"; 8 } 9 </style> 10 <p>This document is in <span id="mode"></span> mode.</p> 11 <p>This is a test for the line height quirk which is present in limited-quirks mode <b>and</b> quirks mode:</p> 12 <div><span style="font-size: 50%">hello<br>hello</span></div> 13 <p>This is a test for the hashless hex color quirk which is present in quirks mode <b>only</b>:</p> 14 <div style="background-color: 9090ff">test</div> 15 16 <script> 17 document.getElementById("mode").innerText = document.compatMode; 18 </script>