| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-009.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-always-stopped/test-009.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-009.html
|
| similarity index 84%
|
| rename from third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-always-stopped/test-009.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-009.html
|
| index ad90c9199370f699ce1cc8ec90fe7624ac0b2cdd..da049eb6a73ed7d5b77c9b1851ed28d6b91af67e 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-always-stopped/test-009.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/events/events-that-are-not-stopped-if-created-by-users/test-009.html
|
| @@ -13,7 +13,7 @@ policies and contribution forms [3].
|
| <title>Shadow DOM Test: A_05_04_09</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_09_T01.step(unit(function (ctx) {
|
| s.appendChild(inp1);
|
|
|
| s.addEventListener('selectstart', A_05_04_09_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('selectstart', A_05_04_09_T01.step_func(function(event) {
|
| - assert_true(false, 'selectstart event should always be stopped at Shadow boundary');
|
| - }), false);
|
| + assert_true(true, 'Selectstart event should not be stopped at Shadow boundary if created by users');
|
| + }), true);
|
|
|
| var event = d.createEvent('UIEvent');
|
| event.initUIEvent ('selectstart', true, false);
|
|
|