Skip to content

SVGAElement implements two conflicting interfaces #312

@saschanaz

Description

@saschanaz

The SVGAElement in the SVG 2 Linking chapter implements two interfaces where both two define their own href attribute:

SVGAElement implements SVGURIReference;
SVGAElement implements HTMLHyperlinkElementUtils;
[NoInterfaceObject]
interface SVGURIReference {
  [SameObject] readonly attribute SVGAnimatedString href;
};
[NoInterfaceObject]
interface HTMLHyperlinkElementUtils {
  stringifier attribute USVString href;
  readonly attribute USVString origin;
  attribute USVString protocol;
  attribute USVString username;
  attribute USVString password;
  attribute USVString host;
  attribute USVString hostname;
  attribute USVString port;
  attribute USVString pathname;
  attribute USVString search;
  attribute USVString hash;
};

The spec does not say which definition should be followed, and I think this conflict shouldn't in the spec. Is this a problem can be fixed?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions