mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #10834 - yoava333:master, r=SimonSapin
added support for :read-only and :read-write pseudo-classes partial fix for https://github.com/servo/servo/issues/10732 It's not a full fix because: 1. there's a bug in wpt-test https://github.com/w3c/web-platform-tests/issues/2889#issuecomment-214144420 2. we don't fully support all input types (namely image, color, hidden and range), which are defaulted to input text. this means that :read-write which is applicable to input text is mis-handled in those cases. 3. we don't support contenteditable, which is also possibly :read-write <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10834) <!-- Reviewable:end -->
This commit is contained in:
commit
ac8406f4ae
9 changed files with 82 additions and 31 deletions
|
@ -1,42 +1,15 @@
|
|||
[readwrite-readonly.html]
|
||||
type: testharness
|
||||
bug: https://github.com/servo/servo/issues/10732
|
||||
[The :read-write pseudo-class must match input elements to which the readonly attribute applies, and that are mutable]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-only pseudo-class must not match input elements to which the readonly attribute applies, and that are mutable]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-write pseudo-class must not match input elements after the readonly attribute has been added]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-only pseudo-class must match input elements after the readonly attribute has been added]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-write pseudo-class must not match input elements after the readonly attribute has been removed]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-only pseudo-class must match input elements after the readonly attribute has been removed]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-write pseudo-class must match textarea elements that do not have a readonly attribute, and that are not disabled]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-only pseudo-class must match textarea elements that have a readonly attribute, or that are disabled]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-write pseudo-class must match textarea elements after the readonly attribute has been added]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-only pseudo-class must match textarea elements after the readonly attribute has been added]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-write pseudo-class must not match textarea elements that are disabled]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-only pseudo-class must match textarea elements that are disabled]
|
||||
expected: FAIL
|
||||
|
||||
[The :read-write pseudo-class must match elements that are editable]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue