Intent to Implement and Ship: Drop LABEL element from form-associated elements

69 views
Skip to first unread message

TAMURA, Kent

unread,
May 23, 2016, 11:35:23 AM5/23/16
to blink-dev
tk...@chromium.org https://html.spec.whatwg.org/multipage/forms.html#form-associated-element
The HTML specification was changed so that LABEL element isn't a form-associated element. There are two behavior changes: - Remove `form' content attribute support from LABEL element - Change the behavior of `form' IDL attribute of LABEL element so that it returns the form owner of the associated control.
Before this change, it's possible that a LABEL element is associated to form A, and its associated form control is associated to another form B. It's confusing.

Firefox: No public signals Edge: Mixed public signals Safari: Mixed public signals Web developers: No signals
WebKit and Edge don't support `form' content attribute of LABEL element. So interoperability risk should be low.


Low.  We have data.

`form' content attribute of LABEL element is used in less than 0.0023% of page views.
https://www.chromestatus.com/metrics/feature/timeline/popularity/986

label.form is different from label.control.form in less than 0.0016% of page views.
https://www.chromestatus.com/metrics/feature/timeline/popularity/1261

N/A


Yes
https://www.chromestatus.com/features/5661555072958464
Yes

--
TAMURA Kent
Software Engineer, Google


Chris Harrelson

unread,
May 24, 2016, 11:07:58 AM5/24/16
to TAMURA, Kent, blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Dimitri Glazkov

unread,
May 24, 2016, 11:09:45 AM5/24/16
to TAMURA, Kent, blink-dev
LGTM2

Rick Byers

unread,
May 24, 2016, 8:58:40 PM5/24/16
to TAMURA, Kent, blink-dev
LGTM3
Reply all
Reply to author
Forward
0 new messages