Skip to content

Commit

Permalink
[css-images-4] Handle image replacement case of loading images. #1984
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Aug 13, 2019
1 parent 7b4b915 commit 3f884b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css-images-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ Introduction {#intro}
they are rendered as a solid-color ''transparent'' image with no intrinsic dimensions,
and may trigger fallback rendering in contexts that offer it,
but must not trigger loading of fallback resources.
Alternately, if a <a>loading image</a> happens to be replacing
an already-loaded image
(for example due to changes in the document or style sheet)
and the UA is tracking this information,
it may continue to render the already-loaded image
in place of the <a>loading image</a>.

Partially-loaded images (whose [=intrinsic dimensions=] are known, but whose image data is not fully loaded)
may be either treated as [=loading images=]
Expand Down

0 comments on commit 3f884b8

Please sign in to comment.