New issue
Advanced search Search tips

Issue 651664 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 87553



Sign in to add a comment

'icon' IDL attribute of HTMLMenuItemElement should reflect as URL

Project Member Reported by tkent@chromium.org, Sep 30 2016

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.

 

Comment 1 by tkent@chromium.org, Sep 30 2016

Owner: tkent@chromium.org
Status: Started (was: Available)

Comment 3 by tkent@chromium.org, Sep 30 2016

Status: Fixed (was: Started)

Sign in to add a comment