Kunpei Sakai
faa378e6db
html: handle end-of-file cases correctly
...
Updates golang/go#23071
Change-Id: I02a61109b5738759a9ee3e448981778de7d0ff62
Reviewed-on: https://go-review.googlesource.com/130795
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-08-24 04:51:31 +00:00
Kunpei Sakai
aaf6012214
html: remove special procedure for <template> in frameset im
...
See more details: https://bugs.chromium.org/p/chromium/issues/detail?id=829668
Updates golang/go#23071
Change-Id: Ib9c963269f814c3f21d3784754729df57dcc8f90
Reviewed-on: https://go-review.googlesource.com/123776
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-08-16 10:28:01 +00:00
Kunpei Sakai
c394268923
html: don't ignore token when current token is not <template>
...
Updates golang/go#23071
Change-Id: I36b0ee58f61b7de25730e0fb082eeb7ef2787594
Reviewed-on: https://go-review.googlesource.com/123920
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-08-11 02:16:10 +00:00
Kunpei Sakai
32a936f463
html: don't ignore the token if the current node is form
...
See: https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inbody
Fixes golang/go#25703
Updates golang/go#23071
Change-Id: I09db4c2d07a242cb45c3e37b499c609809dd0b83
Reviewed-on: https://go-review.googlesource.com/120658
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-07-06 05:13:57 +00:00
Kunpei Sakai
d41e817464
html: handle rb and rtc elements
...
Updates golang/go#23071
Change-Id: Ifef79e077801422eb273af3e5a541c85c63bfce4
Reviewed-on: https://go-review.googlesource.com/107575
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-04-18 06:21:11 +00:00
Kunpei Sakai
8d16fa6dc9
html: avoid invalid nil pointer access
...
Updates golang/go#23071
Change-Id: I73d7302c5bde4441aa824093fdcce52e8bb51e31
Reviewed-on: https://go-review.googlesource.com/107379
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com >
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-04-17 00:37:50 +00:00
namusyaka
500e7a4f95
html: add "in template" insertion mode support
...
See:
https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-intemplate
Updates golang/go#23071
Change-Id: I36529b7cf5d2adf159ed5c471fba9f67890b7eb9
Reviewed-on: https://go-review.googlesource.com/94838
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-04-15 21:43:07 +00:00
namusyaka
2e7f24ace3
html: update section numbers
...
Updates golang/go#23071
See https://html.spec.whatwg.org/multipage/
Change-Id: I1bde6e07ae9270ba7b320474b9bec8ec09a79f16
Reviewed-on: https://go-review.googlesource.com/94355
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2018-02-16 11:01:04 +00:00
Dmitry Savintsev
3d87fd621c
x/net/html: Sync the html parser and atom with the current whatwg spec
...
The current documentation as well as set of atoms and attributes has
gotten slightly out of sync with the current state of the WHATWG
html5 specification. The change adds and removes several of the atoms
and attributes, updates the documentation (such as steps numbering in
inBodyEndTagFormatting) and modifies the spec URLs to https://
Change-Id: I6dfa52785858c1521301b20b1e585e19a08b1e98
Reviewed-on: https://go-review.googlesource.com/6173
Reviewed-by: Nigel Tao <nigeltao@golang.org >
2015-03-03 04:37:39 +00:00
Andrew Gerrand
fbe893ddcd
go.net: use golang.org/x/... import paths
...
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/167030043
2014-11-10 09:04:43 +11:00
Frederick Kelly Mayle III
5755bc4e75
go.net/html: Fix comment handling for "in select" insertion mode
...
LGTM=andybalholm, nigeltao
R=golang-codereviews, gobot, nigeltao, andybalholm
CC=golang-codereviews
https://golang.org/cl/93680045
2014-06-12 11:53:57 +10:00
Nigel Tao
ea127e889c
go.net/html: move exp/html and exp/html/atom here to the go.net
...
sub-repo.
It's a straight copy, except for these modifications:
* "exp/html" and "exp/html/atom" imports were renamed, and
* the "TODO... When this package moves out of exp" comment was
deleted from atom/atom.go.
The matching change is at https://golang.org/cl/7317043
The rationale was discussed at
https://groups.google.com/d/topic/golang-nuts/Qq5hTQyPuLg/discussion
R=adg, remyoudompheng, dave
CC=golang-dev
https://golang.org/cl/7310063
2013-02-11 11:55:20 +11:00