Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface.

This commit is contained in:
Moonchild 2024-03-31 00:47:10 +01:00 • committed by roytam1
commit 5a522d9145
13 changed files with 118 additions and 18 deletions

View file

@ -205,6 +205,11 @@ DOMInterfaces = {
'nativeType': 'nsROCSSPrimitiveValue',
},
'CSSRule': {
# 'hasXPConnectImpls': True,
'nativeType': 'mozilla::css::Rule'
},
'CSSStyleDeclaration': {
'nativeType': 'nsICSSDeclaration'
},
@ -1689,7 +1694,6 @@ def addExternalIface(iface, nativeType=None, headerFile=None,
addExternalIface('ApplicationCache', nativeType='nsIDOMOfflineResourceList')
addExternalIface('Counter')
addExternalIface('CSSRule')
addExternalIface('RTCDataChannel', nativeType='nsIDOMDataChannel')
addExternalIface('HitRegionOptions', nativeType='nsISupports')
addExternalIface('imgINotificationObserver', nativeType='imgINotificationObserver')