This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19415 - [Templates]: Need parser rules to prevent <html> within <template> from merging attributes with the document's <html>
Summary: [Templates]: Need parser rules to prevent <html> within <template> from mergi...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 15476
  Show dependency treegraph
 
Reported: 2012-10-09 22:34 UTC by Rafael Weinstein
Modified: 2012-10-09 23:16 UTC (History)
3 users (show)

See Also:


Attachments

Description Rafael Weinstein 2012-10-09 22:34:57 UTC
This is similar to the behavior of <body>.

The cases that can occur are:

InBody, e.g.

#data
<html a=b><template><div><html b=c><span></template>
#errors
#document
| <html>
|   a="b"
|   <head>
|     <template>
|       #document-fragment
|         <div>
|           <span>
|   <body>

InColGroup, e.g.

#data
<html a=b><template><col></col><html b=c><col></col></template>
#errors
#document
| <html>
|   a="b"
|   <head>
|     <template>
|       #document-fragment
|         <col>
|         <col>
|   <body>

InFrameset, e.g.

#data
<html a=b><template><frame></frame><html b=c><frame></frame></template>
#errors
#document
| <html>
|   a="b"
|   <head>
|     <template>
|       #document-fragment
|         <frame>
|         <frame>
|   <body>
Comment 1 Rafael Weinstein 2012-10-09 23:16:08 UTC
http://dvcs.w3.org/hg/webcomponents/rev/b619a03dff2d

Note that all three cases are covered by editing InBody because the other cases refer to that case.