[Bug 18613] [Templates]: Section 7 Parsing HTML Templates needs to be re-written

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

--- Comment #11 from Rafael Weinstein <rafaelw@chromium.org> 2012-09-06 23:08:25 UTC ---
To clarify

> // Should "in cell" be modified to "close the cell" on </template> (e.g. with
> </table>, </tbody>, </tfoot>, </thead>, </tr>) -- as is, </tr> wil lbe ignored
> and <div> appended to <td>
> #data
> <body><template><td></tr><div></template>
> #errors
> #document
> | <html>
> |   <head>
> |   <body>
> |     <template>
> |       <td>
> |       <div>

This is correct, but we need spec text that
http://dev.w3.org/html5/spec/parsing.html#has-an-element-in-table-scope
includes <template>

Should actually be:

#data
<body><template><td></tr><div></template>
#errors
#document
| <html>
|   <head>
|   <body>
|     <template>
|       <td>
|         <div>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 6 September 2012 23:08:26 UTC