DescriptionEnsure original parser context is used when parsing resolved var() references
When resolving var() references at style building time we were not
using the CSSParserContext specific to where the var() came from.
This resulted in relative url()s not being able to resolve to an appropriate
absolute URL based on the source base URL.
This change attaches CSSParserContexts to var() references so they can be
used at style resolution time and appropriately resolve relative URLs.
BUG=700445
Review-Url: https://codereview.chromium.org/2873943002
Cr-Commit-Position: refs/heads/master@{#471205}
Committed: https://chromium.googlesource.com/chromium/src/+/a3079e2f1ea9974caebcdebd00c1c33dbaa662e0
Patch Set 1 #Patch Set 2 : Moar asserts #Patch Set 3 : CSSParserContext member #Patch Set 4 : testcomment #
Total comments: 1
Patch Set 5 : g cl set-commit #Messages
Total messages: 26 (14 generated)
|