Skip to content

Commit

Permalink
Import wpt@cc33cda0d6540ec682679d499e19a888978e9be1
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium e322aac.

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
R=rubber-stamper@appspot.gserviceaccount.com

No-Export: true
Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel
Change-Id: If947811b84df6ad5ea2bb9709abe5f4dad7eebc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4240989
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1104279}
  • Loading branch information
Chromium WPT Sync authored and Chromium LUCI CQ committed Feb 12, 2023
1 parent e069d00 commit ed6e114
Show file tree
Hide file tree
Showing 18 changed files with 151 additions and 25 deletions.
3 changes: 3 additions & 0 deletions third_party/blink/web_tests/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -2989,6 +2989,9 @@ crbug.com/webrtc/10567 external/wpt/webrtc/RTCRtpParameters-encodings.html [ Fai
crbug.com/webrtc/10567 external/wpt/webrtc/simulcast/setParameters-encodings.https.html [ Failure Pass ]

# ====== New tests from wpt-importer added here ======
crbug.com/626703 external/wpt/css/css-pseudo/svg-text-selection-002.html [ Failure ]
crbug.com/626703 virtual/css-highlight-inheritance/external/wpt/css/css-pseudo/svg-text-selection-002.html [ Failure ]
crbug.com/626703 virtual/css-highlight-overlay-painting/external/wpt/css/css-pseudo/svg-text-selection-002.html [ Failure ]
crbug.com/626703 external/wpt/css/css-images/image-set/image-set-type-unsupported-rendering-2.html [ Failure ]
crbug.com/626703 external/wpt/css/css-images/image-set/image-set-type-unsupported-rendering.html [ Failure ]
crbug.com/626703 external/wpt/css/css-counter-styles/counter-style-at-rule/descriptor-prefix.html [ Failure ]
Expand Down
55 changes: 44 additions & 11 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Original file line number Diff line number Diff line change
Expand Up @@ -160974,6 +160974,19 @@
{}
]
],
"svg-text-selection-002.html": [
"c25946d3943babf2509453670278515bf070f6c7",
[
null,
[
[
"/css/css-pseudo/reference/svg-text-selection-002-ref.html",
"=="
]
],
{}
]
],
"target-text-001.html": [
"6fa529aef90ebfda8cacbaa05f481b9f94df358f",
[
Expand Down Expand Up @@ -263969,11 +263982,11 @@
"support": {
".cache": {
"gitignore2.json": [
"b465dcfc282ee8f1500ed10d601e8baf90695cce",
"7c0e203b0b62eeda2a6092298c3dc6618cbf5f23",
[]
],
"mtime.json": [
"4f52593b40e6ddcf84cdebe6e2a82a0f682e8488",
"e75707c6d5fec003c41a393844137f6a9b486e51",
[]
]
},
Expand Down Expand Up @@ -287923,7 +287936,7 @@
[]
],
"system-extends.html.ini": [
"19562ba7d01c458bcc7983c5c3d7013ae7091908",
"cce2bed8622a3a0a0dd36e8fdb474eec038580dc",
[]
],
"system-fixed-ref.html": [
Expand Down Expand Up @@ -292282,7 +292295,7 @@
[]
],
"cjk-kerning.html.ini": [
"cf10f40714d0b64c83f8037bd93071a2b6b95c94",
"5f57054ae95563dfd924ace4a18776bd51a65c77",
[]
],
"crash-large-grapheme-cluster.html.ini": [
Expand Down Expand Up @@ -312171,6 +312184,10 @@
"selection-textarea-011-ref.html": [
"34b9913cf3c5dc3ab4276020f1de7e03fc4ae788",
[]
],
"svg-text-selection-002-ref.html": [
"8703b313ea41d30c703fcc157bcd31866fd670d1",
[]
]
},
"selection-background-painting-order-ref1.html": [
Expand Down Expand Up @@ -312271,6 +312288,10 @@
[]
]
},
"svg-text-selection-002.html.ini": [
"a31542184b82bbaba00d014a4bad703cdb0f3bb0",
[]
],
"target-text-001.html.ini": [
"8254e8759d67ce40fec5f9c94332c27ce33aa630",
[]
Expand Down Expand Up @@ -326358,6 +326379,10 @@
"352e8f304af4f32bf6bc78375a724433360d3a8f",
[]
],
"kind-of-widget-fallback-button-border-end-start-radius-001.html.ini": [
"56241f47a4c7698608cdbfe1cc63a02363234f22",
[]
],
"kind-of-widget-fallback-color-input-border-block-end-color-001.html.ini": [
"7095bdd77dc876d70702c9ed00ada599b379fc46",
[]
Expand Down Expand Up @@ -326418,6 +326443,10 @@
"51b0167d978d3b1d4f24cbd46eb6790e563583e4",
[]
],
"kind-of-widget-fallback-input-reset-border-bottom-color-001.html.ini": [
"8ddfd93398953d06b853e94d9f2588c21abc483d",
[]
],
"kind-of-widget-fallback-input-reset-border-end-end-radius-001.html.ini": [
"cfa46fa9706127e00580cf1e1c5f022bc8563538",
[]
Expand Down Expand Up @@ -326850,6 +326879,10 @@
"8cad6314f906e0bc2669336b34c4ec35fe857c4d",
[]
],
"kind-of-widget-fallback-textarea-border-image-width-001.html.ini": [
"28a5d24ff6dfd108d3fa58d90b5a212eb31daa21",
[]
],
"kind-of-widget-fallback-textarea-border-left-width-001.html.ini": [
"eb25c78cedcee1ba38a48a557d6bc29f085d3064",
[]
Expand Down Expand Up @@ -330048,7 +330081,7 @@
[]
],
"content-with-clip-max-texture-size.html.ini": [
"9adefd74cdd6b0dfc74d5b6bd340137511be6705",
"243c1b5ef4502506132f9ea05d027bb40cf3aa8d",
[]
],
"content-with-clip-ref.html": [
Expand Down Expand Up @@ -330288,7 +330321,7 @@
[]
],
"new-content-captures-opacity.html.ini": [
"bb2bfdd1762ce7a2b4b0782637bf6df588ef8e95",
"d7050b65f96330547518a1c4d9f4550b7cf14912",
[]
],
"new-content-captures-positioned-spans-ref.html": [
Expand Down Expand Up @@ -330340,7 +330373,7 @@
[]
],
"new-content-intrinsic-aspect-ratio.html.ini": [
"fa18c60023d714471cc7816cca3c1a820af84951",
"dd8121062b36f51c0fa600189adf4b6f97f99a35",
[]
],
"new-content-is-empty-div-ref.html": [
Expand Down Expand Up @@ -330468,7 +330501,7 @@
[]
],
"old-content-captures-clip-path.html.ini": [
"45a8fde5ae257a7af4f71f40bb02c8295770e2ed",
"5e0c020943684fd36081e23fba848db166e87d69",
[]
],
"old-content-captures-different-size-ref.html": [
Expand Down Expand Up @@ -330666,7 +330699,7 @@
[]
],
"root-to-shared-animation-incoming.html.ini": [
"395fe994d6edbbad6fb9049cc2782692c3587040",
"af41c454f3be96f8d74b116fc11c54b40cac09e2",
[]
],
"root-to-shared-animation-start-ref.html": [
Expand Down Expand Up @@ -377072,7 +377105,7 @@
[]
],
"performance-navigation-timing-same-origin-bfcache.tentative.window.js.ini": [
"2faeab35f7932b2191cc0d963c0bc95d8cdfd868",
"a7414b2e31aaebcdf7373b5217c283682827ab56",
[]
],
"performance-navigation-timing-same-origin-replace.tentative.window.js.ini": [
Expand Down Expand Up @@ -387383,7 +387416,7 @@
]
},
"storage-access-permission.sub.https.window.js.ini": [
"894cf180b382cbf632fd60f9fb33380aa8c6e531",
"7e03514dd89c36a7364af6a3f5a7d0463d7cf3d2",
[]
],
"storageAccess.testdriver.sub.html.ini": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[system-extends.html]
expected:
if (os == "win") and (processor == "x86_64"): FAIL
if (os == "linux") and (version == "Ubuntu 18.04"): FAIL
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

[expected match: .default .cjk vs .kernOFF .cjk]
expected:
if (processor == "x86_64") and (flag_specific == "") and (product == "content_shell"): FAIL
if (os == "linux") and (flag_specific == "") and (product == "content_shell"): FAIL

[expected mismatch: .kernOFF .cjk vs .kernON .cjk]
expected:
if (processor == "x86_64") and (flag_specific == "") and (product == "content_shell"): PASS
if (os == "linux") and (flag_specific == "") and (product == "content_shell"): PASS
FAIL

[expected mismatch: .paltOFFkernON .cjk vs .paltONkernON .cjk]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>

<meta charset="UTF-8">

<title>CSS Reftest Reference</title>

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

<meta content="svg" name="flags">

<p>Test passes if the glyphs of "Selected text" are green and <strong>not red</strong>.

<div>

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="460" height="180" style="border: black solid 3px;">

<text x="50" y="100" fill="green" font-size="48">Selected text</text>

</svg>

</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>

<meta charset="UTF-8">

<title>CSS Pseudo Test: active selection of text within a svg object styled with 'color'</title>

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-pseudo-4/#highlight-selectors">
<link rel="help" href="https://www.w3.org/TR/css-pseudo-4/#highlight-styling">
<link rel="help" href="https://www.w3.org/TR/fill-stroke-3/#fill-color">
<link rel="match" href="reference/svg-text-selection-002-ref.html">

