Alt-text not shown on about:blank page |
|||
Issue descriptionGo to example.com and use the dev tools to replace the body content with: <img src="bogus" alt="foo" width="200" height="200"> And you'll get the broken picture icon and the "foo" alt text. This also works correctly with file:// origins. But go to about:blank and insert the same HTML and you'll get neither the icon nor the text. However, you do get the icon and text on about:blank if you add a scheme, e.g.: <img src="http://bogus" alt="foo" width="200" height="200"> Tested on Linux with Chrome 58.0.3029.81 and on Android with ToT Chrome and WebView.
,
Apr 25 2017
,
May 24 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/691a0f3c2d30008438fc155c91d99fde3f57d10a commit 691a0f3c2d30008438fc155c91d99fde3f57d10a Author: shoon.kim <shoon.kim@lge.com> Date: Wed May 24 04:59:46 2017 Consider empty url case when loading image If using loadData() in Android WebView or inspector manually, request url for image whose url is specified in relative url becomes empty. Currently, it checks only that requested url is null. Additionally, It should check it is empty. Also in empty case, it should show broken image and alt text. BUG= 714818 Review-Url: https://codereview.chromium.org/2839633003 Cr-Commit-Position: refs/heads/master@{#474167} [modify] https://crrev.com/691a0f3c2d30008438fc155c91d99fde3f57d10a/third_party/WebKit/Source/core/loader/ImageLoader.cpp [modify] https://crrev.com/691a0f3c2d30008438fc155c91d99fde3f57d10a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
,
Jun 16 2017
Can we mark this as fixed now?
,
Jun 16 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by paulmiller@chromium.org
, Apr 24 2017