Add test for cairo error when trying to draw zero width borders, even though it doesn't actually fail without the patch in the current reftest harness. (Bug 618071) a=blocking2.0:beta8

This commit is contained in:
L. David Baron 2010-12-09 20:38:52 -08:00
parent 3ea5c79856
commit 6a7e36957b
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<!DOCTYPE HTML>
<html reftest-zoom="0.8">
<title>Testcase, bug 618071</title>
<select size="5">
<option id="one">one</option>
<option id="two">two</option>
<option id="three">three</option>
<option id="four">four</option>
<option id="five">five</option>
</select>
<script>
document.getElementById("three").parentNode.focus();
</script>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML>
<html reftest-zoom="0.8">
<title>Testcase, bug 618071</title>
<select size="5">
<option id="one">one</option>
<option id="two">two</option>
<option id="three">three</option>
<option id="four">four</option>
<option id="five">five</option>
</select>
<span id="s" style="display: inline-block; background: blue; height: 50px; width: 50px; margin-left: -2.5em;"></span>
<script>
document.getElementById("three").parentNode.focus();
</script>

View File

@ -1555,3 +1555,4 @@ fails-if(!haveTestPlugin) == 599476.html 599476-ref.html
HTTP(..) == 615121-1.html 615121-1-ref.html
HTTP(..) != 615121-2.html 615121-2-notref.html
== 617242-1.html 617242-1-ref.html
!= 618071.html 618071-notref.html