Avoid looping through all attributes for attribute selector.

An attribute selector may only match a single attribute in a given element
unless the selector matches all namespaces. Break the loop if the selector
has no namespace, or if it has a specific namespace.

R=esprehn@chromium.org
BUG=447832

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

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