Incorrect source map mappings for <style> tags unless appended dynamically
Reported by
m.go...@gmail.com,
Nov 22 2017
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. Open test-sourcemaps-style-static.html 2. Inspect "Test div" 3. Cmd+click/Ctrl+click the `color: "green"` rule. What is the expected behavior? The line no. 12 containing `color: $color` should be highlighted. What went wrong? Incorrect lines get highlighted. The source map is interpreted in an incorrect way. Did this work before? N/A Chrome version: 64.0.3275.0 Channel: canary OS Version: OS X 10.13.1 Flash Version: In addition to the test case I'm attaching two more files which work correctly - one uses a `<link res="stylesheet">` with a link to a blob URL containing CSS with a sourcemap, another one is identical to the first one with one difference - it creates a `<style>` element dynamically. See the attached screencast to see what I mean. I've reported it previously as issue 714101 but it was closed due to my lack of response. I couldn't get that old one reopened so I'm creating a new ticket with improved information.
,
Nov 23 2017
,
Nov 23 2017
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #64.0.3275.0. This is a non-regression issue as it is observed from M50 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Nov 27 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Nov 22 2017