diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-001.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-001.html.ini new file mode 100644 index 00000000000..0842d0b5727 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-001.html.ini @@ -0,0 +1,3 @@ +[hit-test-floats-001.html] + [hit-test-floats-001] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini deleted file mode 100644 index 147f062e548..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[hit-test-floats-005.html] - [Miss clipped float] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini index aaa6b338c85..e4c004086ef 100644 --- a/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini @@ -2,21 +2,11 @@ [[data-expected-height\] 7] expected: FAIL - [[data-expected-height\] 8] + [[data-expected-height\] 1] expected: FAIL - [[data-expected-height\] 9] + [[data-expected-height\] 2] expected: FAIL - [[data-expected-height\] 10] + [[data-expected-height\] 3] expected: FAIL - - [[data-expected-height\] 11] - expected: FAIL - - [[data-expected-height\] 12] - expected: FAIL - - [[data-expected-height\] 13] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini index cdd8b55f192..f9e216a8cfc 100644 --- a/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini +++ b/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini @@ -1,3 +1,6 @@ [block-in-inline-hittest-relpos-zindex.html] [position: relative; z-index: -1;] expected: FAIL + + [block-in-inline-hittest-relpos-zindex] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-flexbox/hittest-anonymous-box.html.ini b/tests/wpt/metadata-layout-2020/css/css-flexbox/hittest-anonymous-box.html.ini new file mode 100644 index 00000000000..b8f8d45a31f --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-flexbox/hittest-anonymous-box.html.ini @@ -0,0 +1,3 @@ +[hittest-anonymous-box.html] + [Hit-testing within an anonymous flex-item should return the flexbox as the hittest result.] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-fonts/font-palette-vs-shorthand.html.ini b/tests/wpt/metadata-layout-2020/css/css-fonts/font-palette-vs-shorthand.html.ini new file mode 100644 index 00000000000..8bb3e8adf24 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-fonts/font-palette-vs-shorthand.html.ini @@ -0,0 +1,12 @@ +[font-palette-vs-shorthand.html] + [CSS Fonts Module Level 4: interaction of font-palette and font shorthand] + expected: FAIL + + [CSS Fonts Module Level 4: interaction of font-palette and font shorthand 1] + expected: FAIL + + [CSS Fonts Module Level 4: interaction of font-palette and font shorthand 2] + expected: FAIL + + [CSS Fonts Module Level 4: interaction of font-palette and font shorthand 3] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-fonts/parsing/font-palette-values-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-fonts/parsing/font-palette-values-valid.html.ini index 2a9475f2f93..52ce500bce9 100644 --- a/tests/wpt/metadata-layout-2020/css/css-fonts/parsing/font-palette-values-valid.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-fonts/parsing/font-palette-values-valid.html.ini @@ -94,3 +94,6 @@ [CSS Fonts Module Level 4: parsing @font-palette-values 31] expected: FAIL + + [CSS Fonts Module Level 4: parsing @font-palette-values 32] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini index f4692ab42ec..fc4036a6d2d 100644 --- a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -313,3 +313,12 @@ [Matching font-style: 'normal' should prefer 'oblique -50deg -20deg' over 'oblique -40deg -30deg'] expected: FAIL + + [Matching font-weight: '399' should prefer '200 300' over '400'] + expected: FAIL + + [Matching font-style: 'italic' should prefer 'oblique 5deg' over 'normal'] + expected: FAIL + + [Matching font-style: 'oblique -10deg' should prefer 'oblique -1deg 0deg' over 'oblique -20deg -15deg'] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini b/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini index 4a1232b3c22..3f9c5003739 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini @@ -1,6 +1,3 @@ [transform-scale-hittest.html] [Hit test intersecting scaled box] expected: FAIL - - [Hit test within unscaled box] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini index 0cfbba429c9..e647155e783 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini @@ -353,152 +353,275 @@ [max-height length(em) / values] expected: FAIL - [color color(rgba) / values] + [background-color color(rgba) / values] expected: FAIL - [font-size length(pt) / values] + [border-top-width length(pt) / values] expected: FAIL - [font-size length(pc) / values] + [border-top-width length(pc) / values] expected: FAIL - [font-size length(px) / values] + [border-top-width length(px) / values] expected: FAIL - [font-size length(em) / values] + [border-top-width length(em) / values] expected: FAIL - [font-size length(ex) / values] + [border-top-width length(ex) / values] expected: FAIL - [font-size length(mm) / values] + [border-top-width length(mm) / values] expected: FAIL - [font-size length(cm) / values] + [border-top-width length(cm) / values] expected: FAIL - [font-size length(in) / values] + [border-top-width length(in) / values] expected: FAIL - [font-size percentage(%) / values] + [border-right-width length(pt) / values] expected: FAIL - [font-weight font-weight(keyword) / values] + [border-right-width length(pc) / values] expected: FAIL - [font-weight font-weight(numeric) / values] + [border-right-width length(px) / values] expected: FAIL - [line-height number(integer) / values] + [border-right-width length(em) / values] expected: FAIL - [line-height number(decimal) / values] + [border-right-width length(ex) / values] expected: FAIL - [line-height length(pt) / values] + [border-right-width length(mm) / values] expected: FAIL - [line-height length(pc) / values] + [border-right-width length(cm) / values] expected: FAIL - [line-height length(px) / values] + [border-right-width length(in) / values] expected: FAIL - [line-height length(em) / values] + [border-bottom-width length(pt) / values] expected: FAIL - [line-height length(ex) / values] + [border-bottom-width length(pc) / values] expected: FAIL - [line-height length(mm) / values] + [border-bottom-width length(px) / values] expected: FAIL - [line-height length(cm) / values] + [border-bottom-width length(em) / values] expected: FAIL - [line-height length(in) / values] + [border-bottom-width length(ex) / values] expected: FAIL - [line-height percentage(%) / values] + [border-bottom-width length(mm) / values] expected: FAIL - [letter-spacing length(pt) / values] + [border-bottom-width length(cm) / values] expected: FAIL - [letter-spacing length(pc) / values] + [border-bottom-width length(in) / values] expected: FAIL - [letter-spacing length(px) / values] + [border-left-width length(pt) / values] expected: FAIL - [letter-spacing length(em) / values] + [border-left-width length(pc) / values] expected: FAIL - [letter-spacing length(ex) / values] + [border-left-width length(px) / values] expected: FAIL - [letter-spacing length(mm) / values] + [border-left-width length(em) / values] expected: FAIL - [letter-spacing length(cm) / values] + [border-left-width length(ex) / values] expected: FAIL - [letter-spacing length(in) / values] + [border-left-width length(mm) / values] expected: FAIL - [word-spacing length(pt) / values] + [border-left-width length(cm) / values] expected: FAIL - [word-spacing length(pc) / values] + [border-left-width length(in) / values] expected: FAIL - [word-spacing length(px) / values] + [border-top-color color(rgba) / values] expected: FAIL - [word-spacing length(em) / values] + [border-right-color color(rgba) / values] expected: FAIL - [word-spacing length(ex) / values] + [border-bottom-color color(rgba) / values] expected: FAIL - [word-spacing length(mm) / values] + [border-left-color color(rgba) / values] expected: FAIL - [word-spacing length(cm) / values] + [padding-bottom length(pt) / values] expected: FAIL - [word-spacing length(in) / values] + [padding-bottom length(pc) / values] expected: FAIL - [word-spacing percentage(%) / values] + [padding-bottom length(px) / values] expected: FAIL - [text-indent length(pt) / values] + [padding-bottom length(em) / values] expected: FAIL - [text-indent length(pc) / values] + [max-height length(ex) / values] expected: FAIL - [text-indent length(px) / values] + [max-height length(mm) / values] expected: FAIL - [text-indent length(em) / values] + [max-height length(cm) / values] expected: FAIL - [text-indent length(ex) / values] + [max-height length(in) / values] expected: FAIL - [text-indent length(mm) / values] + [max-height percentage(%) / values] expected: FAIL - [text-indent length(cm) / values] + [max-width length(pt) / values] expected: FAIL - [text-indent length(in) / values] + [max-width length(pc) / values] expected: FAIL - [text-indent percentage(%) / values] + [max-width length(px) / values] expected: FAIL - [text-shadow shadow(shadow) / values] + [max-width length(em) / values] + expected: FAIL + + [max-width length(ex) / values] + expected: FAIL + + [max-width length(mm) / values] + expected: FAIL + + [max-width length(cm) / values] + expected: FAIL + + [max-width length(in) / values] + expected: FAIL + + [max-width percentage(%) / values] + expected: FAIL + + [top length(pt) / values] + expected: FAIL + + [top length(pc) / values] + expected: FAIL + + [top length(px) / values] + expected: FAIL + + [top length(em) / values] + expected: FAIL + + [top length(ex) / values] + expected: FAIL + + [top length(mm) / values] + expected: FAIL + + [top length(cm) / values] + expected: FAIL + + [top length(in) / values] + expected: FAIL + + [top percentage(%) / values] + expected: FAIL + + [right length(pt) / values] + expected: FAIL + + [right length(pc) / values] + expected: FAIL + + [right length(px) / values] + expected: FAIL + + [right length(em) / values] + expected: FAIL + + [right length(ex) / values] + expected: FAIL + + [right length(mm) / values] + expected: FAIL + + [right length(cm) / values] + expected: FAIL + + [right length(in) / values] + expected: FAIL + + [right percentage(%) / values] + expected: FAIL + + [bottom length(pt) / values] + expected: FAIL + + [bottom length(pc) / values] + expected: FAIL + + [bottom length(px) / values] + expected: FAIL + + [bottom length(em) / values] + expected: FAIL + + [bottom length(ex) / values] + expected: FAIL + + [bottom length(mm) / values] + expected: FAIL + + [bottom length(cm) / values] + expected: FAIL + + [bottom length(in) / values] + expected: FAIL + + [bottom percentage(%) / values] + expected: FAIL + + [left length(pt) / values] + expected: FAIL + + [left length(pc) / values] + expected: FAIL + + [left length(px) / values] + expected: FAIL + + [left length(em) / values] + expected: FAIL + + [left length(ex) / values] + expected: FAIL + + [left length(mm) / values] + expected: FAIL + + [left length(cm) / values] + expected: FAIL + + [left length(in) / values] + expected: FAIL + + [left percentage(%) / values] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini index 0b610353317..d105a77b1ee 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini @@ -56,129 +56,6 @@ [background-position length(px) / events] expected: FAIL - [background-color color(rgba) / events] - expected: FAIL - - [border-top-width length(pt) / events] - expected: FAIL - - [border-top-width length(pc) / events] - expected: FAIL - - [border-top-width length(px) / events] - expected: FAIL - - [border-top-width length(em) / events] - expected: FAIL - - [border-top-width length(ex) / events] - expected: FAIL - - [border-top-width length(mm) / events] - expected: FAIL - - [border-top-width length(cm) / events] - expected: FAIL - - [border-top-width length(in) / events] - expected: FAIL - - [border-right-width length(pt) / events] - expected: FAIL - - [border-right-width length(pc) / events] - expected: FAIL - - [border-right-width length(px) / events] - expected: FAIL - - [border-right-width length(em) / events] - expected: FAIL - - [border-right-width length(ex) / events] - expected: FAIL - - [border-right-width length(mm) / events] - expected: FAIL - - [border-right-width length(cm) / events] - expected: FAIL - - [border-right-width length(in) / events] - expected: FAIL - - [border-bottom-width length(pt) / events] - expected: FAIL - - [border-bottom-width length(pc) / events] - expected: FAIL - - [border-bottom-width length(px) / events] - expected: FAIL - - [border-bottom-width length(em) / events] - expected: FAIL - - [border-bottom-width length(ex) / events] - expected: FAIL - - [border-bottom-width length(mm) / events] - expected: FAIL - - [border-bottom-width length(cm) / events] - expected: FAIL - - [border-bottom-width length(in) / events] - expected: FAIL - - [border-left-width length(pt) / events] - expected: FAIL - - [border-left-width length(pc) / events] - expected: FAIL - - [border-left-width length(px) / events] - expected: FAIL - - [border-left-width length(em) / events] - expected: FAIL - - [border-left-width length(ex) / events] - expected: FAIL - - [border-left-width length(mm) / events] - expected: FAIL - - [border-left-width length(cm) / events] - expected: FAIL - - [border-left-width length(in) / events] - expected: FAIL - - [border-top-color color(rgba) / events] - expected: FAIL - - [border-right-color color(rgba) / events] - expected: FAIL - - [border-bottom-color color(rgba) / events] - expected: FAIL - - [border-left-color color(rgba) / events] - expected: FAIL - - [padding-bottom length(pt) / events] - expected: FAIL - - [padding-bottom length(pc) / events] - expected: FAIL - - [padding-bottom length(px) / events] - expected: FAIL - - [padding-bottom length(em) / events] - expected: FAIL - [padding-bottom length(ex) / events] expected: FAIL @@ -478,3 +355,303 @@ [text-shadow shadow(shadow) / events] expected: FAIL + + [margin-right length(cm) / events] + expected: FAIL + + [margin-right length(in) / events] + expected: FAIL + + [margin-top length(pt) / events] + expected: FAIL + + [margin-top length(pc) / events] + expected: FAIL + + [margin-top length(px) / events] + expected: FAIL + + [margin-top length(em) / events] + expected: FAIL + + [margin-top length(ex) / events] + expected: FAIL + + [margin-top length(mm) / events] + expected: FAIL + + [margin-top length(cm) / events] + expected: FAIL + + [margin-top length(in) / events] + expected: FAIL + + [height length(pt) / events] + expected: FAIL + + [height length(pc) / events] + expected: FAIL + + [height length(px) / events] + expected: FAIL + + [height length(em) / events] + expected: FAIL + + [height length(ex) / events] + expected: FAIL + + [height length(mm) / events] + expected: FAIL + + [height length(cm) / events] + expected: FAIL + + [height length(in) / events] + expected: FAIL + + [height percentage(%) / events] + expected: FAIL + + [width length(pt) / events] + expected: FAIL + + [width length(pc) / events] + expected: FAIL + + [width length(px) / events] + expected: FAIL + + [width length(em) / events] + expected: FAIL + + [width length(ex) / events] + expected: FAIL + + [width length(mm) / events] + expected: FAIL + + [width length(cm) / events] + expected: FAIL + + [width length(in) / events] + expected: FAIL + + [width percentage(%) / events] + expected: FAIL + + [min-height length(pt) / events] + expected: FAIL + + [min-height length(pc) / events] + expected: FAIL + + [min-height length(px) / events] + expected: FAIL + + [min-height length(em) / events] + expected: FAIL + + [min-height length(ex) / events] + expected: FAIL + + [min-height length(mm) / events] + expected: FAIL + + [min-height length(cm) / events] + expected: FAIL + + [min-height length(in) / events] + expected: FAIL + + [min-height percentage(%) / events] + expected: FAIL + + [min-width length(pt) / events] + expected: FAIL + + [min-width length(pc) / events] + expected: FAIL + + [min-width length(px) / events] + expected: FAIL + + [min-width length(em) / events] + expected: FAIL + + [min-width length(ex) / events] + expected: FAIL + + [min-width length(mm) / events] + expected: FAIL + + [min-width length(cm) / events] + expected: FAIL + + [min-width length(in) / events] + expected: FAIL + + [min-width percentage(%) / events] + expected: FAIL + + [max-height length(pt) / events] + expected: FAIL + + [max-height length(pc) / events] + expected: FAIL + + [max-height length(px) / events] + expected: FAIL + + [max-height length(em) / events] + expected: FAIL + + [max-height length(ex) / events] + expected: FAIL + + [max-height length(mm) / events] + expected: FAIL + + [max-height length(cm) / events] + expected: FAIL + + [max-height length(in) / events] + expected: FAIL + + [max-height percentage(%) / events] + expected: FAIL + + [max-width length(pt) / events] + expected: FAIL + + [max-width length(pc) / events] + expected: FAIL + + [max-width length(px) / events] + expected: FAIL + + [max-width length(em) / events] + expected: FAIL + + [max-width length(ex) / events] + expected: FAIL + + [max-width length(mm) / events] + expected: FAIL + + [max-width length(cm) / events] + expected: FAIL + + [max-width length(in) / events] + expected: FAIL + + [max-width percentage(%) / events] + expected: FAIL + + [top length(pt) / events] + expected: FAIL + + [top length(pc) / events] + expected: FAIL + + [top length(px) / events] + expected: FAIL + + [top length(em) / events] + expected: FAIL + + [top length(ex) / events] + expected: FAIL + + [top length(mm) / events] + expected: FAIL + + [top length(cm) / events] + expected: FAIL + + [top length(in) / events] + expected: FAIL + + [top percentage(%) / events] + expected: FAIL + + [right length(pt) / events] + expected: FAIL + + [right length(pc) / events] + expected: FAIL + + [right length(px) / events] + expected: FAIL + + [right length(em) / events] + expected: FAIL + + [right length(ex) / events] + expected: FAIL + + [right length(mm) / events] + expected: FAIL + + [right length(cm) / events] + expected: FAIL + + [right length(in) / events] + expected: FAIL + + [right percentage(%) / events] + expected: FAIL + + [bottom length(pt) / events] + expected: FAIL + + [bottom length(pc) / events] + expected: FAIL + + [bottom length(px) / events] + expected: FAIL + + [bottom length(em) / events] + expected: FAIL + + [bottom length(ex) / events] + expected: FAIL + + [bottom length(mm) / events] + expected: FAIL + + [bottom length(cm) / events] + expected: FAIL + + [bottom length(in) / events] + expected: FAIL + + [bottom percentage(%) / events] + expected: FAIL + + [left length(pt) / events] + expected: FAIL + + [left length(pc) / events] + expected: FAIL + + [left length(px) / events] + expected: FAIL + + [left length(em) / events] + expected: FAIL + + [left length(ex) / events] + expected: FAIL + + [left length(mm) / events] + expected: FAIL + + [left length(cm) / events] + expected: FAIL + + [left length(in) / events] + expected: FAIL + + [left percentage(%) / events] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini index 408f924bb7c..b369cf511b1 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini @@ -325,3 +325,153 @@ [padding-bottom length(em) / values] expected: FAIL + + [padding-bottom length(ex) / values] + expected: FAIL + + [padding-bottom length(mm) / values] + expected: FAIL + + [padding-bottom length(cm) / values] + expected: FAIL + + [padding-bottom length(in) / values] + expected: FAIL + + [padding-left length(pt) / values] + expected: FAIL + + [padding-left length(pc) / values] + expected: FAIL + + [padding-left length(px) / values] + expected: FAIL + + [padding-left length(em) / values] + expected: FAIL + + [padding-left length(ex) / values] + expected: FAIL + + [padding-left length(mm) / values] + expected: FAIL + + [padding-left length(cm) / values] + expected: FAIL + + [padding-left length(in) / values] + expected: FAIL + + [padding-right length(pt) / values] + expected: FAIL + + [padding-right length(pc) / values] + expected: FAIL + + [padding-right length(px) / values] + expected: FAIL + + [padding-right length(em) / values] + expected: FAIL + + [padding-right length(ex) / values] + expected: FAIL + + [padding-right length(mm) / values] + expected: FAIL + + [padding-right length(cm) / values] + expected: FAIL + + [padding-right length(in) / values] + expected: FAIL + + [padding-top length(pt) / values] + expected: FAIL + + [padding-top length(pc) / values] + expected: FAIL + + [padding-top length(px) / values] + expected: FAIL + + [padding-top length(em) / values] + expected: FAIL + + [padding-top length(ex) / values] + expected: FAIL + + [padding-top length(mm) / values] + expected: FAIL + + [padding-top length(cm) / values] + expected: FAIL + + [padding-top length(in) / values] + expected: FAIL + + [margin-bottom length(pt) / values] + expected: FAIL + + [margin-bottom length(pc) / values] + expected: FAIL + + [margin-bottom length(px) / values] + expected: FAIL + + [margin-bottom length(em) / values] + expected: FAIL + + [margin-bottom length(ex) / values] + expected: FAIL + + [margin-bottom length(mm) / values] + expected: FAIL + + [margin-bottom length(cm) / values] + expected: FAIL + + [margin-bottom length(in) / values] + expected: FAIL + + [margin-left length(pt) / values] + expected: FAIL + + [margin-left length(pc) / values] + expected: FAIL + + [margin-left length(px) / values] + expected: FAIL + + [margin-left length(em) / values] + expected: FAIL + + [margin-left length(ex) / values] + expected: FAIL + + [margin-left length(mm) / values] + expected: FAIL + + [margin-left length(cm) / values] + expected: FAIL + + [margin-left length(in) / values] + expected: FAIL + + [margin-right length(pt) / values] + expected: FAIL + + [margin-right length(pc) / values] + expected: FAIL + + [margin-right length(px) / values] + expected: FAIL + + [margin-right length(em) / values] + expected: FAIL + + [margin-right length(ex) / values] + expected: FAIL + + [margin-right length(mm) / values] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini new file mode 100644 index 00000000000..f18b8d2fcf9 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini @@ -0,0 +1,3 @@ +[CaretPosition-001.html] + [Element at (400, 100)] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini deleted file mode 100644 index cf67b5d03dd..00000000000 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-dynamic-anon-box.html] - [Link should be clickable after hiding a scrollbox with an anonymous table inside] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-ellipsis-in-inline-box.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-ellipsis-in-inline-box.html.ini deleted file mode 100644 index b905fe70fcb..00000000000 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-ellipsis-in-inline-box.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-ellipsis-in-inline-box.html] - [elementFromPoint-ellipsis-in-inline-box] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini new file mode 100644 index 00000000000..a3496a40d07 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini @@ -0,0 +1,3 @@ +[elementsFromPoint-invalid-cases.html] + [The root element is the last element returned for otherwise empty queries within the viewport] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini index f2aaac6638d..e0663d34a38 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini @@ -77,8 +77,5 @@ [Input: "Content-Length: ". Expected: 42.] expected: FAIL - [Input: "Content-Length: 42\\r\\nContent-Length: 42,42". Expected: 42.] - expected: FAIL - - [Input: "Content-Length: 42,42". Expected: 42.] + [Input: "Content-Length: 42\\r\\nContent-Length: 42". Expected: 42.] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini index 8edde75f4d0..5e36e8dcc7b 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini @@ -308,3 +308,6 @@ [Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] expected: NOTRUN + + [ - diff --git a/tests/wpt/web-platform-tests/html/user-activation/consumption-sameorigin.html b/tests/wpt/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html similarity index 78% rename from tests/wpt/web-platform-tests/html/user-activation/consumption-sameorigin.html rename to tests/wpt/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html index 11dafea1646..81cd5d3ca19 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/consumption-sameorigin.html +++ b/tests/wpt/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html @@ -1,4 +1,8 @@ + @@ -26,7 +30,7 @@ assert_false(navigator.userActivation.hasBeenActive); }, "Parent frame initial state"); - test_driver.click(document.getElementById("child-so")); + return test_driver.click(document.getElementById("child-so")); } function finishReportPhase() { @@ -40,7 +44,10 @@ consumption_test.done(); } - window.addEventListener("message", event => { + window.addEventListener("message", async event => { + // Test driver can send messages too... + if (typeof event.data !== "string") return; + var msg = JSON.parse(event.data); if (msg.type == 'child-one-loaded') { @@ -84,25 +91,32 @@ // Phase switching. if (msg.type.endsWith("-loaded")) { if (--num_children_to_load == 0) - finishLoadPhase(); + await finishLoadPhase(); } else if (msg.type.endsWith("-report")) { if (--num_children_to_report == 0) finishReportPhase(); } }); + async function createIframes() { + const child1 = document.createElement("iframe"); + child1.src = "resources/child-one.html"; + child1.id = "child1"; + await new Promise((resolve) => { + child1.onload = resolve; + document.body.appendChild(child1); + }); + const childSO = document.createElement("iframe"); + childSO.id = "child-so"; + childSO.src = "resources/consumption-sameorigin-child.html"; + document.body.appendChild(childSO); + } - +

User activation consumption across same-origin frame boundary

Tests that user activation consumption resets the transient states in all same-origin frames.

  1. Click anywhere on the green area (child frame).
- - diff --git a/tests/wpt/web-platform-tests/html/user-activation/detached-iframe.html b/tests/wpt/web-platform-tests/html/user-activation/detached-iframe.html index 7ef39f723d1..af3d23072b4 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/detached-iframe.html +++ b/tests/wpt/web-platform-tests/html/user-activation/detached-iframe.html @@ -42,6 +42,6 @@ assert_equals(iframe.contentWindow, null, "No more global"); assert_true(userActivation.isActive, "isActive"); assert_true(userActivation.hasBeenActive, "hasBeenActive"); - }, "navigator.userActivation retains state even if browsing context is destroyed"); + }, "navigator.userActivation retains state even if global is removed"); diff --git a/tests/wpt/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html b/tests/wpt/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html index cbb72850910..2a16f454967 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html +++ b/tests/wpt/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html @@ -15,12 +15,12 @@
  1. Click inside the red area.
- - - - - - -

Post-navigation activation state in child

-

Tests that navigating a same-origin child frame resets its activation states.

-
    -
  1. Click inside the yellow area. -
- - + + + + + +

Post-navigation activation state in child

+

+ Tests that navigating a same-origin child frame resets its activation + states. +

+
    +
  1. Click inside the yellow area.
  2. +
- test_driver.click(child); - } else if (msg.type == 'child-one-clicked') { - assert_true(navigator.userActivation.isActive); - assert_true(navigator.userActivation.hasBeenActive); - assert_true(msg.isActive); - assert_true(msg.hasBeenActive); + + - + assert_true(navigator.userActivation.isActive); + assert_true(navigator.userActivation.hasBeenActive); + assert_true(child1Data.isActive); + assert_true(child1Data.hasBeenActive); + + child.src = "./resources/child-two.html"; + + const child2Data = await message("child-two-loaded"); + + assert_true(navigator.userActivation.isActive); + assert_true(navigator.userActivation.hasBeenActive); + assert_false(child2Data.isActive); + assert_false(child2Data.hasBeenActive); + }, "Post-navigation state reset."); + + diff --git a/tests/wpt/web-platform-tests/html/user-activation/propagation-crossorigin.sub.html b/tests/wpt/web-platform-tests/html/user-activation/propagation-crossorigin.sub.html index 5f3bb699281..d317764036f 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/propagation-crossorigin.sub.html +++ b/tests/wpt/web-platform-tests/html/user-activation/propagation-crossorigin.sub.html @@ -43,6 +43,9 @@ } window.addEventListener("message", event => { + // Test driver can send messages too... + if (typeof event.data !== "string") return; + var msg = JSON.parse(event.data); if (msg.type == 'child-one-loaded') { @@ -92,19 +95,27 @@ finishReportPhase(); } }); + async function createIframes() { + const child1 = document.createElement("iframe"); + child1.src = "http://{{hosts[alt][]}}:{{ports[http][0]}}/html/user-activation/resources/child-one.html"; + child1.id = "child1"; + document.body.appendChild(child1); + await new Promise((resolve) => { + child1.onload = resolve; + document.body.appendChild(child1); + }); + const childXO = document.createElement("iframe"); + childXO.id = "child-xo"; + childXO.src = "http://{{hosts[alt][]}}:{{ports[http][1]}}/html/user-activation/resources/propagation-crossorigin-child.sub.html"; + document.body.appendChild(childXO); + } - +

User activation propagation across cross-origin frame boundary

Tests that user activation does not propagate across cross-origin frame boundary.

  1. Click anywhere on the green area (child frame).
- - diff --git a/tests/wpt/web-platform-tests/html/user-activation/propagation-sameorigin.html b/tests/wpt/web-platform-tests/html/user-activation/propagation-sameorigin.html index 112563fce75..61debbf948a 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/propagation-sameorigin.html +++ b/tests/wpt/web-platform-tests/html/user-activation/propagation-sameorigin.html @@ -41,6 +41,9 @@ } window.addEventListener("message", event => { + // Test driver can send messages too... + if (typeof event.data !== "string") return; + var msg = JSON.parse(event.data); if (msg.type == 'child-one-loaded') { @@ -90,19 +93,26 @@ finishReportPhase(); } }); + async function createIframes() { + const child1 = document.createElement("iframe"); + child1.src = "resources/child-one.html"; + child1.id = "child1"; + await new Promise((resolve) => { + child1.onload = resolve; + document.body.appendChild(child1); + }); + const childSO = document.createElement("iframe"); + childSO.id = "child-so"; + childSO.src = "resources/propagation-sameorigin-child.html"; + document.body.appendChild(childSO); + } - +

User activation propagation across same-origin frame boundary

Tests that user activation propagates across same-origin frame boundary.

  1. Click anywhere on the green area (child frame).
- - diff --git a/tests/wpt/web-platform-tests/html/user-activation/resources/consumption-crossorigin-child.sub.html b/tests/wpt/web-platform-tests/html/user-activation/resources/consumption-crossorigin-child.sub.html index c9f37ac8efd..3ab469fe611 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/resources/consumption-crossorigin-child.sub.html +++ b/tests/wpt/web-platform-tests/html/user-activation/resources/consumption-crossorigin-child.sub.html @@ -23,7 +23,7 @@
Cross-origin child frame
diff --git a/tests/wpt/web-platform-tests/html/user-activation/resources/propagation-crossorigin-child.sub.html b/tests/wpt/web-platform-tests/html/user-activation/resources/propagation-crossorigin-child.sub.html index 3cdd6886da2..ec465bf4acb 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/resources/propagation-crossorigin-child.sub.html +++ b/tests/wpt/web-platform-tests/html/user-activation/resources/propagation-crossorigin-child.sub.html @@ -21,7 +21,7 @@
Cross-origin child frame
diff --git a/tests/wpt/web-platform-tests/html/user-activation/user-activation-interface.html b/tests/wpt/web-platform-tests/html/user-activation/user-activation-interface.html index cd808e010d3..8ece08f11d6 100644 --- a/tests/wpt/web-platform-tests/html/user-activation/user-activation-interface.html +++ b/tests/wpt/web-platform-tests/html/user-activation/user-activation-interface.html @@ -7,13 +7,14 @@ - +

Basic test for navigator.userActivation interface

Tests that navigator.userActivation shows user activation states.

  1. Click anywhere in the document.
diff --git a/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js b/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js index 668bdb78cd6..1b576e52da8 100644 --- a/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js +++ b/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js @@ -3,3 +3,7 @@ test(() => { new Request("", {priority: 'invalid'}); }, "a new Request() must throw a TypeError if RequestInit's priority is an invalid value"); }, "new Request() throws a TypeError if any of RequestInit's members' values are invalid"); + +promise_test(function(t) { + return promise_rejects_js(t, TypeError, fetch('resources/blank.html', { priority: 'invalid' })); +}, "fetch() with an invalid priority returns a rejected promise with a TypeError"); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/priority-hints/iframe-attr-fetchpriority.tentative.html b/tests/wpt/web-platform-tests/priority-hints/iframe-attr-fetchpriority.tentative.html new file mode 100644 index 00000000000..386577690b2 --- /dev/null +++ b/tests/wpt/web-platform-tests/priority-hints/iframe-attr-fetchpriority.tentative.html @@ -0,0 +1,26 @@ + +Priority Hints - iFrame element + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/priority-hints/img-attr-named-constructor.tentative.html b/tests/wpt/web-platform-tests/priority-hints/img-attr-fetchpriority.tentative.html similarity index 91% rename from tests/wpt/web-platform-tests/priority-hints/img-attr-named-constructor.tentative.html rename to tests/wpt/web-platform-tests/priority-hints/img-attr-fetchpriority.tentative.html index a6a629059ee..996aa4d1567 100644 --- a/tests/wpt/web-platform-tests/priority-hints/img-attr-named-constructor.tentative.html +++ b/tests/wpt/web-platform-tests/priority-hints/img-attr-fetchpriority.tentative.html @@ -13,7 +13,7 @@ diff --git a/tests/wpt/web-platform-tests/priority-hints/resources/blank.html b/tests/wpt/web-platform-tests/priority-hints/resources/blank.html new file mode 100644 index 00000000000..0e76edd65b7 --- /dev/null +++ b/tests/wpt/web-platform-tests/priority-hints/resources/blank.html @@ -0,0 +1 @@ + diff --git a/tests/wpt/web-platform-tests/priority-hints/resources/script.js b/tests/wpt/web-platform-tests/priority-hints/resources/script.js new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/wpt/web-platform-tests/priority-hints/resources/service-worker-fetch-request-priority.js b/tests/wpt/web-platform-tests/priority-hints/resources/service-worker-fetch-request-priority.js new file mode 100644 index 00000000000..6d115c8daa0 --- /dev/null +++ b/tests/wpt/web-platform-tests/priority-hints/resources/service-worker-fetch-request-priority.js @@ -0,0 +1,17 @@ +// This worker echos back the priority of FetchEvent.request.priority + +self.addEventListener('message', function(event) { + self.port = event.data.port; +}); + +self.addEventListener('fetch', function(event) { + const search = new URL(event.request.url).search; + if (search.startsWith('?priority')) { + try { + self.port.postMessage(event.request.priority); + } catch (e) { + self.port.postMessage('EXCEPTION'); + } + event.respondWith(new Response(null, {"status": 200})) + } +}); diff --git a/tests/wpt/web-platform-tests/priority-hints/script-attr-fetchpriority.tentative.html b/tests/wpt/web-platform-tests/priority-hints/script-attr-fetchpriority.tentative.html new file mode 100644 index 00000000000..8639d04d86a --- /dev/null +++ b/tests/wpt/web-platform-tests/priority-hints/script-attr-fetchpriority.tentative.html @@ -0,0 +1,26 @@ + +Priority Hints - Script element + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/priority-hints/service-worker-fetch-request-priority.tentative.https.html b/tests/wpt/web-platform-tests/priority-hints/service-worker-fetch-request-priority.tentative.https.html new file mode 100644 index 00000000000..3bf6757da5e --- /dev/null +++ b/tests/wpt/web-platform-tests/priority-hints/service-worker-fetch-request-priority.tentative.https.html @@ -0,0 +1,157 @@ + + +Priority Hints: Service Worker Fetch Request Priority + + + + + diff --git a/tests/wpt/web-platform-tests/streams/resources/test-utils.js b/tests/wpt/web-platform-tests/streams/resources/test-utils.js index fb34e270ff3..b5da3c85bae 100644 --- a/tests/wpt/web-platform-tests/streams/resources/test-utils.js +++ b/tests/wpt/web-platform-tests/streams/resources/test-utils.js @@ -47,23 +47,28 @@ self.constructorThrowsForAll = (constructor, firstArgs) => { 'constructor should throw a TypeError')); }; -self.garbageCollect = async () => { - if (self.TestUtils?.gc) { - // https://testutils.spec.whatwg.org/#the-testutils-namespace - await TestUtils.gc(); - } else if (self.gc) { - // Use --expose_gc for V8 (and Node.js) - // to pass this flag at chrome launch use: --js-flags="--expose-gc" - // Exposed in SpiderMonkey shell as well - self.gc(); - } else if (self.GCController) { - // Present in some WebKit development environments - GCController.collect(); - } else { - /* eslint-disable no-console */ - console.warn('Tests are running without the ability to do manual garbage collection. They will still work, but ' + - 'coverage will be suboptimal.'); - /* eslint-enable no-console */ +self.garbageCollect = () => { + // https://testutils.spec.whatwg.org/#the-testutils-namespace + if (self.TestUtils?.gc) return TestUtils.gc(); + // Use --expose_gc for V8 (and Node.js) + // to pass this flag at chrome launch use: --js-flags="--expose-gc" + // Exposed in SpiderMonkey shell as well + if (self.gc) return self.gc(); + // Present in some WebKit development environments + if (self.GCController) return GCController.collect(); + + /* eslint-disable no-console */ + console.warn('Tests are running without the ability to do manual garbage collection. They will still work, but ' + + 'coverage will be suboptimal.'); + /* eslint-enable no-console */ + + for (var i = 0; i < 1000; i++) gcRec(10); + + function gcRec(n) { + if (n < 1) return {}; + let temp = { i: "ab" + i + i / 100000 }; + temp += "foo"; + gcRec(n - 1); } }; diff --git a/tests/wpt/web-platform-tests/svg/path/distance/pathlength-circle-mutating.svg b/tests/wpt/web-platform-tests/svg/path/distance/pathlength-circle-mutating.svg new file mode 100644 index 00000000000..a033962e6a3 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/path/distance/pathlength-circle-mutating.svg @@ -0,0 +1,16 @@ + + Mutating the 'pathLength' attribute ('circle' element) + + + + + diff --git a/tests/wpt/web-platform-tests/webcodecs/videoFrame-construction.any.js b/tests/wpt/web-platform-tests/webcodecs/videoFrame-construction.any.js index 8f71a954e2e..d6374c11d18 100644 --- a/tests/wpt/web-platform-tests/webcodecs/videoFrame-construction.any.js +++ b/tests/wpt/web-platform-tests/webcodecs/videoFrame-construction.any.js @@ -94,6 +94,30 @@ test(t => { }) }, 'Test constructing w/ unusable image argument throws: HAVE_NOTHING