Bug 1102177 - Don't apply a fixed height to <hr> elements. r=dbaron
authorJonathan Kew <jkew@mozilla.com>
Mon, 01 Dec 2014 20:57:28 -0800
changeset 218208 7873b21367dbc9a7138974cf4f833c768587714e
parent 218207 2aa5fe6a33936c98ca30033de139db7f40e69ee4
child 218209 68388b632918ef430094b6b42139e4e400fd068b
push id27922
push usercbook@mozilla.com
push dateTue, 02 Dec 2014 10:55:24 +0000
treeherdermozilla-central@22ad8a162cf3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1102177
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1102177 - Don't apply a fixed height to <hr> elements. r=dbaron
layout/base/crashtests/266445-2.html
layout/base/crashtests/crashtests.list
layout/style/html.css
copy from layout/base/crashtests/266445-1.html
copy to layout/base/crashtests/266445-2.html
--- a/layout/base/crashtests/266445-1.html
+++ b/layout/base/crashtests/266445-2.html
@@ -1,9 +1,9 @@
 <HTML>
 <HEAD>
 </HEAD>
 <BODY>
 <BODY STYLE="overflow:hidden;">
-<HR STYLE="float:right; padding:71155995130em;">
+<HR STYLE="float:right; height:2px; padding:71155995130em;">
 <OL STYLE="position:static;"><LI>Test</LI></OL>
 </BODY>
 </HTML>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -40,17 +40,18 @@ load 265027-1.html
 load 265736-1.html
 load 265736-2.html
 load 265899-1.html
 load 265973-1.html
 asserts(6-12) load 265986-1.html # Bug 512405
 load 265999-1.html
 load 266222-1.html
 asserts(1-7) load 266360-1.html # bug 576358
-asserts(2) load 266445-1.html
+load 266445-1.html
+asserts(2) load 266445-2.html
 load 268157-1.html
 load 269566-1.html
 load 272647-1.html
 load 275746-1.html
 load 276053-1.html
 load 280708-1.html
 load 280708-2.html
 load 281333-1.html
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -594,17 +594,16 @@ li {
 
 /* leafs */
 
 /* <hr> noshade and color attributes are handled completely by
  * the nsHTMLHRElement attribute mapping code
  */
 hr {
   display: block;
-  height: 2px;
   border: 1px inset;
   margin: 0.5em auto 0.5em auto;
   color: gray;
   -moz-float-edge: margin-box;
   box-sizing: border-box;
 }
 
 hr[size="1"] {