Commit 136a25c2 authored by namusyaka's avatar namusyaka Committed by Brad Fitzpatrick

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/94837Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 2e7f24ac
...@@ -21,10 +21,10 @@ const ( ...@@ -21,10 +21,10 @@ const (
scopeMarkerNode scopeMarkerNode
) )
// TODO(namusyaka): These elements should be updated. // Section 12.2.4.3 says "The markers are inserted when entering applet,
// Section 12.2.4.3 says "The markers are inserted when entering applet // object, marquee, template, td, th, and caption elements, and are used
// elements, buttons, object elements, marquees, table cells, and table // to prevent formatting from "leaking" into applet, object, marquee,
// captions, and are used to prevent formatting from 'leaking'". // template, td, th, and caption elements".
var scopeMarker = Node{Type: scopeMarkerNode} var scopeMarker = Node{Type: scopeMarkerNode}
// A Node consists of a NodeType and some Data (tag name for element nodes, // A Node consists of a NodeType and some Data (tag name for element nodes,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment