Re: [w3c/webcomponents] Need callback for form submit data (#187)

I feel like I suggested the subclassing idea myself but `HTMLFormControlElement` is not a real interface in HTML today, and I'm afraid introducing one would cause a compatibility nightmare.

It appears to me that we do need to come up with some mechanism to expose browser engine states and APIs that are only accessible to custom elements implementations.  e.g. `setFormControlValue` in the above example shouldn't be something users of custom elements can simply call and override the value.

In the past, we've used `ShadowRoot` for that purpose. Does it make sense to do that here?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/187#issuecomment-387536198

Received on Tuesday, 8 May 2018 20:43:41 UTC