Add missing owner check to form's "named property retrieval" over images.

If the named lookup for a form doesn't match the id/name of any listed
elements, the <img> elements should be considered. But only those being
descendants of the form itself.

The owner check simply wasn't included; added here.

R=tkent@chromium.org
BUG=387312

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 8ce3f5b9dfb09d49578383034f7b34a955d0fec2
  1. third_party/