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

SVGStyleElement implements LinkStyle #922

Merged
merged 4 commits into from
Oct 2, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14454,8 +14454,7 @@ declare var SVGStringList: {
};

/** Corresponds to the SVG <style> element. */
interface SVGStyleElement extends SVGElement {
disabled: boolean;
conniefan marked this conversation as resolved.
Show resolved Hide resolved
interface SVGStyleElement extends SVGElement, LinkStyle {
media: string;
title: string;
type: string;
Expand Down Expand Up @@ -19462,7 +19461,6 @@ interface SVGElementTagNameMap {
"rect": SVGRectElement;
"script": SVGScriptElement;
"stop": SVGStopElement;
"style": SVGStyleElement;
conniefan marked this conversation as resolved.
Show resolved Hide resolved
"svg": SVGSVGElement;
"switch": SVGSwitchElement;
"symbol": SVGSymbolElement;
Expand Down
8 changes: 8 additions & 0 deletions inputfiles/idl/SVG - Style Element.widl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Exposed=Window]
interface SVGStyleElement : SVGElement {
attribute DOMString type;
attribute DOMString media;
attribute DOMString title;
};

SVGStyleElement includes LinkStyle;
4 changes: 4 additions & 0 deletions inputfiles/idlSources.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,10 @@
"url": "https://www.w3.org/TR/SVG2/text.html",
"title": "SVG - Text"
},
{
"url": "https://www.w3.org/TR/SVG2/styling.html",
"title": "SVG - Style Element"
},
{
"url": "https://w3c.github.io/touch-events/",
"title": "Touch Events"
Expand Down