Skip to content

Commit

Permalink
Add builtin-lists/, which contains text files with known/baseline/def…
Browse files Browse the repository at this point in the history
…ault (#178)

elements and attributes, as well as a script to assemble them.

[This is still experimental.]
  • Loading branch information
otherdaniel authored Oct 7, 2022
1 parent bd62543 commit a9f6a4b
Show file tree
Hide file tree
Showing 26 changed files with 1,741 additions and 148 deletions.
4 changes: 4 additions & 0 deletions builtin-lists/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sanitizer API: Built-in Lists

This directory is experimental and non-normative. The intent is to build up the
Sanitizer API's built-in lists and configurations.
99 changes: 99 additions & 0 deletions builtin-lists/attributes-html-baseline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# namespace:
abbr
accept
accept-charset
accesskey
action
align
alt
aria* # NEEDS EXPANSION!
autocapitalize
autocomplete
autoplay
cellspacing
checked
cite
class
clear
color
color
colspan
controls
controlslist
coords
crossorigin
datetime
default
dir
disable
download
draggable
enctype
face
for
headers
height
hidden
high
href
hreflang
id
inputmode
integrity
ismap
kind
label
lang
list
loading
loop
low
max
maxlength
media
method
min
minlength
multiple
muted
name
noshade
novalidate
nowrap
open
optimum
pattern
placeholder
poster
preload
pubdate
radiogroup
readonly
rel
required
rev
reversed
role
rows
rowspan
scope
selected
shape
size
sizes
span
spellcheck
src
srclang
srcset
start
step
style
summary
tabindex
title
translate
type
usemap
value
width
211 changes: 211 additions & 0 deletions builtin-lists/attributes-html-default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# namespace:
abbr
accept
accept-charset
accesskey
action
align
alink
allow
allowfullscreen
alt
anchor
archive
as
async
autocapitalize
autocomplete
autocorrect
autofocus
autopictureinpicture
autoplay
axis
background
behavior
bgcolor
border
bordercolor
capture
cellpadding
cellspacing
challenge
char
charoff
charset
checked
cite
class
classid
clear
code
codebase
codetype
color
cols
colspan
compact
content
contenteditable
controls
controlslist
conversiondestination
coords
crossorigin
csp
data
datetime
declare
decoding
default
defer
dir
direction
dirname
disabled
disablepictureinpicture
disableremoteplayback
disallowdocumentaccess
download
draggable
elementtiming
enctype
end
enterkeyhint
event
exportparts
face
for
form
formaction
formenctype
formmethod
formnovalidate
formtarget
frame
frameborder
headers
height
hidden
high
href
hreflang
hreftranslate
hspace
http-equiv
id
imagesizes
imagesrcset
importance
impressiondata
impressionexpiry
incremental
inert
inputmode
integrity
invisible
is
ismap
keytype
kind
label
lang
language
latencyhint
leftmargin
link
list
loading
longdesc
loop
low
lowsrc
manifest
marginheight
marginwidth
max
maxlength
mayscript
media
method
min
minlength
multiple
muted
name
nohref
nomodule
nonce
noresize
noshade
novalidate
nowrap
object
open
optimum
part
pattern
ping
placeholder
playsinline
policy
poster
preload
pseudo
readonly
referrerpolicy
rel
reportingorigin
required
resources
rev
reversed
role
rows
rowspan
rules
sandbox
scheme
scope
scopes
scrollamount
scrolldelay
scrolling
select
selected
shadowroot
shadowrootdelegatesfocus
shape
size
sizes
slot
span
spellcheck
src
srcdoc
srclang
srcset
standby
start
step
style
summary
tabindex
target
text
title
topmargin
translate
truespeed
trusttoken
type
usemap
valign
value
valuetype
version
virtualkeyboardpolicy
vlink
vspace
webkitdirectory
width
wrap
Loading

0 comments on commit a9f6a4b

Please sign in to comment.