mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix the test to handle one-pixel clipping near the left edge that can happen if invalidates happen in a different order. No bug.
This commit is contained in:
parent
a2790024e4
commit
7062899f5e
@ -6,10 +6,12 @@
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<span>test</span>
|
||||
<!-- Need the non-breaking spaces to avoid some reftest badness due to
|
||||
the 't' extending outside its nominal metrics -->
|
||||
<span> test</span>
|
||||
</div>
|
||||
<div>
|
||||
<span>test</span>
|
||||
<span> test</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<script src="data:text/javascript,document.body.offsetWidth;"/>
|
||||
<!-- The whitespace here is important... or this comment will do
|
||||
the trick too -->
|
||||
<span>test</span>
|
||||
<span> test</span>
|
||||
</div>
|
||||
<script>
|
||||
function runTest() {
|
||||
@ -28,7 +28,7 @@
|
||||
function makeSpan() {
|
||||
var s = document.createElementNS("http://www.w3.org/1999/xhtml",
|
||||
"span");
|
||||
s.appendChild(document.createTextNode("test"));
|
||||
s.appendChild(document.createTextNode(" test"));
|
||||
return s;
|
||||
}
|
||||
</script>
|
||||
|
@ -1,22 +1,22 @@
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="test">
|
||||
<content>
|
||||
<html:div xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
style="color: red; -moz-binding: url(403962-1xbl.xml#test-base)">
|
||||
<children/>
|
||||
</html:div>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="test-base">
|
||||
<content>
|
||||
<html:div xmlns:html="http://www.w3.org/1999/xhtml" style="color: green">
|
||||
<children includes="span"/>
|
||||
</html:div>
|
||||
<html:div xmlns:html="http://www.w3.org/1999/xhtml" style="color: red">
|
||||
<children/>
|
||||
</html:div>
|
||||
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="test">
|
||||
<content>
|
||||
<html:div xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
style="color: red; -moz-binding: url(403962-1xbl.xml#test-base)">
|
||||
<children/>
|
||||
</html:div>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="test-base">
|
||||
<content>
|
||||
<html:div xmlns:html="http://www.w3.org/1999/xhtml" style="color: green">
|
||||
<children includes="span"/>
|
||||
</html:div>
|
||||
<html:div xmlns:html="http://www.w3.org/1999/xhtml" style="color: red">
|
||||
<children/>
|
||||
</html:div>
|
||||
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
Loading…
Reference in New Issue
Block a user