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

Unified Diff: LayoutTests/inspector/elements/styles-2/property-ui-location.html

Issue 1308663002: DevTools: simplify WI.CSSProperty and WI.CSSStyleDeclaration interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 5 years, 4 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
Index: LayoutTests/inspector/elements/styles-2/property-ui-location.html
diff --git a/LayoutTests/inspector/elements/styles-2/property-ui-location.html b/LayoutTests/inspector/elements/styles-2/property-ui-location.html
index aded4b675b5cc1b81fdcf19ae12f2f97168e2430..88f2d56aa0afc25ea1a16db0bc1e9e99d0acd2e1 100644
--- a/LayoutTests/inspector/elements/styles-2/property-ui-location.html
+++ b/LayoutTests/inspector/elements/styles-2/property-ui-location.html
@@ -36,7 +36,7 @@ function test()
for (var rule of rules) {
var properties = rule.style.allProperties;
for (var property of properties) {
- if (property.styleBased)
+ if (!property.range)
continue;
var uiLocation = WebInspector.cssWorkspaceBinding.propertyUILocation(property, true);
InspectorTest.addResult(String.sprintf("%s -> %s:%d:%d", property.text, uiLocation.uiSourceCode.name(), uiLocation.lineNumber, uiLocation.columnNumber));

Powered by Google App Engine
This is Rietveld 408576698