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 17721772 "overrideType" : " NodeListOf<HTMLLabelElement>"
17731773 },
17741774 "type" : {
1775- "overrideType" : " \" submit\" | \" reset\" | \" button\"
1775+ "overrideType" : " \" submit\" | \" reset\" | \" button\" "
17761776 }
17771777 }
17781778 }
31703170 }
31713171 }
31723172 },
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+ },
31733230 "HTMLMediaElement" : {
31743231 "properties" : {
31753232 "property" : {
Original file line number Diff line number Diff line change @@ -645,7 +645,9 @@ export function emitWebIdl(
645645
646646 function acceptsUrl ( p : Browser . Param ) {
647647 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 ) ) ||
649651 p . type === "RequestInfo"
650652 ) ;
651653 }
You can’t perform that action at this time.
0 commit comments