Bug 266672
| Summary: | REBASELINE: [ iOS15+ ] imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html is a constant text failure | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Jenner <jenner> |
| Component: | DOM | Assignee: | Robert Jenner <jenner> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Robert Jenner
imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html
is a constant text failure currently observed on iOS 17. However, scrolling back through our history I found that it has been failing since at least iOS 15.
HISTORY:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fselectors%2Fpseudo-classes%2Freadwrite-readonly.html
DIFF URL:
https://build.webkit.org/results/Apple-iPadOS-17-Simulator-Release-WK2-Tests/272283@main%20(511)/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-pretty-diff.html
DIFF TEXT:
+++ /Volumes/Data/worker/Apple-iPadOS-17-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-actual.txt
@@ -1,6 +1,6 @@
-FAIL The :read-write pseudo-class must not match input elements to which the readonly attribute does not apply assert_array_equals: lengths differ, expected array [] length 0, got [Element node <input id="color1" type="color"></input>] length 1
-FAIL The :read-only pseudo-class must match input elements to which the readonly attribute does not apply assert_array_equals: lengths differ, expected array [Element node <input id="checkbox1" type="checkbox"></input>, Element node <input id="hidden1" type="hidden" value="abc"></input>, Element node <input id="range1" type="range"></input>, Element node <input id="color1" type="color"></input>, Element node <input id="radio1" type="radio"></input>, Element node <input id="file1" type="file"></input>, Element node <input id="submit1" type="submit"></input>, Element node <input id="image1" type="image"></input>, Element node <input id="button1" type="button" value="Button"></input>, Element node <input id="reset1" type="reset"></input>] length 10, got [Element node <input id="checkbox1" type="checkbox"></input>, Element node <input id="hidden1" type="hidden" value="abc"></input>, Element node <input id="range1" type="range"></input>, Element node <input id="radio1" type="radio"></input>, Element node <input id="file1" type="file"></input>, Element node <input id="submit1" type="submit"></input>, Element node <input id="image1" type="image"></input>, Element node <input id="button1" type="button" value="Button"></input>, Element node <input id="reset1" type="reset"></input>] length 9
+PASS The :read-write pseudo-class must not match input elements to which the readonly attribute does not apply
+PASS The :read-only pseudo-class must match input elements to which the readonly attribute does not apply
PASS The :read-write pseudo-class must match input elements to which the readonly attribute applies, and that are mutable
PASS The :read-only pseudo-class must not match input elements to which the readonly attribute applies, and that are mutable
PASS The :read-write pseudo-class must not match input elements after the readonly attribute has been added
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/119900509>
Robert Jenner
This is easily reproducible at iOS17 ToT running the test as follows:
run-webkit-tests --iOS-simulator imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html
Robert Jenner
The diff looks very incorrect. So I am going to put up a rebaseline for this test.
Robert Jenner
Pull request: https://github.com/WebKit/WebKit/pull/22076
EWS
Committed 272393@main (9a87fd65691a): <https://commits.webkit.org/272393@main>
Reviewed commits have been landed. Closing PR #22132 and removing active labels.