@@ -135,12 +135,13 @@ const DOM_PROPERTY_NAMES_ONE_WORD = [
135135 'accumulate' , 'additive' , 'alphabetic' , 'amplitude' , 'ascent' , 'azimuth' , 'bbox' , 'begin' ,
136136 'bias' , 'by' , 'clip' , 'color' , 'cursor' , 'cx' , 'cy' , 'd' , 'decelerate' , 'descent' , 'direction' ,
137137 'display' , 'divisor' , 'dur' , 'dx' , 'dy' , 'elevation' , 'end' , 'exponent' , 'fill' , 'filter' ,
138- 'format' , 'from' , 'fr' , 'fx' , 'fy' , 'g1' , 'g2' , 'hanging' , 'height' , 'hreflang' , 'in' , 'in2' ,
139- 'intercept' , 'k' , 'k1' , 'k2' , 'k3' , 'k4' , 'kerning' , 'local' , 'mask' , 'mode' , 'offset' ,
140- 'opacity' , 'operator' , 'order' , 'orient' , 'orientation' , 'origin' , 'overflow' , 'path' , 'ping' ,
141- 'points' , 'r' , 'radius' , 'rel' , 'restart' , 'result' , 'rotate' , 'rx' , 'ry' , 'scale' , 'seed' ,
142- 'slope' , 'spacing' , 'speed' , 'stemh' , 'stemv' , 'string' , 'stroke' , 'to' , 'transform' , 'u1' ,
143- 'u2' , 'values' , 'visibility' , 'widths' , 'x' , 'x1' , 'x2' , 'y' , 'y1' , 'y2' , 'z' ,
138+ 'format' , 'from' , 'fr' , 'fx' , 'fy' , 'g1' , 'g2' , 'hanging' , 'height' , 'hreflang' , 'ideographic' ,
139+ 'in' , 'in2' , 'intercept' , 'k' , 'k1' , 'k2' , 'k3' , 'k4' , 'kerning' , 'local' , 'mask' , 'mode' ,
140+ 'offset' , 'opacity' , 'operator' , 'order' , 'orient' , 'orientation' , 'origin' , 'overflow' , 'path' ,
141+ 'ping' , 'points' , 'r' , 'radius' , 'rel' , 'restart' , 'result' , 'rotate' , 'rx' , 'ry' , 'scale' ,
142+ 'seed' , 'slope' , 'spacing' , 'speed' , 'stemh' , 'stemv' , 'string' , 'stroke' , 'to' , 'transform' ,
143+ 'u1' , 'u2' , 'unicode' , 'values' , 'version' , 'visibility' , 'widths' , 'x' , 'x1' , 'x2' , 'xmlns' ,
144+ 'y' , 'y1' , 'y2' , 'z' ,
144145 // OpenGraph meta tag attributes
145146 'property' ,
146147 // React specific attributes
@@ -165,6 +166,36 @@ const DOM_PROPERTY_NAMES_TWO_WORDS = [
165166 'onDragStart' , 'onDrop' , 'onMouseDown' , 'onMouseEnter' , 'onMouseLeave' , 'onMouseMove' , 'onMouseOut' , 'onMouseOver' ,
166167 'onMouseUp' , 'onPaste' , 'onScroll' , 'onSelect' , 'onSubmit' , 'onTransitionEnd' , 'radioGroup' , 'readOnly' , 'referrerPolicy' ,
167168 'rowSpan' , 'srcDoc' , 'srcLang' , 'srcSet' , 'useMap' ,
169+ // SVG attributes
170+ // See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute
171+ 'crossOrigin' , 'accentHeight' , 'alignmentBaseline' , 'arabicForm' , 'attributeName' ,
172+ 'attributeType' , 'baseFrequency' , 'baselineShift' , 'baseProfile' , 'calcMode' , 'capHeight' ,
173+ 'clipPathUnits' , 'clipPath' , 'clipRule' , 'colorInterpolation' , 'colorInterpolationFilters' ,
174+ 'colorProfile' , 'colorRendering' , 'contentScriptType' , 'contentStyleType' , 'diffuseConstant' ,
175+ 'dominantBaseline' , 'edgeMode' , 'enableBackground' , 'fillOpacity' , 'fillRule' , 'filterRes' ,
176+ 'filterUnits' , 'floodColor' , 'floodOpacity' , 'fontFamily' , 'fontSize' , 'fontSizeAdjust' ,
177+ 'fontStretch' , 'fontStyle' , 'fontVariant' , 'fontWeight' , 'glyphName' ,
178+ 'glyphOrientationHorizontal' , 'glyphOrientationVertical' , 'glyphRef' , 'gradientTransform' ,
179+ 'gradientUnits' , 'horizAdvX' , 'horizOriginX' , 'imageRendering' , 'kernelMatrix' ,
180+ 'kernelUnitLength' , 'keyPoints' , 'keySplines' , 'keyTimes' , 'lengthAdjust' , 'letterSpacing' ,
181+ 'lightingColor' , 'limitingConeAngle' , 'markerEnd' , 'markerMid' , 'markerStart' , 'markerHeight' ,
182+ 'markerUnits' , 'markerWidth' , 'maskContentUnits' , 'maskUnits' , 'mathematical' , 'numOctaves' ,
183+ 'overlinePosition' , 'overlineThickness' , 'panose1' , 'paintOrder' , 'pathLength' ,
184+ 'patternContentUnits' , 'patternTransform' , 'patternUnits' , 'pointerEvents' , 'pointsAtX' ,
185+ 'pointsAtY' , 'pointsAtZ' , 'preserveAlpha' , 'preserveAspectRatio' , 'primitiveUnits' ,
186+ 'referrerPolicy' , 'refX' , 'refY' , 'rendering-intent' , 'repeatCount' , 'repeatDur' ,
187+ 'requiredExtensions' , 'requiredFeatures' , 'shapeRendering' , 'specularConstant' ,
188+ 'specularExponent' , 'spreadMethod' , 'startOffset' , 'stdDeviation' , 'stitchTiles' , 'stopColor' ,
189+ 'stopOpacity' , 'strikethroughPosition' , 'strikethroughThickness' , 'strokeDasharray' ,
190+ 'strokeDashoffset' , 'strokeLinecap' , 'strokeLinejoin' , 'strokeMiterlimit' , 'strokeOpacity' ,
191+ 'strokeWidth' , 'surfaceScale' , 'systemLanguage' , 'tableValues' , 'targetX' , 'targetY' ,
192+ 'textAnchor' , 'textDecoration' , 'textRendering' , 'textLength' , 'transformOrigin' ,
193+ 'underlinePosition' , 'underlineThickness' , 'unicodeBidi' , 'unicodeRange' , 'unitsPerEm' ,
194+ 'vAlphabetic' , 'vHanging' , 'vIdeographic' , 'vMathematical' , 'vectorEffect' , 'vertAdvY' ,
195+ 'vertOriginX' , 'vertOriginY' , 'viewBox' , 'viewTarget' , 'wordSpacing' , 'writingMode' , 'xHeight' ,
196+ 'xChannelSelector' , 'xlinkActuate' , 'xlinkArcrole' , 'xlinkHref' , 'xlinkRole' , 'xlinkShow' ,
197+ 'xlinkTitle' , 'xlinkType' , 'xmlBase' , 'xmlLang' , 'xmlnsXlink' , 'xmlSpace' , 'yChannelSelector' ,
198+ 'zoomAndPan' ,
168199 // Safari/Apple specific, no listing available
169200 'autoCorrect' , // https://stackoverflow.com/questions/47985384/html-autocorrect-for-text-input-is-not-working
170201 'autoSave' , // https://stackoverflow.com/questions/25456396/what-is-autosave-attribute-supposed-to-do-how-do-i-use-it
0 commit comments