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
Depends on:
Reported: 2010-10-28 20:19 UTC by bruce.wittmeier
Modified: 2013-02-14 11:23 UTC (History)
2 users (show)

See Also:


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:
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.

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.