Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: LayoutTests/fast/css/xml-stylesheet-removed.xhtml

Issue 10809085: Merge 123128 - Crash in WebCore::StyleResolver::collectMatchingRulesForList (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/xml-stylesheet-removed-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml-stylesheet href="resources/small.css" title="style" type="text/css"?> 1 <?xml-stylesheet href="resources/small.css" title="style" type="text/css"?>
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 <div id="result">FAIL</div> 3 <div id="result">FAIL</div>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 onload = function() { 9 onload = function() {
10 document.documentElement.appendChild(document.styleSheets[0].ownerNode); 10 document.documentElement.appendChild(document.styleSheets[0].ownerNode);
11 // Note: xml stylesheet is only valid when its parent is the document 11 // Note: xml stylesheet is only valid when its parent is the document
12 if (document.styleSheets.length == 0) 12 if (document.styleSheets.length == 0)
13 document.getElementById('result').innerText = 'PASS'; 13 document.getElementById('result').innerText = 'PASS';
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.notifyDone(); 15 testRunner.notifyDone();
16 }; 16 };
17 </script> 17 </script>
18 </html> 18 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/xml-stylesheet-removed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698