Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
834edc42
Commit
834edc42
authored
Jun 15, 2012
by
Nigel Tao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exp/html/atom: add some more atoms.
R=r, dsymonds CC=golang-dev
https://golang.org/cl/6298085
parent
98526142
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
556 additions
and
536 deletions
+556
-536
src/pkg/exp/html/atom/gen.go
src/pkg/exp/html/atom/gen.go
+5
-0
src/pkg/exp/html/atom/table.go
src/pkg/exp/html/atom/table.go
+546
-536
src/pkg/exp/html/atom/table_test.go
src/pkg/exp/html/atom/table_test.go
+5
-0
No files found.
src/pkg/exp/html/atom/gen.go
View file @
834edc42
...
@@ -599,6 +599,7 @@ var extra = []string{
...
@@ -599,6 +599,7 @@ var extra = []string{
"basefont"
,
"basefont"
,
"bgsound"
,
"bgsound"
,
"big"
,
"big"
,
"blink"
,
"center"
,
"center"
,
"color"
,
"color"
,
"desc"
,
"desc"
,
...
@@ -624,8 +625,12 @@ var extra = []string{
...
@@ -624,8 +625,12 @@ var extra = []string{
"noembed"
,
"noembed"
,
"noframes"
,
"noframes"
,
"plaintext"
,
"plaintext"
,
"prompt"
,
"public"
,
"spacer"
,
"strike"
,
"strike"
,
"svg"
,
"svg"
,
"system"
,
"tt"
,
"tt"
,
"xmp"
,
"xmp"
,
}
}
src/pkg/exp/html/atom/table.go
View file @
834edc42
...
@@ -8,323 +8,328 @@ const (
...
@@ -8,323 +8,328 @@ const (
Accept
Atom
=
0x2106
Accept
Atom
=
0x2106
AcceptCharset
Atom
=
0x210e
AcceptCharset
Atom
=
0x210e
Accesskey
Atom
=
0x3309
Accesskey
Atom
=
0x3309
Action
Atom
=
0x21
9
06
Action
Atom
=
0x21
b
06
Address
Atom
=
0x5d
1
07
Address
Atom
=
0x5d
5
07
Align
Atom
=
0x1105
Align
Atom
=
0x1105
Alt
Atom
=
0x4503
Alt
Atom
=
0x4503
Annotation
Atom
=
0x18
7
0a
Annotation
Atom
=
0x18
d
0a
AnnotationXml
Atom
=
0x18
7
0e
AnnotationXml
Atom
=
0x18
d
0e
Applet
Atom
=
0x2d
f
06
Applet
Atom
=
0x2d
1
06
Area
Atom
=
0x3
33
04
Area
Atom
=
0x3
18
04
Article
Atom
=
0x3
bc
07
Article
Atom
=
0x3
99
07
Aside
Atom
=
0x4f05
Aside
Atom
=
0x4f05
Async
Atom
=
0x9305
Async
Atom
=
0x9305
Audio
Atom
=
0xaf05
Audio
Atom
=
0xaf05
Autocomplete
Atom
=
0xd
3
0c
Autocomplete
Atom
=
0xd
5
0c
Autofocus
Atom
=
0x
df
09
Autofocus
Atom
=
0x
e1
09
Autoplay
Atom
=
0x
fa
08
Autoplay
Atom
=
0x
10c
08
B
Atom
=
0x101
B
Atom
=
0x101
Base
Atom
=
0x1
02
04
Base
Atom
=
0x1
14
04
Basefont
Atom
=
0x1
02
08
Basefont
Atom
=
0x1
14
08
Bdi
Atom
=
0x1a03
Bdi
Atom
=
0x1a03
Bdo
Atom
=
0x11303
Bdo
Atom
=
0x12503
Bgsound
Atom
=
0x12607
Bgsound
Atom
=
0x13807
Big
Atom
=
0x14303
Big
Atom
=
0x14403
Blockquote
Atom
=
0x1460a
Blink
Atom
=
0x14705
Blockquote
Atom
=
0x14c0a
Body
Atom
=
0x2f04
Body
Atom
=
0x2f04
Border
Atom
=
0x15
0
06
Border
Atom
=
0x15
6
06
Br
Atom
=
0x202
Br
Atom
=
0x202
Button
Atom
=
0x15
6
06
Button
Atom
=
0x15
c
06
Canvas
Atom
=
0x4b06
Canvas
Atom
=
0x4b06
Caption
Atom
=
0x1
de
07
Caption
Atom
=
0x1
e0
07
Center
Atom
=
0x2
ed
06
Center
Atom
=
0x2
df
06
Challenge
Atom
=
0x23
c
09
Challenge
Atom
=
0x23
e
09
Charset
Atom
=
0x2807
Charset
Atom
=
0x2807
Checked
Atom
=
0x3
1a
07
Checked
Atom
=
0x3
3f
07
Cite
Atom
=
0x9704
Cite
Atom
=
0x9704
Class
Atom
=
0x3
5a
05
Class
Atom
=
0x3
d9
05
Code
Atom
=
0x16
9
04
Code
Atom
=
0x16
f
04
Col
Atom
=
0x17
0
03
Col
Atom
=
0x17
6
03
Colgroup
Atom
=
0x17
0
08
Colgroup
Atom
=
0x17
6
08
Color
Atom
=
0x1
7d
05
Color
Atom
=
0x1
83
05
Cols
Atom
=
0x18
2
04
Cols
Atom
=
0x18
8
04
Colspan
Atom
=
0x18
2
07
Colspan
Atom
=
0x18
8
07
Command
Atom
=
0x19
9
07
Command
Atom
=
0x19
b
07
Content
Atom
=
0x
2b3
07
Content
Atom
=
0x
42c
07
Contenteditable
Atom
=
0x
2b3
0f
Contenteditable
Atom
=
0x
42c
0f
Contextmenu
Atom
=
0x3
6b
0b
Contextmenu
Atom
=
0x3
48
0b
Controls
Atom
=
0x1a
c
08
Controls
Atom
=
0x1a
e
08
Coords
Atom
=
0x1b
8
06
Coords
Atom
=
0x1b
a
06
Crossorigin
Atom
=
0x1c
2
0b
Crossorigin
Atom
=
0x1c
4
0b
Data
Atom
=
0x44
a
04
Data
Atom
=
0x44
3
04
Datalist
Atom
=
0x44
a
08
Datalist
Atom
=
0x44
3
08
Datetime
Atom
=
0x25
9
08
Datetime
Atom
=
0x25
b
08
Dd
Atom
=
0x28
6
02
Dd
Atom
=
0x28
8
02
Default
Atom
=
0x5207
Default
Atom
=
0x5207
Defer
Atom
=
0x1
6b
05
Defer
Atom
=
0x1
71
05
Del
Atom
=
0x4d
d
03
Del
Atom
=
0x4d
6
03
Desc
Atom
=
0x4804
Desc
Atom
=
0x4804
Details
Atom
=
0x6507
Details
Atom
=
0x6507
Dfn
Atom
=
0x8303
Dfn
Atom
=
0x8303
Dialog
Atom
=
0x1b06
Dialog
Atom
=
0x1b06
Dir
Atom
=
0x9d03
Dir
Atom
=
0x9d03
Dirname
Atom
=
0x9d07
Dirname
Atom
=
0x9d07
Disabled
Atom
=
0x
c4
08
Disabled
Atom
=
0x
100
08
Div
Atom
=
0x
cb
03
Div
Atom
=
0x
107
03
Dl
Atom
=
0x1
2c
02
Dl
Atom
=
0x1
3e
02
Download
Atom
=
0x4
1f
08
Download
Atom
=
0x4
09
08
Draggable
Atom
=
0x1
9f
09
Draggable
Atom
=
0x1
a1
09
Dropzone
Atom
=
0x3
c5
08
Dropzone
Atom
=
0x3
a2
08
Dt
Atom
=
0x4e
b
02
Dt
Atom
=
0x4e
4
02
Em
Atom
=
0x7f02
Em
Atom
=
0x7f02
Embed
Atom
=
0x7f05
Embed
Atom
=
0x7f05
Enctype
Atom
=
0x2
2e
07
Enctype
Atom
=
0x2
30
07
Face
Atom
=
0x2
eb
04
Face
Atom
=
0x2
dd
04
Fieldset
Atom
=
0x1d
3
08
Fieldset
Atom
=
0x1d
5
08
Figcaption
Atom
=
0x1d
b
0a
Figcaption
Atom
=
0x1d
d
0a
Figure
Atom
=
0x1
ef
06
Figure
Atom
=
0x1
f1
06
Font
Atom
=
0x1
06
04
Font
Atom
=
0x1
18
04
Footer
Atom
=
0x5906
Footer
Atom
=
0x5906
For
Atom
=
0x1f
b
03
For
Atom
=
0x1f
d
03
ForeignObject
Atom
=
0x1f
b
0d
ForeignObject
Atom
=
0x1f
d
0d
Foreignobject
Atom
=
0x20
8
0d
Foreignobject
Atom
=
0x20
a
0d
Form
Atom
=
0x21
5
04
Form
Atom
=
0x21
7
04
Formaction
Atom
=
0x21
5
0a
Formaction
Atom
=
0x21
7
0a
Formenctype
Atom
=
0x22
a
0b
Formenctype
Atom
=
0x22
c
0b
Formmethod
Atom
=
0x24
5
0a
Formmethod
Atom
=
0x24
7
0a
Formnovalidate
Atom
=
0x2
4f
0e
Formnovalidate
Atom
=
0x2
51
0e
Formtarget
Atom
=
0x26
4
0a
Formtarget
Atom
=
0x26
6
0a
Frame
Atom
=
0x8705
Frame
Atom
=
0x8705
Frameset
Atom
=
0x8708
Frameset
Atom
=
0x8708
H1
Atom
=
0x1
24
02
H1
Atom
=
0x1
36
02
H2
Atom
=
0x29
4
02
H2
Atom
=
0x29
6
02
H3
Atom
=
0x2
d3
02
H3
Atom
=
0x2
c5
02
H4
Atom
=
0x3
29
02
H4
Atom
=
0x3
0e
02
H5
Atom
=
0x4e
d
02
H5
Atom
=
0x4e
6
02
H6
Atom
=
0x2
6e
02
H6
Atom
=
0x2
70
02
Head
Atom
=
0x
30f
04
Head
Atom
=
0x
2fa
04
Header
Atom
=
0x
30f
06
Header
Atom
=
0x
2fa
06
Headers
Atom
=
0x
30f
07
Headers
Atom
=
0x
2fa
07
Height
Atom
=
0x27
0
06
Height
Atom
=
0x27
2
06
Hgroup
Atom
=
0x27
8
06
Hgroup
Atom
=
0x27
a
06
Hidden
Atom
=
0x28
4
06
Hidden
Atom
=
0x28
6
06
High
Atom
=
0x29
1
04
High
Atom
=
0x29
3
04
Hr
Atom
=
0x1
1f
02
Hr
Atom
=
0x1
31
02
Href
Atom
=
0x29
6
04
Href
Atom
=
0x29
8
04
Hreflang
Atom
=
0x29
6
08
Hreflang
Atom
=
0x29
8
08
Html
Atom
=
0x27
4
04
Html
Atom
=
0x27
6
04
HttpEquiv
Atom
=
0x2
9e
0a
HttpEquiv
Atom
=
0x2
a0
0a
I
Atom
=
0x601
I
Atom
=
0x601
Icon
Atom
=
0x
2b2
04
Icon
Atom
=
0x
42b
04
Id
Atom
=
0x5102
Id
Atom
=
0x5102
Iframe
Atom
=
0x2
c2
06
Iframe
Atom
=
0x2
b4
06
Image
Atom
=
0x2
c8
05
Image
Atom
=
0x2
ba
05
Img
Atom
=
0x2
cd
03
Img
Atom
=
0x2
bf
03
Inert
Atom
=
0x4c
8
05
Inert
Atom
=
0x4c
1
05
Input
Atom
=
0x
40c
05
Input
Atom
=
0x
3f6
05
Ins
Atom
=
0x1c
b
03
Ins
Atom
=
0x1c
d
03
Isindex
Atom
=
0x2
d5
07
Isindex
Atom
=
0x2
c7
07
Ismap
Atom
=
0x2
dc
05
Ismap
Atom
=
0x2
ce
05
Itemid
Atom
=
0x9806
Itemid
Atom
=
0x9806
Itemprop
Atom
=
0x57
f
08
Itemprop
Atom
=
0x57
e
08
Itemref
Atom
=
0x2
e5
07
Itemref
Atom
=
0x2
d7
07
Itemscope
Atom
=
0x2
f3
09
Itemscope
Atom
=
0x2
e5
09
Itemtype
Atom
=
0x2
fd
08
Itemtype
Atom
=
0x2
ef
08
Kbd
Atom
=
0x1903
Kbd
Atom
=
0x1903
Keygen
Atom
=
0x3906
Keygen
Atom
=
0x3906
Keytype
Atom
=
0x
434
07
Keytype
Atom
=
0x
512
07
Kind
Atom
=
0x
c1
04
Kind
Atom
=
0x
fd
04
Label
Atom
=
0xba05
Label
Atom
=
0xba05
Lang
Atom
=
0x29
a
04
Lang
Atom
=
0x29
c
04
Legend
Atom
=
0x1a
6
06
Legend
Atom
=
0x1a
8
06
Li
Atom
=
0x1202
Li
Atom
=
0x1202
Link
Atom
=
0x
be
04
Link
Atom
=
0x
148
04
List
Atom
=
0x44
e
04
List
Atom
=
0x44
7
04
Listing
Atom
=
0x44
e
07
Listing
Atom
=
0x44
7
07
Loop
Atom
=
0x
12d
04
Loop
Atom
=
0x
be
04
Low
Atom
=
0x1
94
03
Low
Atom
=
0x1
3f
03
Malignmark
Atom
=
0x100a
Malignmark
Atom
=
0x100a
Manifest
Atom
=
0x5b
7
08
Manifest
Atom
=
0x5b
6
08
Map
Atom
=
0x2d
e
03
Map
Atom
=
0x2d
0
03
Mark
Atom
=
0x1604
Mark
Atom
=
0x1604
Marquee
Atom
=
0x
305
07
Marquee
Atom
=
0x
5f2
07
Math
Atom
=
0x
30c
04
Math
Atom
=
0x
2f7
04
Max
Atom
=
0x3
21
03
Max
Atom
=
0x3
06
03
Maxlength
Atom
=
0x3
21
09
Maxlength
Atom
=
0x3
06
09
Media
Atom
=
0xa205
Media
Atom
=
0xa205
Mediagroup
Atom
=
0xa20a
Mediagroup
Atom
=
0xa20a
Menu
Atom
=
0x3
72
04
Menu
Atom
=
0x3
4f
04
Meta
Atom
=
0x45
d
04
Meta
Atom
=
0x45
6
04
Meter
Atom
=
0x2
5f
05
Meter
Atom
=
0x2
61
05
Method
Atom
=
0x24
9
06
Method
Atom
=
0x24
b
06
Mglyph
Atom
=
0x2c
e
06
Mglyph
Atom
=
0x2c
0
06
Mi
Atom
=
0x9b02
Mi
Atom
=
0x9b02
Min
Atom
=
0x3
2b
03
Min
Atom
=
0x3
10
03
Mn
Atom
=
0x25
2
02
Mn
Atom
=
0x25
4
02
Mo
Atom
=
0x4
81
02
Mo
Atom
=
0x4
7a
02
Ms
Atom
=
0x2
f6
02
Ms
Atom
=
0x2
e8
02
Mtext
Atom
=
0x3
2e
05
Mtext
Atom
=
0x3
13
05
Multiple
Atom
=
0x3
3c
08
Multiple
Atom
=
0x3
21
08
Muted
Atom
=
0x3
44
05
Muted
Atom
=
0x3
29
05
Name
Atom
=
0xa004
Name
Atom
=
0xa004
Nav
Atom
=
0x3e03
Nav
Atom
=
0x3e03
Nobr
Atom
=
0x7404
Nobr
Atom
=
0x7404
Noembed
Atom
=
0x7d07
Noembed
Atom
=
0x7d07
Noframes
Atom
=
0x8508
Noframes
Atom
=
0x8508
Noscript
Atom
=
0x28
9
08
Noscript
Atom
=
0x28
b
08
Novalidate
Atom
=
0x25
3
0a
Novalidate
Atom
=
0x25
5
0a
Object
Atom
=
0x2
0f
06
Object
Atom
=
0x2
11
06
Ol
Atom
=
0x
f5
02
Ol
Atom
=
0x
cd
02
Onabort
Atom
=
0x1
5a
07
Onabort
Atom
=
0x1
60
07
Onafterprint
Atom
=
0x1e
3
0c
Onafterprint
Atom
=
0x1e
5
0c
Onbeforeprint
Atom
=
0x21
d
0d
Onbeforeprint
Atom
=
0x21
f
0d
Onbeforeunload
Atom
=
0x5c
5
0e
Onbeforeunload
Atom
=
0x5c
9
0e
Onblur
Atom
=
0x3
63
06
Onblur
Atom
=
0x3
e2
06
Oncancel
Atom
=
0xb308
Oncancel
Atom
=
0xb308
Oncanplay
Atom
=
0x1
15
09
Oncanplay
Atom
=
0x1
27
09
Oncanplaythrough
Atom
=
0x1
15
10
Oncanplaythrough
Atom
=
0x1
27
10
Onchange
Atom
=
0x3
db
08
Onchange
Atom
=
0x3
b8
08
Onclick
Atom
=
0x2a
b
07
Onclick
Atom
=
0x2a
d
07
Onclose
Atom
=
0x3
49
07
Onclose
Atom
=
0x3
2e
07
Oncontextmenu
Atom
=
0x3
69
0d
Oncontextmenu
Atom
=
0x3
46
0d
Oncuechange
Atom
=
0x3
76
0b
Oncuechange
Atom
=
0x3
53
0b
Ondblclick
Atom
=
0x3
81
0a
Ondblclick
Atom
=
0x3
5e
0a
Ondrag
Atom
=
0x3
8b
06
Ondrag
Atom
=
0x3
68
06
Ondragend
Atom
=
0x3
8b
09
Ondragend
Atom
=
0x3
68
09
Ondragenter
Atom
=
0x3
94
0b
Ondragenter
Atom
=
0x3
71
0b
Ondragleave
Atom
=
0x3
9f
0b
Ondragleave
Atom
=
0x3
7c
0b
Ondragover
Atom
=
0x3
aa
0a
Ondragover
Atom
=
0x3
87
0a
Ondragstart
Atom
=
0x3
b4
0b
Ondragstart
Atom
=
0x3
91
0b
Ondrop
Atom
=
0x3
c3
06
Ondrop
Atom
=
0x3
a0
06
Ondurationchange
Atom
=
0x3
d3
10
Ondurationchange
Atom
=
0x3
b0
10
Onemptied
Atom
=
0x3
ca
09
Onemptied
Atom
=
0x3
a7
09
Onended
Atom
=
0x3
e3
07
Onended
Atom
=
0x3
c0
07
Onerror
Atom
=
0x3
ea
07
Onerror
Atom
=
0x3
c7
07
Onfocus
Atom
=
0x3
f1
07
Onfocus
Atom
=
0x3
ce
07
Onhashchange
Atom
=
0x3
fe
0c
Onhashchange
Atom
=
0x3
e8
0c
Oninput
Atom
=
0x
40a
07
Oninput
Atom
=
0x
3f4
07
Oninvalid
Atom
=
0x
411
09
Oninvalid
Atom
=
0x
3fb
09
Onkeydown
Atom
=
0x4
1a
09
Onkeydown
Atom
=
0x4
04
09
Onkeypress
Atom
=
0x4
27
0a
Onkeypress
Atom
=
0x4
11
0a
Onkeyup
Atom
=
0x4
3b
07
Onkeyup
Atom
=
0x4
21
07
Onload
Atom
=
0x4
42
06
Onload
Atom
=
0x4
3b
06
Onloadeddata
Atom
=
0x4
42
0c
Onloadeddata
Atom
=
0x4
3b
0c
Onloadedmetadata
Atom
=
0x4
55
10
Onloadedmetadata
Atom
=
0x4
4e
10
Onloadstart
Atom
=
0x46
b
0b
Onloadstart
Atom
=
0x46
4
0b
Onmessage
Atom
=
0x4
76
09
Onmessage
Atom
=
0x4
6f
09
Onmousedown
Atom
=
0x47
f
0b
Onmousedown
Atom
=
0x47
8
0b
Onmousemove
Atom
=
0x48
a
0b
Onmousemove
Atom
=
0x48
3
0b
Onmouseout
Atom
=
0x4
95
0a
Onmouseout
Atom
=
0x4
8e
0a
Onmouseover
Atom
=
0x4
a2
0b
Onmouseover
Atom
=
0x4
9b
0b
Onmouseup
Atom
=
0x4a
d
09
Onmouseup
Atom
=
0x4a
6
09
Onmousewheel
Atom
=
0x4
b6
0c
Onmousewheel
Atom
=
0x4
af
0c
Onoffline
Atom
=
0x4
c2
09
Onoffline
Atom
=
0x4
bb
09
Ononline
Atom
=
0x4c
d
08
Ononline
Atom
=
0x4c
6
08
Onpagehide
Atom
=
0x4
d5
0a
Onpagehide
Atom
=
0x4
ce
0a
Onpageshow
Atom
=
0x4
e0
0a
Onpageshow
Atom
=
0x4
d9
0a
Onpause
Atom
=
0x4e
f
07
Onpause
Atom
=
0x4e
8
07
Onplay
Atom
=
0x4f
9
06
Onplay
Atom
=
0x4f
2
06
Onplaying
Atom
=
0x4f
9
09
Onplaying
Atom
=
0x4f
2
09
Onpopstate
Atom
=
0x
502
0a
Onpopstate
Atom
=
0x
4fb
0a
Onprogress
Atom
=
0x50
c
0a
Onprogress
Atom
=
0x50
5
0a
Onratechange
Atom
=
0x51
b
0c
Onratechange
Atom
=
0x51
9
0c
Onreset
Atom
=
0x52
7
07
Onreset
Atom
=
0x52
5
07
Onresize
Atom
=
0x52
e
08
Onresize
Atom
=
0x52
c
08
Onscroll
Atom
=
0x53
b
08
Onscroll
Atom
=
0x53
a
08
Onseeked
Atom
=
0x54
3
08
Onseeked
Atom
=
0x54
2
08
Onseeking
Atom
=
0x54
b
09
Onseeking
Atom
=
0x54
a
09
Onselect
Atom
=
0x55
4
08
Onselect
Atom
=
0x55
3
08
Onshow
Atom
=
0x55
e
06
Onshow
Atom
=
0x55
d
06
Onstalled
Atom
=
0x56
7
09
Onstalled
Atom
=
0x56
6
09
Onstorage
Atom
=
0x5
70
09
Onstorage
Atom
=
0x5
6f
09
Onsubmit
Atom
=
0x57
9
08
Onsubmit
Atom
=
0x57
8
08
Onsuspend
Atom
=
0x58
9
09
Onsuspend
Atom
=
0x58
8
09
Ontimeupdate
Atom
=
0x1
07
0c
Ontimeupdate
Atom
=
0x1
19
0c
Onunload
Atom
=
0x59
2
08
Onunload
Atom
=
0x59
1
08
Onvolumechange
Atom
=
0x59
a
0e
Onvolumechange
Atom
=
0x59
9
0e
Onwaiting
Atom
=
0x5a
8
09
Onwaiting
Atom
=
0x5a
7
09
Open
Atom
=
0x58
5
04
Open
Atom
=
0x58
4
04
Optgroup
Atom
=
0x
12f
08
Optgroup
Atom
=
0x
c0
08
Optimum
Atom
=
0x5b
1
07
Optimum
Atom
=
0x5b
0
07
Option
Atom
=
0x5c
1
06
Option
Atom
=
0x5c
5
06
Output
Atom
=
0x49
c
06
Output
Atom
=
0x49
5
06
P
Atom
=
0xc01
P
Atom
=
0xc01
Param
Atom
=
0xc05
Param
Atom
=
0xc05
Pattern
Atom
=
0x6e07
Pattern
Atom
=
0x6e07
Ping
Atom
=
0xab04
Ping
Atom
=
0xab04
Placeholder
Atom
=
0xef0b
Placeholder
Atom
=
0xc70b
Plaintext
Atom
=
0x13609
Plaintext
Atom
=
0xf109
Poster
Atom
=
0x17706
Poster
Atom
=
0x17d06
Pre
Atom
=
0x27d03
Pre
Atom
=
0x27f03
Preload
Atom
=
0x27d07
Preload
Atom
=
0x27f07
Progress
Atom
=
0x50e08
Progress
Atom
=
0x50708
Q
Atom
=
0x14b01
Prompt
Atom
=
0x5bf06
Public
Atom
=
0x42706
Q
Atom
=
0x15101
Radiogroup
Atom
=
0x30a
Radiogroup
Atom
=
0x30a
Readonly
Atom
=
0x3
34
08
Readonly
Atom
=
0x3
19
08
Rel
Atom
=
0x2
7e
03
Rel
Atom
=
0x2
80
03
Required
Atom
=
0x1f
3
08
Required
Atom
=
0x1f
5
08
Reversed
Atom
=
0x5e08
Reversed
Atom
=
0x5e08
Rows
Atom
=
0x7704
Rows
Atom
=
0x7704
Rowspan
Atom
=
0x7707
Rowspan
Atom
=
0x7707
Rp
Atom
=
0x1e
9
02
Rp
Atom
=
0x1e
b
02
Rt
Atom
=
0x1
5f
02
Rt
Atom
=
0x1
65
02
Ruby
Atom
=
0x
cf
04
Ruby
Atom
=
0x
d1
04
S
Atom
=
0x2c01
S
Atom
=
0x2c01
Samp
Atom
=
0x6b04
Samp
Atom
=
0x6b04
Sandbox
Atom
=
0xe707
Sandbox
Atom
=
0xe907
Scope
Atom
=
0x2f705
Scope
Atom
=
0x2e905
Scoped
Atom
=
0x2f706
Scoped
Atom
=
0x2e906
Script
Atom
=
0x28b06
Script
Atom
=
0x28d06
Seamless
Atom
=
0x34e08
Seamless
Atom
=
0x33308
Section
Atom
=
0x35e07
Section
Atom
=
0x3dd07
Select
Atom
=
0x55606
Select
Atom
=
0x55506
Selected
Atom
=
0x55608
Selected
Atom
=
0x55508
Shape
Atom
=
0x1b305
Shape
Atom
=
0x1b505
Size
Atom
=
0x53204
Size
Atom
=
0x53004
Sizes
Atom
=
0x53205
Sizes
Atom
=
0x53005
Small
Atom
=
0x1bd05
Small
Atom
=
0x1bf05
Source
Atom
=
0x1cd06
Source
Atom
=
0x1cf06
Spacer
Atom
=
0x30006
Span
Atom
=
0x7a04
Span
Atom
=
0x7a04
Spellcheck
Atom
=
0x3150a
Spellcheck
Atom
=
0x33a0a
Src
Atom
=
0x35503
Src
Atom
=
0x3d403
Srcdoc
Atom
=
0x35506
Srcdoc
Atom
=
0x3d406
Srclang
Atom
=
0x3f707
Srclang
Atom
=
0x41a07
Start
Atom
=
0x3ba05
Start
Atom
=
0x39705
Step
Atom
=
0x5bd04
Step
Atom
=
0x5bc04
Strike
Atom
=
0x43006
Strike
Atom
=
0x50e06
Strong
Atom
=
0x51506
Strong
Atom
=
0x53406
Style
Atom
=
0x53605
Style
Atom
=
0x5db05
Sub
Atom
=
0x57b03
Sub
Atom
=
0x57a03
Summary
Atom
=
0x5d707
Summary
Atom
=
0x5e007
Sup
Atom
=
0x5de03
Sup
Atom
=
0x5e703
Svg
Atom
=
0x5e103
Svg
Atom
=
0x5ea03
Tabindex
Atom
=
0x46308
System
Atom
=
0x5ed06
Table
Atom
=
0x2bd05
Tabindex
Atom
=
0x45c08
Target
Atom
=
0x26806
Table
Atom
=
0x43605
Target
Atom
=
0x26a06
Tbody
Atom
=
0x2e05
Tbody
Atom
=
0x2e05
Td
Atom
=
0x4702
Td
Atom
=
0x4702
Textarea
Atom
=
0x3
2f
08
Textarea
Atom
=
0x3
14
08
Tfoot
Atom
=
0x5805
Tfoot
Atom
=
0x5805
Th
Atom
=
0x1
1e
02
Th
Atom
=
0x1
30
02
Thead
Atom
=
0x
30e
05
Thead
Atom
=
0x
2f9
05
Time
Atom
=
0x1
09
04
Time
Atom
=
0x1
1b
04
Title
Atom
=
0x8e05
Title
Atom
=
0x8e05
Tr
Atom
=
0x
13e
02
Tr
Atom
=
0x
f9
02
Track
Atom
=
0x
13e
05
Track
Atom
=
0x
f9
05
Translate
Atom
=
0x16
0
09
Translate
Atom
=
0x16
6
09
Tt
Atom
=
0x7002
Tt
Atom
=
0x7002
Type
Atom
=
0x23
1
04
Type
Atom
=
0x23
3
04
Typemustmatch
Atom
=
0x23
1
0d
Typemustmatch
Atom
=
0x23
3
0d
U
Atom
=
0xb01
U
Atom
=
0xb01
Ul
Atom
=
0x5602
Ul
Atom
=
0x5602
Usemap
Atom
=
0x4
f3
06
Usemap
Atom
=
0x4
ec
06
Value
Atom
=
0x4005
Value
Atom
=
0x4005
Var
Atom
=
0x
cd
03
Var
Atom
=
0x
109
03
Video
Atom
=
0x2a
7
05
Video
Atom
=
0x2a
9
05
Wbr
Atom
=
0x1
96
03
Wbr
Atom
=
0x1
41
03
Width
Atom
=
0x4e
9
05
Width
Atom
=
0x4e
2
05
Wrap
Atom
=
0x56
3
04
Wrap
Atom
=
0x56
2
04
Xmp
Atom
=
0xe
d
03
Xmp
Atom
=
0xe
f
03
)
)
const
hash0
=
0xc17da63e
const
hash0
=
0xc17da63e
...
@@ -332,353 +337,358 @@ const hash0 = 0xc17da63e
...
@@ -332,353 +337,358 @@ const hash0 = 0xc17da63e
const
maxAtomLen
=
16
const
maxAtomLen
=
16
var
table
=
[
1
<<
9
]
Atom
{
var
table
=
[
1
<<
9
]
Atom
{
0x1
:
0x48a0b
,
// onmousemove
0x1
:
0x4830b
,
// onmousemove
0x2
:
0x5a809
,
// onwaiting
0x2
:
0x5a709
,
// onwaiting
0x7
:
0x5b107
,
// optimum
0x4
:
0x5bf06
,
// prompt
0xa
:
0x2e507
,
// itemref
0x7
:
0x5b007
,
// optimum
0xb
:
0x4e00a
,
// onpageshow
0x8
:
0x1604
,
// mark
0xc
:
0x55606
,
// select
0xa
:
0x2d707
,
// itemref
0xd
:
0x19f09
,
// draggable
0xb
:
0x4d90a
,
// onpageshow
0xc
:
0x55506
,
// select
0xd
:
0x1a109
,
// draggable
0xe
:
0x3e03
,
// nav
0xe
:
0x3e03
,
// nav
0xf
:
0x19
9
07
,
// command
0xf
:
0x19
b
07
,
// command
0x11
:
0xb01
,
// u
0x11
:
0xb01
,
// u
0x14
:
0x
30f
07
,
// headers
0x14
:
0x
2fa
07
,
// headers
0x15
:
0x44
a
08
,
// datalist
0x15
:
0x44
3
08
,
// datalist
0x17
:
0x6b04
,
// samp
0x17
:
0x6b04
,
// samp
0x1a
:
0x4
1a
09
,
// onkeydown
0x1a
:
0x4
04
09
,
// onkeydown
0x1b
:
0x53
b
08
,
// onscroll
0x1b
:
0x53
a
08
,
// onscroll
0x1c
:
0x17
0
03
,
// col
0x1c
:
0x17
6
03
,
// col
0x20
:
0x57
f
08
,
// itemprop
0x20
:
0x57
e
08
,
// itemprop
0x21
:
0x2
9e
0a
,
// http-equiv
0x21
:
0x2
a0
0a
,
// http-equiv
0x22
:
0x5
de
03
,
// sup
0x22
:
0x5
e7
03
,
// sup
0x24
:
0x1f
3
08
,
// required
0x24
:
0x1f
5
08
,
// required
0x2b
:
0x27
d
07
,
// preload
0x2b
:
0x27
f
07
,
// preload
0x2c
:
0x21
d
0d
,
// onbeforeprint
0x2c
:
0x21
f
0d
,
// onbeforeprint
0x2d
:
0x3
94
0b
,
// ondragenter
0x2d
:
0x3
71
0b
,
// ondragenter
0x2e
:
0x4e
b
02
,
// dt
0x2e
:
0x4e
4
02
,
// dt
0x2f
:
0x57
9
08
,
// onsubmit
0x2f
:
0x57
8
08
,
// onsubmit
0x30
:
0x1
1f
02
,
// hr
0x30
:
0x1
31
02
,
// hr
0x31
:
0x3
69
0d
,
// oncontextmenu
0x31
:
0x3
46
0d
,
// oncontextmenu
0x33
:
0x2
c8
05
,
// image
0x33
:
0x2
ba
05
,
// image
0x34
:
0x4e
f
07
,
// onpause
0x34
:
0x4e
8
07
,
// onpause
0x35
:
0x27
8
06
,
// hgroup
0x35
:
0x27
a
06
,
// hgroup
0x36
:
0xab04
,
// ping
0x36
:
0xab04
,
// ping
0x37
:
0x55
4
08
,
// onselect
0x37
:
0x55
3
08
,
// onselect
0x3a
:
0x
cb03
,
// div
0x3a
:
0x
10703
,
// div
0x40
:
0x9b02
,
// mi
0x40
:
0x9b02
,
// mi
0x41
:
0x3
4e
08
,
// seamless
0x41
:
0x3
33
08
,
// seamless
0x42
:
0x2807
,
// charset
0x42
:
0x2807
,
// charset
0x43
:
0x5102
,
// id
0x43
:
0x5102
,
// id
0x44
:
0x
502
0a
,
// onpopstate
0x44
:
0x
4fb
0a
,
// onpopstate
0x45
:
0x4d
d
03
,
// del
0x45
:
0x4d
6
03
,
// del
0x46
:
0x
305
07
,
// marquee
0x46
:
0x
5f2
07
,
// marquee
0x47
:
0x3309
,
// accesskey
0x47
:
0x3309
,
// accesskey
0x49
:
0x5906
,
// footer
0x49
:
0x5906
,
// footer
0x4a
:
0x2d
f
06
,
// applet
0x4a
:
0x2d
1
06
,
// applet
0x4b
:
0x2
dc
05
,
// ismap
0x4b
:
0x2
ce
05
,
// ismap
0x51
:
0x3
72
04
,
// menu
0x51
:
0x3
4f
04
,
// menu
0x52
:
0x2f04
,
// body
0x52
:
0x2f04
,
// body
0x55
:
0x8708
,
// frameset
0x55
:
0x8708
,
// frameset
0x56
:
0x52707
,
// onreset
0x56
:
0x52507
,
// onreset
0x57
:
0x14705
,
// blink
0x58
:
0x8e05
,
// title
0x58
:
0x8e05
,
// title
0x59
:
0x3
bc
07
,
// article
0x59
:
0x3
99
07
,
// article
0x5b
:
0x1
1e
02
,
// th
0x5b
:
0x1
30
02
,
// th
0x5d
:
0x1
4b
01
,
// q
0x5d
:
0x1
51
01
,
// q
0x5e
:
0x58
5
04
,
// open
0x5e
:
0x58
4
04
,
// open
0x5f
:
0x3
33
04
,
// area
0x5f
:
0x3
18
04
,
// area
0x61
:
0x4
42
06
,
// onload
0x61
:
0x4
3b
06
,
// onload
0x62
:
0x
40c
05
,
// input
0x62
:
0x
3f6
05
,
// input
0x63
:
0x1
02
04
,
// base
0x63
:
0x1
14
04
,
// base
0x64
:
0x18
2
07
,
// colspan
0x64
:
0x18
8
07
,
// colspan
0x65
:
0x
434
07
,
// keytype
0x65
:
0x
512
07
,
// keytype
0x66
:
0x1
2c
02
,
// dl
0x66
:
0x1
3e
02
,
// dl
0x68
:
0x1d
3
08
,
// fieldset
0x68
:
0x1d
5
08
,
// fieldset
0x6a
:
0x3
2b
03
,
// min
0x6a
:
0x3
10
03
,
// min
0x6b
:
0x
cd03
,
// var
0x6b
:
0x
10903
,
// var
0x6f
:
0x
30f
06
,
// header
0x6f
:
0x
2fa
06
,
// header
0x70
:
0x1
5f
02
,
// rt
0x70
:
0x1
65
02
,
// rt
0x71
:
0x17
0
08
,
// colgroup
0x71
:
0x17
6
08
,
// colgroup
0x72
:
0x25
2
02
,
// mn
0x72
:
0x25
4
02
,
// mn
0x74
:
0x1
5a
07
,
// onabort
0x74
:
0x1
60
07
,
// onabort
0x75
:
0x3906
,
// keygen
0x75
:
0x3906
,
// keygen
0x76
:
0x4
c2
09
,
// onoffline
0x76
:
0x4
bb
09
,
// onoffline
0x77
:
0x23
c
09
,
// challenge
0x77
:
0x23
e
09
,
// challenge
0x78
:
0x2d
e
03
,
// map
0x78
:
0x2d
0
03
,
// map
0x7a
:
0x3
29
02
,
// h4
0x7a
:
0x3
0e
02
,
// h4
0x7b
:
0x3
ea
07
,
// onerror
0x7b
:
0x3
c7
07
,
// onerror
0x7c
:
0x3
21
09
,
// maxlength
0x7c
:
0x3
06
09
,
// maxlength
0x7d
:
0x3
2e
05
,
// mtext
0x7d
:
0x3
13
05
,
// mtext
0x7e
:
0x5805
,
// tfoot
0x7e
:
0x5805
,
// tfoot
0x7f
:
0x1
06
04
,
// font
0x7f
:
0x1
18
04
,
// font
0x80
:
0x100a
,
// malignmark
0x80
:
0x100a
,
// malignmark
0x81
:
0x45
d
04
,
// meta
0x81
:
0x45
6
04
,
// meta
0x82
:
0x9305
,
// async
0x82
:
0x9305
,
// async
0x83
:
0x2
d3
02
,
// h3
0x83
:
0x2
c5
02
,
// h3
0x84
:
0x28
6
02
,
// dd
0x84
:
0x28
8
02
,
// dd
0x85
:
0x29
6
04
,
// href
0x85
:
0x29
8
04
,
// href
0x86
:
0xa20a
,
// mediagroup
0x86
:
0xa20a
,
// mediagroup
0x87
:
0x1b
8
06
,
// coords
0x87
:
0x1b
a
06
,
// coords
0x88
:
0x
3f7
07
,
// srclang
0x88
:
0x
41a
07
,
// srclang
0x89
:
0x3
81
0a
,
// ondblclick
0x89
:
0x3
5e
0a
,
// ondblclick
0x8a
:
0x4005
,
// value
0x8a
:
0x4005
,
// value
0x8c
:
0xb308
,
// oncancel
0x8c
:
0xb308
,
// oncancel
0x8e
:
0x3
15
0a
,
// spellcheck
0x8e
:
0x3
3a
0a
,
// spellcheck
0x8f
:
0x8705
,
// frame
0x8f
:
0x8705
,
// frame
0x91
:
0x14
3
03
,
// big
0x91
:
0x14
4
03
,
// big
0x94
:
0x21
9
06
,
// action
0x94
:
0x21
b
06
,
// action
0x95
:
0x9d03
,
// dir
0x95
:
0x9d03
,
// dir
0x97
:
0x3
34
08
,
// readonly
0x97
:
0x3
19
08
,
// readonly
0x99
:
0x
2bd
05
,
// table
0x99
:
0x
436
05
,
// table
0x9a
:
0x5
d7
07
,
// summary
0x9a
:
0x5
e0
07
,
// summary
0x9b
:
0x1
96
03
,
// wbr
0x9b
:
0x1
41
03
,
// wbr
0x9c
:
0x30a
,
// radiogroup
0x9c
:
0x30a
,
// radiogroup
0x9d
:
0xa004
,
// name
0x9d
:
0xa004
,
// name
0x9f
:
0x
3aa0a
,
// ondragover
0x9f
:
0x
5ed06
,
// system
0xa1
:
0x1
7d
05
,
// color
0xa1
:
0x1
83
05
,
// color
0xa2
:
0x4b06
,
// canvas
0xa2
:
0x4b06
,
// canvas
0xa3
:
0x27
4
04
,
// html
0xa3
:
0x27
6
04
,
// html
0xa5
:
0x54
b
09
,
// onseeking
0xa5
:
0x54
a
09
,
// onseeking
0xac
:
0x1b
3
05
,
// shape
0xac
:
0x1b
5
05
,
// shape
0xad
:
0x2
7e
03
,
// rel
0xad
:
0x2
80
03
,
// rel
0xae
:
0x1
15
10
,
// oncanplaythrough
0xae
:
0x1
27
10
,
// oncanplaythrough
0xaf
:
0x
1604
,
// mark
0xaf
:
0x
3870a
,
// ondragover
0xb1
:
0x1f
b
0d
,
// foreignObject
0xb1
:
0x1f
d
0d
,
// foreignObject
0xb3
:
0x7704
,
// rows
0xb3
:
0x7704
,
// rows
0xb6
:
0x44
e
07
,
// listing
0xb6
:
0x44
7
07
,
// listing
0xb7
:
0x49
c
06
,
// output
0xb7
:
0x49
5
06
,
// output
0xb9
:
0x3
6b
0b
,
// contextmenu
0xb9
:
0x3
48
0b
,
// contextmenu
0xbb
:
0x1
94
03
,
// low
0xbb
:
0x1
3f
03
,
// low
0xbc
:
0x1e
9
02
,
// rp
0xbc
:
0x1e
b
02
,
// rp
0xbd
:
0x58
9
09
,
// onsuspend
0xbd
:
0x58
8
09
,
// onsuspend
0xbe
:
0x15
6
06
,
// button
0xbe
:
0x15
c
06
,
// button
0xbf
:
0x4804
,
// desc
0xbf
:
0x4804
,
// desc
0xc1
:
0x3
5e
07
,
// section
0xc1
:
0x3
dd
07
,
// section
0xc2
:
0x50
c
0a
,
// onprogress
0xc2
:
0x50
5
0a
,
// onprogress
0xc3
:
0x5
70
09
,
// onstorage
0xc3
:
0x5
6f
09
,
// onstorage
0xc4
:
0x
30c
04
,
// math
0xc4
:
0x
2f7
04
,
// math
0xc5
:
0x4f
9
06
,
// onplay
0xc5
:
0x4f
2
06
,
// onplay
0xc7
:
0x5602
,
// ul
0xc7
:
0x5602
,
// ul
0xc8
:
0x6e07
,
// pattern
0xc8
:
0x6e07
,
// pattern
0xc9
:
0x4
b6
0c
,
// onmousewheel
0xc9
:
0x4
af
0c
,
// onmousewheel
0xca
:
0x3
8b
09
,
// ondragend
0xca
:
0x3
68
09
,
// ondragend
0xcb
:
0x
cf
04
,
// ruby
0xcb
:
0x
d1
04
,
// ruby
0xcc
:
0xc01
,
// p
0xcc
:
0xc01
,
// p
0xcd
:
0x3
49
07
,
// onclose
0xcd
:
0x3
2e
07
,
// onclose
0xce
:
0x2
5f
05
,
// meter
0xce
:
0x2
61
05
,
// meter
0xcf
:
0x1
26
07
,
// bgsound
0xcf
:
0x1
38
07
,
// bgsound
0xd2
:
0x27
0
06
,
// height
0xd2
:
0x27
2
06
,
// height
0xd4
:
0x101
,
// b
0xd4
:
0x101
,
// b
0xd5
:
0x2
fd
08
,
// itemtype
0xd5
:
0x2
ef
08
,
// itemtype
0xd8
:
0x1
de
07
,
// caption
0xd8
:
0x1
e0
07
,
// caption
0xd9
:
0x
c408
,
// disabled
0xd9
:
0x
10008
,
// disabled
0xdc
:
0x5e
1
03
,
// svg
0xdc
:
0x5e
a
03
,
// svg
0xdd
:
0x1b
d
05
,
// small
0xdd
:
0x1b
f
05
,
// small
0xde
:
0x44
a
04
,
// data
0xde
:
0x44
3
04
,
// data
0xe0
:
0x4c
d
08
,
// ononline
0xe0
:
0x4c
6
08
,
// ononline
0xe1
:
0x2c
e
06
,
// mglyph
0xe1
:
0x2c
0
06
,
// mglyph
0xe3
:
0x7f05
,
// embed
0xe3
:
0x7f05
,
// embed
0xe4
:
0x
13e02
,
// tr
0xe4
:
0x
f902
,
// tr
0xe5
:
0x46
b
0b
,
// onloadstart
0xe5
:
0x46
4
0b
,
// onloadstart
0xe7
:
0x3
d3
10
,
// ondurationchange
0xe7
:
0x3
b0
10
,
// ondurationchange
0xed
:
0x1
13
03
,
// bdo
0xed
:
0x1
25
03
,
// bdo
0xee
:
0x4702
,
// td
0xee
:
0x4702
,
// td
0xef
:
0x4f05
,
// aside
0xef
:
0x4f05
,
// aside
0xf0
:
0x29
4
02
,
// h2
0xf0
:
0x29
6
02
,
// h2
0xf1
:
0x50
e
08
,
// progress
0xf1
:
0x50
7
08
,
// progress
0xf2
:
0x14
6
0a
,
// blockquote
0xf2
:
0x14
c
0a
,
// blockquote
0xf4
:
0xba05
,
// label
0xf4
:
0xba05
,
// label
0xf5
:
0x601
,
// i
0xf5
:
0x601
,
// i
0xf7
:
0x7707
,
// rowspan
0xf7
:
0x7707
,
// rowspan
0xfb
:
0x4f
9
09
,
// onplaying
0xfb
:
0x4f
2
09
,
// onplaying
0xfd
:
0x2
cd
03
,
// img
0xfd
:
0x2
bf
03
,
// img
0xfe
:
0x
12f08
,
// optgroup
0xfe
:
0x
c008
,
// optgroup
0xff
:
0x
2b3
07
,
// content
0xff
:
0x
42c
07
,
// content
0x101
:
0x51
b
0c
,
// onratechange
0x101
:
0x51
9
0c
,
// onratechange
0x103
:
0x3
fe
0c
,
// onhashchange
0x103
:
0x3
e8
0c
,
// onhashchange
0x104
:
0x6507
,
// details
0x104
:
0x6507
,
// details
0x106
:
0x4
1f
08
,
// download
0x106
:
0x4
09
08
,
// download
0x109
:
0xe
7
07
,
// sandbox
0x109
:
0xe
9
07
,
// sandbox
0x10b
:
0x
2b3
0f
,
// contenteditable
0x10b
:
0x
42c
0f
,
// contenteditable
0x10d
:
0x3
9f
0b
,
// ondragleave
0x10d
:
0x3
7c
0b
,
// ondragleave
0x10e
:
0x2106
,
// accept
0x10e
:
0x2106
,
// accept
0x10f
:
0x55608
,
// selected
0x10f
:
0x55508
,
// selected
0x112
:
0x2150a
,
// formaction
0x112
:
0x2170a
,
// formaction
0x113
:
0x2ed06
,
// center
0x113
:
0x2df06
,
// center
0x115
:
0x45510
,
// onloadedmetadata
0x115
:
0x44e10
,
// onloadedmetadata
0x116
:
0xbe04
,
// link
0x116
:
0x14804
,
// link
0x117
:
0x10904
,
// time
0x117
:
0x11b04
,
// time
0x118
:
0x1c20b
,
// crossorigin
0x118
:
0x1c40b
,
// crossorigin
0x119
:
0x3f107
,
// onfocus
0x119
:
0x3ce07
,
// onfocus
0x11a
:
0x56304
,
// wrap
0x11a
:
0x56204
,
// wrap
0x11b
:
0x2b204
,
// icon
0x11b
:
0x42b04
,
// icon
0x11d
:
0x2a705
,
// video
0x11d
:
0x2a905
,
// video
0x11e
:
0x35a05
,
// class
0x11e
:
0x3d905
,
// class
0x121
:
0x59a0e
,
// onvolumechange
0x121
:
0x5990e
,
// onvolumechange
0x122
:
0x36306
,
// onblur
0x122
:
0x3e206
,
// onblur
0x123
:
0x2f309
,
// itemscope
0x123
:
0x2e509
,
// itemscope
0x124
:
0x53605
,
// style
0x124
:
0x5db05
,
// style
0x129
:
0x24f0e
,
// formnovalidate
0x127
:
0x42706
,
// public
0x12a
:
0x55e06
,
// onshow
0x129
:
0x2510e
,
// formnovalidate
0x12c
:
0x16009
,
// translate
0x12a
:
0x55d06
,
// onshow
0x12c
:
0x16609
,
// translate
0x12d
:
0x9704
,
// cite
0x12d
:
0x9704
,
// cite
0x12e
:
0x2
f6
02
,
// ms
0x12e
:
0x2
e8
02
,
// ms
0x12f
:
0x1
07
0c
,
// ontimeupdate
0x12f
:
0x1
19
0c
,
// ontimeupdate
0x130
:
0x
c1
04
,
// kind
0x130
:
0x
fd
04
,
// kind
0x131
:
0x26
4
0a
,
// formtarget
0x131
:
0x26
6
0a
,
// formtarget
0x135
:
0x3
e3
07
,
// onended
0x135
:
0x3
c0
07
,
// onended
0x136
:
0x28
4
06
,
// hidden
0x136
:
0x28
6
06
,
// hidden
0x137
:
0x2c01
,
// s
0x137
:
0x2c01
,
// s
0x139
:
0x24
5
0a
,
// formmethod
0x139
:
0x24
7
0a
,
// formmethod
0x13a
:
0x44
e
04
,
// list
0x13a
:
0x44
7
04
,
// list
0x13c
:
0x2
6e
02
,
// h6
0x13c
:
0x2
70
02
,
// h6
0x13d
:
0x
f5
02
,
// ol
0x13d
:
0x
cd
02
,
// ol
0x13e
:
0x3
76
0b
,
// oncuechange
0x13e
:
0x3
53
0b
,
// oncuechange
0x13f
:
0x20
8
0d
,
// foreignobject
0x13f
:
0x20
a
0d
,
// foreignobject
0x143
:
0x5c
5
0e
,
// onbeforeunload
0x143
:
0x5c
9
0e
,
// onbeforeunload
0x145
:
0x3
ca
09
,
// onemptied
0x145
:
0x3
a7
09
,
// onemptied
0x146
:
0x1
6b
05
,
// defer
0x146
:
0x1
71
05
,
// defer
0x147
:
0xe
d
03
,
// xmp
0x147
:
0xe
f
03
,
// xmp
0x148
:
0xaf05
,
// audio
0x148
:
0xaf05
,
// audio
0x149
:
0x1903
,
// kbd
0x149
:
0x1903
,
// kbd
0x14c
:
0x4
76
09
,
// onmessage
0x14c
:
0x4
6f
09
,
// onmessage
0x14d
:
0x5c
1
06
,
// option
0x14d
:
0x5c
5
06
,
// option
0x14e
:
0x4503
,
// alt
0x14e
:
0x4503
,
// alt
0x14f
:
0x3
1a
07
,
// checked
0x14f
:
0x3
3f
07
,
// checked
0x150
:
0x
fa08
,
// autoplay
0x150
:
0x
10c08
,
// autoplay
0x152
:
0x202
,
// br
0x152
:
0x202
,
// br
0x153
:
0x25
3
0a
,
// novalidate
0x153
:
0x25
5
0a
,
// novalidate
0x156
:
0x7d07
,
// noembed
0x156
:
0x7d07
,
// noembed
0x159
:
0x2a
b
07
,
// onclick
0x159
:
0x2a
d
07
,
// onclick
0x15a
:
0x47
f
0b
,
// onmousedown
0x15a
:
0x47
8
0b
,
// onmousedown
0x15b
:
0x3
db
08
,
// onchange
0x15b
:
0x3
b8
08
,
// onchange
0x15e
:
0x
411
09
,
// oninvalid
0x15e
:
0x
3fb
09
,
// oninvalid
0x15f
:
0x2
f7
06
,
// scoped
0x15f
:
0x2
e9
06
,
// scoped
0x160
:
0x1a
c
08
,
// controls
0x160
:
0x1a
e
08
,
// controls
0x161
:
0x3
44
05
,
// muted
0x161
:
0x3
29
05
,
// muted
0x163
:
0x4
f3
06
,
// usemap
0x163
:
0x4
ec
06
,
// usemap
0x164
:
0x1d
b
0a
,
// figcaption
0x164
:
0x1d
d
0a
,
// figcaption
0x165
:
0x3
8b
06
,
// ondrag
0x165
:
0x3
68
06
,
// ondrag
0x166
:
0x29
1
04
,
// high
0x166
:
0x29
3
04
,
// high
0x168
:
0x3
55
03
,
// src
0x168
:
0x3
d4
03
,
// src
0x169
:
0x17
7
06
,
// poster
0x169
:
0x17
d
06
,
// poster
0x16b
:
0x18
7
0e
,
// annotation-xml
0x16b
:
0x18
d
0e
,
// annotation-xml
0x16c
:
0x5b
d
04
,
// step
0x16c
:
0x5b
c
04
,
// step
0x16d
:
0x4
,
// abbr
0x16d
:
0x4
,
// abbr
0x16e
:
0x1b06
,
// dialog
0x16e
:
0x1b06
,
// dialog
0x170
:
0x1202
,
// li
0x170
:
0x1202
,
// li
0x172
:
0x4
81
02
,
// mo
0x172
:
0x4
7a
02
,
// mo
0x175
:
0x1f
b
03
,
// for
0x175
:
0x1f
d
03
,
// for
0x176
:
0x1c
b
03
,
// ins
0x176
:
0x1c
d
03
,
// ins
0x178
:
0x53
2
04
,
// size
0x178
:
0x53
0
04
,
// size
0x17a
:
0x5207
,
// default
0x17a
:
0x5207
,
// default
0x17b
:
0x1a03
,
// bdi
0x17b
:
0x1a03
,
// bdi
0x17c
:
0x4
d5
0a
,
// onpagehide
0x17c
:
0x4
ce
0a
,
// onpagehide
0x17d
:
0x9d07
,
// dirname
0x17d
:
0x9d07
,
// dirname
0x17e
:
0x23
1
04
,
// type
0x17e
:
0x23
3
04
,
// type
0x17f
:
0x21
5
04
,
// form
0x17f
:
0x21
7
04
,
// form
0x180
:
0x4c
8
05
,
// inert
0x180
:
0x4c
1
05
,
// inert
0x181
:
0x1
15
09
,
// oncanplay
0x181
:
0x1
27
09
,
// oncanplay
0x182
:
0x8303
,
// dfn
0x182
:
0x8303
,
// dfn
0x183
:
0x4
63
08
,
// tabindex
0x183
:
0x4
5c
08
,
// tabindex
0x186
:
0x7f02
,
// em
0x186
:
0x7f02
,
// em
0x187
:
0x29
a
04
,
// lang
0x187
:
0x29
c
04
,
// lang
0x189
:
0x3
c5
08
,
// dropzone
0x189
:
0x3
a2
08
,
// dropzone
0x18a
:
0x4
27
0a
,
// onkeypress
0x18a
:
0x4
11
0a
,
// onkeypress
0x18b
:
0x25
9
08
,
// datetime
0x18b
:
0x25
b
08
,
// datetime
0x18c
:
0x18
2
04
,
// cols
0x18c
:
0x18
8
04
,
// cols
0x18d
:
0x1
,
// a
0x18d
:
0x1
,
// a
0x18e
:
0x4
42
0c
,
// onloadeddata
0x18e
:
0x4
3b
0c
,
// onloadeddata
0x191
:
0x15
0
06
,
// border
0x191
:
0x15
6
06
,
// border
0x192
:
0x2e05
,
// tbody
0x192
:
0x2e05
,
// tbody
0x193
:
0x24
9
06
,
// method
0x193
:
0x24
b
06
,
// method
0x195
:
0x
12d04
,
// loop
0x195
:
0x
be04
,
// loop
0x196
:
0x2
c2
06
,
// iframe
0x196
:
0x2
b4
06
,
// iframe
0x198
:
0x
30f
04
,
// head
0x198
:
0x
2fa
04
,
// head
0x19e
:
0x5b
7
08
,
// manifest
0x19e
:
0x5b
6
08
,
// manifest
0x19f
:
0x
df
09
,
// autofocus
0x19f
:
0x
e1
09
,
// autofocus
0x1a0
:
0x16
9
04
,
// code
0x1a0
:
0x16
f
04
,
// code
0x1a1
:
0x5
15
06
,
// strong
0x1a1
:
0x5
34
06
,
// strong
0x1a2
:
0x3
3c
08
,
// multiple
0x1a2
:
0x3
21
08
,
// multiple
0x1a3
:
0xc05
,
// param
0x1a3
:
0xc05
,
// param
0x1a6
:
0x22e07
,
// enctype
0x1a6
:
0x23007
,
// enctype
0x1a7
:
0x2eb04
,
// face
0x1a7
:
0x2dd04
,
// face
0x1a8
:
0x13609
,
// plaintext
0x1a8
:
0xf109
,
// plaintext
0x1a9
:
0x12402
,
// h1
0x1a9
:
0x13602
,
// h1
0x1aa
:
0x56709
,
// onstalled
0x1aa
:
0x56609
,
// onstalled
0x1ad
:
0x28b06
,
// script
0x1ad
:
0x28d06
,
// script
0x1af
:
0x52e08
,
// onresize
0x1ae
:
0x30006
,
// spacer
0x1b0
:
0x4a20b
,
// onmouseover
0x1af
:
0x52c08
,
// onresize
0x1b1
:
0x59208
,
// onunload
0x1b0
:
0x49b0b
,
// onmouseover
0x1b2
:
0x54308
,
// onseeked
0x1b1
:
0x59108
,
// onunload
0x1b4
:
0x2310d
,
// typemustmatch
0x1b2
:
0x54208
,
// onseeked
0x1b5
:
0x1ef06
,
// figure
0x1b4
:
0x2330d
,
// typemustmatch
0x1b6
:
0x4950a
,
// onmouseout
0x1b5
:
0x1f106
,
// figure
0x1b7
:
0x27d03
,
// pre
0x1b6
:
0x48e0a
,
// onmouseout
0x1b8
:
0x4e905
,
// width
0x1b7
:
0x27f03
,
// pre
0x1b8
:
0x4e205
,
// width
0x1bb
:
0x7404
,
// nobr
0x1bb
:
0x7404
,
// nobr
0x1be
:
0x7002
,
// tt
0x1be
:
0x7002
,
// tt
0x1bf
:
0x1105
,
// align
0x1bf
:
0x1105
,
// align
0x1c0
:
0x
40a
07
,
// oninput
0x1c0
:
0x
3f4
07
,
// oninput
0x1c3
:
0x4
3b
07
,
// onkeyup
0x1c3
:
0x4
21
07
,
// onkeyup
0x1c6
:
0x1e
3
0c
,
// onafterprint
0x1c6
:
0x1e
5
0c
,
// onafterprint
0x1c7
:
0x210e
,
// accept-charset
0x1c7
:
0x210e
,
// accept-charset
0x1c8
:
0x9806
,
// itemid
0x1c8
:
0x9806
,
// itemid
0x1cb
:
0x
430
06
,
// strike
0x1cb
:
0x
50e
06
,
// strike
0x1cc
:
0x57
b
03
,
// sub
0x1cc
:
0x57
a
03
,
// sub
0x1cd
:
0x
13e05
,
// track
0x1cd
:
0x
f905
,
// track
0x1ce
:
0x3
ba
05
,
// start
0x1ce
:
0x3
97
05
,
// start
0x1d0
:
0x1
02
08
,
// basefont
0x1d0
:
0x1
14
08
,
// basefont
0x1d6
:
0x1c
d
06
,
// source
0x1d6
:
0x1c
f
06
,
// source
0x1d7
:
0x1a
6
06
,
// legend
0x1d7
:
0x1a
8
06
,
// legend
0x1d8
:
0x
30e
05
,
// thead
0x1d8
:
0x
2f9
05
,
// thead
0x1da
:
0x2
f7
05
,
// scope
0x1da
:
0x2
e9
05
,
// scope
0x1dd
:
0x2
0f
06
,
// object
0x1dd
:
0x2
11
06
,
// object
0x1de
:
0xa205
,
// media
0x1de
:
0xa205
,
// media
0x1df
:
0x18
7
0a
,
// annotation
0x1df
:
0x18
d
0a
,
// annotation
0x1e0
:
0x22
a
0b
,
// formenctype
0x1e0
:
0x22
c
0b
,
// formenctype
0x1e2
:
0x28
9
08
,
// noscript
0x1e2
:
0x28
b
08
,
// noscript
0x1e4
:
0x53
2
05
,
// sizes
0x1e4
:
0x53
0
05
,
// sizes
0x1e5
:
0xd
3
0c
,
// autocomplete
0x1e5
:
0xd
5
0c
,
// autocomplete
0x1e6
:
0x7a04
,
// span
0x1e6
:
0x7a04
,
// span
0x1e7
:
0x8508
,
// noframes
0x1e7
:
0x8508
,
// noframes
0x1e8
:
0x26
8
06
,
// target
0x1e8
:
0x26
a
06
,
// target
0x1e9
:
0x3
c3
06
,
// ondrop
0x1e9
:
0x3
a0
06
,
// ondrop
0x1ea
:
0x3
55
06
,
// srcdoc
0x1ea
:
0x3
d4
06
,
// srcdoc
0x1ec
:
0x5e08
,
// reversed
0x1ec
:
0x5e08
,
// reversed
0x1f0
:
0x2
d5
07
,
// isindex
0x1f0
:
0x2
c7
07
,
// isindex
0x1f3
:
0x29
6
08
,
// hreflang
0x1f3
:
0x29
8
08
,
// hreflang
0x1f5
:
0x4e
d
02
,
// h5
0x1f5
:
0x4e
6
02
,
// h5
0x1f6
:
0x5d
1
07
,
// address
0x1f6
:
0x5d
5
07
,
// address
0x1fa
:
0x3
21
03
,
// max
0x1fa
:
0x3
06
03
,
// max
0x1fb
:
0x
ef
0b
,
// placeholder
0x1fb
:
0x
c7
0b
,
// placeholder
0x1fc
:
0x3
2f
08
,
// textarea
0x1fc
:
0x3
14
08
,
// textarea
0x1fe
:
0x4a
d
09
,
// onmouseup
0x1fe
:
0x4a
6
09
,
// onmouseup
0x1ff
:
0x3
b4
0b
,
// ondragstart
0x1ff
:
0x3
91
0b
,
// ondragstart
}
}
const
atomText
=
"abbradiogrouparamalignmarkbdialogaccept-charsetbodyaccesskey"
+
const
atomText
=
"abbradiogrouparamalignmarkbdialogaccept-charsetbodyaccesskey"
+
"genavaluealtdescanvasidefaultfootereversedetailsampatternobr"
+
"genavaluealtdescanvasidefaultfootereversedetailsampatternobr"
+
"owspanoembedfnoframesetitleasyncitemidirnamediagroupingaudio"
+
"owspanoembedfnoframesetitleasyncitemidirnamediagroupingaudio"
+
"ncancelabel
inkindisabledivarubyautocompleteautofocusandboxmp
"
+
"ncancelabel
ooptgrouplaceholderubyautocompleteautofocusandbox
"
+
"
laceholderautoplaybasefontimeupdatebdoncanplaythrough1bgsou
n"
+
"
mplaintextrackindisabledivarautoplaybasefontimeupdatebdonca
n"
+
"
dlooptgrouplaintextrackbigblockquoteborderbuttonabortranslat
"
+
"
playthrough1bgsoundlowbrbigblinkblockquoteborderbuttonabortr
"
+
"
ecodefercolgroupostercolorcolspannotation-xmlowbrcommandragg
"
+
"
anslatecodefercolgroupostercolorcolspannotation-xmlcommandra
"
+
"
ablegendcontrolshapecoordsmallcrossoriginsourcefieldsetfigca
"
+
"
ggablegendcontrolshapecoordsmallcrossoriginsourcefieldsetfig
"
+
"
ptionafterprintfigurequiredforeignObjectforeignobjectformact
"
+
"
captionafterprintfigurequiredforeignObjectforeignobjectforma
"
+
"
ionbeforeprintformenctypemustmatchallengeformmethodformnoval
"
+
"
ctionbeforeprintformenctypemustmatchallengeformmethodformnov
"
+
"
idatetimeterformtargeth6heightmlhgroupreloadhiddenoscripthig
"
+
"
alidatetimeterformtargeth6heightmlhgroupreloadhiddenoscripth
"
+
"
h2hreflanghttp-equivideonclickicontenteditableiframeimageimg
"
+
"
igh2hreflanghttp-equivideonclickiframeimageimglyph3isindexis
"
+
"
lyph3isindexismappletitemrefacenteritemscopeditemtypemarquee
"
+
"
mappletitemrefacenteritemscopeditemtypematheaderspacermaxlen
"
+
"
matheaderspellcheckedmaxlength4minmtextareadonlymultiplemute
"
+
"
gth4minmtextareadonlymultiplemutedoncloseamlesspellcheckedon
"
+
"
doncloseamlessrcdoclassectionbluroncontextmenuoncuechangeond
"
+
"
contextmenuoncuechangeondblclickondragendondragenterondragle
"
+
"
blclickondragendondragenterondragleaveondragoverondragstarti
"
+
"
aveondragoverondragstarticleondropzonemptiedondurationchange
"
+
"
cleondropzonemptiedondurationchangeonendedonerroronfocusrcla
"
+
"
onendedonerroronfocusrcdoclassectionbluronhashchangeoninputo
"
+
"n
gonhashchangeoninputoninvalidonkeydownloadonkeypresstrikeyt
"
+
"n
invalidonkeydownloadonkeypressrclangonkeyupublicontentedita
"
+
"
ypeonkeyuponloadeddatalistingonloadedmetadatabindexonloadsta
"
+
"
bleonloadeddatalistingonloadedmetadatabindexonloadstartonmes
"
+
"
rtonmessageonmousedownonmousemoveonmouseoutputonmouseoveronm
"
+
"
sageonmousedownonmousemoveonmouseoutputonmouseoveronmouseupo
"
+
"
ouseuponmousewheelonofflinertononlineonpagehidelonpageshowid
"
+
"
nmousewheelonofflinertononlineonpagehidelonpageshowidth5onpa
"
+
"
th5onpausemaponplayingonpopstateonprogresstrongonratechangeo
"
+
"
usemaponplayingonpopstateonprogresstrikeytypeonratechangeonr
"
+
"
nresetonresizestyleonscrollonseekedonseekingonselectedonshow
"
+
"
esetonresizestrongonscrollonseekedonseekingonselectedonshowr
"
+
"
raponstalledonstorageonsubmitempropenonsuspendonunloadonvolu
"
+
"
aponstalledonstorageonsubmitempropenonsuspendonunloadonvolum
"
+
"
mechangeonwaitingoptimumanifestepoptionbeforeunloaddressumma
"
+
"
echangeonwaitingoptimumanifestepromptoptionbeforeunloaddress
"
+
"
rysupsvg
"
"
tylesummarysupsvgsystemarquee
"
src/pkg/exp/html/atom/table_test.go
View file @
834edc42
...
@@ -30,6 +30,7 @@ var testAtomList = []string{
...
@@ -30,6 +30,7 @@ var testAtomList = []string{
"bdo"
,
"bdo"
,
"bgsound"
,
"bgsound"
,
"big"
,
"big"
,
"blink"
,
"blockquote"
,
"blockquote"
,
"body"
,
"body"
,
"border"
,
"border"
,
...
@@ -263,6 +264,8 @@ var testAtomList = []string{
...
@@ -263,6 +264,8 @@ var testAtomList = []string{
"pre"
,
"pre"
,
"preload"
,
"preload"
,
"progress"
,
"progress"
,
"prompt"
,
"public"
,
"q"
,
"q"
,
"radiogroup"
,
"radiogroup"
,
"readonly"
,
"readonly"
,
...
@@ -289,6 +292,7 @@ var testAtomList = []string{
...
@@ -289,6 +292,7 @@ var testAtomList = []string{
"sizes"
,
"sizes"
,
"small"
,
"small"
,
"source"
,
"source"
,
"spacer"
,
"span"
,
"span"
,
"span"
,
"span"
,
"spellcheck"
,
"spellcheck"
,
...
@@ -305,6 +309,7 @@ var testAtomList = []string{
...
@@ -305,6 +309,7 @@ var testAtomList = []string{
"summary"
,
"summary"
,
"sup"
,
"sup"
,
"svg"
,
"svg"
,
"system"
,
"tabindex"
,
"tabindex"
,
"table"
,
"table"
,
"target"
,
"target"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment