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 23930 - 'For images' only considers img elements but images can also be embed, object, input, svg, svg:image (any others?)
Summary: 'For images' only considers img elements but images can also be embed, object...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-27 00:21 UTC by contributor
Modified: 2013-12-02 20:27 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-11-27 00:21:18 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#origin-0
Complete: http://www.whatwg.org/c#origin-0
Referrer: 

Comment:
'For images' only considers img elements but images can also be embed, object,
input, svg, svg:image (any others?)

Posted from: 88.131.81.122
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.48 Safari/537.36 OPR/18.0.1284.26 (Edition Next)
Comment 1 Ian 'Hixie' Hickson 2013-11-27 23:53:31 UTC
<embed> and <object> have their own origin handling that isn't affected by the "origin of the image".

<input> isn't affect by origin handling at all as far as I can tell.

<svg> seems to just be a same-origin element, so I don't understand the relevance.

<svg:image> is out of scope for HTML, and in any case doesn't seem to care about the origin of the image.


Can you elaborate on what you had in mind?
Comment 2 Simon Pieters 2013-11-28 00:52:32 UTC
OK, so if only <img> is relevant, maybe the <dl> should say "For img elements" rather than "For images" since "images" in my mind can be other elements also.
Comment 3 contributor 2013-12-02 20:27:16 UTC
Checked in as WHATWG revision r8320.
Check-in comment: Clarify what it means for an image to have an origin
http://html5.org/tools/web-apps-tracker?from=8319&to=8320