mirror of
https://github.com/servo/servo.git
synced 2025-09-22 04:40:09 +01:00
Don't require index parameter in CSSGroupingRule
's insertRule()
(#35295)
Make it optional, defaulting to 0 if omitted, as defined in the spec: https://drafts.csswg.org/cssom/#ref-for-dom-cssgroupingrule-insertrule Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
07aa4ce093
commit
7b36f2beb3
3 changed files with 1 additions and 8 deletions
3
tests/wpt/meta/css/cssom/idlharness.html.ini
vendored
3
tests/wpt/meta/css/cssom/idlharness.html.ini
vendored
|
@ -215,9 +215,6 @@
|
|||
[CSSRule interface: sheet.cssRules[2\].cssRules[0\] must inherit property "MARGIN_RULE" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[CSSGroupingRule interface: operation insertRule(CSSOMString, optional unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[CSSImportRule interface: sheet.cssRules[0\] must inherit property "styleSheet" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue