From 3bfb5a80e9f140ec2a6df7c11c7406caf0bbbf79 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 21 Nov 2023 02:50:04 +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 760de2984fc..79b120d62e8 100644 --- a/source +++ b/source @@ -41543,50 +41543,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