Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
index 2e3695bb5580816b1be8ba044d071452daaa61dc..b98d6c443561c22378307e75f91705790215e8b7 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
@@ -379,7 +379,7 @@ function printStyleSection(section, omitLonghands, includeSelectorGroupMarks) |
var media = medias[i]; |
InspectorTest.addResult(media.textContent); |
} |
- var selector = section._titleElement.querySelector(".selector"); |
+ var selector = section._titleElement.querySelector(".selector") || section._titleElement.querySelector(".keyframe-key"); |
var selectorText = includeSelectorGroupMarks ? buildMarkedSelectors(selector) : selector.textContent; |
// Dump " {". |
selectorText += selector.nextSibling.textContent; |