Skip to content

Commit

Permalink
Sync from Google (#26803)
Browse files Browse the repository at this point in the history
* Internal refactor

PiperOrigin-RevId: 286440062

* Internal refactor

PiperOrigin-RevId: 286445112

* Internal refactor

PiperOrigin-RevId: 286467041

* Internal refactor

PiperOrigin-RevId: 286933741

* Internal refactor

PiperOrigin-RevId: 287221103

* revert entities.json

Co-authored-by: Amaltas <amaltas@amaltas.org>
  • Loading branch information
honeybadgerdontcare and amaltas committed Feb 14, 2020
1 parent 755ff40 commit f7e64ff
Show file tree
Hide file tree
Showing 21 changed files with 2,523 additions and 101,287 deletions.
3,173 changes: 2,196 additions & 977 deletions validator/htmlparser/atom.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion validator/htmlparser/bin/casetablegen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ int main(int argc, char** argv) {
options.white_space_transform =
htmlparser::FileReadOptions::LineTransforms::StripWhitespace();
if (!htmlparser::FileUtil::ReadFileLines(
options, "htmlparser/data/CaseFolding.txt", &lines)) {
options, "testdata/go/CaseFolding.txt", &lines)) {
std::cerr << "Error reading input file." << std::endl;
return EXIT_FAILURE;
}
Expand Down
1,581 changes: 0 additions & 1,581 deletions validator/htmlparser/data/CaseFolding.txt

This file was deleted.

281 changes: 0 additions & 281 deletions validator/htmlparser/data/SpecialCasing.txt

This file was deleted.

32,841 changes: 0 additions & 32,841 deletions validator/htmlparser/data/UnicodeData.txt

This file was deleted.

199 changes: 199 additions & 0 deletions validator/htmlparser/data/extras.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,82 @@ desc
face
font
# HTML is case-insensitive, but SVG-embedded-in-HTML is case-sensitive.
altGlyph
altGlyphItem
altglyph
altglyphdef
altGlyphDef
altglyphitem
animateColor
animateMotion
animateTransform
animatecolor
animatemotion
animatetransform
clipPath
clippath
definitionURL
definitionurl
feBlend
feColorMatrix
feComponentTransfer
feComposite
feConvolveMatrix
feDiffuseLighting
feDisplacementMap
feDistantLight
feFlood
feFuncA
feFuncB
feFuncG
feFuncR
feGaussianBlur
feImage
feMerge
feMergeNode
feMorphology
feOffset
fePointLight
feSpecularLighting
feSpotLight
feTile
feTurbulence
feblend
fecolormatrix
fecomponenttransfer
fecomposite
feconvolvematrix
fediffuselighting
fedisplacementmap
fedistantlight
feflood
fefunca
fefuncb
fefuncg
fefuncr
fegaussianblur
feimage
femerge
femergenode
femorphology
feoffset
fepointlight
fespecularlighting
fespotlight
fetile
feturbulence
foreignObject
foreignObject
foreignobject
foreignobject
frame
frameset
glyphRef
glyphref
image
isindex
linearGradient
lineargradient
listing
malignmark
marquee
Expand All @@ -33,14 +103,143 @@ mtext
nobr
noembed
noframes
path
plaintext
prompt
public
radialGradient
radialgradient
rb
rtc
spacer
strike
svg
system
textPath
textpath
tt
xmp
attributename
attributeName
attributetype
attributeType
basefrequency
baseFrequency
baseprofile
baseProfile
calcmode
calcMode
clippathunits
clipPathUnits
contentscripttype
contentScriptType
contentstyletype
contentStyleType
diffuseconstant
diffuseConstant
edgemode
edgeMode
externalresourcesrequired
externalResourcesRequired
filterres
filterRes
filterunits
filterUnits
glyphref
glyphRef
gradienttransform
gradientTransform
gradientunits
gradientUnits
kernelmatrix
kernelMatrix
kernelunitlength
kernelUnitLength
keypoints
keyPoints
keysplines
keySplines
keytimes
keyTimes
lengthadjust
lengthAdjust
limitingconeangle
limitingConeAngle
markerheight
markerHeight
markerunits
markerUnits
markerwidth
markerWidth
maskcontentunits
maskContentUnits
maskunits
maskUnits
numoctaves
numOctaves
pathlength
pathLength
patterncontentunits
patternContentUnits
patterntransform
patternTransform
patternunits
patternUnits
pointsatx
pointsAtX
pointsaty
pointsAtY
pointsatz
pointsAtZ
preservealpha
preserveAlpha
preserveaspectratio
preserveAspectRatio
primitiveunits
primitiveUnits
refx
refX
refy
refY
repeatcount
repeatCount
repeatdur
repeatDur
requiredextensions
requiredExtensions
requiredfeatures
requiredFeatures
specularconstant
specularConstant
specularexponent
specularExponent
spreadmethod
spreadMethod
startoffset
startOffset
stddeviation
stdDeviation
stitchtiles
stitchTiles
surfacescale
surfaceScale
systemlanguage
systemLanguage
tablevalues
tableValues
targetx
targetX
targety
targetY
textlength
textLength
viewbox
viewBox
viewtarget
viewTarget
xchannelselector
xChannelSelector
ychannelselector
yChannelSelector
zoomandpan
zoomAndPan

0 comments on commit f7e64ff

Please sign in to comment.