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

Unified Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 9242032: Merge 105070 - Web Inspector: styles sidebar rendering is broken (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/ChangeLog ('k') | Source/WebCore/ChangeLog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/elements-test.js
===================================================================
--- LayoutTests/http/tests/inspector/elements-test.js (revision 105209)
+++ LayoutTests/http/tests/inspector/elements-test.js (working copy)
@@ -137,11 +137,10 @@
var chainEntries = section.titleElement.children;
for (var j = 0; j < chainEntries.length; ++j) {
var chainEntry = chainEntries[j];
- var entryLine = chainEntry.children[0].textContent;
+ var entryLine = chainEntry.children[1].textContent;
if (chainEntry.children[2])
- entryLine += " " + chainEntry.children[1].textContent;
- if (chainEntry.children.length > 1)
- entryLine += " (" + extractText(chainEntry.lastChild) + ")";
+ entryLine += " " + chainEntry.children[2].textContent;
+ entryLine += " (" + extractText(chainEntry.children[0]) + ")";
InspectorTest.addResult(entryLine);
}
section.expand();
« no previous file with comments | « LayoutTests/ChangeLog ('k') | Source/WebCore/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698