commit | 122aeb8d3356bae5858b0b560c3895c1678ab650 | [log] [tgz] |
---|---|---|
author | rune@opera.com <rune@opera.com> | Mon Jan 12 22:17:32 2015 |
committer | rune@opera.com <rune@opera.com> | Mon Jan 12 22:17:32 2015 |
tree | c9d35cfe9b84710a2c80462c38fdb56ef2b4ff0f | |
parent | ae488f83647bff687bb0661c727795c0784cf37d [diff] |
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