mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
In addition to the sourceMappingURL comment, there is a second special comment, "sourceURL", that can be used to set the "display name" of a style sheet for developer tools. This name is also used as the base URL for the source-map URL resolution algorithm. sourceURL is described here: https://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/ The devtools feature bug is here: https://bugzilla.mozilla.org/show_bug.cgi?id=880831 This patch changes servo to preserve and expose this value for use in M-C.
25 lines
649 B
TOML
25 lines
649 B
TOML
[package]
|
|
name = "canvas"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "canvas"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
azure = {git = "https://github.com/servo/rust-azure"}
|
|
canvas_traits = {path = "../canvas_traits"}
|
|
compositing = {path = "../compositing"}
|
|
cssparser = "0.21.1"
|
|
euclid = "0.15"
|
|
fnv = "1.0"
|
|
gleam = "0.4"
|
|
ipc-channel = "0.8"
|
|
log = "0.3.5"
|
|
num-traits = "0.1.32"
|
|
offscreen_gl_context = { version = "0.11", features = ["serde", "osmesa"] }
|
|
webrender = {git = "https://github.com/servo/webrender"}
|
|
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|