[Bug 26074] New: HTML parsing algorithm doesn't allow the rt element under the rtc element.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26074

            Bug ID: 26074
           Summary: HTML parsing algorithm doesn't allow the rt element
                    under the rtc element.
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CR HTML5 spec
          Assignee: robin@w3.org
          Reporter: yuki.sekiguchi@access-company.com
        QA Contact: public-html-bugzilla@w3.org
                CC: public-html-admin@w3.org

HTML 5 spec and its editor's draft says
http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody
> A start tag whose tag name is "rt"
> If the stack of open elements has a ruby element in scope, then generate implied end tags, except for rtc elements. If the current node is not then a ruby element, this is a parse error.
> Insert an HTML element for the token.

IIUC, HTML parser doesn't allow the rt element under the rtc element.
However, the description of rt element allows this.
http://www.w3.org/TR/html5/text-level-semantics.html#the-rt-element

> Contexts in which this element can be used:
> As a child of a ruby or of an rtc element.

I think this is bug of parser algorithm.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 12 June 2014 10:49:09 UTC