- From: <bugzilla@jessica.w3.org>
- Date: Tue, 25 Feb 2014 15:11:56 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24802 Bug ID: 24802 Summary: Children elements of <option> Product: Nu Markup Checker Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P2 Component: General Assignee: mike+validator@w3.org Reporter: master.skywalker.88@gmail.com QA Contact: www-validator-cvs@w3.org The <option> tag has "text" as content model, so it cannot contain any tag. Using a syntax like <option>text <b>node</b></option> is invalid in both HTML and XHTML. But the error reports are different. Error: Stray start tag b. [...] Error: Stray end tag b. [...] (HTML) XHTML element b not allowed as child of XHTML element option in this context. (Suppressing further errors from this subtree.) [...] Contexts in which element b may be used: Where phrasing content is expected. Content model for element option: Text. Actually the error is the same. <option> is one of the few tags with content model:text flagging children elements as invalid (it doesn't happen in <title> and <textarea>), but I think the report should be clear. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 25 February 2014 15:11:58 UTC