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 11160 - <sup> and </sup>
Summary: <sup> and </sup>
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://gotnarcosis.com/brucewittmeie...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 20:19 UTC by bruce.wittmeier
Modified: 2013-02-14 11:23 UTC (History)
2 users (show)

See Also:


Attachments

Description bruce.wittmeier 2010-10-28 20:19:15 UTC
Using the subscript tag returns an error:

end tag for element "SUP" which is not open

If you dont use the </sup> then the remainder of the line is also subscripted.

" + curr_date + "<SUP>" + sup + "</SUP>" + " " + curr_year + " ~ " + curr_hour

Link to sample page:

http://gotnarcosis.com/brucewittmeier/Vietnam/9thInfDivCommo.html
Comment 1 Jukka K. Korpela 2011-02-24 13:43:57 UTC
This is not the kind of a bug it looks like. The construct </SUP> appears inside a SCRIPT element, where end tags are disallowed under HTML 4.01; ref.
http://www.w3.org/TR/html401/types.html#type-cdata

However, unless I misread the specs, </SUP> should terminate the SCRIPT element (in an invalid way, but still), and therefore I wonder why the </SCRIPT> tag is not reported as homeless.