Closed Bug 1474316 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11854 - Update the css-pseudo IDL file

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11854 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11854
Details from upstream follow.

Luke Bjerring <lukebjerring@chromium.org> wrote:
>  Update the css-pseudo IDL file
>  
>  Hello reviewer(s),
>  
>  This PR is intended to consolidate the spec’s IDL definition with the WPT test suite’s copy, and any idlharness tests.
>  
>  The up-to-date copy of the IDL file was automatically extracted from the reffy-reports repo (https://github.com/tidoust/reffy-reports/tree/master/whatwg/idl) which scrapes known specs automatically + regulary.
>  
>  This PR is part of a migration project which will eventually be automatically updating and creating PRs for changes in spec IDL.
>  
>  Please check that:
>  The spec (and its source) is correct and up-to-date
>  All tests which cover the IDL in the spec have been migrated to fetch + use the idl in the `interfaces/` directory (instead of inline copies in the test files).
>
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 34 subtests
OK     : 1
PASS   : 9
FAIL   : 25

New tests that have failures or other problems:
/css/css-pseudo/idlharness.html
    CSSPseudoElement interface: attribute style: FAIL
    CSSPseudoElement interface: beforeElements.item(0) must inherit property "style" with the proper type: FAIL
    CSSPseudoElement interface: beforeElements.item(0) must inherit property "type" with the proper type: FAIL
    CSSPseudoElement must be primary interface of beforeElements.item(0): FAIL
    CSSPseudoElementList interface object length: FAIL
    CSSPseudoElementList interface object name: FAIL
    CSSPseudoElementList interface: attribute length: FAIL
    CSSPseudoElementList interface: beforeElements must inherit property "getByType(CSSOMString)" with the proper type: FAIL
    CSSPseudoElementList interface: beforeElements must inherit property "item(unsigned long)" with the proper type: FAIL
    CSSPseudoElementList interface: beforeElements must inherit property "length" with the proper type: FAIL
    CSSPseudoElementList interface: calling getByType(CSSOMString) on beforeElements with too few arguments must throw TypeError: FAIL
    CSSPseudoElementList interface: calling item(unsigned long) on beforeElements with too few arguments must throw TypeError: FAIL
    CSSPseudoElementList interface: existence and properties of interface object: FAIL
    CSSPseudoElementList interface: existence and properties of interface prototype object: FAIL
    CSSPseudoElementList interface: existence and properties of interface prototype object's "constructor" property: FAIL
    CSSPseudoElementList interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    CSSPseudoElementList interface: operation getByType(CSSOMString): FAIL
    CSSPseudoElementList interface: operation item(unsigned long): FAIL
    CSSPseudoElementList must be primary interface of beforeElements: FAIL
    Stringification of beforeElements: FAIL
    Stringification of beforeElements.item(0): FAIL
    Window interface: calling getPseudoElements(Element, CSSOMString) on window with too few arguments must throw TypeError: FAIL
    Window interface: operation getPseudoElements(Element, CSSOMString): FAIL
    Window interface: window must inherit property "getPseudoElements(Element, CSSOMString)" with the proper type: FAIL
    idl_test setup: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2eb5590f2c0f
[wpt PR 11854] - Update the css-pseudo IDL test, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/d7ec2368925b
[wpt PR 11854] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/2eb5590f2c0f
https://hg.mozilla.org/mozilla-central/rev/d7ec2368925b
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
See Also: → 1482123
You need to log in before you can comment on or make changes to this bug.