@@ -3634,7 +3634,8 @@ declare var CSSCounterStyleRule: {
3634
3634
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule) */
3635
3635
interface CSSFontFaceRule extends CSSRule {
3636
3636
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style) */
3637
- readonly style: CSSStyleDeclaration;
3637
+ get style(): CSSStyleDeclaration;
3638
+ set style(cssText: string);
3638
3639
}
3639
3640
3640
3641
declare var CSSFontFaceRule: {
@@ -3705,7 +3706,8 @@ interface CSSImportRule extends CSSRule {
3705
3706
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/layerName) */
3706
3707
readonly layerName: string | null;
3707
3708
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
3708
- readonly media: MediaList;
3709
+ get media(): MediaList;
3710
+ set media(mediaText: string);
3709
3711
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
3710
3712
readonly styleSheet: CSSStyleSheet | null;
3711
3713
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
@@ -3726,7 +3728,8 @@ interface CSSKeyframeRule extends CSSRule {
3726
3728
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/keyText) */
3727
3729
keyText: string;
3728
3730
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style) */
3729
- readonly style: CSSStyleDeclaration;
3731
+ get style(): CSSStyleDeclaration;
3732
+ set style(cssText: string);
3730
3733
}
3731
3734
3732
3735
declare var CSSKeyframeRule: {
@@ -3899,7 +3902,8 @@ declare var CSSMatrixComponent: {
3899
3902
*/
3900
3903
interface CSSMediaRule extends CSSConditionRule {
3901
3904
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media) */
3902
- readonly media: MediaList;
3905
+ get media(): MediaList;
3906
+ set media(mediaText: string);
3903
3907
}
3904
3908
3905
3909
declare var CSSMediaRule: {
@@ -3925,7 +3929,8 @@ declare var CSSNamespaceRule: {
3925
3929
};
3926
3930
3927
3931
interface CSSNestedDeclarations extends CSSRule {
3928
- readonly style: CSSStyleDeclaration;
3932
+ get style(): CSSStyleDeclaration;
3933
+ set style(cssText: string);
3929
3934
}
3930
3935
3931
3936
declare var CSSNestedDeclarations: {
@@ -3986,7 +3991,8 @@ interface CSSPageRule extends CSSGroupingRule {
3986
3991
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/selectorText) */
3987
3992
selectorText: string;
3988
3993
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style) */
3989
- readonly style: CSSStyleDeclaration;
3994
+ get style(): CSSStyleDeclaration;
3995
+ set style(cssText: string);
3990
3996
}
3991
3997
3992
3998
declare var CSSPageRule: {
@@ -5480,7 +5486,8 @@ interface CSSStyleRule extends CSSGroupingRule {
5480
5486
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/selectorText) */
5481
5487
selectorText: string;
5482
5488
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style) */
5483
- readonly style: CSSStyleDeclaration;
5489
+ get style(): CSSStyleDeclaration;
5490
+ set style(cssText: string);
5484
5491
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap) */
5485
5492
readonly styleMap: StylePropertyMap;
5486
5493
}
@@ -7438,7 +7445,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7438
7445
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
7439
7446
*/
7440
7447
get location(): Location;
7441
- set location(href: string | Location );
7448
+ set location(href: string);
7442
7449
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenchange_event) */
7443
7450
onfullscreenchange: ((this: Document, ev: Event) => any) | null;
7444
7451
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenerror_event) */
@@ -8090,7 +8097,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
8090
8097
*
8091
8098
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
8092
8099
*/
8093
- readonly classList: DOMTokenList;
8100
+ get classList(): DOMTokenList;
8101
+ set classList(value: string);
8094
8102
/**
8095
8103
* Returns the value of element's class content attribute. Can be set to change it.
8096
8104
*
@@ -8135,7 +8143,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
8135
8143
outerHTML: string;
8136
8144
readonly ownerDocument: Document;
8137
8145
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part) */
8138
- readonly part: DOMTokenList;
8146
+ get part(): DOMTokenList;
8147
+ set part(value: string);
8139
8148
/**
8140
8149
* Returns the namespace prefix.
8141
8150
*
@@ -8351,7 +8360,8 @@ interface ElementCSSInlineStyle {
8351
8360
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
8352
8361
readonly attributeStyleMap: StylePropertyMap;
8353
8362
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
8354
- readonly style: CSSStyleDeclaration;
8363
+ get style(): CSSStyleDeclaration;
8364
+ set style(cssText: string);
8355
8365
}
8356
8366
8357
8367
interface ElementContentEditable {
@@ -9975,7 +9985,8 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
9975
9985
*/
9976
9986
rel: string;
9977
9987
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList) */
9978
- readonly relList: DOMTokenList;
9988
+ get relList(): DOMTokenList;
9989
+ set relList(value: string);
9979
9990
/**
9980
9991
* Sets or retrieves the relationship between the object and the destination of the link.
9981
9992
* @deprecated
@@ -10034,7 +10045,8 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
10034
10045
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel) */
10035
10046
rel: string;
10036
10047
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */
10037
- readonly relList: DOMTokenList;
10048
+ get relList(): DOMTokenList;
10049
+ set relList(value: string);
10038
10050
/** Sets or retrieves the shape of the object. */
10039
10051
shape: string;
10040
10052
/**
@@ -10830,7 +10842,8 @@ interface HTMLFormElement extends HTMLElement {
10830
10842
*/
10831
10843
noValidate: boolean;
10832
10844
rel: string;
10833
- readonly relList: DOMTokenList;
10845
+ get relList(): DOMTokenList;
10846
+ set relList(value: string);
10834
10847
/**
10835
10848
* Sets or retrieves the window or frame at which to target content.
10836
10849
*
@@ -11221,7 +11234,8 @@ interface HTMLIFrameElement extends HTMLElement {
11221
11234
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
11222
11235
referrerPolicy: ReferrerPolicy;
11223
11236
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
11224
- readonly sandbox: DOMTokenList;
11237
+ get sandbox(): DOMTokenList;
11238
+ set sandbox(value: string);
11225
11239
/**
11226
11240
* Sets or retrieves whether the frame can be scrolled.
11227
11241
* @deprecated
@@ -11840,13 +11854,15 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11840
11854
*/
11841
11855
rel: string;
11842
11856
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList) */
11843
- readonly relList: DOMTokenList;
11857
+ get relList(): DOMTokenList;
11858
+ set relList(value: string);
11844
11859
/**
11845
11860
* Sets or retrieves the relationship between the object and the destination of the link.
11846
11861
* @deprecated
11847
11862
*/
11848
11863
rev: string;
11849
- readonly sizes: DOMTokenList;
11864
+ get sizes(): DOMTokenList;
11865
+ set sizes(value: string);
11850
11866
/**
11851
11867
* Sets or retrieves the window or frame at which to target content.
11852
11868
* @deprecated
@@ -12604,7 +12620,8 @@ interface HTMLOutputElement extends HTMLElement {
12604
12620
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
12605
12621
readonly form: HTMLFormElement | null;
12606
12622
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
12607
- readonly htmlFor: DOMTokenList;
12623
+ get htmlFor(): DOMTokenList;
12624
+ set htmlFor(value: string);
12608
12625
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
12609
12626
readonly labels: NodeListOf<HTMLLabelElement>;
12610
12627
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
@@ -19589,7 +19606,8 @@ declare var Response: {
19589
19606
*/
19590
19607
interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
19591
19608
rel: string;
19592
- readonly relList: DOMTokenList;
19609
+ get relList(): DOMTokenList;
19610
+ set relList(value: string);
19593
19611
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/target) */
19594
19612
readonly target: SVGAnimatedString;
19595
19613
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -22553,7 +22571,8 @@ interface StyleSheet {
22553
22571
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/href) */
22554
22572
readonly href: string | null;
22555
22573
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media) */
22556
- readonly media: MediaList;
22574
+ get media(): MediaList;
22575
+ set media(mediaText: string);
22557
22576
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode) */
22558
22577
readonly ownerNode: Element | ProcessingInstruction | null;
22559
22578
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet) */
@@ -26474,7 +26493,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
26474
26493
readonly length: number;
26475
26494
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location) */
26476
26495
get location(): Location;
26477
- set location(href: string | Location );
26496
+ set location(href: string);
26478
26497
/**
26479
26498
* Returns true if the location bar is visible; otherwise, returns false.
26480
26499
*
0 commit comments