WebUI: set initial values for padding so there is a default value
When a polyer element style is overridden and there is no explicitly set style, all the other usages of that polymer element will erroneously try to override the style with an undefined variable and no default. Example: |padding-bottom: var(--cr-dialog-body_-_padding-bottom);| This is only happens when |optimize_webui=true| is set in the build arguments. Bug: 846254 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I010c560e80f89c0473722351dce346d481cd3113 Reviewed-on: https://chromium-review.googlesource.com/1072236Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Esmael El-Moslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#561700}
Showing
Please register or sign in to comment