Closed Bug 177075 Opened 22 years ago Closed 22 years ago

Implement null end tags (NET) <foo/.../

Categories

(Core :: DOM: HTML Parser, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 94284

People

(Reporter: ian, Assigned: bzbarsky)

References

()

Details

We should implement the null end tag SHORTTAG feature of HTML.

For elements with close tags that would mean looking for a "/" instead of a
"</foo>"; for tags that have no close tags, it would mean accepting "/" as an
end character as well as ">". Note that other elements can be nested inside
elements that with a NET.

This should only be done in standards mode, not in quirks mode. (In fact, I
would even suggest avoiding doing it in almost standards mode, since those
documents are numerous, and usually XHTML.)

Testcases: http://www.hixie.ch/tests/adhoc/html/parsing/shorttag/net/
wow, I didn't think anyone would ever file such a bug; though it doesn't
surprise me that it was you who did it :)

Is there any real page which uses the <foo/ syntax?
I honestly can't think of any HTML tooling that uses these features, nor of any 
HTML references/books (other than Arjun's notes) that even talk about it.  I 
also don't know of any browser that supports them (I checked on IE 5.5 and 
Opera 4). 
emacs-w3 supports NET, AIUI.

*** This bug has been marked as a duplicate of 94284 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
I guess it could be considered a duplicate of that one, verified.
Status: RESOLVED → VERIFIED
Just for the record, I don't do real parser bugs like this.... My sanity is
important to me.  ;)
You need to log in before you can comment on or make changes to this bug.