diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/box-sizing-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/box-sizing-invalid.txt index 0e8e6c88c53..9c89ccfcfcb 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/box-sizing-invalid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/box-sizing-invalid.txt @@ -15,4 +15,4 @@ Pass e.style['box-sizing'] = "fill-box" should not set the property value Pass e.style['box-sizing'] = "stroke-box" should not set the property value Pass e.style['box-sizing'] = "view-box" should not set the property value Pass e.style['box-sizing'] = "content-box border-box" should not set the property value -Fail e.style['box-sizing'] = "content-box, border-box" should not set the property value assert_equals: expected "" but got "content-box" \ No newline at end of file +Fail e.style['box-sizing'] = "content-box, border-box" should not set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/height-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/height-valid.txt index bf74861c40b..ca960ee1c90 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/height-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/height-valid.txt @@ -15,7 +15,7 @@ Pass e.style['height'] = "max-content" should set the property value Pass e.style['height'] = "0" should set the property value Pass e.style['height'] = "10%" should set the property value Pass e.style['height'] = "0.5em" should set the property value -Fail e.style['height'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))" -Fail e.style['height'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['height'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['height'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value "" \ No newline at end of file +Fail e.style['height'] = "calc(10% - 0.5em)" should set the property value +Fail e.style['height'] = "fit-content(10%)" should set the property value +Fail e.style['height'] = "fit-content(0.5em)" should set the property value +Fail e.style['height'] = "fit-content(calc(10% - 0.5em))" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-computed.txt index 5edfe3eb455..2ecbc160082 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-computed.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-computed.txt @@ -15,9 +15,9 @@ Pass Property max-height value 'max-content' Pass Property max-height value '10px' Pass Property max-height value '20%' Pass Property max-height value 'calc(10% + 40px)' -Fail Property max-height value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))" -Fail Property max-height value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)" -Fail Property max-height value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for max-height. expected true got false -Fail Property max-height value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for max-height. expected true got false -Fail Property max-height value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for max-height. expected true got false -Fail Property max-height value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for max-height. expected true got false \ No newline at end of file +Fail Property max-height value 'calc(10px - 0.5em)' +Fail Property max-height value 'calc(10px + 0.5em)' +Fail Property max-height value 'fit-content(10px)' +Fail Property max-height value 'fit-content(20%)' +Fail Property max-height value 'fit-content(calc(10% + 40px))' +Fail Property max-height value 'fit-content(calc(10px + 0.5em))' \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-valid.txt index d6ddfd4ef82..77714ee37bb 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-height-valid.txt @@ -15,7 +15,7 @@ Pass e.style['max-height'] = "max-content" should set the property value Pass e.style['max-height'] = "0" should set the property value Pass e.style['max-height'] = "10%" should set the property value Pass e.style['max-height'] = "0.5em" should set the property value -Fail e.style['max-height'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))" -Fail e.style['max-height'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['max-height'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['max-height'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value "" \ No newline at end of file +Fail e.style['max-height'] = "calc(10% - 0.5em)" should set the property value +Fail e.style['max-height'] = "fit-content(10%)" should set the property value +Fail e.style['max-height'] = "fit-content(0.5em)" should set the property value +Fail e.style['max-height'] = "fit-content(calc(10% - 0.5em))" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-computed.txt index e450d1ae403..e5fb21d6b5a 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-computed.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-computed.txt @@ -15,9 +15,9 @@ Pass Property max-width value 'max-content' Pass Property max-width value '10px' Pass Property max-width value '20%' Pass Property max-width value 'calc(10% + 40px)' -Fail Property max-width value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))" -Fail Property max-width value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)" -Fail Property max-width value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for max-width. expected true got false -Fail Property max-width value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for max-width. expected true got false -Fail Property max-width value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for max-width. expected true got false -Fail Property max-width value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for max-width. expected true got false \ No newline at end of file +Fail Property max-width value 'calc(10px - 0.5em)' +Fail Property max-width value 'calc(10px + 0.5em)' +Fail Property max-width value 'fit-content(10px)' +Fail Property max-width value 'fit-content(20%)' +Fail Property max-width value 'fit-content(calc(10% + 40px))' +Fail Property max-width value 'fit-content(calc(10px + 0.5em))' \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-valid.txt index 9c6a06ec265..549574a7d66 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/max-width-valid.txt @@ -15,7 +15,7 @@ Pass e.style['max-width'] = "max-content" should set the property value Pass e.style['max-width'] = "0" should set the property value Pass e.style['max-width'] = "10%" should set the property value Pass e.style['max-width'] = "0.5em" should set the property value -Fail e.style['max-width'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))" -Fail e.style['max-width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['max-width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['max-width'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value "" \ No newline at end of file +Fail e.style['max-width'] = "calc(10% - 0.5em)" should set the property value +Fail e.style['max-width'] = "fit-content(10%)" should set the property value +Fail e.style['max-width'] = "fit-content(0.5em)" should set the property value +Fail e.style['max-width'] = "fit-content(calc(10% - 0.5em))" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-computed.txt index a6e2713c09a..1626d25bcc5 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-computed.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-computed.txt @@ -14,9 +14,9 @@ Pass Property min-height value 'max-content' Pass Property min-height value '10px' Pass Property min-height value '20%' Pass Property min-height value 'calc(10% + 40px)' -Fail Property min-height value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))" -Fail Property min-height value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)" -Fail Property min-height value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for min-height. expected true got false -Fail Property min-height value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for min-height. expected true got false -Fail Property min-height value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for min-height. expected true got false -Fail Property min-height value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for min-height. expected true got false \ No newline at end of file +Fail Property min-height value 'calc(10px - 0.5em)' +Fail Property min-height value 'calc(10px + 0.5em)' +Fail Property min-height value 'fit-content(10px)' +Fail Property min-height value 'fit-content(20%)' +Fail Property min-height value 'fit-content(calc(10% + 40px))' +Fail Property min-height value 'fit-content(calc(10px + 0.5em))' \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-invalid.txt index d0ec61b6f18..ed1baab6466 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-invalid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-invalid.txt @@ -18,5 +18,5 @@ Pass e.style['min-height'] = "10px 20%" should not set the property value Pass e.style['min-height'] = "max-content 10px" should not set the property value Pass e.style['min-height'] = "min-content max-content" should not set the property value Pass e.style['min-height'] = "available" should not set the property value -Fail e.style['min-height'] = "10px border-box" should not set the property value assert_equals: expected "" but got "10px" +Fail e.style['min-height'] = "10px border-box" should not set the property value Pass e.style['min-height'] = "content-box 20%" should not set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-valid.txt index 4e2c05a5c91..c529d887d4a 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-height-valid.txt @@ -15,7 +15,7 @@ Pass e.style['min-height'] = "max-content" should set the property value Pass e.style['min-height'] = "0" should set the property value Pass e.style['min-height'] = "10%" should set the property value Pass e.style['min-height'] = "0.5em" should set the property value -Fail e.style['min-height'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))" -Fail e.style['min-height'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['min-height'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['min-height'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value "" \ No newline at end of file +Fail e.style['min-height'] = "calc(10% - 0.5em)" should set the property value +Fail e.style['min-height'] = "fit-content(10%)" should set the property value +Fail e.style['min-height'] = "fit-content(0.5em)" should set the property value +Fail e.style['min-height'] = "fit-content(calc(10% - 0.5em))" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-computed.txt index eb7d6e1d74d..d1c16a22680 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-computed.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-computed.txt @@ -14,9 +14,9 @@ Pass Property min-width value 'max-content' Pass Property min-width value '10px' Pass Property min-width value '20%' Pass Property min-width value 'calc(10% + 40px)' -Fail Property min-width value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))" -Fail Property min-width value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)" -Fail Property min-width value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for min-width. expected true got false -Fail Property min-width value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for min-width. expected true got false -Fail Property min-width value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for min-width. expected true got false -Fail Property min-width value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for min-width. expected true got false \ No newline at end of file +Fail Property min-width value 'calc(10px - 0.5em)' +Fail Property min-width value 'calc(10px + 0.5em)' +Fail Property min-width value 'fit-content(10px)' +Fail Property min-width value 'fit-content(20%)' +Fail Property min-width value 'fit-content(calc(10% + 40px))' +Fail Property min-width value 'fit-content(calc(10px + 0.5em))' \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-invalid.txt index 9b331fd9714..85ee8783152 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-invalid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-invalid.txt @@ -18,5 +18,5 @@ Pass e.style['min-width'] = "10px 20%" should not set the property value Pass e.style['min-width'] = "max-content 10px" should not set the property value Pass e.style['min-width'] = "min-content max-content" should not set the property value Pass e.style['min-width'] = "available" should not set the property value -Fail e.style['min-width'] = "10px border-box" should not set the property value assert_equals: expected "" but got "10px" +Fail e.style['min-width'] = "10px border-box" should not set the property value Pass e.style['min-width'] = "content-box 20%" should not set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-valid.txt index 913f40ed202..a162caac6f0 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/min-width-valid.txt @@ -15,7 +15,7 @@ Pass e.style['min-width'] = "max-content" should set the property value Pass e.style['min-width'] = "0" should set the property value Pass e.style['min-width'] = "10%" should set the property value Pass e.style['min-width'] = "0.5em" should set the property value -Fail e.style['min-width'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))" -Fail e.style['min-width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['min-width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['min-width'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value "" \ No newline at end of file +Fail e.style['min-width'] = "calc(10% - 0.5em)" should set the property value +Fail e.style['min-width'] = "fit-content(10%)" should set the property value +Fail e.style['min-width'] = "fit-content(0.5em)" should set the property value +Fail e.style['min-width'] = "fit-content(calc(10% - 0.5em))" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/width-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/width-valid.txt index ed06e1c2ad2..70edb233d25 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/width-valid.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/parsing/width-valid.txt @@ -15,7 +15,7 @@ Pass e.style['width'] = "max-content" should set the property value Pass e.style['width'] = "0" should set the property value Pass e.style['width'] = "10%" should set the property value Pass e.style['width'] = "0.5em" should set the property value -Fail e.style['width'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))" -Fail e.style['width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value "" -Fail e.style['width'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value "" \ No newline at end of file +Fail e.style['width'] = "calc(10% - 0.5em)" should set the property value +Fail e.style['width'] = "fit-content(10%)" should set the property value +Fail e.style['width'] = "fit-content(0.5em)" should set the property value +Fail e.style['width'] = "fit-content(calc(10% - 0.5em))" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-argument-with-explicit-scope.txt b/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-argument-with-explicit-scope.txt index d0f3f773269..e9a1f26ac40 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-argument-with-explicit-scope.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-argument-with-explicit-scope.txt @@ -12,7 +12,7 @@ Details Result Test Name MessagePass :has(:scope) matches expected elements on scope1 Pass :has(:scope .c) matches expected elements on scope1 Pass :has(.a :scope) matches expected elements on scope1 -Fail .a:has(:scope) .c matches expected elements on scope1 assert_equals: expected "d02,d03" but got "" +Fail .a:has(:scope) .c matches expected elements on scope1 Pass .a:has(:scope) .c and :is(.a :scope .c) returns same elements on scope1 Pass .a:has(:scope) .c matches expected elements on scope2 Pass .a:has(:scope) .c and :is(.a :scope .c) returns same elements on scope2 diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-specificity.txt b/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-specificity.txt index c1b94e4e2a1..bdca3b072ef 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-specificity.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/selectors/has-specificity.txt @@ -8,11 +8,11 @@ Found 8 tests 8 Fail Details -Result Test Name MessageFail :has(#foo) wins over :has(.foo) assert_equals: expected "PASS" but got "" -Fail :has(span#foo) wins over :has(#foo) assert_equals: expected "PASS" but got "" -Fail :has(.bar, #foo) has same specificity as :has(#foo, .bar) assert_equals: expected "PASS" but got "" -Fail :has(.bar, #foo) wins over :has(.foo, .bar) assert_equals: expected "PASS" but got "" -Fail :has(span + span) wins over :has(span) assert_equals: expected "PASS" but got "" -Fail :has(span, li, p) wins over :has(span, lo, p) assert_equals: expected "PASS" but got "" -Fail latter .baz wins over :has(.foo) assert_equals: expected "PASS" but got "" -Fail latter :has(.foo) wins over .baz assert_equals: expected "PASS" but got "" \ No newline at end of file +Result Test Name MessageFail :has(#foo) wins over :has(.foo) +Fail :has(span#foo) wins over :has(#foo) +Fail :has(.bar, #foo) has same specificity as :has(#foo, .bar) +Fail :has(.bar, #foo) wins over :has(.foo, .bar) +Fail :has(span + span) wins over :has(span) +Fail :has(span, li, p) wins over :has(span, lo, p) +Fail latter .baz wins over :has(.foo) +Fail latter :has(.foo) wins over .baz \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/selectors/invalidation/has-with-pseudo-class.txt b/Tests/LibWeb/Text/expected/wpt-import/css/selectors/invalidation/has-with-pseudo-class.txt index 84e15b7c132..4fe542bec83 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/css/selectors/invalidation/has-with-pseudo-class.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/css/selectors/invalidation/has-with-pseudo-class.txt @@ -29,24 +29,24 @@ Pass Unset disabled on option, testing subject3 Pass Before set disabled on optgroup, testing subject Pass Set disabled on optgroup, testing subject Pass Unset disabled on optgroup, testing subject -Fail Before set disabled on optgroup, testing subject2 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Before set disabled on optgroup, testing subject2 Pass Set disabled on optgroup, testing subject2 -Fail Unset disabled on optgroup, testing subject2 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Unset disabled on optgroup, testing subject2 Pass Before set disabled on optgroup, testing subject3 Pass Set disabled on optgroup, testing subject3 Pass Unset disabled on optgroup, testing subject3 -Fail Before set disabled on optgroup, testing subject4 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Before set disabled on optgroup, testing subject4 Pass Set disabled on optgroup, testing subject4 -Fail Unset disabled on optgroup, testing subject4 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Unset disabled on optgroup, testing subject4 Pass Before setting value of text_input, testing subject -Fail Set value of text_input, testing subject assert_equals: expected "rgb(255, 255, 0)" but got "rgb(128, 128, 128)" +Fail Set value of text_input, testing subject Pass Clear value of text_input, testing subject -Fail Before setting value of text_input, testing subject2 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Before setting value of text_input, testing subject2 Pass Set value of text_input, testing subject2 -Fail Clear value of text_input, testing subject2 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Clear value of text_input, testing subject2 Pass Before setting value of text_input, testing subject3 -Fail Set value of text_input, testing subject3 assert_equals: expected "rgb(255, 255, 0)" but got "rgb(128, 128, 128)" +Fail Set value of text_input, testing subject3 Pass Clear value of text_input, testing subject3 -Fail Before setting value of text_input, testing subject4 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" +Fail Before setting value of text_input, testing subject4 Pass Set value of text_input, testing subject4 -Fail Clear value of text_input, testing subject4 assert_equals: expected "rgb(128, 128, 128)" but got "rgb(255, 255, 0)" \ No newline at end of file +Fail Clear value of text_input, testing subject4 \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/dom/elements/the-innertext-and-outertext-properties/getter.txt b/Tests/LibWeb/Text/expected/wpt-import/html/dom/elements/the-innertext-and-outertext-properties/getter.txt index 7e68a0171b1..8471e14e4f7 100644 --- a/Tests/LibWeb/Text/expected/wpt-import/html/dom/elements/the-innertext-and-outertext-properties/getter.txt +++ b/Tests/LibWeb/Text/expected/wpt-import/html/dom/elements/the-innertext-and-outertext-properties/getter.txt @@ -10,14 +10,14 @@ Found 271 tests 62 Fail Details Result Test Name MessagePass Simplest possible test ("
abc") Pass Trailing whitespace preserved ("abc ") Pass Internal whitespace preserved ("abc def") @@ -37,54 +37,54 @@ Pass Internal whitespace preserved ("abc def") Pass \n preserved ("abc\ndef") Pass \r converted to newline ("abc\rdef") Pass \t preserved ("abc\tdef") -Fail Leading whitespace removed ("
abc") assert_equals: innerText expected "abc" but got " abc" -Fail Trailing whitespace removed ("abc ") assert_equals: innerText expected "abc" but got "abc " +Fail Leading whitespace removed ("abc") +Fail Trailing whitespace removed ("abc ") Pass Internal whitespace collapsed ("abc def") -Fail \n preserved ("abc\ndef") assert_equals: innerText expected "abc\ndef" but got "abc def" -Fail \r converted to newline ("abc\rdef") assert_equals: innerText expected "abc\ndef" but got "abc def" +Fail \n preserved ("abc\ndef") +Fail \r converted to newline ("abc\rdef") Pass \t converted to space ("abc\tdef") -Fail Whitespace collapses across element boundaries ("abc def") assert_equals: innerText expected "abc def" but got "abc def" -Fail Whitespace collapses across element boundaries ("abc def") assert_equals: innerText expected "abc def" but got "abc def" -Fail Whitespace collapses across element boundaries ("abc def") assert_equals: innerText expected "abc def" but got "abc def" +Fail Whitespace collapses across element boundaries ("abc def") +Fail Whitespace collapses across element boundaries ("abc def") +Fail Whitespace collapses across element boundaries ("abc def") Pass Whitespace around should not be collapsed ("abc def") Pass Whitespace around inline-block should not be collapsed ("abc def") -Fail Trailing space at end of inline-block should be collapsed ("abc def ghi") assert_equals: innerText expected "abc def ghi" but got "abc def ghi" +Fail Trailing space at end of inline-block should be collapsed ("abc def ghi") Pass Whitespace around inline-flex should not be collapsed ("abc def") -Fail Trailing space at end of inline-flex should be collapsed ("abc def ghi") assert_equals: innerText expected "abc def ghi" but got "abc def ghi" +Fail Trailing space at end of inline-flex should be collapsed ("abc def ghi") Pass Whitespace around inline-grid should not be collapsed ("abc def") -Fail Trailing space at end of grid-flex should be collapsed ("abc def ghi") assert_equals: innerText expected "abc def ghi" but got "abc def ghi" -Fail Whitespace between and block should be collapsed ("abc") assert_equals: innerText expected "abc" but got " \nabc" -Fail Whitespace between inline-block and block should be collapsed ("abc") assert_equals: innerText expected "abc" but got " \nabc" -Fail Whitespace between inline-flex and block should be collapsed ("abc") assert_equals: innerText expected "abc" but got " \nabc" -Fail Whitespace between inline-grid and block should be collapsed ("abc") assert_equals: innerText expected "abc" but got " \nabc" +Fail Trailing space at end of grid-flex should be collapsed ("abc def ghi") +Fail Whitespace between and block should be collapsed ("abc") +Fail Whitespace between inline-block and block should be collapsed ("abc") +Fail Whitespace between inline-flex and block should be collapsed ("abc") +Fail Whitespace between inline-grid and block should be collapsed ("abc") Pass Whitespace aroundshould not be collapsed ("
abcdef") Pass Whitespace around
should not be collapsed ("
abcdef") Pass Leading whitesapce should not be collapsed ("
abc") Pass Trailing whitesapce should not be collapsed ("
abc") -Fail Whitespace around empty span should be collapsed ("
abc def") assert_equals: innerText expected "abc def" but got "abc def" -Fail Whitespace around empty spans should be collapsed ("abc def") assert_equals: innerText expected "abc def" but got "abc def" +Fail Whitespace around empty span should be collapsed ("abc def") +Fail Whitespace around empty spans should be collapsed ("abc def") Pass