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-20 13:49:55 +0000
commitd050188cd525b769d33e2a2d94454b32aaa0b622 (patch)
tree3b465a50e36d8ba482e72540e67e738b04585573 /dom
parent3a1bebfb87d994b810574fdfeba09683e80cd2c9 (diff)
downloadUXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.gz
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.lz
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.xz
UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.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>