mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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
This commit is contained in:
parent
0eda1dacc2
commit
ad18b5ade8
@ -4,6 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<textarea style="-moz-appearance:none; width:300px; height:300px;">
|
||||
foobar
|
||||
</textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,6 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<textarea style="-moz-appearance:none; width:300px; height:300px;">
|
||||
foobar
|
||||
</textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,6 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<textarea style="-moz-appearance:none; width:300px; height:300px;">
|
||||
foobar
|
||||
</textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,6 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<textarea style="-moz-appearance:none; width:300px; height:300px;">
|
||||
foobar
|
||||
</textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,6 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<textarea style="-moz-appearance:none; width:300px; height:300px;">
|
||||
foobar
|
||||
</textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
6
layout/reftests/text/control-chars-02-notref.html
Normal file
6
layout/reftests/text/control-chars-02-notref.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="-moz-control-character-visibility:visible">
|
||||
foobar
|
||||
</body>
|
||||
</html>
|
6
layout/reftests/text/control-chars-02.html
Normal file
6
layout/reftests/text/control-chars-02.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="-moz-control-character-visibility:visible">
|
||||
foobar
|
||||
</body>
|
||||
</html>
|
6
layout/reftests/text/control-chars-03-ref.html
Normal file
6
layout/reftests/text/control-chars-03-ref.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
foobar
|
||||
</body>
|
||||
</html>
|
6
layout/reftests/text/control-chars-03a.html
Normal file
6
layout/reftests/text/control-chars-03a.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="-moz-control-character-visibility:hidden">
|
||||
foobar
|
||||
</body>
|
||||
</html>
|
10
layout/reftests/text/control-chars-03b.html
Normal file
10
layout/reftests/text/control-chars-03b.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="-moz-control-character-visibility:visible">
|
||||
<span id="s">foobar</span>
|
||||
<script>
|
||||
var x = s.getBoundingClientRect().width;
|
||||
document.body.setAttribute("style", "-moz-control-character-visibility:hidden");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -292,3 +292,6 @@ pref(layout.css.text-align-true-value.enabled,true) == text-align-true.html text
|
||||
!= control-chars-01b.html control-chars-01-notref.html
|
||||
!= control-chars-01c.html control-chars-01-notref.html
|
||||
!= control-chars-01d.html control-chars-01-notref.html
|
||||
!= control-chars-02.html control-chars-02-notref.html
|
||||
== control-chars-03a.html control-chars-03-ref.html
|
||||
== control-chars-03b.html control-chars-03-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user