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 25212 - Tag omission rules for rt and rtc are not correct
Summary: Tag omission rules for rt and rtc are not correct
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Robin Berjon
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 06:58 UTC by Koji Ishii
Modified: 2014-06-04 15:07 UTC (History)
4 users (show)

See Also:


Attachments

Description Koji Ishii 2014-03-31 06:58:34 UTC
From the tag omission rules in the ED[1]:
* rb, rtc, and rp auto-closes if immediately followed by rb, rt, rtc, or rp
* rt auto-closes if immediately followed by rb, rt, or rp

Issues are:
1. rtc should not auto-close if immediately followed by rt
2. rt should auto-close if immediately followed by rtc

The tests Robin wrote[2] confirm that <rt> does not auto-close <rtc>

[1] http://www.w3.org/html/wg/drafts/html/CR/syntax.html#syntax-tag-omission
[2] https://github.com/html5lib/html5lib-tests/pull/27/files
Comment 1 Robin Berjon 2014-06-04 15:07:53 UTC
You are entirely correct, they were inverted. This has been fixed, thanks!