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

Implement the HTMLOrSVGElement WebIDL #32169

Open
6 tasks
nolanlawson opened this issue Apr 28, 2024 · 0 comments
Open
6 tasks

Implement the HTMLOrSVGElement WebIDL #32169

nolanlawson opened this issue Apr 28, 2024 · 0 comments
Labels
B-feature-tracking This issue tracks a particular high-level feature C-untriaged New issues that haven't been triaged yet

Comments

@nolanlawson
Copy link
Contributor

nolanlawson commented Apr 28, 2024

The HTMLOrSVGElement mixin defines a few properties and methods:

These are partially implemented in Servo – dataset, focus(), and blur() as of this writing. But to match the spec, they should be part of this mixin, so that they can apply to both HTMLElements and SVGElements, not just HTMLElements.

Here is the full WebIDL for completeness:

interface mixin HTMLOrSVGElement {
  [SameObject] readonly attribute DOMStringMap dataset;
  attribute DOMString nonce; // intentionally no [CEReactions]

  [CEReactions] attribute boolean autofocus;
  [CEReactions] attribute long tabIndex;
  undefined focus(optional FocusOptions options = {});
  undefined blur();
};
@nolanlawson nolanlawson added B-feature-tracking This issue tracks a particular high-level feature C-untriaged New issues that haven't been triaged yet labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-feature-tracking This issue tracks a particular high-level feature C-untriaged New issues that haven't been triaged yet
Projects
None yet
Development

No branches or pull requests

1 participant