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

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

Issue 1943763002: DevTools: [SASS] fix CSSWorkspaceBinding.propertyUILocation to account for comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@super-sass
Patch Set: fix tests Created 4 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
index c933b44037750900d7cc9194ba27892b4f01ab85..85265711b610688509214c546bb2dfdf063baaff 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
@@ -12,6 +12,7 @@
<style>#inspected { margin: 10px; }
#inspected {
font-family: arial;
+ /* font-size: 20px; */
}
/*# sourceURL=source-url.css */
</style>
@@ -41,7 +42,9 @@ function test()
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));
+ InspectorTest.addResult(String.sprintf("%s -> %s:%d:%d", property.name, uiLocation.uiSourceCode.name(), uiLocation.lineNumber, uiLocation.columnNumber));
+ var uiLocation = WebInspector.cssWorkspaceBinding.propertyUILocation(property, false);
+ InspectorTest.addResult(String.sprintf("%s -> %s:%d:%d", property.value, uiLocation.uiSourceCode.name(), uiLocation.lineNumber, uiLocation.columnNumber));
}
}
InspectorTest.completeTest();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698