Pass | e.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 runPass | 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) |
|
Fail | e.style['background'] = "none" should set background-attachment | assert_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 runFail | assert_equals("initial", "scroll", "background-attachment should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Fail | e.style['background'] = "none" should set background-clip | assert_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 runFail | assert_equals("initial", "border-box", "background-clip should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Fail | e.style['background'] = "none" should set background-color | assert_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 runFail | assert_equals("initial", "rgba(0, 0, 0, 0)", "background-color should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Pass | e.style['background'] = "none" should set background-image | Asserts runPass | 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) |
|
Fail | e.style['background'] = "none" should set background-origin | assert_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 runFail | assert_equals("initial", "padding-box", "background-origin should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Fail | e.style['background'] = "none" should set background-position | assert_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 runFail | assert_equals("initial", "0% 0%", "background-position should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Fail | e.style['background'] = "none" should set background-repeat | assert_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 runFail | assert_equals("initial", "repeat", "background-repeat should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Fail | e.style['background'] = "none" should set background-size | assert_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 runFail | assert_equals("initial", "auto", "background-size should be canonical")
at Test.<anonymous> ( /css/support/shorthand-testcommon.js:14:17) |
|
Pass | e.style['background'] = "none" should not set unrelated longhands | Asserts runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|
Pass | e.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 runPass | 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) |
|