Commit 247bda68 authored by dpapad's avatar dpapad Committed by Commit Bot

Files App: Fix occurence of <style is="custom-style"> to work with Polymer 2.

 - wrap <style is="custom-style"> with <custom-style>
 - move custom-style inside <body>

Bug: 884030
Change-Id: Ic45df6d1846fdf6f6ee0cc5e23523779489bdb34
Reviewed-on: https://chromium-review.googlesource.com/1244833
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594548}
parent c6dc55ee
...@@ -25,6 +25,12 @@ ...@@ -25,6 +25,12 @@
<link rel="stylesheet" href="foreground/css/common.css"> <link rel="stylesheet" href="foreground/css/common.css">
<link rel="stylesheet" href="chrome-extension://fbjakikfhfdajcamjleinfciajelkpek/cws_widget/cws_widget_container.css"> <link rel="stylesheet" href="chrome-extension://fbjakikfhfdajcamjleinfciajelkpek/cws_widget/cws_widget_container.css">
<script src="foreground/js/elements_importer.js"></script>
<script src="foreground/js/main_scripts.js" defer></script>
</head>
<body tabindex="-1">
<custom-style>
<style is="custom-style"> <style is="custom-style">
#search-box cr-input { #search-box cr-input {
--cr-input-color: white; --cr-input-color: white;
...@@ -80,12 +86,8 @@ ...@@ -80,12 +86,8 @@
} }
} }
</style> </style>
</custom-style>
<script src="foreground/js/elements_importer.js"></script>
<script src="foreground/js/main_scripts.js" defer></script>
</head>
<body tabindex="-1">
<commands> <commands>
<command id="cut" i18n-values="label:CUT_BUTTON_LABEL" <command id="cut" i18n-values="label:CUT_BUTTON_LABEL"
shortcut="x|Ctrl"> shortcut="x|Ctrl">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment