| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/scrollbar.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/scrollbar.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/scrollbar.html
|
| index eed5b10f69e00bd533773be69507199d2579e706..04b677e07bac80c4bb64c56b1f02743cc4ce65f1 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/scrollbar.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/scrollbar.html
|
| @@ -12,24 +12,28 @@
|
| width: 50px;
|
| }
|
|
|
| -* /deep/ #div1 {
|
| - position: fixed;
|
| - overflow: scroll;
|
| - width: 80px;
|
| - height: 80px;
|
| - background-color: red;
|
| +</style>
|
| +<style id="shadow-style">
|
| +#div1 {
|
| + position: fixed;
|
| + overflow: scroll;
|
| + width: 80px;
|
| + height: 80px;
|
| + background-color: red;
|
| }
|
|
|
| -* /deep/ #div1::-webkit-scrollbar {
|
| - width: 20px;
|
| +#div1::-webkit-scrollbar {
|
| + width: 20px;
|
| }
|
| </style>
|
|
|
| <div id="host"></div>
|
|
|
| +
|
| <script>
|
| var shadowRoot = host.createShadowRoot();
|
| shadowRoot.innerHTML = '<div id="div1">some long text showing scrollbar</div>';
|
| +shadowRoot.appendChild(document.querySelector('#shadow-style'));
|
| </script>
|
|
|
| </body></html>
|
|
|