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

" name — Metadata name http-equiv — Prag..." #9427

Closed
SteveComstock opened this issue Jun 14, 2023 · 1 comment
Closed

" name — Metadata name http-equiv — Prag..." #9427

SteveComstock opened this issue Jun 14, 2023 · 1 comment

Comments

@SteveComstock
Copy link

https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element:attr-meta-name-2

name — Metadata name
http\-equiv — Pragma directive
content — Value of the element
charset — Character encoding declaration
media — Applicable media

Accessibility considerations:​
For authors.
For implementers.
DOM interface:​

\[Exposed=​Window\]
interface HTMLMetaElement :​ HTMLElement \{
  \[HTMLConstructor\] constructor\(\);

  \[CEReactions\] attribute DOMString name;
  \[CEReactions\] attribute DOMString httpEquiv;
  \[CEReactions\] attribute DOMString content;
  \[CEReactions\] attribute DOMString media;

  // also has obsolete members
  1. The list of attributes includes "charset" but the interface list does not include this - why?
  2. The link to obsolete members does not list what those are
@domenic
Copy link
Member

domenic commented Jun 15, 2023

  1. The list of attributes includes "charset" but the interface list does not include this - why?

Because it's not mutable from script; it only affects parsing time.

2. The link to obsolete members does not list what those are

Yes, that's how hyperlinks work; you click on them in order to read what's located at the other end.

@domenic domenic closed this as completed Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants