devtool elements pannel's style area, eidt style direct,not work right with sourcemap file
Reported by
frankfen...@gmail.com,
Mar 15 2018
|
|||
Issue description
Chrome Version : 65.0.3325.162
OS Version: OS X 10.12.6
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari:
Firefox:
IE/Edge:
What steps will reproduce the problem?
1.I build a scss file in src folder(src/ttt/bg.scss) to debug folder(debug/ttt-_ttt-entry.css) with a sourcemap file debug/sourceMap/ttt-_ttt-entry.css.map, at end of debug/ttt-_ttt-entry.css has /*# sourceMappingURL=sourceMap/ttt-_ttt-entry.css.map*/ , and debug/ttt-_ttt-entry.css.map's content is:{"version":3,"file":"a.css","sources":["../src/ttt/bg.scss"],"mappings":"AAAA;AACA;AACA;AACA","sourceRoot":""} is all right!
2.open devtool sources pannel,add src's parent folder(fc_compiler)to workspace,it can sync all src and debug file right,no problem.
3.open devtool elements pannel,select a dom element,the style on the right show it's source file link to src/ttt/bg.scss is right, open the link goto the sources pannel,and edit the source scss file to saved into src/ttt/bg.scss, no problem!
4.but when i edit the devtool elements pannel's style directly, it saved into the debug/ttt-_ttt-entry.css(src/ttt/bg.scss compiled),not the src/ttt/bg.scss.I think is wrong!
What is the expected result?
eidt the devtool elements pannel's style directly, saved into the source file,not the compiled file.
What happens instead of that?
Please provide any additional information below. Attach a screenshot if
possible.
UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
,
Mar 15 2018
,
Mar 19 2018
Thanks for filing the issue ! lushnikov@ Could you please confirm whether this issue is similar to that of 796368, 794965 and 796251. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by frankfen...@gmail.com
, Mar 15 2018384 KB
384 KB View Download