added support for :read-only and :read-write pseudo-classes

partial fix for https://github.com/servo/servo/issues/10732
This commit is contained in:
Yoav Alon 2016-04-25 18:55:31 +03:00
parent f773dc182b
commit 9bf909ac2f
9 changed files with 82 additions and 31 deletions

View file

@ -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