Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
Passe.style['counter-increment'] = "none" should set the property value
Asserts run
Pass
assert_not_equals("none", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("none", "none", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("none", "none", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['counter-increment'] = "chapter" should set the property value
Asserts run
Pass
assert_not_equals("chapter 1", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("chapter 1", "chapter 1", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("chapter 1", "chapter 1", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['counter-increment'] = "section -1" should set the property value
Asserts run
Pass
assert_not_equals("section -1", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("section -1", "section -1", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("section -1", "section -1", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['counter-increment'] = "first -1 second third 99" should set the property value
Asserts run
Pass
assert_not_equals("first -1 second 1 third 99", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("first -1 second 1 third 99", "first -1 second 1 third 99", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("first -1 second 1 third 99", "first -1 second 1 third 99", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Faile.style['counter-increment'] = "section calc(1)" should set the property valueassert_equals: serialization should be canonical expected "section calc(1)" but got "section 1"
    at Test.<anonymous> (https://www2.wpt.live/css/support/parsing-testcommon.js:34:13)
    at Test.step (https://www2.wpt.live/resources/testharness.js:2638:25)
    at test (https://www2.wpt.live/resources/testharness.js:633:30)
    at test_valid_value (https://www2.wpt.live/css/support/parsing-testcommon.js:23:5)
    at https://www2.wpt.live/css/css-lists/parsing/counter-increment-valid.html:18:1
Asserts run
Pass
assert_not_equals("section 1", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Fail
assert_equals("section 1", "section calc(1)", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Faile.style['counter-increment'] = "section calc(-2.5)" should set the property valueassert_equals: serialization should be canonical expected "section calc(-2.5)" but got "section -2"
    at Test.<anonymous> (https://www2.wpt.live/css/support/parsing-testcommon.js:34:13)
    at Test.step (https://www2.wpt.live/resources/testharness.js:2638:25)
    at test (https://www2.wpt.live/resources/testharness.js:633:30)
    at test_valid_value (https://www2.wpt.live/css/support/parsing-testcommon.js:23:5)
    at https://www2.wpt.live/css/css-lists/parsing/counter-increment-valid.html:19:1
Asserts run
Pass
assert_not_equals("section -2", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Fail
assert_equals("section -2", "section calc(-2.5)", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Faile.style['counter-increment'] = "section calc(10 + (5 * sign(2cqw - 10px)))" should set the property valueassert_not_equals: property should be set got disallowed value ""
    at Test.<anonymous> (https://www2.wpt.live/css/support/parsing-testcommon.js:28:9)
    at Test.step (https://www2.wpt.live/resources/testharness.js:2638:25)
    at test (https://www2.wpt.live/resources/testharness.js:633:30)
    at test_valid_value (https://www2.wpt.live/css/support/parsing-testcommon.js:23:5)
    at https://www2.wpt.live/css/css-lists/parsing/counter-increment-valid.html:20:1
Asserts run
Fail
assert_not_equals("", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)