Skip to content

Commit 136a25c

Browse files
namusyakabradfitz
authored andcommitted
html: update quotes about the list of active formatting elements
See https://html.spec.whatwg.org/multipage/parsing.html#the-list-of-active-formatting-elements Updates golang/go#23071 Change-Id: I015c394ed34d721e9e4a4d3e797d06d750c1864e Reviewed-on: https://go-review.googlesource.com/94837 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 2e7f24a commit 136a25c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

html/node.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ const (
2121
scopeMarkerNode
2222
)
2323

24-
// TODO(namusyaka): These elements should be updated.
25-
// Section 12.2.4.3 says "The markers are inserted when entering applet
26-
// elements, buttons, object elements, marquees, table cells, and table
27-
// captions, and are used to prevent formatting from 'leaking'".
24+
// Section 12.2.4.3 says "The markers are inserted when entering applet,
25+
// object, marquee, template, td, th, and caption elements, and are used
26+
// to prevent formatting from "leaking" into applet, object, marquee,
27+
// template, td, th, and caption elements".
2828
var scopeMarker = Node{Type: scopeMarkerNode}
2929

3030
// A Node consists of a NodeType and some Data (tag name for element nodes,

0 commit comments

Comments
 (0)