If shadow DOM is not supported, search for i18n attributes without using the /deep...
commit0a1bc58020bbafa7ee80a7990cc6b89acb1d21e9
authorkhorimoto <khorimoto@chromium.org>
Wed, 8 Apr 2015 02:37:37 +0000 (7 19:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 02:38:03 +0000 (8 02:38 +0000)
tree51cca0d550daa36164fc588d0fb19697bee3b05d
parent615d79986581d6cfbcc25d805b15483603dd5c40
If shadow DOM is not supported, search for i18n attributes without using the /deep/ selector.

This fixes an issue where Chrome on iOS failed to translate interstitial pages due to use of this selector (on iOS, Chrome uses UIWebView which does not have native support for shadow DOM).

Note that Polymer-based pages will still work in iOS WebUI pages because /deep/ will be polyfilled.

BUG=474360

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

Cr-Commit-Position: refs/heads/master@{#324179}
ui/webui/resources/js/i18n_template_no_process.js