Re: [editing] Can we use textnodes, and block/inline nodes as shadow roots for transparent IME handling? (#57)

If we had used _closed shadow DOM_ then the fact we're using shadow DOM shouldn't be observable. So for the purpose of writing the spec, we can just use concepts in shadow DOM and pretend it's implemented using shadow DOM. However, that doesn't mean that some browser vendor can implement in some other way.

For example, input[type=text] and textarea are implemented using shadow DOM with contenteditable in WebKit and Blink but such is not the case in some other engines. Nonetheless, all implementions more or less satisfy the API contract of input[type=text] and textarea.

I'm simply saying that the spec should refer to shadow DOM spec. for the sake of not defining its own shadow-DOM-like concept and features because there are many intricate details such as event retargeting, etc... that we could easily miss.  Just delegate the work to spec all that details to shadow DOM spec instead is all I'm saying.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/57#issuecomment-106945020

Received on Friday, 29 May 2015 21:56:58 UTC