- From: TAMURA, Kent <notifications@github.com>
- Date: Mon, 25 Feb 2019 22:34:48 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/webcomponents/issues/187/467314213@github.com>
The current status of specification/test changes:
**Event-based participation**
- Change summary
- Add ```FormDataEvent``` interface
- Add ```formdata``` event dispatch in [construct the entry list (https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-the-form-data-set)
- HTML specification PR: https://github.com/whatwg/html/pull/4239 (**merged**)
- XHR specification PR: https://github.com/whatwg/xhr/pull/231 (**merged**)
- WPT PR: https://github.com/web-platform-tests/wpt/pull/14637 (**merged**)
- WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=193231
- Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1518442
- Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=825684
**```ElementInternals``` for form-associated custom elements**
- Change summary:
- Add ```attachInternals()``` to ```HTMLElement``` interface
- Add the empty ```ElementInternals``` interface
- Add ```disabledFeatures``` static property of custom element classes
- HTML specification PR: https://github.com/whatwg/html/pull/4324
- WPT PR: https://github.com/web-platform-tests/wpt/pull/15123 (**merged**) and https://github.com/web-platform-tests/wpt/pull/15516 (**merged**)
- No plan to file bugs for browser vendors. This should be implemented with the following.
**Form-associated custom elements**
- Change summary:
- Add ```formAssociated``` static property of custom element classes
- Add four new lifecycle callbacks; ```formAssocatedCallback```, ```disabledStateChangedCallback```, ```formResetCallback```, and ```restoreValueCallback```
- Change the definition of [form-associated elements](https://html.spec.whatwg.org/multipage/forms.html#form-associated-element), [listed elements](https://html.spec.whatwg.org/multipage/forms.html#category-listed), [submittable elements](https://html.spec.whatwg.org/multipage/forms.html#category-submit), [resettable elements](https://html.spec.whatwg.org/multipage/forms.html#category-reset), [labelable elements](https://html.spec.whatwg.org/multipage/forms.html#category-label) , [disabled](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-fe-disabled), [:enabled](https://html.spec.whatwg.org/multipage/semantics-other.html#selector-enabled) to include form-associated custom elements
- Update [create an element for a token](https://html.spec.whatwg.org/multipage/parsing.html#create-an-element-for-the-token) to exclude form-associated custom elements
- Add the followings to ```ElementInternals``` interface
- ```form``` attribute
- ```setFormValue()```
- ```setValidity()```
- ```willValidate``` attribute
- ```validity``` attribute
- ```validationMessage``` attribute
- ```checkValidity()```
- ```reportValidity()```
- ```labels``` attribute
- Update '[construct the entry list](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-the-form-data-set)' to handle form-associated custom elements
- HTML specification PR: https://github.com/whatwg/html/pull/4383
- WPT PR: will be made soon
- WebKit bug: will be filed before merging the HTML PR
- Mozilla bug: will be filed before merging the HTML PR
- Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=905922
--
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-467314213
Received on Tuesday, 26 February 2019 06:35:10 UTC