w3c / edit-context

EditContext API
https://w3c.github.io/edit-context/
Other
31 stars 9 forks source link

EditContext: Is a pseudo class selecting elements which is attached by an `EditContext` useful? #12

Open masayuki-nakano opened 3 years ago

masayuki-nakano commented 3 years ago

When I write tests for contenteditable, I use document.querySelector("div[contenteditable]") to retrieve the element. However, Element.editContext does not affect to any attributes. So it might be better to add new pseudo class.

alexkeng commented 3 years ago

that's great point! we'll discuss and get back to you