зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1700889 - remove xmlspace attribute from SVGStyleElement r=emilio
No longer in SVG 2, was removed from webkit as part of https://bugs.webkit.org/show_bug.cgi?id=29058 and Chrome doesn't support this either. Differential Revision: https://phabricator.services.mozilla.com/D109702
This commit is contained in:
Родитель
8f9d044d0f
Коммит
6c00541d5c
|
@ -138,14 +138,6 @@ void SVGStyleElement::ContentChanged(nsIContent* aContent) {
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void SVGStyleElement::GetXmlspace(nsAString& aXmlspace) {
|
||||
GetAttr(kNameSpaceID_XML, nsGkAtoms::space, aXmlspace);
|
||||
}
|
||||
|
||||
void SVGStyleElement::SetXmlspace(const nsAString& aXmlspace, ErrorResult& rv) {
|
||||
rv = SetAttr(kNameSpaceID_XML, nsGkAtoms::space, aXmlspace, true);
|
||||
}
|
||||
|
||||
void SVGStyleElement::GetMedia(nsAString& aMedia) {
|
||||
GetAttr(nsGkAtoms::media, aMedia);
|
||||
}
|
||||
|
|
|
@ -61,8 +61,6 @@ class SVGStyleElement final : public SVGStyleElementBase,
|
|||
NS_DECL_NSIMUTATIONOBSERVER_CONTENTREMOVED
|
||||
|
||||
// WebIDL
|
||||
void GetXmlspace(nsAString& aXmlspace);
|
||||
void SetXmlspace(const nsAString& aXmlspace, ErrorResult& rv);
|
||||
void GetMedia(nsAString& aMedia);
|
||||
void SetMedia(const nsAString& aMedia, ErrorResult& rv);
|
||||
void GetType(nsAString& aType);
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
[Exposed=Window]
|
||||
interface SVGStyleElement : SVGElement {
|
||||
[SetterThrows]
|
||||
attribute DOMString xmlspace; // Spec claims this should be on SVGElement
|
||||
[SetterThrows]
|
||||
attribute DOMString type;
|
||||
[SetterThrows]
|
||||
|
|
Загрузка…
Ссылка в новой задаче