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