Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / StyleSheet / detached-style-expected.txt
blob028aed16b22c28cd2e6f2bd0ab70672e16994e19
1 Bug 45205: Test that <link> elements only have stylesheets when in document.
3 Testing <link>...
4 PASS sheet.ownerNode is link
5 PASS link.sheet === sheet is true
6 Removing <link>...
7 PASS link.sheet is null
8 PASS sheet.ownerNode is null
9 PASS sheet.cssRules[0].cssText[0] is "*"
10 Re-adding <link>...
11 PASS sheet.ownerNode is null
12 PASS link.sheet === sheet is false
13 PASS link.sheet.ownerNode is link
14 Testing <style>...
15 PASS sheet.ownerNode is style
16 PASS style.sheet is sheet
17 Removing <style>...
18 PASS style.sheet is null
19 PASS sheet.ownerNode is null
20 PASS sheet.cssRules[0].cssText[0] is "*"
21 Re-adding <style>...
22 PASS sheet.ownerNode is null
23 PASS style.sheet === sheet is false
24 PASS style.sheet.ownerNode is style
25 PASS successfullyParsed is true
27 TEST COMPLETE