- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 06 Apr 2021 17:00:13 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 7 April 2021 00:00:25 UTC
See the following public-webapps threads: - https://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0663.html - https://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0022.html - https://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0273.html This wasn't really prevented / motivated by the compatibility concern. It was because `innerHTML` on `template` and `ShadowRoot` was conceptualized as a way to be able to support setter. With `DocumentFragment` which is not `ShadowRoot`, we don't know the context element so we need to decide which parsing mode to use. It would be indeed weird & controversial to introduce `innerHTML` that only supports getting but not setting since that could be a compatibility concern especially if we decide to throw an exception in the setter. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/965#issuecomment-814507435
Received on Wednesday, 7 April 2021 00:00:25 UTC