On 2011/08/16 15:04:54, Nebojša Ćirić wrote:
> Maybe put a comment in each .js as to what they do (one for
> __MSG_@extension_id__ the other for __MSG_@bidi_...
Done.
2
3 var rules = getMatchedCSSRules(document.getElementById('bodyId'));
4 if (rules == null) {
5 document.title = 'no CSS rules injected';
6 } else {
7 for (var i = 0; i < rules.length; ++i) {
8 if (rules.item(i).cssText.indexOf('extension_id') != -1) {
Issue 7552028: Injected CSS localization fix (see bug no.)
(Closed)
Created 9 years, 4 months ago by adriansc
Modified 9 years, 4 months ago
Reviewers: Nebojša Ćirić, Mihai Parparita -not on Chrome, commit-bot: I haz the power
Base URL: http://git.chromium.org/git/chromium.git@trunk
Comments: 69