<meta content="svg" name="flags">
<meta content="This test checks that an SVG application with a text can be selected and then be styled with 'color'." name="assert">

<style>
text::selection
{
color: green;
}
</style>

<p>Test passes if the glyphs of "Selected text" are green and <strong>not red</strong>.

<div>

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="460" height="180" style="border: black solid 3px;">

<text x="50" y="100" fill="red" font-size="48" id="test">Selected text</text>

</svg>

</div>

<script>
var targetRange = document.createRange();
/* We first create an empty range */

targetRange.setStart(document.getElementById("test").childNodes[0], 0);
/*
Then we set the start boundary of the range inside text#test to
the 1st character, which is "S"
*/

targetRange.setEnd(document.getElementById("test").childNodes[0], 13);
/* And we set the end boundary of the range inside text#test
right after the 14th character which is "t" */

window.getSelection().addRange(targetRange);
/* Finally, we now select such range of content */
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[svg-text-selection-002.html]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[kind-of-widget-fallback-button-border-end-start-radius-001.html]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[kind-of-widget-fallback-input-reset-border-bottom-color-001.html]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[kind-of-widget-fallback-textarea-border-image-width-001.html]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[content-with-clip-max-texture-size.html]
expected: FAIL
expected:
if (processor == "x86_64") and (os == "linux") and (version == "Ubuntu 18.04"): TIMEOUT
if (processor == "x86_64") and (os == "win"): TIMEOUT
FAIL
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[new-content-captures-opacity.html]
expected: FAIL
expected:
if (processor == "x86_64") and (os == "linux") and (version == "Ubuntu 18.04"): TIMEOUT
if (processor == "x86_64") and (os == "win"): TIMEOUT
FAIL
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[new-content-intrinsic-aspect-ratio.html]
expected: FAIL
expected:
if (processor == "x86_64") and (os == "linux") and (version == "Ubuntu 18.04"): TIMEOUT
if (processor == "x86_64") and (os == "win"): TIMEOUT
FAIL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[old-content-captures-clip-path.html]
expected:
if (os == "win") and (processor == "x86_64"): TIMEOUT
if (os == "linux") and (version == "Ubuntu 18.04"): TIMEOUT
FAIL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[root-to-shared-animation-incoming.html]
expected:
if (os == "win") and (processor == "x86_64"): TIMEOUT
if (os == "linux") and (version == "Ubuntu 18.04"): TIMEOUT
FAIL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[performance-navigation-timing-same-origin-bfcache.tentative.window.html]
[RemoteContextHelper navigation using BFCache]
expected:
if (os == "linux") and (version == "trusty") and (product == "chrome"): FAIL
if (os == "linux") and (version == "Ubuntu 18.04"): FAIL
if (processor == "x86_64") and (os == "linux") and (product == "chrome"): FAIL
if (processor == "x86_64") and (os == "win"): FAIL
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

[Permission state can be observed]
expected:
if (flag_specific == "") and (product == "content_shell") and (os == "linux") and (version == "Ubuntu 18.04"): FAIL
if (flag_specific == "") and (product == "chrome"): TIMEOUT
if flag_specific == "disable-site-isolation-trials": FAIL
if (product == "content_shell") and (processor == "x86_64") and (os == "linux") and (flag_specific == "disable-site-isolation-trials"): FAIL
if (product == "content_shell") and (processor == "x86_64") and (os == "win"): FAIL
if product == "chrome": TIMEOUT

[IFrame tests]
expected:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[root-and-nested-element-transition.html]
expected:
if processor == "x86": ERROR
if (os == "linux") and (version == "Ubuntu 18.04"): ERROR
if os == "win": ERROR
FAIL

0 comments on commit ed6e114

Please sign in to comment.