DescriptionThe missing value default for <area shape> is 'rect'
There is no invalid value default, so the missing value default will
apply in that case too.
The 'Unknown' HTMLAreaElement::Shape enumeration value is no longer
needed, so remove it.
Also add support for the non-conforming <area shape> values:
* 'circ' (alias for 'circle')
* 'polygon' (alias for 'poly')
* 'rectangle (alias for 'rect')
Because 'rect' (and hence 'rectangle') is the same as the missing
value default we don't need any explicit checks for these values.
https://html.spec.whatwg.org/multipage/embedded-content.html#attr-area-shape
BUG=578125
Committed: https://crrev.com/ca1a425acf5972e25f59ea1c63a661d3be37d680
Cr-Commit-Position: refs/heads/master@{#371731}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|