Reftest for bug 343538. r+sr=dbaron
authorDaniel.S <crazy-daniel@gmx.de>
Sat, 07 Feb 2009 13:28:41 +0100
changeset 24739 a2f316e872ea0e5838fbbf1f6d03562363eae971
parent 24738 aed4d0b8e3b2d977badd94165f722ce88ddc4090
child 24740 22cd72d310900f4030451af62a7e1e30cd4d4584
push idunknown
push userunknown
push dateunknown
bugs343538
milestone1.9.2a1pre
Reftest for bug 343538. r+sr=dbaron
layout/reftests/bugs/343538-1-ref.html
layout/reftests/bugs/343538-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/343538-1-ref.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+div {
+ background-color: pink;
+}
+div div {
+ float: left;
+ width: 100px; height: 100px;
+ margin: 4px;
+ border: 1px solid #000;
+ background-color: #eee;
+}
+br {
+ clear: left;
+}
+a {
+ outline: none;
+}
+</style>
+</head>
+<body>
+<div>
+ <div>
+  <a id="test" href="#">Link 1</a>
+ </div>
+ <div>
+  <a href="#">Link 2</a>
+ </div>
+ <br>
+ <div>
+  <a href="#">Link 3</a>
+ </div>
+ <br>
+ </div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/343538-1.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+div {
+ background-color: pink;
+}
+div div {
+ float: left;
+ width: 100px; height: 100px;
+ margin: 4px;
+ border: 1px solid #000;
+ background-color: #eee;
+}
+br {
+ clear: left;
+}
+a {
+ outline: none;
+}
+</style>
+</head>
+<body onload="document.getElementById('test').focus();">
+<div>
+ <div>
+  <a id="test" href="#">Link 1</a>
+ </div>
+ <div>
+  <a href="#">Link 2</a>
+ </div>
+ <br>
+ <div>
+  <a href="#">Link 3</a>
+ </div>
+ <br></div>
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -363,16 +363,17 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") ==
 == 336153-1.html 336153-1-ref.html
 != 338251-p.html about:blank
 == 338251-p-oh.html 338251-p-oh-ref.html
 != 338251-pre.html about:blank
 == 338251-pre-oh.html 338251-pre-oh-ref.html
 == 339289-1.html 339289-1-ref.html
 == 341043-1a.html 341043-1-ref.html
 != 341043-1b.html 341043-1-ref.html
+== 343538-1.html 343538-1-ref.html
 == 343540-1.html 343540-1-ref.html
 == 345267-1a.html 345267-1-ref.html
 == 345267-1b.html 345267-1-ref.html
 == 345267-1c.html 345267-1-ref.html
 == 345267-1d.html 345267-1-ref.html
 != 345563-sub.xhtml 345563-sup.xhtml 
 == 346189-1.xul 346189-1-ref.xul
 == 346774-1a.html 346774-1-ref.html