File tree Expand file tree Collapse file tree 4 files changed +148
-84
lines changed Expand file tree Collapse file tree 4 files changed +148
-84
lines changed Original file line number Diff line number Diff line change 1772
1772
"overrideType" : " NodeListOf<HTMLLabelElement>"
1773
1773
},
1774
1774
"type" : {
1775
- "overrideType" : " \" submit\" | \" reset\" | \" button\"
1775
+ "overrideType" : " \" submit\" | \" reset\" | \" button\" "
1776
1776
}
1777
1777
}
1778
1778
}
3170
3170
}
3171
3171
}
3172
3172
},
3173
+ "CSSFontFaceRule" : {
3174
+ "properties" : {
3175
+ "property" : {
3176
+ "style" : {
3177
+ // CSS Fonts Level 4 now says CSSFontFaceDescriptors but nobody implements it as of 2024-04
3178
+ // https://github.com/w3c/csswg-drafts/pull/9686
3179
+ "type" : " CSSStyleDeclaration"
3180
+ }
3181
+ }
3182
+ }
3183
+ },
3184
+ "CSSKeyframeRule" : {
3185
+ "properties" : {
3186
+ "property" : {
3187
+ "style" : {
3188
+ // CSS Fonts Level 4 now says CSSStyleProperties but nobody implements it as of 2024-04
3189
+ // https://github.com/w3c/csswg-drafts/pull/9686
3190
+ "type" : " CSSStyleDeclaration"
3191
+ }
3192
+ }
3193
+ }
3194
+ },
3195
+ "CSSPageRule" : {
3196
+ "properties" : {
3197
+ "property" : {
3198
+ "style" : {
3199
+ // CSS Fonts Level 4 now says CSSPageDescriptors but nobody implements it as of 2024-04
3200
+ // https://github.com/w3c/csswg-drafts/pull/9686
3201
+ "type" : " CSSStyleDeclaration"
3202
+ }
3203
+ }
3204
+ }
3205
+ },
3206
+ "CSSStyleDeclaration" : {
3207
+ "properties" : {
3208
+ "property" : {
3209
+ "cssFloat" : {
3210
+ // CSS Fonts Level 4 now puts this in CSSStyleProperties but nobody implements it as of 2024-04
3211
+ // https://github.com/w3c/csswg-drafts/pull/9686
3212
+ "name" : " cssFloat" ,
3213
+ "type" : " CSSOMString" ,
3214
+ "mdnUrl" : " https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat"
3215
+ }
3216
+ }
3217
+ }
3218
+ },
3219
+ "CSSStyleRule" : {
3220
+ "properties" : {
3221
+ "property" : {
3222
+ "style" : {
3223
+ // CSS Fonts Level 4 now says CSSStyleProperties but nobody implements it as of 2024-04
3224
+ // https://github.com/w3c/csswg-drafts/pull/9686
3225
+ "type" : " CSSStyleDeclaration"
3226
+ }
3227
+ }
3228
+ }
3229
+ },
3173
3230
"HTMLMediaElement" : {
3174
3231
"properties" : {
3175
3232
"property" : {
Original file line number Diff line number Diff line change @@ -645,7 +645,9 @@ export function emitWebIdl(
645
645
646
646
function acceptsUrl ( p : Browser . Param ) {
647
647
return (
648
- ( p . name . toLowerCase ( ) . includes ( "url" ) && p . type === "USVString" ) ||
648
+ ( p . name . toLowerCase ( ) . includes ( "url" ) &&
649
+ typeof p . type === "string" &&
650
+ [ "USVString" , "ScriptURLString" ] . includes ( p . type ) ) ||
649
651
p . type === "RequestInfo"
650
652
) ;
651
653
}
You can’t perform that action at this time.
0 commit comments