commit | 09b18a02d183f468777640bfbbee33352ee1795c | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Mon Oct 22 18:02:04 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 22 18:02:04 2018 |
tree | 6f68a7591ade84cfd16a6c154c527ed9dcb9fbac | |
parent | 96c0be24a293ae3dd08592cfe6496729cd2636f9 [diff] |
An <img> with no 'src', no 'alt' but 'srcset' represents nothing Based on [1], it would seem that we should treat the case where we have no image candidate as representing nothing - this apparently also matches what other UAs do. Simplify the NoImageSourceSpecified helper function a bit. (IsNull implies IsEmpty and !hasAttribute.) [1] https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element:the-img-element-5 Bug: 897033 Change-Id: I37ecad8faea2b929e8cf35ce7c746313b2d3b915 Reviewed-on: https://chromium-review.googlesource.com/c/1293574 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#601648}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .