Chromium Code Reviews
DescriptionMD Downloads: fix unvulcanized build by adding <style no-process>
Vulcanize finds <link>s and inlines them. In this sense, it does what it
says on the tin. But, unfortunately, in this case the browser would not
have loaded <link href> inside of shadow DOM (i.imgur.com/Gw9zEVg.png).
So there's a behavioral difference between the vulcanized and
unvulcanized versions of downloads.
Additionally, all <style> inside of <dom-module>s are processed through
Polymer's CSS custom prop shim. In this case, it replaces unresolved(?)
variables with ''. This disables sharing of native custom properties
between history and downloads.
So I've added <style no-process>, which circumvents Polymer's CSS custom
prop shim. It's meant to be a minimal, temporary solution until the
Polymer team lands a better, more thorough alternative that bypasses the
shim everywhere for browsers that support CSS custom props (and possibly
@apply).
R=tsergeant@chromium.org
BUG=608098
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/916c6e84f2a975baec9fc965c76653dcbfd939b4
Cr-Commit-Position: refs/heads/master@{#391871}
Patch Set 1 : asdf #
Total comments: 2
Patch Set 2 : and vulcanize #
Dependent Patchsets: Messages
Total messages: 19 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||