mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
Tests: Don't print full error messages in imported WPT tests
...when running in test mode. This cuts down on the time it takes to run the imported WPT tests, and you can still get the full error by opening tests in the browser.
This commit is contained in:
parent
53d5c7084e
commit
0ebdac0b35
Notes:
github-actions[bot]
2024-10-30 09:18:28 +00:00
Author: https://github.com/awesomekling
Commit: 0ebdac0b35
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2039
20 changed files with 181 additions and 175 deletions
|
@ -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'] = "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'] = "view-box" should not set the property value
|
||||||
Pass e.style['box-sizing'] = "content-box border-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"
|
Fail e.style['box-sizing'] = "content-box, border-box" should not set the property value
|
|
@ -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'] = "0" should set the property value
|
||||||
Pass e.style['height'] = "10%" 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
|
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'] = "calc(10% - 0.5em)" should set the property value
|
||||||
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(10%)" should set the property 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(0.5em)" should set the property 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 ""
|
Fail e.style['height'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -15,9 +15,9 @@ Pass Property max-height value 'max-content'
|
||||||
Pass Property max-height value '10px'
|
Pass Property max-height value '10px'
|
||||||
Pass Property max-height value '20%'
|
Pass Property max-height value '20%'
|
||||||
Pass Property max-height value 'calc(10% + 40px)'
|
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)'
|
||||||
Fail Property max-height value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
Fail Property max-height value '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(10px)'
|
||||||
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(20%)'
|
||||||
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(10% + 40px))'
|
||||||
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
|
Fail Property max-height value 'fit-content(calc(10px + 0.5em))'
|
|
@ -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'] = "0" should set the property value
|
||||||
Pass e.style['max-height'] = "10%" 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
|
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'] = "calc(10% - 0.5em)" should set the property value
|
||||||
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(10%)" should set the property 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(0.5em)" should set the property 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 ""
|
Fail e.style['max-height'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -15,9 +15,9 @@ Pass Property max-width value 'max-content'
|
||||||
Pass Property max-width value '10px'
|
Pass Property max-width value '10px'
|
||||||
Pass Property max-width value '20%'
|
Pass Property max-width value '20%'
|
||||||
Pass Property max-width value 'calc(10% + 40px)'
|
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)'
|
||||||
Fail Property max-width value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
Fail Property max-width value '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(10px)'
|
||||||
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(20%)'
|
||||||
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(10% + 40px))'
|
||||||
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
|
Fail Property max-width value 'fit-content(calc(10px + 0.5em))'
|
|
@ -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'] = "0" should set the property value
|
||||||
Pass e.style['max-width'] = "10%" 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
|
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'] = "calc(10% - 0.5em)" should set the property value
|
||||||
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(10%)" should set the property 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(0.5em)" should set the property 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 ""
|
Fail e.style['max-width'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -14,9 +14,9 @@ Pass Property min-height value 'max-content'
|
||||||
Pass Property min-height value '10px'
|
Pass Property min-height value '10px'
|
||||||
Pass Property min-height value '20%'
|
Pass Property min-height value '20%'
|
||||||
Pass Property min-height value 'calc(10% + 40px)'
|
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)'
|
||||||
Fail Property min-height value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
Fail Property min-height value '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(10px)'
|
||||||
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(20%)'
|
||||||
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(10% + 40px))'
|
||||||
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
|
Fail Property min-height value 'fit-content(calc(10px + 0.5em))'
|
|
@ -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'] = "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'] = "min-content max-content" should not set the property value
|
||||||
Pass e.style['min-height'] = "available" 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
|
Pass e.style['min-height'] = "content-box 20%" should not set the property value
|
|
@ -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'] = "0" should set the property value
|
||||||
Pass e.style['min-height'] = "10%" 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
|
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'] = "calc(10% - 0.5em)" should set the property value
|
||||||
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(10%)" should set the property 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(0.5em)" should set the property 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 ""
|
Fail e.style['min-height'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -14,9 +14,9 @@ Pass Property min-width value 'max-content'
|
||||||
Pass Property min-width value '10px'
|
Pass Property min-width value '10px'
|
||||||
Pass Property min-width value '20%'
|
Pass Property min-width value '20%'
|
||||||
Pass Property min-width value 'calc(10% + 40px)'
|
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)'
|
||||||
Fail Property min-width value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
Fail Property min-width value '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(10px)'
|
||||||
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(20%)'
|
||||||
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(10% + 40px))'
|
||||||
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
|
Fail Property min-width value 'fit-content(calc(10px + 0.5em))'
|
|
@ -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'] = "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'] = "min-content max-content" should not set the property value
|
||||||
Pass e.style['min-width'] = "available" 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
|
Pass e.style['min-width'] = "content-box 20%" should not set the property value
|
|
@ -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'] = "0" should set the property value
|
||||||
Pass e.style['min-width'] = "10%" 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
|
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'] = "calc(10% - 0.5em)" should set the property value
|
||||||
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(10%)" should set the property 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(0.5em)" should set the property 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 ""
|
Fail e.style['min-width'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -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'] = "0" should set the property value
|
||||||
Pass e.style['width'] = "10%" 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
|
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'] = "calc(10% - 0.5em)" should set the property value
|
||||||
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(10%)" should set the property 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(0.5em)" should set the property 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 ""
|
Fail e.style['width'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -12,7 +12,7 @@ Details
|
||||||
Result Test Name MessagePass :has(:scope) matches expected elements on scope1
|
Result Test Name MessagePass :has(:scope) matches expected elements on scope1
|
||||||
Pass :has(:scope .c) matches expected elements on scope1
|
Pass :has(:scope .c) matches expected elements on scope1
|
||||||
Pass :has(.a :scope) 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 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 matches expected elements on scope2
|
||||||
Pass .a:has(:scope) .c and :is(.a :scope .c) returns same elements on scope2
|
Pass .a:has(:scope) .c and :is(.a :scope .c) returns same elements on scope2
|
||||||
|
|
|
@ -8,11 +8,11 @@ Found 8 tests
|
||||||
|
|
||||||
8 Fail
|
8 Fail
|
||||||
Details
|
Details
|
||||||
Result Test Name MessageFail :has(#foo) wins over :has(.foo) assert_equals: expected "PASS" but got ""
|
Result Test Name MessageFail :has(#foo) wins over :has(.foo)
|
||||||
Fail :has(span#foo) wins over :has(#foo) assert_equals: expected "PASS" but got ""
|
Fail :has(span#foo) wins over :has(#foo)
|
||||||
Fail :has(.bar, #foo) has same specificity as :has(#foo, .bar) assert_equals: expected "PASS" but got ""
|
Fail :has(.bar, #foo) has same specificity as :has(#foo, .bar)
|
||||||
Fail :has(.bar, #foo) wins over :has(.foo, .bar) assert_equals: expected "PASS" but got ""
|
Fail :has(.bar, #foo) wins over :has(.foo, .bar)
|
||||||
Fail :has(span + span) wins over :has(span) assert_equals: expected "PASS" but got ""
|
Fail :has(span + span) wins over :has(span)
|
||||||
Fail :has(span, li, p) wins over :has(span, lo, p) assert_equals: expected "PASS" but got ""
|
Fail :has(span, li, p) wins over :has(span, lo, p)
|
||||||
Fail latter .baz wins over :has(.foo) assert_equals: expected "PASS" but got ""
|
Fail latter .baz wins over :has(.foo)
|
||||||
Fail latter :has(.foo) wins over .baz assert_equals: expected "PASS" but got ""
|
Fail latter :has(.foo) wins over .baz
|
|
@ -29,24 +29,24 @@ Pass Unset disabled on option, testing subject3
|
||||||
Pass Before set disabled on optgroup, testing subject
|
Pass Before set disabled on optgroup, testing subject
|
||||||
Pass Set disabled on optgroup, testing subject
|
Pass Set disabled on optgroup, testing subject
|
||||||
Pass Unset 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
|
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 Before set disabled on optgroup, testing subject3
|
||||||
Pass Set disabled on optgroup, testing subject3
|
Pass Set disabled on optgroup, testing subject3
|
||||||
Pass Unset 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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)"
|
Fail Clear value of text_input, testing subject4
|
|
@ -10,14 +10,14 @@ Found 271 tests
|
||||||
62 Fail
|
62 Fail
|
||||||
Details
|
Details
|
||||||
Result Test Name MessagePass Simplest possible test ("<div>abc")
|
Result Test Name MessagePass Simplest possible test ("<div>abc")
|
||||||
Fail Leading whitespace removed ("<div> abc") assert_equals: innerText expected "abc" but got " abc"
|
Fail Leading whitespace removed ("<div> abc")
|
||||||
Fail Trailing whitespace removed ("<div>abc ") assert_equals: innerText expected "abc" but got "abc "
|
Fail Trailing whitespace removed ("<div>abc ")
|
||||||
Pass Internal whitespace compressed ("<div>abc def")
|
Pass Internal whitespace compressed ("<div>abc def")
|
||||||
Pass \n converted to space ("<div>abc\ndef")
|
Pass \n converted to space ("<div>abc\ndef")
|
||||||
Pass \r converted to space ("<div>abc\rdef")
|
Pass \r converted to space ("<div>abc\rdef")
|
||||||
Pass \t converted to space ("<div>abc\tdef")
|
Pass \t converted to space ("<div>abc\tdef")
|
||||||
Fail Trailing whitespace before hard line break removed ("<div>abc <br>def") assert_equals: innerText expected "abc\ndef" but got "abc \ndef"
|
Fail Trailing whitespace before hard line break removed ("<div>abc <br>def")
|
||||||
Fail Leading whitespace after hard line break removed ("<div>abc<br> def") assert_equals: innerText expected "abc\ndef" but got "abc\n def"
|
Fail Leading whitespace after hard line break removed ("<div>abc<br> def")
|
||||||
Pass Leading whitespace preserved ("<pre> abc")
|
Pass Leading whitespace preserved ("<pre> abc")
|
||||||
Pass Trailing whitespace preserved ("<pre>abc ")
|
Pass Trailing whitespace preserved ("<pre>abc ")
|
||||||
Pass Internal whitespace preserved ("<pre>abc def")
|
Pass Internal whitespace preserved ("<pre>abc def")
|
||||||
|
@ -37,54 +37,54 @@ Pass Internal whitespace preserved ("<span style='white-space:pre'>abc def")
|
||||||
Pass \n preserved ("<span style='white-space:pre'>abc\ndef")
|
Pass \n preserved ("<span style='white-space:pre'>abc\ndef")
|
||||||
Pass \r converted to newline ("<span style='white-space:pre'>abc\rdef")
|
Pass \r converted to newline ("<span style='white-space:pre'>abc\rdef")
|
||||||
Pass \t preserved ("<span style='white-space:pre'>abc\tdef")
|
Pass \t preserved ("<span style='white-space:pre'>abc\tdef")
|
||||||
Fail Leading whitespace removed ("<div style='white-space:pre-line'> abc") assert_equals: innerText expected "abc" but got " abc"
|
Fail Leading whitespace removed ("<div style='white-space:pre-line'> abc")
|
||||||
Fail Trailing whitespace removed ("<div style='white-space:pre-line'>abc ") assert_equals: innerText expected "abc" but got "abc "
|
Fail Trailing whitespace removed ("<div style='white-space:pre-line'>abc ")
|
||||||
Pass Internal whitespace collapsed ("<div style='white-space:pre-line'>abc def")
|
Pass Internal whitespace collapsed ("<div style='white-space:pre-line'>abc def")
|
||||||
Fail \n preserved ("<div style='white-space:pre-line'>abc\ndef") assert_equals: innerText expected "abc\ndef" but got "abc def"
|
Fail \n preserved ("<div style='white-space:pre-line'>abc\ndef")
|
||||||
Fail \r converted to newline ("<div style='white-space:pre-line'>abc\rdef") assert_equals: innerText expected "abc\ndef" but got "abc def"
|
Fail \r converted to newline ("<div style='white-space:pre-line'>abc\rdef")
|
||||||
Pass \t converted to space ("<div style='white-space:pre-line'>abc\tdef")
|
Pass \t converted to space ("<div style='white-space:pre-line'>abc\tdef")
|
||||||
Fail Whitespace collapses across element boundaries ("<div><span>abc </span> def") assert_equals: innerText expected "abc def" but got "abc def"
|
Fail Whitespace collapses across element boundaries ("<div><span>abc </span> def")
|
||||||
Fail Whitespace collapses across element boundaries ("<div><span>abc </span><span></span> def") assert_equals: innerText expected "abc def" but got "abc def"
|
Fail Whitespace collapses across element boundaries ("<div><span>abc </span><span></span> def")
|
||||||
Fail Whitespace collapses across element boundaries ("<div><span>abc </span><span style='white-space:pre'></span> def") assert_equals: innerText expected "abc def" but got "abc def"
|
Fail Whitespace collapses across element boundaries ("<div><span>abc </span><span style='white-space:pre'></span> def")
|
||||||
Pass Whitespace around <input> should not be collapsed ("<div>abc <input> def")
|
Pass Whitespace around <input> should not be collapsed ("<div>abc <input> def")
|
||||||
Pass Whitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def")
|
Pass Whitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def")
|
||||||
Fail Trailing space at end of inline-block should be collapsed ("<div>abc <span style='display:inline-block'> def </span> ghi") assert_equals: innerText expected "abc def ghi" but got "abc def ghi"
|
Fail Trailing space at end of inline-block should be collapsed ("<div>abc <span style='display:inline-block'> def </span> ghi")
|
||||||
Pass Whitespace around inline-flex should not be collapsed ("<div>abc <span style='display:inline-flex'></span> def")
|
Pass Whitespace around inline-flex should not be collapsed ("<div>abc <span style='display:inline-flex'></span> def")
|
||||||
Fail Trailing space at end of inline-flex should be collapsed ("<div>abc <span style='display:inline-flex'> def </span> ghi") assert_equals: innerText expected "abc def ghi" but got "abc def ghi"
|
Fail Trailing space at end of inline-flex should be collapsed ("<div>abc <span style='display:inline-flex'> def </span> ghi")
|
||||||
Pass Whitespace around inline-grid should not be collapsed ("<div>abc <span style='display:inline-grid'></span> def")
|
Pass Whitespace around inline-grid should not be collapsed ("<div>abc <span style='display:inline-grid'></span> def")
|
||||||
Fail Trailing space at end of grid-flex should be collapsed ("<div>abc <span style='display:inline-grid'> def </span> ghi") assert_equals: innerText expected "abc def ghi" but got "abc def ghi"
|
Fail Trailing space at end of grid-flex should be collapsed ("<div>abc <span style='display:inline-grid'> def </span> ghi")
|
||||||
Fail Whitespace between <input> and block should be collapsed ("<div><input> <div>abc</div>") assert_equals: innerText expected "abc" but got " \nabc"
|
Fail Whitespace between <input> and block should be collapsed ("<div><input> <div>abc</div>")
|
||||||
Fail Whitespace between inline-block and block should be collapsed ("<div><span style='inline-block'></span> <div>abc</div>") assert_equals: innerText expected "abc" but got " \nabc"
|
Fail Whitespace between inline-block and block should be collapsed ("<div><span style='inline-block'></span> <div>abc</div>")
|
||||||
Fail Whitespace between inline-flex and block should be collapsed ("<div><span style='inline-flex'></span> <div>abc</div>") assert_equals: innerText expected "abc" but got " \nabc"
|
Fail Whitespace between inline-flex and block should be collapsed ("<div><span style='inline-flex'></span> <div>abc</div>")
|
||||||
Fail Whitespace between inline-grid and block should be collapsed ("<div><span style='inline-grid'></span> <div>abc</div>") assert_equals: innerText expected "abc" but got " \nabc"
|
Fail Whitespace between inline-grid and block should be collapsed ("<div><span style='inline-grid'></span> <div>abc</div>")
|
||||||
Pass Whitespace around <img> should not be collapsed ("<div>abc <img> def")
|
Pass Whitespace around <img> should not be collapsed ("<div>abc <img> def")
|
||||||
Pass Whitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def")
|
Pass Whitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def")
|
||||||
Pass Leading whitesapce should not be collapsed ("<div><img> abc")
|
Pass Leading whitesapce should not be collapsed ("<div><img> abc")
|
||||||
Pass Trailing whitesapce should not be collapsed ("<div>abc <img>")
|
Pass Trailing whitesapce should not be collapsed ("<div>abc <img>")
|
||||||
Fail Whitespace around empty span should be collapsed ("<div>abc <b></b> def") assert_equals: innerText expected "abc def" but got "abc def"
|
Fail Whitespace around empty span should be collapsed ("<div>abc <b></b> def")
|
||||||
Fail Whitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def") assert_equals: innerText expected "abc def" but got "abc def"
|
Fail Whitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def")
|
||||||
Pass <canvas> should not collapse following space ("<div><canvas></canvas> abc")
|
Pass <canvas> should not collapse following space ("<div><canvas></canvas> abc")
|
||||||
Fail Replaced element <img> with display:block should be treated as block-level ("<div>abc <img style='display:block'> def") assert_equals: innerText expected "abc\ndef" but got "abc \n def"
|
Fail Replaced element <img> with display:block should be treated as block-level ("<div>abc <img style='display:block'> def")
|
||||||
Fail Replaced element <canvas> with display:block should be treated as block-level ("<div>abc <canvas style='display:block'></canvas> def") assert_equals: innerText expected "abc\ndef" but got "abc \n def"
|
Fail Replaced element <canvas> with display:block should be treated as block-level ("<div>abc <canvas style='display:block'></canvas> def")
|
||||||
Pass Soft line breaks ignored ("<div style='width:0'>abc def")
|
Pass Soft line breaks ignored ("<div style='width:0'>abc def")
|
||||||
Pass Soft line break at hyphen ignored ("<div style='width:0'>abc-def")
|
Pass Soft line break at hyphen ignored ("<div style='width:0'>abc-def")
|
||||||
Pass Whitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>")
|
Pass Whitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>")
|
||||||
Pass Soft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>")
|
Pass Soft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>")
|
||||||
Pass Element boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>")
|
Pass Element boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>")
|
||||||
Fail Whitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>") assert_equals: innerText expected "Hello Kitty" but got "Hello Kitty"
|
Fail Whitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>")
|
||||||
Pass Element boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>")
|
Pass Element boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>")
|
||||||
Fail Whitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>") assert_equals: innerText expected "Hello Kitty" but got "Hello Kitty"
|
Fail Whitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>")
|
||||||
Pass Element boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>")
|
Pass Element boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>")
|
||||||
Fail Whitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>") assert_equals: innerText expected "Hello Kitty" but got "Hello Kitty"
|
Fail Whitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>")
|
||||||
Fail Whitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>") assert_equals: innerText expected "Hello Kitty" but got "Hello Kitty"
|
Fail Whitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>")
|
||||||
Pass Element boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>")
|
Pass Element boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>")
|
||||||
Pass Element boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>")
|
Pass Element boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>")
|
||||||
Pass Soft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>")
|
Pass Soft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>")
|
||||||
Fail <br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>") assert_equals: innerText expected "Hello\nKitty" but got "Hello\n Kitty"
|
Fail <br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>")
|
||||||
Fail <br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>") assert_equals: innerText expected "Hello\nKitty" but got "Hello \nKitty"
|
Fail <br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>")
|
||||||
Fail <br> returned as newline, adjacent spaces collapsed across element boundaries ("<div style='width:1px; word-break:break-word'><x>Hello </x> <br> <x> Kitty</x></div>") assert_equals: innerText expected "Hello\nKitty" but got "Hello \n Kitty"
|
Fail <br> returned as newline, adjacent spaces collapsed across element boundaries ("<div style='width:1px; word-break:break-word'><x>Hello </x> <br> <x> Kitty</x></div>")
|
||||||
Fail ::first-line styles applied ("<div class='first-line-uppercase' style='width:0'>abc def") assert_equals: innerText expected "ABC def" but got "abc def"
|
Fail ::first-line styles applied ("<div class='first-line-uppercase' style='width:0'>abc def")
|
||||||
Fail ::first-letter styles applied ("<div class='first-letter-uppercase' style='width:0'>abc def") assert_equals: innerText expected "Abc def" but got "abc def"
|
Fail ::first-letter styles applied ("<div class='first-letter-uppercase' style='width:0'>abc def")
|
||||||
Pass ::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def")
|
Pass ::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def")
|
||||||
Pass preserved ("<div> ")
|
Pass preserved ("<div> ")
|
||||||
Pass display:none container ("<div style='display:none'>abc")
|
Pass display:none container ("<div style='display:none'>abc")
|
||||||
|
@ -98,8 +98,8 @@ Pass child of display:none child of svg ("<div style='display:none'><div id='tar
|
||||||
Pass display:contents container ("<div style='display:contents'>abc")
|
Pass display:contents container ("<div style='display:contents'>abc")
|
||||||
Pass display:contents container ("<div><div style='display:contents'>abc")
|
Pass display:contents container ("<div><div style='display:contents'>abc")
|
||||||
Pass display:contents rendered ("<div>123<span style='display:contents'>abc")
|
Pass display:contents rendered ("<div>123<span style='display:contents'>abc")
|
||||||
Fail display:contents not processed via textContent ("<div style='display:contents'> ") assert_equals: innerText expected "" but got " "
|
Fail display:contents not processed via textContent ("<div style='display:contents'> ")
|
||||||
Fail display:contents not processed via textContent ("<div><div style='display:contents'> ") assert_equals: innerText expected "" but got " "
|
Fail display:contents not processed via textContent ("<div><div style='display:contents'> ")
|
||||||
Pass visibility:hidden container ("<div style='visibility:hidden'>abc")
|
Pass visibility:hidden container ("<div style='visibility:hidden'>abc")
|
||||||
Pass visibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc")
|
Pass visibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc")
|
||||||
Pass visibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc")
|
Pass visibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc")
|
||||||
|
@ -112,7 +112,7 @@ Pass visibility:collapse honored on flex item ("<div style='display:flex'><span
|
||||||
Pass visibility:collapse honored on grid item ("<div style='display:grid'><span style='visibility:collapse'>1</span><span>2</span></div>")
|
Pass visibility:collapse honored on grid item ("<div style='display:grid'><span style='visibility:collapse'>1</span><span>2</span></div>")
|
||||||
Pass opacity:0 container ("<div style='opacity:0'>abc")
|
Pass opacity:0 container ("<div style='opacity:0'>abc")
|
||||||
Pass Whitespace compression in opacity:0 container ("<div style='opacity:0'>abc def")
|
Pass Whitespace compression in opacity:0 container ("<div style='opacity:0'>abc def")
|
||||||
Fail Remove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def ") assert_equals: innerText expected "abc def" but got " abc def "
|
Fail Remove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def ")
|
||||||
Pass opacity:0 child rendered ("<div>123<span style='opacity:0'>abc")
|
Pass opacity:0 child rendered ("<div>123<span style='opacity:0'>abc")
|
||||||
Pass Generated content not included ("<div class='before'>")
|
Pass Generated content not included ("<div class='before'>")
|
||||||
Pass Generated content on child not included ("<div><div class='before'>")
|
Pass Generated content on child not included ("<div><div class='before'>")
|
||||||
|
@ -136,30 +136,30 @@ Pass <img> alt text ignored ("<img alt='abc'>")
|
||||||
Pass <img> contents ignored ("<img src='about:blank' class='poke'>")
|
Pass <img> contents ignored ("<img src='about:blank' class='poke'>")
|
||||||
Pass <svg> text contents preserved ("<div><svg><text>abc</text></svg></div>")
|
Pass <svg> text contents preserved ("<div><svg><text>abc</text></svg></div>")
|
||||||
Pass <svg><defs> text contents ignored ("<div><svg><defs><text>abc</text></defs></svg></div>")
|
Pass <svg><defs> text contents ignored ("<div><svg><defs><text>abc</text></defs></svg></div>")
|
||||||
Fail <svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>") assert_equals: innerText expected "" but got "abc"
|
Fail <svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>")
|
||||||
Pass <foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>")
|
Pass <foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>")
|
||||||
Fail <select size='1'> contents of options preserved ("<select size='1'><option>abc</option><option>def") assert_equals: innerText expected "abc\ndef" but got ""
|
Fail <select size='1'> contents of options preserved ("<select size='1'><option>abc</option><option>def")
|
||||||
Fail <select size='2'> contents of options preserved ("<select size='2'><option>abc</option><option>def") assert_equals: innerText expected "abc\ndef" but got ""
|
Fail <select size='2'> contents of options preserved ("<select size='2'><option>abc</option><option>def")
|
||||||
Pass <select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def")
|
Pass <select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def")
|
||||||
Pass <select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def")
|
Pass <select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def")
|
||||||
Pass empty <select> ("<div>a<select></select>bc")
|
Pass empty <select> ("<div>a<select></select>bc")
|
||||||
Fail empty <optgroup> in <select> ("<div>a<select><optgroup></select>bc") assert_equals: innerText expected "a\nbc" but got "abc"
|
Fail empty <optgroup> in <select> ("<div>a<select><optgroup></select>bc")
|
||||||
Fail empty <option> in <select> ("<div>a<select><option></select>bc") assert_equals: innerText expected "a\nbc" but got "abc"
|
Fail empty <option> in <select> ("<div>a<select><option></select>bc")
|
||||||
Pass <select> containing text node child ("<select class='poke'></select>")
|
Pass <select> containing text node child ("<select class='poke'></select>")
|
||||||
Pass <optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>")
|
Pass <optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>")
|
||||||
Fail <optgroup> containing <option> ("<select><optgroup><option>abc</select>") assert_equals: innerText expected "abc" but got ""
|
Fail <optgroup> containing <option> ("<select><optgroup><option>abc</select>")
|
||||||
Fail <div> in <option> ("<select><option class='poke-div'>123</select>") assert_equals: innerText expected "123\nabc" but got ""
|
Fail <div> in <option> ("<select><option class='poke-div'>123</select>")
|
||||||
Fail empty <optgroup> in <div> ("<div>a<optgroup></optgroup>bc") assert_equals: innerText expected "a\nbc" but got "abc"
|
Fail empty <optgroup> in <div> ("<div>a<optgroup></optgroup>bc")
|
||||||
Fail <optgroup> in <div> ("<div>a<optgroup>123</optgroup>bc") assert_equals: innerText expected "a\nbc" but got "a123bc"
|
Fail <optgroup> in <div> ("<div>a<optgroup>123</optgroup>bc")
|
||||||
Fail empty <option> in <div> ("<div>a<option></option>bc") assert_equals: innerText expected "a\nbc" but got "abc"
|
Fail empty <option> in <div> ("<div>a<option></option>bc")
|
||||||
Fail <option> in <div> ("<div>a<option>123</option>bc") assert_equals: innerText expected "a\n123\nbc" but got "abc"
|
Fail <option> in <div> ("<div>a<option>123</option>bc")
|
||||||
Pass <button> contents preserved ("<div><button>abc")
|
Pass <button> contents preserved ("<div><button>abc")
|
||||||
Pass <fieldset> contents preserved ("<div><fieldset>abc")
|
Pass <fieldset> contents preserved ("<div><fieldset>abc")
|
||||||
Pass <fieldset> <legend> contents preserved ("<div><fieldset><legend>abc")
|
Pass <fieldset> <legend> contents preserved ("<div><fieldset><legend>abc")
|
||||||
Pass <input> contents ignored ("<div><input type='text' value='abc'>")
|
Pass <input> contents ignored ("<div><input type='text' value='abc'>")
|
||||||
Pass <textarea> contents ignored ("<div><textarea>abc")
|
Pass <textarea> contents ignored ("<div><textarea>abc")
|
||||||
Fail <select size='1'> contents of options preserved ("<div><select size='1'><option>abc</option><option>def") assert_equals: innerText expected "abc\ndef" but got ""
|
Fail <select size='1'> contents of options preserved ("<div><select size='1'><option>abc</option><option>def")
|
||||||
Fail <select size='2'> contents of options preserved ("<div><select size='2'><option>abc</option><option>def") assert_equals: innerText expected "abc\ndef" but got ""
|
Fail <select size='2'> contents of options preserved ("<div><select size='2'><option>abc</option><option>def")
|
||||||
Pass <iframe> contents ignored ("<div><iframe>abc")
|
Pass <iframe> contents ignored ("<div><iframe>abc")
|
||||||
Pass <iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>")
|
Pass <iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>")
|
||||||
Pass <audio> contents ignored ("<div><audio>abc")
|
Pass <audio> contents ignored ("<div><audio>abc")
|
||||||
|
@ -172,10 +172,10 @@ Pass Newline at display:block boundary ("<div>123<span style='display:block'>abc
|
||||||
Pass Empty block induces single line break ("<div>abc<div></div>def")
|
Pass Empty block induces single line break ("<div>abc<div></div>def")
|
||||||
Pass Consecutive empty blocks ignored ("<div>abc<div></div><div></div>def")
|
Pass Consecutive empty blocks ignored ("<div>abc<div></div><div></div>def")
|
||||||
Pass No blank lines around <p> alone ("<div><p>abc")
|
Pass No blank lines around <p> alone ("<div><p>abc")
|
||||||
Fail No blank lines around <p> followed by only collapsible whitespace ("<div><p>abc</p> ") assert_equals: innerText expected "abc" but got "abc\n\n "
|
Fail No blank lines around <p> followed by only collapsible whitespace ("<div><p>abc</p> ")
|
||||||
Fail No blank lines around <p> preceded by only collapsible whitespace ("<div> <p>abc</p>") assert_equals: innerText expected "abc" but got " \n\nabc"
|
Fail No blank lines around <p> preceded by only collapsible whitespace ("<div> <p>abc</p>")
|
||||||
Pass Blank line between consecutive <p>s ("<div><p>abc<p>def")
|
Pass Blank line between consecutive <p>s ("<div><p>abc<p>def")
|
||||||
Fail Blank line between consecutive <p>s separated only by collapsible whitespace ("<div><p>abc</p> <p>def") assert_equals: innerText expected "abc\n\ndef" but got "abc\n\n \n\ndef"
|
Fail Blank line between consecutive <p>s separated only by collapsible whitespace ("<div><p>abc</p> <p>def")
|
||||||
Pass Blank line between consecutive <p>s separated only by empty block ("<div><p>abc</p><div></div><p>def")
|
Pass Blank line between consecutive <p>s separated only by empty block ("<div><p>abc</p><div></div><p>def")
|
||||||
Pass Blank lines between <p>s separated by non-empty block ("<div><p>abc</p><div>123</div><p>def")
|
Pass Blank lines between <p>s separated by non-empty block ("<div><p>abc</p><div>123</div><p>def")
|
||||||
Pass Blank lines around a <p> in its own block ("<div>abc<div><p>123</p></div>def")
|
Pass Blank lines around a <p> in its own block ("<div>abc<div><p>123</p></div>def")
|
||||||
|
@ -185,9 +185,9 @@ Pass One blank line between <p>s, ignoring empty <p>s ("<div><p>abc<p></p><p></p
|
||||||
Pass Invisible <p> doesn't induce extra line breaks ("<div style='visibility:hidden'><p><span style='visibility:visible'>abc</span></p>\n<div style='visibility:visible'>def</div>")
|
Pass Invisible <p> doesn't induce extra line breaks ("<div style='visibility:hidden'><p><span style='visibility:visible'>abc</span></p>\n<div style='visibility:visible'>def</div>")
|
||||||
Pass No blank lines around <div> with margin ("<div>abc<div style='margin:2em'>def")
|
Pass No blank lines around <div> with margin ("<div>abc<div style='margin:2em'>def")
|
||||||
Pass No newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def")
|
Pass No newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def")
|
||||||
Fail Leading/trailing space removal at display:inline-block boundary ("<div>123<span style='display:inline-block'> abc </span>def") assert_equals: innerText expected "123abcdef" but got "123 abc def"
|
Fail Leading/trailing space removal at display:inline-block boundary ("<div>123<span style='display:inline-block'> abc </span>def")
|
||||||
Fail Leading/trailing space removal at display:inline-flex boundary ("<div>123<span style='display:inline-flex'> abc </span>def") assert_equals: innerText expected "123abcdef" but got "123 abc def"
|
Fail Leading/trailing space removal at display:inline-flex boundary ("<div>123<span style='display:inline-flex'> abc </span>def")
|
||||||
Fail Leading/trailing space removal at display:inline-grid boundary ("<div>123<span style='display:inline-grid'> abc </span>def") assert_equals: innerText expected "123abcdef" but got "123 abc def"
|
Fail Leading/trailing space removal at display:inline-grid boundary ("<div>123<span style='display:inline-grid'> abc </span>def")
|
||||||
Pass Blank lines around <p> even without margin ("<div>123<p style='margin:0px'>abc</p>def")
|
Pass Blank lines around <p> even without margin ("<div>123<p style='margin:0px'>abc</p>def")
|
||||||
Pass No blank lines around <h1> ("<div>123<h1>abc</h1>def")
|
Pass No blank lines around <h1> ("<div>123<h1>abc</h1>def")
|
||||||
Pass No blank lines around <h2> ("<div>123<h2>abc</h2>def")
|
Pass No blank lines around <h2> ("<div>123<h2>abc</h2>def")
|
||||||
|
@ -208,7 +208,7 @@ Pass <tt> gets no special treatment ("<div>123<tt>abc</tt>def")
|
||||||
Pass <code> gets no special treatment ("<div>123<code>abc</code>def")
|
Pass <code> gets no special treatment ("<div>123<code>abc</code>def")
|
||||||
Pass soft hyphen preserved ("<div>abc­def")
|
Pass soft hyphen preserved ("<div>abc­def")
|
||||||
Pass soft hyphen preserved ("<div style='width:0'>abc­def")
|
Pass soft hyphen preserved ("<div style='width:0'>abc­def")
|
||||||
Fail Ignoring non-rendered table whitespace ("<div><table style='white-space:pre'> <td>abc</td> </table>") assert_equals: innerText expected "abc" but got " abc\t "
|
Fail Ignoring non-rendered table whitespace ("<div><table style='white-space:pre'> <td>abc</td> </table>")
|
||||||
Pass Tab-separated table cells ("<div><table><tr><td>abc<td>def</table>")
|
Pass Tab-separated table cells ("<div><table><tr><td>abc<td>def</table>")
|
||||||
Pass Tab-separated table cells including empty cells ("<div><table><tr><td>abc<td><td>def</table>")
|
Pass Tab-separated table cells including empty cells ("<div><table><tr><td>abc<td><td>def</table>")
|
||||||
Pass Tab-separated table cells including trailing empty cells ("<div><table><tr><td>abc<td><td></table>")
|
Pass Tab-separated table cells including trailing empty cells ("<div><table><tr><td>abc<td><td></table>")
|
||||||
|
@ -216,17 +216,17 @@ Pass Newline-separated table rows ("<div><table><tr><td>abc<tr><td>def</table>")
|
||||||
Pass Newlines around table ("<div>abc<table><td>def</table>ghi")
|
Pass Newlines around table ("<div>abc<table><td>def</table>ghi")
|
||||||
Pass Tab-separated table cells in a border-collapse table ("<div><table style='border-collapse:collapse'><tr><td>abc<td>def</table>")
|
Pass Tab-separated table cells in a border-collapse table ("<div><table style='border-collapse:collapse'><tr><td>abc<td>def</table>")
|
||||||
Pass tfoot not reordered ("<div><table><tfoot>x</tfoot><tbody>y</tbody></table>")
|
Pass tfoot not reordered ("<div><table><tfoot>x</tfoot><tbody>y</tbody></table>")
|
||||||
Fail ("<table><tfoot><tr><td>footer</tfoot><thead><tr><td style='visibility:collapse'>thead</thead><tbody><tr><td>tbody</tbody></table>") assert_equals: innerText expected "footer\n\ntbody" but got "footertbody"
|
Fail ("<table><tfoot><tr><td>footer</tfoot><thead><tr><td style='visibility:collapse'>thead</thead><tbody><tr><td>tbody</tbody></table>")
|
||||||
Pass No tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>")
|
Pass No tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>")
|
||||||
Pass No newline on table-row itself ("<table><tr id=target><td>abc</td><td>def</td></tr><tr id=target><td>ghi</td><td>jkl</td></tr>")
|
Pass No newline on table-row itself ("<table><tr id=target><td>abc</td><td>def</td></tr><tr id=target><td>ghi</td><td>jkl</td></tr>")
|
||||||
Pass Newline between cells and caption ("<div><table><tr><td>abc<caption>def</caption></table>")
|
Pass Newline between cells and caption ("<div><table><tr><td>abc<caption>def</caption></table>")
|
||||||
Fail Tab-separated table cells ("<div><div class='table'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>") assert_equals: innerText expected "abc\tdef" but got "abc\t def"
|
Fail Tab-separated table cells ("<div><div class='table'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
|
||||||
Fail Newline-separated table rows ("<div><div class='table'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>") assert_equals: innerText expected "abc\ndef" but got "abc\n def"
|
Fail Newline-separated table rows ("<div><div class='table'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>")
|
||||||
Pass Newlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi")
|
Pass Newlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi")
|
||||||
Fail Tab-separated table cells ("<div><div class='itable'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>") assert_equals: innerText expected "abc\tdef" but got "abc\t def"
|
Fail Tab-separated table cells ("<div><div class='itable'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
|
||||||
Fail Newline-separated table rows ("<div><div class='itable'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>") assert_equals: innerText expected "abc\ndef" but got "abc\n def"
|
Fail Newline-separated table rows ("<div><div class='itable'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>")
|
||||||
Pass No newlines around inline-table ("<div>abc<div class='itable'><span class='cell'>def</span></div>ghi")
|
Pass No newlines around inline-table ("<div>abc<div class='itable'><span class='cell'>def</span></div>ghi")
|
||||||
Fail Single newline in two-row inline-table ("<div>abc<div class='itable'><span class='row'><span class='cell'>def</span></span>\n<span class='row'><span class='cell'>123</span></span></div>ghi") assert_equals: innerText expected "abcdef\n123ghi" but got "abcdef\n 123ghi"
|
Fail Single newline in two-row inline-table ("<div>abc<div class='itable'><span class='row'><span class='cell'>def</span></span>\n<span class='row'><span class='cell'>123</span></span></div>ghi")
|
||||||
Pass display:table-row on the element itself ("<div style='display:table-row'>")
|
Pass display:table-row on the element itself ("<div style='display:table-row'>")
|
||||||
Pass display:table-cell on the element itself ("<div style='display:table-cell'>")
|
Pass display:table-cell on the element itself ("<div style='display:table-cell'>")
|
||||||
Pass display:table-caption on the element itself ("<div style='display:table-caption'>")
|
Pass display:table-caption on the element itself ("<div style='display:table-caption'>")
|
||||||
|
@ -251,7 +251,7 @@ Pass unopened <details> ignored ("<div><details><summary>abc</summary>123")
|
||||||
Pass opened <details> content shown ("<div><details open><summary>abc</summary>123")
|
Pass opened <details> content shown ("<div><details open><summary>abc</summary>123")
|
||||||
Pass text-transform is applied ("<div><div style='text-transform:uppercase'>abc")
|
Pass text-transform is applied ("<div><div style='text-transform:uppercase'>abc")
|
||||||
Pass text-transform handles es-zet ("<div><div style='text-transform:uppercase'>Maß")
|
Pass text-transform handles es-zet ("<div><div style='text-transform:uppercase'>Maß")
|
||||||
Fail text-transform handles Turkish casing ("<div><div lang='tr' style='text-transform:uppercase'>i ı") assert_equals: innerText expected "İ I" but got "I I"
|
Fail text-transform handles Turkish casing ("<div><div lang='tr' style='text-transform:uppercase'>i ı")
|
||||||
Pass block-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def")
|
Pass block-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def")
|
||||||
Pass floats induce a block boundary ("<div>abc<div style='float:left'>123</div>def")
|
Pass floats induce a block boundary ("<div>abc<div style='float:left'>123</div>def")
|
||||||
Pass floats induce a block boundary ("<div>abc<span style='float:left'>123</span>def")
|
Pass floats induce a block boundary ("<div>abc<span style='float:left'>123</span>def")
|
||||||
|
@ -272,7 +272,7 @@ Pass <rp> ("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>")
|
||||||
Pass Lone <rp> ("<div><rp>abc</rp>")
|
Pass Lone <rp> ("<div><rp>abc</rp>")
|
||||||
Pass visibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>")
|
Pass visibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>")
|
||||||
Pass display:block <rp> ("<div><rp style='display:block'>abc</rp>def")
|
Pass display:block <rp> ("<div><rp style='display:block'>abc</rp>def")
|
||||||
Fail display:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def") assert_equals: innerText expected "abc\ndef" but got " abc \ndef"
|
Fail display:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def")
|
||||||
Pass <rp> in a <select> ("<div><select class='poke-rp'></select>")
|
Pass <rp> in a <select> ("<div><select class='poke-rp'></select>")
|
||||||
Pass Shadow DOM contents ignored ("<div class='shadow'>")
|
Pass Shadow DOM contents ignored ("<div class='shadow'>")
|
||||||
Pass Shadow DOM contents ignored ("<div><div class='shadow'>")
|
Pass Shadow DOM contents ignored ("<div><div class='shadow'>")
|
||||||
|
|
|
@ -8,5 +8,5 @@ Found 2 tests
|
||||||
|
|
||||||
2 Fail
|
2 Fail
|
||||||
Details
|
Details
|
||||||
Result Test Name MessageFail innerText should be the same for the pre-line and pre examples assert_equals: expected "one\ntwo\nthree\nfour" but got "one two three four"
|
Result Test Name MessageFail innerText should be the same for the pre-line and pre examples
|
||||||
Fail innerText has collapsed whitespace but preserved newlines with pre-line assert_equals: expected "one\ntwo\nthree\nfour\n" but got " one two three four "
|
Fail innerText has collapsed whitespace but preserved newlines with pre-line
|
|
@ -9,46 +9,46 @@ Found 43 tests
|
||||||
2 Pass
|
2 Pass
|
||||||
41 Fail
|
41 Fail
|
||||||
Details
|
Details
|
||||||
Result Test Name MessageFail Replacing a node and merging with the previous text node assert_equals: expected "A Replaced" but got "A <span id=\"testReplacePrevious\">B</span>"
|
Result Test Name MessageFail Replacing a node and merging with the previous text node
|
||||||
Fail Replacing a node and merging with the following text node assert_equals: expected "Replaced B" but got "<span id=\"testReplaceFollowing\">A</span> B"
|
Fail Replacing a node and merging with the following text node
|
||||||
Fail Replacing a node and merging with the previous and following text node assert_equals: expected "A Replaced C" but got "A <span id=\"testReplaceBoth\">B</span> C"
|
Fail Replacing a node and merging with the previous and following text node
|
||||||
Fail Only merges with the previous and following text nodes, does not completely normalize assert_equals: expected "ABReplacedDE" but got "AB<span></span>DE"
|
Fail Only merges with the previous and following text nodes, does not completely normalize
|
||||||
Fail Empty string assert_equals: expected (string) "" but got (undefined) undefined
|
Fail Empty string
|
||||||
Fail Empty string with surrounding text nodes assert_equals: It got merged with the previous and following text node expected 3 but got 5
|
Fail Empty string with surrounding text nodes
|
||||||
Fail Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes assert_equals: expected "<br><br><br>" but got "<span id=\"testNewlines\">Replace this child with lots of newlines</span>"
|
Fail Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes
|
||||||
Fail Removing a node assert_equals: expected " removing node using outerText." but got "<span id=\"testRemove\">Testing</span> removing node using outerText."
|
Fail Removing a node
|
||||||
Fail Detached node assert_throws_dom: function "() => { node.outerText = ""; }" did not throw
|
Fail Detached node
|
||||||
Fail Simplest possible test assert_equals: expected "abc" but got ""
|
Fail Simplest possible test
|
||||||
Fail Newlines convert to <br> in non-white-space:pre elements assert_equals: expected "abc<br>def" but got "<div></div>"
|
Fail Newlines convert to <br> in non-white-space:pre elements
|
||||||
Fail Newlines convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "<pre></pre>"
|
Fail Newlines convert to <br> in <pre> element
|
||||||
Fail Newlines convert to <br> in <textarea> element assert_equals: expected "abc<br>def" but got "<textarea></textarea>"
|
Fail Newlines convert to <br> in <textarea> element
|
||||||
Fail Newlines convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "<div style=\"white-space:pre\"></div>"
|
Fail Newlines convert to <br> in white-space:pre element
|
||||||
Fail CRs convert to <br> in non-white-space:pre elements assert_equals: expected "abc<br>def" but got "<div></div>"
|
Fail CRs convert to <br> in non-white-space:pre elements
|
||||||
Fail CRs convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "<pre></pre>"
|
Fail CRs convert to <br> in <pre> element
|
||||||
Fail Newline/CR pair converts to <br> in non-white-space:pre element assert_equals: expected "abc<br>def" but got "<div></div>"
|
Fail Newline/CR pair converts to <br> in non-white-space:pre element
|
||||||
Fail Newline/newline pair converts to two <br>s in non-white-space:pre element assert_equals: expected "abc<br><br>def" but got "<div></div>"
|
Fail Newline/newline pair converts to two <br>s in non-white-space:pre element
|
||||||
Fail CR/CR pair converts to two <br>s in non-white-space:pre element assert_equals: expected "abc<br><br>def" but got "<div></div>"
|
Fail CR/CR pair converts to two <br>s in non-white-space:pre element
|
||||||
Fail CRs convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "<div style=\"white-space:pre\"></div>"
|
Fail CRs convert to <br> in white-space:pre element
|
||||||
Fail < preserved assert_equals: expected "abc<def" but got ""
|
Fail < preserved
|
||||||
Fail > preserved assert_equals: expected "abc>def" but got ""
|
Fail > preserved
|
||||||
Fail & preserved assert_equals: expected "abc&" but got ""
|
Fail & preserved
|
||||||
Fail " preserved assert_equals: expected "abc\"def" but got ""
|
Fail " preserved
|
||||||
Fail ' preserved assert_equals: expected "abc'def" but got ""
|
Fail ' preserved
|
||||||
Pass outerText not supported on SVG elements
|
Pass outerText not supported on SVG elements
|
||||||
Pass outerText not supported on MathML elements
|
Pass outerText not supported on MathML elements
|
||||||
Fail Null characters preserved assert_equals: expected "abc\0def" but got ""
|
Fail Null characters preserved
|
||||||
Fail Tabs preserved assert_equals: expected "abc\tdef" but got ""
|
Fail Tabs preserved
|
||||||
Fail Leading whitespace preserved assert_equals: expected " abc" but got ""
|
Fail Leading whitespace preserved
|
||||||
Fail Trailing whitespace preserved assert_equals: expected "abc " but got ""
|
Fail Trailing whitespace preserved
|
||||||
Fail Whitespace not compressed assert_equals: expected "abc def" but got ""
|
Fail Whitespace not compressed
|
||||||
Fail Existing text deleted assert_equals: expected "abc" but got "abc\n\n"
|
Fail Existing text deleted
|
||||||
Fail Existing <br> deleted assert_equals: expected "abc" but got ""
|
Fail Existing <br> deleted
|
||||||
Fail Assigning the empty string assert_equals: expected "" but got "<div></div>"
|
Fail Assigning the empty string
|
||||||
Fail Assigning null assert_equals: expected "" but got "<div></div>"
|
Fail Assigning null
|
||||||
Fail Assigning undefined assert_equals: expected "undefined" but got "<div></div>"
|
Fail Assigning undefined
|
||||||
Fail Start with CR assert_equals: expected "<br>abc" but got "<div></div>"
|
Fail Start with CR
|
||||||
Fail Start with LF assert_equals: expected "<br>abc" but got "<div></div>"
|
Fail Start with LF
|
||||||
Fail Start with CRLF assert_equals: expected "<br>abc" but got "<div></div>"
|
Fail Start with CRLF
|
||||||
Fail End with CR assert_equals: expected "abc<br>" but got "<div></div>"
|
Fail End with CR
|
||||||
Fail End with LF assert_equals: expected "abc<br>" but got "<div></div>"
|
Fail End with LF
|
||||||
Fail End with CRLF assert_equals: expected "abc<br>" but got "<div></div>"
|
Fail End with CRLF
|
|
@ -4598,6 +4598,12 @@
|
||||||
|
|
||||||
function make_message(function_name, description, error, substitutions)
|
function make_message(function_name, description, error, substitutions)
|
||||||
{
|
{
|
||||||
|
// NOTE: If we're running in Ladybird test mode, just return "!" as the error string.
|
||||||
|
// This is to keep tests running quickly. You can open the test in the browser
|
||||||
|
// to see a more detailed error message.
|
||||||
|
if (window.internals) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
for (var p in substitutions) {
|
for (var p in substitutions) {
|
||||||
if (substitutions.hasOwnProperty(p)) {
|
if (substitutions.hasOwnProperty(p)) {
|
||||||
substitutions[p] = format_value(substitutions[p]);
|
substitutions[p] = format_value(substitutions[p]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue