summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/control-chars-03b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/control-chars-03b.html')
-rw-r--r--layout/reftests/text/control-chars-03b.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/text/control-chars-03b.html b/layout/reftests/text/control-chars-03b.html
new file mode 100644
index 000000000..488e5e751
--- /dev/null
+++ b/layout/reftests/text/control-chars-03b.html
@@ -0,0 +1,10 @@
+<!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>