Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / w3c / web-platform-tests / shadow-dom / events / events-that-are-always-stopped / test-001.html
index 6b0343e..001782b 100644 (file)
@@ -55,63 +55,6 @@ A_05_04_01_T01.step(unit(function (ctx) {
 
     A_05_04_01_T01.done();
 }));
-
-
-//Check event fired from DOM node distributed into insertion point
-//TODO (sgrekhov) see https://bugs.webkit.org/show_bug.cgi?id=103479
-//if this test is correct then add such test for other events.
-//Otherwise change expected result according result of the bug above and add for other
-//events anyway
-var A_05_04_01_T02 = async_test('A_05_04_01_T02');
-
-A_05_04_01_T02.step(unit(function (ctx) {
-
-       var d = newRenderedHTMLDocument(ctx);
-
-       var host = d.createElement('div');
-       host.setAttribute('id', 'host');
-       d.body.appendChild(host);
-
-       var inp1 = d.createElement('input');
-       inp1.setAttribute('id', 'inp1');
-       inp1.setAttribute('type', 'checkbox');
-       inp1.setAttribute('class', 'clazz1');
-       host.appendChild(inp1);
-
-       var inp2 = d.createElement('input');
-       inp2.setAttribute('id', 'inp2');
-       inp2.setAttribute('type', 'checkbox');
-       inp2.setAttribute('class', 'clazz2');
-       host.appendChild(inp2);
-
-       var inp3 = d.createElement('input');
-       inp3.setAttribute('id', 'inp3');
-       inp3.setAttribute('type', 'checkbox');
-       inp3.setAttribute('class', 'clazz1');
-       host.appendChild(inp3);
-
-
-       //Shadow root to play with
-       var s = createSR(host);
-
-       var shadowDiv = document.createElement('div');
-       shadowDiv.innerHTML = '<content select=".clazz1"></content>';
-       s.appendChild(shadowDiv);
-
-    s.addEventListener('abort', A_05_04_01_T02.step_func(function(event) {
-       assert_equals(event.target.getAttribute('id'), 'inp1', 'Inside shadow tree: Wrong target');
-    }), false);
-
-    d.body.addEventListener('abort', A_05_04_01_T02.step_func(function(event) {
-       assert_true(false, 'Abort event should always be stopped at Shadow boundary');
-    }), false);
-
-    var event = d.createEvent('UIEvent');
-    event.initUIEvent ('abort', true, false);
-    inp1.dispatchEvent(event);
-
-       A_05_04_01_T02.done();
-}));
 </script>
 </body>
 </html>