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 19403 - [Templates]: "in body" needs a rule to handle <body> while parsing template
Summary: [Templates]: "in body" needs a rule to handle <body> while parsing template
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 17:59 UTC by Rafael Weinstein
Modified: 2012-10-09 18:42 UTC (History)
3 users (show)

See Also:


Attachments

Description Rafael Weinstein 2012-10-09 17:59:55 UTC
http://dev.w3.org/html5/spec/textFieldSelection.html#parsing-main-inbody

The current behavior merges attributes on the encountered <body> to the existing body. This is probably not what we want.

e.g.

<body a=b><template><body c=d><div>

probably should produce

#document
| <html>
|   <head>
|   <body>
|     a="b"
|    <template>
|      #document-fragment
|       <div>

not 

#document
| <html>
|   <head>
|   <body>
|     a="b"
|     c="d"
|    <template>
|      #document-fragment
|       <div>
Comment 1 Rafael Weinstein 2012-10-09 18:42:41 UTC
http://dvcs.w3.org/hg/webcomponents/rev/ce87f61feffe