Closed Bug 1470741 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11647 - [css-box] Parsing tests for CSS Box properties

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eric Willigers <ericwilligers@chromium.org> wrote:
>  [css-box] Parsing tests for CSS Box properties
>  
>  Spec:
>  https://drafts.csswg.org/css-box-3/
>      
>  Omits properties and values that are not yet supported by browsers.
>
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 24 tests and 184 subtests
OK     : 24
PASS   : 160
FAIL   : 24

New tests that have failures or other problems:
/css/css-box/parsing/height-valid.html
    e.style['height'] = "fit-content" should set the property value: FAIL
    e.style['height'] = "max-content" should set the property value: FAIL
    e.style['height'] = "min-content" should set the property value: FAIL
/css/css-box/parsing/max-height-valid.html
    e.style['max-height'] = "fit-content" should set the property value: FAIL
    e.style['max-height'] = "max-content" should set the property value: FAIL
    e.style['max-height'] = "min-content" should set the property value: FAIL
/css/css-box/parsing/max-width-valid.html
    e.style['max-width'] = "fit-content" should set the property value: FAIL
    e.style['max-width'] = "max-content" should set the property value: FAIL
    e.style['max-width'] = "min-content" should set the property value: FAIL
/css/css-box/parsing/min-height-invalid.html
    e.style['min-height'] = "auto" should not set the property value: FAIL
/css/css-box/parsing/min-height-valid.html
    e.style['min-height'] = "fit-content" should set the property value: FAIL
    e.style['min-height'] = "max-content" should set the property value: FAIL
    e.style['min-height'] = "min-content" should set the property value: FAIL
/css/css-box/parsing/min-width-invalid.html
    e.style['min-width'] = "auto" should not set the property value: FAIL
/css/css-box/parsing/min-width-valid.html
    e.style['min-width'] = "fit-content" should set the property value: FAIL
    e.style['min-width'] = "max-content" should set the property value: FAIL
    e.style['min-width'] = "min-content" should set the property value: FAIL
/css/css-box/parsing/padding-invalid.html
    e.style['padding'] = "10px 20% 30% 40px" should not set the property value: FAIL
    e.style['padding'] = "20%" should not set the property value: FAIL
    e.style['padding-right'] = "20%" should not set the property value: FAIL
    e.style['padding-right'] = "calc(2em + 3%)" should not set the property value: FAIL
/css/css-box/parsing/width-valid.html
    e.style['width'] = "fit-content" should set the property value: FAIL
    e.style['width'] = "max-content" should set the property value: FAIL
    e.style['width'] = "min-content" should set the property value: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7ae385a05877
[wpt PR 11647] - [css-box] Parsing tests for CSS Box properties, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/59208f234e23
[wpt PR 11647] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/7ae385a05877
https://hg.mozilla.org/mozilla-central/rev/59208f234e23
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.