Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove onfocusin and onfocusout event attributes. #740

Merged
merged 1 commit into from Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions master/changes.html
Expand Up @@ -973,6 +973,7 @@ <h3 id="interact">Scripting and Interactivity chapter (separate chapters in SVG
<ul>
<li>Remove requirements on <a>'pointer-events'</a> for raster images to check individual pixels for transparency.</li>
<li>Remove <code>zoomAndPan</code> attribute and related text.</li>
<li>Removed the onfocusin and onfocusout event attributes.</li>
</ul>
</div>

Expand Down
47 changes: 19 additions & 28 deletions master/definitions.xml
Expand Up @@ -12,7 +12,7 @@
<element
name='a'
href='linking.html#AElement'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation, deprecated xlink'
attributecategories='aria, conditional processing, core, global event, document element event, presentation, deprecated xlink'
interfaces='SVGAElement'>
<x:contentmodel xmlns='http://www.w3.org/1999/xhtml'>Descriptive content, plus any element or text allowed by its parent's content model, except for another a element. If the parent is a switch element, use the content model of the nearest ancestor that isn't a switch.</x:contentmodel>
<attribute name='href' href='linking.html#AElementHrefAttribute' animatable='yes'/>
Expand All @@ -31,7 +31,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
geometryproperties='cx, cy, r'
attributes='pathLength'
interfaces='SVGCircleElement'>
Expand All @@ -43,7 +43,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, shape, structural, paint server'
elements='a, clipPath, filter, foreignObject, image, marker, mask, script, style, switch, view, text'
attributecategories='core, graphical event, global event, document element event, presentation'
attributecategories='core, global event, document element event, presentation'
interfaces='SVGDefsElement'/>

<element
Expand All @@ -59,7 +59,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
geometryproperties='cx, cy, rx, ry'
attributes='pathLength'
interfaces='SVGEllipseElement'>
Expand All @@ -69,7 +69,7 @@
name='foreignObject'
href='embedded.html#ForeignObjectElement'
contentmodel='any'
attributecategories='aria, core, conditional processing, global event, document element event, graphical event, presentation'
attributecategories='aria, core, conditional processing, global event, document element event, presentation'
geometryproperties='x, y, width, height'
interfaces='SVGForeignObjectElement'>
</element>
Expand All @@ -80,7 +80,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, shape, structural, paint server'
elements='a, clipPath, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
interfaces='SVGGElement'/>

<element
Expand All @@ -89,7 +89,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive'
elements='clipPath, mask, script, style'
attributecategories='aria, core, conditional processing, global event, document element event, graphical event, deprecated xlink, presentation'
attributecategories='aria, core, conditional processing, global event, document element event, deprecated xlink, presentation'
geometryproperties='x, y, width, height'
attributes='preserveAspectRatio'
interfaces='SVGImageElement'>
Expand All @@ -103,7 +103,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
attributes='pathLength'
interfaces='SVGLineElement'>
<attribute name='x1' href='shapes.html#LineElementX1Attribute' animatable='yes'/>
Expand Down Expand Up @@ -160,7 +160,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
geometryproperties='d'
attributes='pathLength'
interfaces='SVGPathElement'>
Expand Down Expand Up @@ -191,7 +191,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
attributes='pathLength'
interfaces='SVGPolygonElement'>
<attribute name='points' href='shapes.html#PolygonElementPointsAttribute' animatable='yes'/>
Expand All @@ -203,7 +203,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
attributes='pathLength'
interfaces='SVGPolylineElement'>
<attribute name='points' href='shapes.html#PolylineElementPointsAttribute' animatable='yes'/>
Expand Down Expand Up @@ -235,7 +235,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, paint server'
elements='mask, clipPath, marker, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
geometryproperties='x, y, width, height, rx, ry'
attributes='pathLength'
interfaces='SVGRectElement'>
Expand Down Expand Up @@ -280,7 +280,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, shape, structural, paint server'
elements='a, clipPath, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
attributecategories='aria, conditional processing, core, document event, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, document event, global event, document element event, presentation'
attributes='viewBox, preserveAspectRatio'
geometryproperties='x, y, width, height'
interfaces='SVGSVGElement'>
Expand All @@ -293,7 +293,7 @@
contentmodel='anyof'
elementcategories='animation, shape'
elements='a, foreignObject, g, image, svg, switch, text, use'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
interfaces='SVGSwitchElement'>
</element>

Expand All @@ -303,7 +303,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive, shape, structural, paint server'
elements='a, clipPath, filter, foreignObject, image, marker, mask, script, style, switch, text, view'
attributecategories='aria, core, global event, document element event, graphical event, presentation'
attributecategories='aria, core, global event, document element event, presentation'
attributes='preserveAspectRatio, viewBox'
geometryproperties='x, y, width, height'
interfaces='SVGSymbolElement'>
Expand All @@ -317,7 +317,7 @@
contentmodel='textoranyof'
elementcategories='animation, descriptive, text content child, paint server'
elements='a, clipPath, marker, mask, script, style'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
attributes='lengthAdjust'
interfaces='SVGTextElement'>
<attribute name='x' href='text.html#TextElementXAttribute' animatable='yes'/>
Expand All @@ -334,7 +334,7 @@
contentmodel='textoranyof'
elementcategories='descriptive, paint server'
elements='a, animate, clipPath, marker, mask, script, set, style, tspan'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation, deprecated xlink'
attributecategories='aria, conditional processing, core, global event, document element event, presentation, deprecated xlink'
attributes='lengthAdjust, textLength'
interfaces='SVGTextPathElement'>
<attribute name='path' href='text.html#TextPathElementPathAttribute' animatable='yes'/>
Expand All @@ -358,7 +358,7 @@
contentmodel='textoranyof'
elementcategories='descriptive, paint server'
elements='a, animate, script, set, style, tspan'
attributecategories='aria, conditional processing, core, global event, document element event, graphical event, presentation'
attributecategories='aria, conditional processing, core, global event, document element event, presentation'
attributes='x, y, dx, dy, rotate, textLength, lengthAdjust'
interfaces='SVGTSpanElement'>
</element>
Expand All @@ -369,7 +369,7 @@
contentmodel='anyof'
elementcategories='animation, descriptive'
elements='clipPath, mask, script, style'
attributecategories='aria, core, conditional processing, global event, document element event, graphical event, presentation, deprecated xlink'
attributecategories='aria, core, conditional processing, global event, document element event, presentation, deprecated xlink'
geometryproperties='x, y, width, height'
interfaces='SVGUseElement'>
<attribute name='href' href='struct.html#UseElementHrefAttribute' animatable='yes'/>
Expand Down Expand Up @@ -602,13 +602,6 @@
<attribute name='onpaste' href='interact.html#EventAttributes'/>
</attributecategory>

<attributecategory
name='graphical event'
href='interact.html#EventAttributes'>
<attribute name='onfocusin' href='interact.html#EventAttributes'/>
<attribute name='onfocusout' href='interact.html#EventAttributes'/>
</attributecategory>

<attributecategory
name='deprecated xlink'
href='linking.html#XLinkRefAttrs'>
Expand Down Expand Up @@ -983,8 +976,6 @@
<term name='document event attributes' href='interact.html#EventAttributes'/>
<term name='event attribute' href='interact.html#TermEventAttribute'/>
<term name='event attributes' href='interact.html#TermEventAttribute'/>
<term name='graphical event attribute' href='interact.html#EventAttributes'/>
<term name='graphical event attributes' href='interact.html#EventAttributes'/>
<term name='focus' href='interact.html#Focus'/>
<term name='keyboard focus' href='interact.html#Focus'/>
<term name='focusable' href='interact.html#TermFocusable'/>
Expand Down