From 3ddfa5075faa2be9cbd0773b418113b93da1ce9a Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 12 Oct 2023 09:44:35 +0100 Subject: [PATCH] Editorial: make shape attributes table consistent Helps with #9832. --- source | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/source b/source index 9d0696e5ef7..85ec979dfc2 100644 --- a/source +++ b/source @@ -41489,50 +41489,56 @@ interface HTMLAreaElement : HTMLElement { data-x="attr-area-coords">coords attributes specify the area.

The shape attribute is - an enumerated attribute. The following table lists the keywords defined for this - attribute. The states given in the first cell of the rows with keywords give the states to which - those keywords map. Some of the keywords are non-conforming, as noted in the last - column.

+ an enumerated attribute with the following keywords and states:

- +
+ - - - -
Keyword + Conforming State - Keywords - Notes + Brief description
Circle state - Circle state circle + Circle state + Circle state + Designates a circle, using exactly three integers in the coords attribute.
circ - Non-conforming + No
Default state default + Default state + This area is the whole image. (The coords + attribute is not used.)
Polygon state - Polygon state poly + Polygon state + Polygon state + Designates a polygon, using at-least six integers in the coords attribute.
polygon - Non-conforming + No
Rectangle state - Rectangle state rect + Rectangle state + Rectangle state + Designates a rectangle, using exactly four integers in the coords attribute.
rectangle - Non-conforming + No
-

The attribute may be omitted. The missing value default - and invalid value default are the The attribute's missing value default and invalid value default are both the rectangle state.

The coords attribute