| Index: chrome/browser/web_dev_style/css_checker.py
|
| diff --git a/chrome/browser/web_dev_style/css_checker.py b/chrome/browser/web_dev_style/css_checker.py
|
| index 22ce63e73c8349eb3e14a9d780a165df53b4f7e9..930e6aa592ddfcaec7d124c7d809d1fd64f2f851 100644
|
| --- a/chrome/browser/web_dev_style/css_checker.py
|
| +++ b/chrome/browser/web_dev_style/css_checker.py
|
| @@ -37,7 +37,7 @@ class CSSChecker(object):
|
| return s
|
|
|
| def _extract_inline_style(s):
|
| - return '\n'.join(re.findall(r'<style>([^<]*)<\/style>', s))
|
| + return '\n'.join(re.findall(r'<style\b[^>]*>([^<]*)<\/style>', s))
|
|
|
| def _remove_ats(s):
|
| at_reg = re.compile(r"""
|
| @@ -394,7 +394,7 @@ class CSSChecker(object):
|
| for f in files:
|
| file_errors = []
|
| for check in added_or_modified_files_checks:
|
| - # If the check is multiline, it receieves the whole file and gives us
|
| + # If the check is multiline, it receives the whole file and gives us
|
| # back a list of things wrong. If the check isn't multiline, we pass it
|
| # each line and the check returns something truthy if there's an issue.
|
| if ('multiline' in check and check['multiline']):
|
|
|