diff --git a/accessible/tests/mochitest/test_nsIAccessibleImage.html b/accessible/tests/mochitest/test_nsIAccessibleImage.html index 12a42ff786ba..df242df468b9 100644 --- a/accessible/tests/mochitest/test_nsIAccessibleImage.html +++ b/accessible/tests/mochitest/test_nsIAccessibleImage.html @@ -113,31 +113,31 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=429659 testThis("nonLinkedImage", null, "moz.png", 89, 38); // Test linked image - testThis("linkedImage", null, "moz.png", 93, 42); + testThis("linkedImage", null, "moz.png", 89, 38); // Test non-linked image with alt attribute testThis("nonLinkedImageWithAlt", "MoFo", "moz.png", 89, 38); // Test linked image with alt attribute - testThis("linkedImageWithAlt", "MoFo link", "moz.png", 93, 42); + testThis("linkedImageWithAlt", "MoFo link", "moz.png", 89, 38); // Test non-linked image with title attribute testThis("nonLinkedImageWithTitle", "MoFo logo", "moz.png", 89, 38); // Test linked image with title attribute - testThis("linkedImageWithTitle", "Link to MoFo", "moz.png", 93, 42); + testThis("linkedImageWithTitle", "Link to MoFo", "moz.png", 89, 38); // Test simple image with empty alt attribute testThis("nonLinkedImageEmptyAlt", "", "moz.png", 89, 38); // Test linked image with empty alt attribute - testThis("linkedImageEmptyAlt", "", "moz.png", 93, 42); + testThis("linkedImageEmptyAlt", "", "moz.png", 89, 38); // Test simple image with empty alt attribute and title testThis("nonLinkedImageEmptyAltAndTitle", "MozillaFoundation", "moz.png", 89, 38); // Test linked image with empty alt attribute and title - testThis("linkedImageEmptyAltAndTitle", "Link to Mozilla Foundation", "moz.png", 93, 42); + testThis("linkedImageEmptyAltAndTitle", "Link to Mozilla Foundation", "moz.png", 89, 38); // Image with long desc var actionNamesArray = new Array("showlongdesc"); diff --git a/layout/reftests/bugs/452915-1-ref.html b/layout/reftests/bugs/452915-1-ref.html new file mode 100644 index 000000000000..58eabfe7a4f6 --- /dev/null +++ b/layout/reftests/bugs/452915-1-ref.html @@ -0,0 +1,7 @@ + + + +HTML5 Rendering section: No border for linked images. + + + diff --git a/layout/reftests/bugs/452915-1.html b/layout/reftests/bugs/452915-1.html new file mode 100644 index 000000000000..467ab4f70e90 --- /dev/null +++ b/layout/reftests/bugs/452915-1.html @@ -0,0 +1,7 @@ + + + +HTML5 Rendering section: No border for linked images. + + + diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index 06a0471da41d..b55f812bf6fa 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -1137,6 +1137,7 @@ random == 445004-1.html 445004-1-ref.html # bug 472268 == 451168-1.html 451168-1-ref.html == 451876-1.html 451876-1-ref.html == 451876-2.html 451876-2-ref.html +== 452915-1.html 452915-1-ref.html == 452964-1.html 452964-1-ref.html == 454361.html about:blank == 455105-1.html 455105-ref.html diff --git a/layout/style/html.css b/layout/style/html.css index a6a1a8b2f7ca..dd161d88ea79 100644 --- a/layout/style/html.css +++ b/layout/style/html.css @@ -526,10 +526,6 @@ hr[size="1"] { border-style: solid none none none; } -*|*:-moz-any-link img, img[usemap], object[usemap] { - border: 2px solid; -} - img:-moz-broken::before, input:-moz-broken::before, img:-moz-user-disabled::before, input:-moz-user-disabled::before, img:-moz-loading::before, input:-moz-loading::before,