RESOLVED INVALID75839
simple close tag is not supported for <a> and <object> tag.
https://bugs.webkit.org/show_bug.cgi?id=75839
Summary simple close tag is not supported for <a> and <object> tag.
Wang Changzhi
Reported 2012-01-09 03:41:57 PST
Close tags <a/> and <object/> like this will damage the whole html file. for example: <!DOCTYPE html> <html> <body> <object width="400" height="300" data="hello.swf" type="application/x-shockwave-flash"/> <div id="result"> These data should be visible! </div> </body> </html> The text in <div> should be visible. But instead the <div> is treated as alt text of <object>.
Attachments
Alexey Proskuryakov
Comment 1 2012-01-09 10:12:12 PST
Self-closing tags only work in XML. They have absolutely no effect in HTML (in any browser, not just WebKit-based ones).
Note You need to log in before you can comment on or make changes to this bug.