This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10836 - Several legacy attributes should reflect as URLs, not strings
Summary: Several legacy attributes should reflect as URLs, not strings
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 20:44 UTC by Aryeh Gregor
Modified: 2010-10-07 22:02 UTC (History)
5 users (show)

See Also:


Attachments

Description Aryeh Gregor 2010-09-29 20:44:14 UTC
From bug 10331 comment 2:

* All current browsers reflect img.longDesc as a URL, not a string.
* All current browsers except WebKit reflect iframe.longDesc, applet.codeBase, and frame.longDesc as a URL, not a string.
* Firefox and Opera reflect object.codeBase as a URL, WebKit and IE9PP4 reflect as a string.
* Firefox and IE9PP4 reflect applet.object as a URL, WebKit and Opera reflect it as a string.
* Firefox reflects body.background as a URL, but everyone else reflects as a string.

At least the first four should certainly be treated as URLs, not strings.  It doesn't make sense to ask the majority of implementations to change in the less logical direction.  Since object.codeBase and applet.object are 50/50, it probably also makes the most sense to change that to URLs in the spec.  body.background might be simpler to leave as-is.
Comment 1 Anne 2010-09-29 21:02:18 UTC
Maybe we can remove some of these? Though I guess that would involve even more "controversial" changes to engines.
Comment 2 Aryeh Gregor 2010-09-29 21:09:15 UTC
Well, if you're willing to risk it, go ahead.  I just care that it's reasonable.
Comment 3 contributor 2010-10-07 21:39:42 UTC
Checked in as WHATWG revision r5593.
Check-in comment: img.longDesc, frame.longDesc, and iframe.longDesc should reflect as URLs.
http://html5.org/tools/web-apps-tracker?from=5592&to=5593
Comment 4 contributor 2010-10-07 21:41:59 UTC
Checked in as WHATWG revision r5594.
Check-in comment: applet.codeBase and object.codeBase should reflect as URLs.
http://html5.org/tools/web-apps-tracker?from=5593&to=5594
Comment 5 Ian 'Hixie' Hickson 2010-10-07 21:43:05 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diffs given above and below
Rationale: Concurred with reporter's comments.
Comment 6 contributor 2010-10-07 21:43:59 UTC
Checked in as WHATWG revision r5595.
Check-in comment: applet.object should reflect as a URL.
http://html5.org/tools/web-apps-tracker?from=5594&to=5595