gecko-dev/layout/reftests/text/control-chars-03b.html
Robert O'Callahan 589c48df61 Bug 947588. Part 5: Fix tests to pass even if regular HTML content is not displaying hexboxes for control characters. r=jfkthame
--HG--
extra : rebase_source : 8eea41432c267b4ace85d1230c5dba76fe7cc3c4
2014-02-05 23:23:50 +13:00

11 lines
270 B
HTML

<!DOCTYPE HTML>
<html>
<body style="-moz-control-character-visibility:visible">
<span id="s">foo&#x01;bar</span>
<script>
var x = s.getBoundingClientRect().width;
document.body.setAttribute("style", "-moz-control-character-visibility:hidden");
</script>
</body>
</html>