web-platform-tests/wpt

read-only read-write tests

Open

#2889 opened on Apr 24, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)HTML (4,581 stars) (2,898 forks)batch import
good first issuehtmltype:bug

Description

Hi, I was looking at the spec https://html.spec.whatwg.org/multipage/scripting.html#selector-read-only and the readwrite-readonly tests and I think I found a bug in https://github.com/w3c/web-platform-tests/blob/master/html/semantics/selectors/pseudo-classes/readwrite-readonly.html#L54. As I understand, :read-only is defined as not(:read-write), which means that the expected result is not correct. Am I missing something?

Contributor guide