'icon' IDL attribute of HTMLMenuItemElement should reflect as URL |
||
Issue description
Version: ToT. Note that this feature is enabled only in test mode.
OS: All
What steps will reproduce the problem?
(1) Run the following code:
var mi = document.craeteElement('menuitem')
mi.setAttribute('icon', 'foo.png')
mi.icon
What is the expected output?
mi.icon returns a URL resolving foo.png relative to the Document URL.
What do you see instead?
mi.icon returns 'foo.png' as is.
Firefox works correctly.
We already have a test: imported/wpt/html/dom/reflection-misc.html
Please use labels and text to provide additional information.
,
Sep 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/06c4bb2566842d57a213983bc44f753e9b8206df commit 06c4bb2566842d57a213983bc44f753e9b8206df Author: tkent <tkent@chromium.org> Date: Fri Sep 30 07:46:52 2016 'icon' IDL attribute of HTMLMenuItemElement should reflect as URL. This resolve a local path issue of reflection-misc.html. The new behavior matches to Firefox. BUG= 651664 Review-Url: https://codereview.chromium.org/2380683007 Cr-Commit-Position: refs/heads/master@{#422058} [modify] https://crrev.com/06c4bb2566842d57a213983bc44f753e9b8206df/third_party/WebKit/LayoutTests/TestExpectations [modify] https://crrev.com/06c4bb2566842d57a213983bc44f753e9b8206df/third_party/WebKit/LayoutTests/imported/wpt/html/dom/reflection-misc-expected.txt [modify] https://crrev.com/06c4bb2566842d57a213983bc44f753e9b8206df/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp [modify] https://crrev.com/06c4bb2566842d57a213983bc44f753e9b8206df/third_party/WebKit/Source/core/html/HTMLMenuItemElement.h [modify] https://crrev.com/06c4bb2566842d57a213983bc44f753e9b8206df/third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl
,
Sep 30 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by tkent@chromium.org
, Sep 30 2016Status: Started (was: Available)