summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-11 23:17:47 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-11 23:17:47 +0000
commit0f590122c5474b0b6fb66dccab0cc24f38d63bc4 (patch)
treeb40d7888b732fa4f8941e0fc0d8eff0e439b984e /dom
parent221627575b56e8bb85e8329400da99138f2f67c1 (diff)
downloadUXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.gz
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.lz
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.xz
UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.zip
Issue #1543 - Align <img> with no src to the updated spec.
Diffstat (limited to 'dom')
-rw-r--r--dom/base/nsIImageLoadingContent.idl2
-rw-r--r--dom/html/reftests/468263-2-alternate-ref.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/dom/base/nsIImageLoadingContent.idl b/dom/base/nsIImageLoadingContent.idl
index eacc4ac3a..234571e1b 100644
--- a/dom/base/nsIImageLoadingContent.idl
+++ b/dom/base/nsIImageLoadingContent.idl
@@ -68,7 +68,7 @@ interface nsIImageLoadingContent : imgINotificationObserver
* the image was blocked. This status always refers to the
* CURRENT_REQUEST load.
*/
- readonly attribute short imageBlockingStatus;
+ [infallible] readonly attribute short imageBlockingStatus;
/**
* Used to register an image decoder observer. Typically, this will
diff --git a/dom/html/reftests/468263-2-alternate-ref.html b/dom/html/reftests/468263-2-alternate-ref.html
index 538898c97..c3bdb9da9 100644
--- a/dom/html/reftests/468263-2-alternate-ref.html
+++ b/dom/html/reftests/468263-2-alternate-ref.html
@@ -2,6 +2,7 @@
<html>
<body>
<img id="image1" src="">
+ <img id="image2">
<input id="image3" type="image">
</body>
</html>