mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
refactor: add CanGc as argument to methods in CSSGroupingRule, CSSKeyframesRule, Crypto (#35743)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
27970e1847
commit
67bd557f30
4 changed files with 33 additions and 21 deletions
|
@ -87,6 +87,18 @@ DOMInterfaces = {
|
|||
'canGc': ['GetSize'],
|
||||
},
|
||||
|
||||
'CSSGroupingRule': {
|
||||
'canGc': ['CssRules', 'DeleteRule', 'InsertRule'],
|
||||
},
|
||||
|
||||
'CSSKeyframesRule': {
|
||||
'canGc': ['AppendRule', 'CssRules', 'DeleteRule', 'FindRule'],
|
||||
},
|
||||
|
||||
'Crypto': {
|
||||
'canGc': ['Subtle'],
|
||||
},
|
||||
|
||||
'CSSStyleDeclaration': {
|
||||
'canGc': ['RemoveProperty', 'SetCssText', 'GetPropertyValue', 'SetProperty', 'CssFloat', 'SetCssFloat']
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue