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

Redundant wording in 4.8.13 The area element #10303

Closed
Psychpsyo opened this issue Apr 28, 2024 · 1 comment · Fixed by #10305
Closed

Redundant wording in 4.8.13 The area element #10303

Psychpsyo opened this issue Apr 28, 2024 · 1 comment · Fixed by #10305

Comments

@Psychpsyo
Copy link

Psychpsyo commented Apr 28, 2024

What is the issue with the HTML Standard?

Section 4.8.13 The area element says this about its IDL attributes:

The IDL attributes alt, coords, target, download, ping, and rel, each must reflect the respective content attributes of the same name.
The IDL attribute shape must reflect the shape content attribute.

If I'm reading this correctly, the shape attribute doesn't actually need its own line and can just be included with all the other ones in the previous line as it also must reflect a content attribute of the same name. (namely, shape)
I think that this would lessen confusion cause I just spent a while playing spot-the-difference between the two lines to make sure I wasn't missing anything that might be special about shape in particular.

annevk added a commit that referenced this issue Apr 29, 2024
As of d56b5d6 it's no longer limited to known values and as such does not warrant its own line.

Fixes #10303.
@annevk
Copy link
Member

annevk commented Apr 29, 2024

Nice catch, I traced it back to d56b5d6.

annevk added a commit that referenced this issue May 2, 2024
As of d56b5d6 it's no longer limited to known values and as such does not warrant its own line.

Fixes #10303.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants