Skip to content

Commit

Permalink
Re-import css/css-ui WPTs
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=243900

Reviewed by Tim Nguyen.

Upstream commit: web-platform-tests/wpt@45ec8cb

* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/resources/resource-files.json:
* LayoutTests/imported/w3c/web-platform-tests/css/css-ui/**/*: Update WPTs.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/ios-wk2/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* LayoutTests/platform/mac-wk1/TestExpectations:

Canonical link: https://commits.webkit.org/253454@main
  • Loading branch information
pxlcoder committed Aug 16, 2022
1 parent 3aa43e7 commit 1688bc7
Show file tree
Hide file tree
Showing 1,692 changed files with 33,443 additions and 134 deletions.
528 changes: 526 additions & 2 deletions LayoutTests/TestExpectations

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions LayoutTests/imported/w3c/resources/resource-files.json
Original file line number Diff line number Diff line change
Expand Up @@ -2033,6 +2033,16 @@
"web-platform-tests/css/css-transforms/z-index-does-not-apply-ref.html",
"web-platform-tests/css/css-transitions/no-transition-from-ua-to-blocking-stylesheet-ref.html",
"web-platform-tests/css/css-transitions/root-color-transition-ref.html",
"web-platform-tests/css/css-ui/accent-color-checkbox-checked-001-notref.html",
"web-platform-tests/css/css-ui/accent-color-invalidation-currentcolor-ref.html",
"web-platform-tests/css/css-ui/accent-color-parent-currentcolor-ref.html",
"web-platform-tests/css/css-ui/accent-color-radio-checked-001-notref.html",
"web-platform-tests/css/css-ui/accent-color-visited-ref.html",
"web-platform-tests/css/css-ui/appearance-auto-input-non-widget-001-ref.html",
"web-platform-tests/css/css-ui/appearance-auto-ref.html",
"web-platform-tests/css/css-ui/appearance-progress-bar-002-ref.html",
"web-platform-tests/css/css-ui/appearance-revert-ref.html",
"web-platform-tests/css/css-ui/appearance-textfield-001-ref.html",
"web-platform-tests/css/css-ui/canvas-cursor-001.html",
"web-platform-tests/css/css-ui/canvas-cursor-002.html",
"web-platform-tests/css/css-ui/caret-color-001.html",
Expand All @@ -2049,6 +2059,25 @@
"web-platform-tests/css/css-ui/caret-color-014.html",
"web-platform-tests/css/css-ui/caret-color-015.html",
"web-platform-tests/css/css-ui/caret-color-017.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-button-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-checkbox-input-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-color-input-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-input-button-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-input-reset-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-input-search-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-input-search-text-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-input-submit-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-input-text-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-link-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-meter-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-progress-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-radio-input-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-range-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-select-dropdown-box-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-select-listbox-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-select-menulist-button-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-fallback-textarea-ref.html",
"web-platform-tests/css/css-ui/compute-kind-widget-no-fallback-ref.html",
"web-platform-tests/css/css-ui/cursor-001.html",
"web-platform-tests/css/css-ui/cursor-002.html",
"web-platform-tests/css/css-ui/cursor-003.html",
Expand Down Expand Up @@ -2154,6 +2183,9 @@
"web-platform-tests/css/css-ui/cursor-x-y-001.html",
"web-platform-tests/css/css-ui/cursor-x-y-002.html",
"web-platform-tests/css/css-ui/cursor-x-y-003.html",
"web-platform-tests/css/css-ui/input-security-auto-sensitive-text-input-ref.html",
"web-platform-tests/css/css-ui/input-security-non-sensitive-elements-ref.html",
"web-platform-tests/css/css-ui/input-security-none-sensitive-text-input-ref.html",
"web-platform-tests/css/css-ui/nav-dir-001.html",
"web-platform-tests/css/css-ui/nav-dir-002.html",
"web-platform-tests/css/css-ui/nav-dir-003.html",
Expand Down Expand Up @@ -2237,6 +2269,9 @@
"web-platform-tests/css/css-ui/nav-up-014.html",
"web-platform-tests/css/css-ui/nav-up-015.html",
"web-platform-tests/css/css-ui/nav-up-016.html",
"web-platform-tests/css/css-ui/nothing-below-ref.html",
"web-platform-tests/css/css-ui/outline-auto-dynamic-change-ref.html",
"web-platform-tests/css/css-ui/outline-offset-table-001-notref.html",
"web-platform-tests/css/css-ui/resize-001.html",
"web-platform-tests/css/css-ui/resize-002.html",
"web-platform-tests/css/css-ui/resize-003.html",
Expand All @@ -2254,6 +2289,8 @@
"web-platform-tests/css/css-ui/resize-019.html",
"web-platform-tests/css/css-ui/resize-020.html",
"web-platform-tests/css/css-ui/resize-021.html",
"web-platform-tests/css/css-ui/resize-change-margin-ref.html",
"web-platform-tests/css/css-ui/resize-child-will-change-transform-ref.html",
"web-platform-tests/css/css-ui/support/nav-dir-target-001-frame.html",
"web-platform-tests/css/css-ui/support/nav-dir-target-002-frame.html",
"web-platform-tests/css/css-ui/support/nav-dir-target-003-frame.html",
Expand Down Expand Up @@ -2281,6 +2318,12 @@
"web-platform-tests/css/css-ui/support/nav-up-013-frame.html",
"web-platform-tests/css/css-ui/text-overflow-018.html",
"web-platform-tests/css/css-ui/text-overflow-019.html",
"web-platform-tests/css/css-ui/text-overflow-024-ref.html",
"web-platform-tests/css/css-ui/text-overflow-025-ref.html",
"web-platform-tests/css/css-ui/text-overflow-026-ref.html",
"web-platform-tests/css/css-ui/text-overflow-ref.html",
"web-platform-tests/css/css-ui/text-overflow-ruby-ref.html",
"web-platform-tests/css/css-ui/translucent-outline-ref.html",
"web-platform-tests/css/css-values/absolute_length_units.html",
"web-platform-tests/css/css-values/calc-background-image-gradient-1-ref.html",
"web-platform-tests/css/css-values/calc-background-linear-gradient-1-ref.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!doctype html>
<input type=checkbox checked style="accent-color: blue">
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!doctype html>
<input type=checkbox checked style="accent-color: blue">
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<title>Accent color changes colors of a checked checkbox</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" title="https://drafts.csswg.org/css-ui-4/#widget-accent">
<link rel="help" title="https://bugzilla.mozilla.org/show_bug.cgi?id=1705605">
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#widget-accent">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1705605">
<link rel="mismatch" href="accent-color-checkbox-checked-001-notref.html">

<input type=checkbox checked style="accent-color: red">
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!DOCTYPE html>
<div style="accent-color: red">
The following checkbox should be red: <input type=checkbox checked>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!DOCTYPE html>
<div style="accent-color: red; color: red">
The following checkbox should be red: <input type=checkbox checked>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<input type=radio checked style="accent-color: blue">
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<input type=radio checked style="accent-color: blue">
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!DOCTYPE html>
<title>Accent color changes colors of an checked radio</title>
<link rel="author" href="mailto:masonf@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#widget-accent">
<link rel="mismatch" href="accent-color-radio-checked-001-notref.html">

<input type=radio checked style="accent-color: red">
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!DOCTYPE html>
<a href="">
<input type=checkbox checked>
</a>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Joey Arhar" href="mailto:jarhar@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#widget-accent">
<link rel="match" href="accent-color-visited-ref.html">

<!-- :visited shouldn't apply to accent-color. -->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: appearance: auto on non-widget input elements</title>
<input type="hidden" value="abc">
<input type="image" value="def">
<input type="file">
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!doctype html>
<title>CSS Test Reference</title>
<progress style="appearance:auto" value="0.5">
<progress style="appearance:none" value="0.5">
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<div><input type="text" value="input-text"></div>
<div><input type="search" value="input-search"></div>
<div><textarea>textarea</textarea></div>
<div><input type="button" value="input-button"></div>
<div><input type="submit" value="input-submit"></div>
<div><input type="reset" value="input-reset"></div>
<div><input type="range"></div>
<div><input type="checkbox"></div>
<div><input type="radio"></div>
<div><input type="color"></div>
<div><select><option>select</option></select></div>
<div><select multiple><option>select-multiple</option></select></div>
<div><meter value=0.5></meter></div>
<div><progress value=0.5></progress></div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference for CSS Basic User Interface Test: appearance: textfield</title>
<style>
#container { width: 500px; }
</style>
<div id="container">
<a>a</a>
<button>button</button>
<input type="text" value="input-text">
<input type="text" value="input-search"><!-- intentionally type="text" -->
<textarea>textarea</textarea>
<input type="button" value="input-button">
<input type="submit" value="input-submit">
<input type="reset" value="input-reset">
<input type="range">
<input type="checkbox">
<input type="radio">
<input type="color">
<select><option>select</option></select>
<select multiple><option>select-multiple</option></select>
<meter value=0.5></meter>
<progress value=0.5></progress>
</div>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#box-sizing">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">
<meta name="flags" content="">
<link rel="match" href="reference/box-sizing-001-ref.html">
<meta name="assert" content="When box-sizing is border-box, the content width, rather than the computed value of the width property,
is considered when checking whether a block is larger than its containing block.">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#box-sizing">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">
<meta name="flags" content="">
<link rel="match" href="reference/box-sizing-001-ref.html">
<meta name="assert" content="When box-sizing is border-box, the content width, rather than the computed value of the width property,
should be used in the the constraint that determines the used values of sizing and positioning properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#box-sizing">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">
<meta name="flags" content="">
<link rel="match" href="reference/box-sizing-001-ref.html">
<meta name="assert" content="When box-sizing is border-box, the content height, rather than the computed value of the height property,
should be used in the the constraint that determines the used values of sizing and positioning properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<title>CSS Basic User Interface Test: box-sizing:border-box floors to 0</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#box-sizing">
<meta name="flags" content="">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="Floor width and height computation to 0 as they cannot be negative.">
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - button</title>
<style>
#container { width: 500px; }
button {
appearance: none;
}
</style>
<div id="container">
<button>button</button>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - checkbox-input</title>
<style>
#container { width: 500px; }
</style>
<div id="container">
<input type="checkbox">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - color-input</title>
<style>
#container { width: 500px; }
input[type=color] {
appearance: none;
}
</style>
<div id="container">
<input type="color">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - input-button</title>
<style>
#container { width: 500px; }
input[type=button] {
appearance: none;
}
</style>
<div id="container">
<input type="button" value="input-button">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - input-reset</title>
<style>
#container { width: 500px; }
input[type=reset] {
appearance: none;
}
</style>
<div id="container">
<input type="reset" value="input-reset">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - input-search</title>
<style>
#container { width: 500px; }
input[type=search] {
appearance: none;
}
</style>
<div id="container">
<input type="search" value="input-search">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - input-search-text</title>
<style>
#container { width: 500px; }
input[type=search] {
appearance: none;
}
</style>
<div id="container">
<input id="search-text-input" type="search" value="input-search-text">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - input-submit</title>
<style>
#container { width: 500px; }
input[type=submit] {
appearance: none;
}
</style>
<div id="container">
<input type="submit" value="input-submit">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - input-text</title>
<style>
#container { width: 500px; }
input[type=text] {
appearance: none;
}
</style>
<div id="container">
<input type="text" value="input-text">
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - link</title>
<style>
#container { width: 500px; }
</style>
<div id="container">
<a>a</a>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference: Compute kind of widget - fallback - meter</title>
<style>
#container { width: 500px; }
meter {
appearance: none;
}
</style>
<div id="container">
<meter value=0.5></meter>
</div>
Loading

0 comments on commit 1688bc7

Please sign in to comment.