| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/user-interaction/editing/inheritance-of-content-editable-001.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/user-interaction/editing/inheritance-of-content-editable-001.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/user-interaction/editing/inheritance-of-content-editable-001.html
|
| index 1ca864ee2e5dcf17462d0e78e9c679f114c4524b..2218176392e63d0dbe2d35b59cd9ce3b6b7a0d74 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/user-interaction/editing/inheritance-of-content-editable-001.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/user-interaction/editing/inheritance-of-content-editable-001.html
|
| @@ -16,7 +16,8 @@ policies and contribution forms [3].
|
| <meta name="assert" content="User Interaction: Shadow trees must not be propagated contentEditable attribute from shadow host">
|
| <script src="../../../../../../resources/testharness.js"></script>
|
| <script src="../../../../../../resources/testharnessreport.js"></script>
|
| -<script src="../../testcommon.js"></script>
|
| +<script src="../../../../html/resources/common.js"></script>
|
| +<script src="../../../resources/shadow-dom-utils.js"></script>
|
| </head>
|
| <body>
|
| <div id="log"></div>
|
| @@ -28,7 +29,7 @@ test(unit(function (ctx) {
|
| host.contentEditable = "true";
|
| d.body.appendChild(host);
|
|
|
| - var s = host.createShadowRoot();
|
| + var s = host.attachShadow({mode: 'open'});
|
|
|
| assert_equals(host.contentEditable, "true");
|
| assert_equals(s.contentEditable, undefined);
|
| @@ -41,7 +42,7 @@ test(unit(function (ctx) {
|
| host.contentEditable = "false";
|
| d.body.appendChild(host);
|
|
|
| - var s = host.createShadowRoot();
|
| + var s = host.attachShadow({mode: 'open'});
|
|
|
| assert_equals(host.contentEditable, 'false');
|
| assert_equals(s.contentEditable, undefined);
|
| @@ -54,7 +55,7 @@ test(unit(function (ctx) {
|
| d.body.appendChild(host);
|
| d.body.contentEditable = "true";
|
|
|
| - var s = host.createShadowRoot();
|
| + var s = host.attachShadow({mode: 'open'});
|
|
|
| assert_equals(host.contentEditable, 'inherit');
|
| assert_equals(s.contentEditable, undefined);
|
|
|