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)); |