summaryrefslogtreecommitdiffstats
path: root/mojo/shell/application_manager.cc
diff options
context:
space:
mode:
authorrune <rune@opera.com>2016-02-17 23:44:42 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-18 07:45:59 +0000
commit6c4b4fbb5192fb3624d428172cdf916013bc5a2e (patch)
tree74510e6b49b31d9181ea2a27a683ce37706a4336 /mojo/shell/application_manager.cc
parent3106ad7791c2a9bc05d0a38384dafb9f9342986c (diff)
downloadchromium_src-6c4b4fbb5192fb3624d428172cdf916013bc5a2e.zip
chromium_src-6c4b4fbb5192fb3624d428172cdf916013bc5a2e.tar.gz
chromium_src-6c4b4fbb5192fb3624d428172cdf916013bc5a2e.tar.bz2
Don't add rule feature data for rules which may never match.
:host and :host-context must always be in the rightmost compound with no other simple selectors except a succeding pseudo element in order to match as the host element is feature-less in that context. It's however not an invalid selector according to the CSS Scoping spec, so we shouldn't drop it at parse time. We could potentially skip adding other selectors to rulesets as well including selectors like: :hover:not(:hover), div:not(div), ::content and ::slotted not in shadow trees, etc. R=kochi@chromium.org,ericwilligers@chromium.org BUG=489481 Review URL: https://codereview.chromium.org/1703893002 Cr-Commit-Position: refs/heads/master@{#376116}
Diffstat (limited to 'mojo/shell/application_manager.cc')
0 files changed, 0 insertions, 0 deletions