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}
Showing
Please register or sign in to comment