Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Issue 2462143003: [Spec compat] form element pointer should be set iff no template element on the stack of open eleme… (Closed)

Created:
4 years, 1 month ago by kouhei (in TOK)
Modified:
4 years, 1 month ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch, loading-reviews+parser_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Spec compat] form element pointer should be set iff no template element on the stack of open elements Before this CL, the form element pointer was set iff *template element was the owner element of the current node*, which is wrong. After this CL, the form element pointer is set iff *template element is on the stack of open elements*, which follows the spec: https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody "Insert an HTML element for the token, and, if there is no template element on the stack of open elements, set the form element pointer to point to the element created." BUG=660671 Committed: https://crrev.com/c69c00516d0b3092098439e7d2940005468dbf3b Cr-Commit-Position: refs/heads/master@{#430573}

Patch Set 1 #

Patch Set 2 : mod the test case a bit #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/parser/form-in-template.html View 1 1 chunk +10 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
kouhei (in TOK)
4 years, 1 month ago (2016-11-01 03:45:12 UTC) #2
kaizhu256
https://codereview.chromium.org/2462143003/diff/20001/third_party/WebKit/LayoutTests/fast/parser/form-in-template.html File third_party/WebKit/LayoutTests/fast/parser/form-in-template.html (right): https://codereview.chromium.org/2462143003/diff/20001/third_party/WebKit/LayoutTests/fast/parser/form-in-template.html#newcode5 third_party/WebKit/LayoutTests/fast/parser/form-in-template.html:5: let snippet = '<a><form></form><div></div></a>'; the test-case can be generalized ...
4 years, 1 month ago (2016-11-03 01:23:36 UTC) #4
kouhei (in TOK)
dominicc: friendly ping
4 years, 1 month ago (2016-11-04 05:20:15 UTC) #5
kaizhu256
On 2016/11/04 05:20:15, kouhei wrote: > dominicc: friendly ping yea, this a high priority bugfix ...
4 years, 1 month ago (2016-11-07 12:13:37 UTC) #6
dominicc (has gone to gerrit)
lgtm lgtm Sorry I missed this. Nice test!
4 years, 1 month ago (2016-11-08 08:40:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2462143003/20001
4 years, 1 month ago (2016-11-08 08:41:00 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-08 11:03:15 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 11:05:14 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c69c00516d0b3092098439e7d2940005468dbf3b
Cr-Commit-Position: refs/heads/master@{#430573}

Powered by Google App Engine
This is Rietveld 408576698