- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 24 Jun 2008 11:52:36 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5792
Summary: li/dd/dt end tag in body when no corresponding elt on
stack
Product: HTML WG
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Spec bugs
AssignedTo: dave.null@w3.org
ReportedBy: hsivonen@iki.fi
QAContact: public-html-bugzilla@w3.org
CC: ian@hixie.ch, mike@w3.org, public-html@w3.org
> An end tag whose tag name is one of: "dd", "dt", "li"
>
> If the stack of open elements does not have an element
> in scope with the same tag name as that of the token,
> then this is a parse error.
>
> Otherwise, run these steps:
>
> 1. Generate implied end tags, except for elements
> with the same tag name as the token.
> 2. If the current node is not an element with the
> same tag name as that of the token, then this
> is a parse error.
> 3. Pop elements from the stack of open elements
> until an element with the same tag name as the
> token has been popped from the stack.
What if there's no corresponding element on the stack? Shouldn't the first
paragraph end with "then this is a parse error; ignore the token."?
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 24 June 2008 11:53:11 UTC