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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sass/SASSSourceMapFactory.js

Issue 1944593002: DevTools: [SASS] extract exact property name and value ranges (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2-switch-css
Patch Set: 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 | « third_party/WebKit/Source/devtools/front_end/gonzales/SCSSParser.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sass/SASSSourceMapFactory.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sass/SASSSourceMapFactory.js b/third_party/WebKit/Source/devtools/front_end/sass/SASSSourceMapFactory.js
index 5b204f5ddd20aaac15cd62b08c7611ddf10736b8..b619a15e78f1d7f7437ee5f39990e5c68e55f0c3 100644
--- a/third_party/WebKit/Source/devtools/front_end/sass/SASSSourceMapFactory.js
+++ b/third_party/WebKit/Source/devtools/front_end/sass/SASSSourceMapFactory.js
@@ -70,7 +70,7 @@ WebInspector.SASSSourceMapFactory.prototype = {
{
if (!(cssNode instanceof WebInspector.SASSSupport.TextNode))
return;
- var entry = sourceMap.findEntry(cssNode.range.endLine, cssNode.range.endColumn);
+ var entry = sourceMap.findEntry(cssNode.range.startLine, cssNode.range.startColumn);
if (!entry || !entry.sourceURL || typeof entry.sourceLineNumber === "undefined" || typeof entry.sourceColumnNumber === "undefined")
return;
var sassAST = models.get(entry.sourceURL);
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/gonzales/SCSSParser.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698