| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-004.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-always-stopped/test-004.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-004.html
|
| similarity index 84%
|
| rename from third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-always-stopped/test-004.html
|
| rename to third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-004.html
|
| index 14fb4144efe515a0bc5ce3dea2a57e4fe906f73b..fc147acbe3e53c6685e5f07914c219c551f7bdca 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-always-stopped/test-004.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-004.html
|
| @@ -13,7 +13,7 @@ policies and contribution forms [3].
|
| <title>Shadow DOM Test: A_05_04_04</title>
|
| <link rel="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru">
|
| <link rel="help" href="http://www.w3.org/TR/2013/WD-shadow-dom-20130514/#events-that-are-always-stopped">
|
| -<meta name="assert" content="The following events must always be stopped at the nearest shadow boundary: abort, error, select, change, load, reset, resize, scroll, selectstart">
|
| +<meta name="assert" content="The following events must not be stopped at the nearest shadow boundary if created by users: abort, error, select, change, load, reset, resize, scroll, selectstart">
|
| <script src="../../../../../../resources/testharness.js"></script>
|
| <script src="../../../../../../resources/testharnessreport.js"></script>
|
| <script src="../../testcommon.js"></script>
|
| @@ -43,12 +43,12 @@ A_05_04_04_T01.step(unit(function (ctx) {
|
| s.appendChild(inp1);
|
|
|
| s.addEventListener('change', A_05_04_04_T01.step_func(function(event) {
|
| - assert_equals(event.target.getAttribute('id'), 'inp1', 'Inside shadoe tree: Wrong target');
|
| + assert_equals(event.target.getAttribute('id'), 'inp1', 'Inside shadow tree: Wrong target');
|
| }), false);
|
|
|
| d.body.addEventListener('change', A_05_04_04_T01.step_func(function(event) {
|
| - assert_true(false, 'change event should always be stopped at Shadow boundary');
|
| - }), false);
|
| + assert_true(true, 'Change event should not be stopped at Shadow boundary if created by users');
|
| + }), true);
|
|
|
| var event = d.createEvent('HTMLEvents');
|
| event.initEvent ('change', true, false);
|
|
|