Summary

Harness status: OK

Found 19 tests

Details

ResultTest NameMessage
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set the property value
Asserts run
Pass
assert_not_equals("url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)", ["url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box", "url(\"https://example.com/\") local space round 1px 2px / 3px 4px padding-box content-box, url(\"https://example.com/\") local space round 1px 2px / 3px 4px padding-box content-box rgb(5, 6, 7)", "url(\"https://example.com/\") space round local 1px 2px / 3px 4px padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") space round local 1px 2px / 3px 4px padding-box content-box", "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)", "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box rgb(5, 6, 7)", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Faile.style['background'] = "none" should set background-attachmentassert_equals: background-attachment should be canonical expected "scroll" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "scroll", "background-attachment should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Faile.style['background'] = "none" should set background-clipassert_equals: background-clip should be canonical expected "border-box" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "border-box", "background-clip should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Faile.style['background'] = "none" should set background-colorassert_equals: background-color should be canonical expected "rgba(0, 0, 0, 0)" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "rgba(0, 0, 0, 0)", "background-color should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Passe.style['background'] = "none" should set background-image
Asserts run
Pass
assert_equals("none", "none", "background-image should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("none", "none", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Faile.style['background'] = "none" should set background-originassert_equals: background-origin should be canonical expected "padding-box" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "padding-box", "background-origin should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Faile.style['background'] = "none" should set background-positionassert_equals: background-position should be canonical expected "0% 0%" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "0% 0%", "background-position should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Faile.style['background'] = "none" should set background-repeatassert_equals: background-repeat should be canonical expected "repeat" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "repeat", "background-repeat should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Faile.style['background'] = "none" should set background-sizeassert_equals: background-size should be canonical expected "auto" but got "initial"
    at Test.<anonymous> (http://wpt.live/css/support/shorthand-testcommon.js:14:17)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at test_shorthand_value (http://wpt.live/css/support/shorthand-testcommon.js:7:9)
    at http://wpt.live/css/css-backgrounds/parsing/background-valid.html:26:1
Asserts run
Fail
assert_equals("initial", "auto", "background-size should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Passe.style['background'] = "none" should not set unrelated longhands
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:31:13)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:35:13)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-attachment
Asserts run
Pass
assert_equals("local, local", "local, local", "background-attachment should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("local, local", "local, local", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-clip
Asserts run
Pass
assert_equals("content-box, content-box", "content-box, content-box", "background-clip should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("content-box, content-box", "content-box, content-box", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-color
Asserts run
Pass
assert_equals("rgb(5, 6, 7)", "rgb(5, 6, 7)", "background-color should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("rgb(5, 6, 7)", "rgb(5, 6, 7)", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-image
Asserts run
Pass
assert_equals("url(\"https://example.com/\"), url(\"https://example.com/\")", "url(\"https://example.com/\"), url(\"https://example.com/\")", "background-image should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("url(\"https://example.com/\"), url(\"https://example.com/\")", "url(\"https://example.com/\"), url(\"https://example.com/\")", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-origin
Asserts run
Pass
assert_equals("padding-box, padding-box", "padding-box, padding-box", "background-origin should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("padding-box, padding-box", "padding-box, padding-box", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-position
Asserts run
Pass
assert_equals("1px 2px, 1px 2px", "1px 2px, 1px 2px", "background-position should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("1px 2px, 1px 2px", "1px 2px, 1px 2px", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-repeat
Asserts run
Pass
assert_equals("space round, space round", "space round, space round", "background-repeat should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("space round, space round", "space round, space round", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-size
Asserts run
Pass
assert_equals("3px 4px, 3px 4px", "3px 4px, 3px 4px", "background-size should be canonical")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17)
Pass
assert_equals("3px 4px, 3px 4px", "3px 4px, 3px 4px", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:18:17)
Passe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should not set unrelated longhands
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:31:13)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/support/shorthand-testcommon.js:35:13)