-
dpapad authored
flattenhtml is sub-optimal for a few reasons: 1) Makes the HTML code being evaluated larger than necessary. For example when both light and dark mode images are inlined, they increase the HTML code size, even though only one of the two is used at a given moment. 2) flattenhtml does not work with Polymer3 (polymer_modulizer). Instead, images are registered with the Settings data source, so that they can be served by dedicated URLs for example from chrome://settings/images/cookies_banner.svg Bug: 1026426 Change-Id: I0c77b3bad2f27e9c810833aa153faab884954775 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2095555 Commit-Queue: dpapad <dpapad@chromium.org> Reviewed-by:
Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#748863}
ceb560cc