Unify HTML and XHTML iframe naming
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
People
(Reporter: hsivonen, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: html5)
Reporter | ||
Comment 1•16 years ago
|
||
Comment 3•14 years ago
|
||
![]() |
||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•5 years ago
|
||
Current spec texts:
-
Setting the name of a
iframe
browsing context: https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-name -
The rules for choosing a browsing context (see step 7): https://html.spec.whatwg.org/multipage/browsers.html#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name
Clearly only name
should be considered. Having id
, and not name
, be used instead for XHTML documents produces confusing behaviour for authors which is difficult to debug (since the behaviour is dependent on the MIME type of the file).
I get that this is a very old issue, but Webkit/Blink provide expected (spec) behaviour, and having websites break only in Firefox and only when the MIME type is application/xhtml+xml
seems like the sort of thing which deserves a fix :P .
Updated•3 years ago
|
Description
•