| Index: LayoutTests/fast/css/style-scoped/style-scoped-detach.html
|
| diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-detach.html b/LayoutTests/fast/css/style-scoped/style-scoped-detach.html
|
| deleted file mode 100644
|
| index b21bae8e40718d2363dee6a9c767e619524e6393..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/css/style-scoped/style-scoped-detach.html
|
| +++ /dev/null
|
| @@ -1,72 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| - <script type="text/javascript">
|
| - function log(msg)
|
| - {
|
| - document.getElementById('console').appendChild(document.createTextNode(msg + '\n'));
|
| - }
|
| -
|
| - function test(id)
|
| - {
|
| - var elem = document.getElementById(id);
|
| - log(id + ': ' + document.defaultView.getComputedStyle(elem, null).getPropertyValue('color'));
|
| - }
|
| -
|
| - function testAll()
|
| - {
|
| - test('S1');
|
| - test('P1');
|
| - test('S2');
|
| - test('P2');
|
| - test('S3');
|
| - test('P3');
|
| - }
|
| -
|
| - function runTests()
|
| - {
|
| - if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| - }
|
| -
|
| - log('--- ORIGINAL ---');
|
| - testAll();
|
| -
|
| - log('--- AFTER DETACHING <STYLE SCOPED> ---');
|
| - var divElem = document.getElementById('DIV');
|
| - var styleElem = document.getElementById('STYLE');
|
| - divElem.removeChild(styleElem);
|
| - setTimeout(function() {
|
| - testAll();
|
| - log('--- FINISHED ---');
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - }, 0);
|
| - }
|
| - </script>
|
| - <style type="text/css" scoped>
|
| - body { color: black; }
|
| - </style>
|
| -</head>
|
| -<body onload="runTests();">
|
| - <p>Test detaching a <style scoped> element</p>
|
| - <div>
|
| - <span id="S1">Text</span>
|
| - <p id="P1">Text</p>
|
| - </div>
|
| - <div id="DIV">
|
| - <style id="STYLE" type="text/css" scoped>
|
| - div { color: red; }
|
| - p { color: green; }
|
| - </style>
|
| - <span id="S2">Text</span>
|
| - <p id="P2">Text</p>
|
| - </div>
|
| - <div>
|
| - <span id="S3">Text</span>
|
| - <p id="P3">Text</p>
|
| - </div>
|
| - <pre id="console"></pre>
|
| -</body>
|
| -</html>
|
|
|