Use master StyleEngine to evaluate MQ in html imports.
The StyleEngine for html import documents does not have a Frame which means size media queries will always evaluate to true. We incorrectly replaced a passed-in master document StyleEngine with the StyleEngine from the DocumentStyleSheetCollection in https://crrev.com/90d4ea3d That was wrong for evaluating media queries. R=meade@chromium.org BUG=677963 Review-Url: https://codereview.chromium.org/2618803002 Cr-Commit-Position: refs/heads/master@{#441899}
Showing
Please register or sign in to comment