Only 'form associated' elements have a potential form owner.

The spec tells us that only certain elements have the notion of a form
owner,

 http://www.whatwg.org/specs/web-apps/current-work/#form-associated-element
 http://www.whatwg.org/specs/web-apps/current-work/#form-owner

Implement that selective notion of 'form owner' over elements.

Internally, make use of a more precise form owner notion over elements
to slightly simplify form lookups (RadioNodeList + current form
selection in a frame.)

R=arv@chromium.org,tkent@chromium.org
BUG=324828
TEST=fast/forms/form-associated-element

Review URL: https://codereview.chromium.org/106423005

git-svn-id: svn://svn.chromium.org/blink/trunk@163697 bbb929c8-8fbe-4397-9dbb-9b2b20218538
15 files changed
tree: 91d36b989d3262687a15b9bdf85a0ed3ac67f268
  1. third_party/