Bug 109090

Summary: [HTMLTemplateElement] Non </template> end tags should be ignored in "template contents" insertion mode.
Product: WebKit Reporter: Rafael Weinstein <rafaelw>
Component: DOMAssignee: Rafael Weinstein <rafaelw>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, adamk, eric, ojan.autocc, ojan, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 103547    
Attachments:
Description Flags
Patch
none
Patch for landing none

Rafael Weinstein
Reported 2013-02-06 13:49:05 PST
Otherwise, the current context gets set to "in body" when it should remain undecided.
Attachments
Patch (2.73 KB, patch)
2013-02-06 13:51 PST, Rafael Weinstein
no flags
Patch for landing (2.97 KB, patch)
2013-02-06 14:40 PST, Rafael Weinstein
no flags
Rafael Weinstein
Comment 1 2013-02-06 13:51:39 PST
Adam Barth
Comment 3 2013-02-06 13:55:44 PST
Comment on attachment 186913 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=186913&action=review > LayoutTests/html5lib/resources/template.dat:960 > +<body><template></div><div>Foo</div><template></template><tr></tr> Should we add a test for <body><div><template></div><tr><td>Foo</td></tr></template> as well?
Rafael Weinstein
Comment 4 2013-02-06 14:39:59 PST
Comment on attachment 186913 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=186913&action=review >> LayoutTests/html5lib/resources/template.dat:960 >> +<body><template></div><div>Foo</div><template></template><tr></tr> > > Should we add a test for > > <body><div><template></div><tr><td>Foo</td></tr></template> > > as well? good idea. done.
Rafael Weinstein
Comment 5 2013-02-06 14:40:15 PST
Created attachment 186924 [details] Patch for landing
WebKit Review Bot
Comment 6 2013-02-06 16:16:59 PST
Comment on attachment 186924 [details] Patch for landing Clearing flags on attachment: 186924 Committed r142049: <http://trac.webkit.org/changeset/142049>
WebKit Review Bot
Comment 7 2013-02-06 16:17:03 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.