Skip to content

Navigation Menu

Sign in
Sign up

Test absence of errors for open elements that do not result in error on EOF - #75

Open
hsivonen wants to merge 1 commit into
master from
openoneof
Open

Test absence of errors for open elements that do not result in error on EOF #75
hsivonen wants to merge 1 commit into
master from
openoneof

Conversation

@hsivonen

@hsivonen hsivonen commented May 4, 2016

Copy link
Copy Markdown
Member

No description provided.


#data
<td>
#errors

@zcorpan zcorpan May 4, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and th below) should be a parse error per spec I think:

https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody

A start tag whose tag name is one of: "th", "td"
Parse error.

zcorpan commented May 4, 2016

Copy link
Copy Markdown
Contributor


#data
<!DOCTYPE html><rb>
#errors

@zcorpan zcorpan May 4, 2016
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the current node is not now a ruby element, this is a parse error.

Similarly, rp, rt, rtc below are also parse errors. Maybe test as document-fragment with ruby as context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /