DescriptionUse 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}
Committed: https://chromium.googlesource.com/chromium/src/+/97c98f168ee37c3c114f85fb40cf893e75a4615b
Patch Set 1 #Patch Set 2 : preferred sheet change broke a test #
Messages
Total messages: 20 (16 generated)
|