Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / StyleSheet / detached-parent-rule-without-wrapper-expected.txt
blob972e79d15dffc77aa1e59de1fcb437a137b40068
1 CONSOLE WARNING: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2
2 Test that CSS stylesheets lacking wrappers are pruned from detached CSSOM subtrees. This is surprising behavior, but it's a very rare situation, and the behavior actually matches what both WebKit and Gecko do for DOM nodes in detached subtrees.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS getMatchedCSSRules(document.getElementById("test")).length is 1
8 Removing <style>...
9 PASS rule.parentRule is null
10 PASS getMatchedCSSRules(document.getElementById("test")) is null
11 PASS successfullyParsed is true
13 TEST COMPLETE