mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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.
28 lines
826 B
TOML
28 lines
826 B
TOML
[package]
|
|
name = "style_traits"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "style_traits"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
servo = ["heapsize", "heapsize_derive", "serde", "servo_atoms", "cssparser/heapsize", "cssparser/serde", "webrender_api"]
|
|
gecko = []
|
|
|
|
[dependencies]
|
|
app_units = "0.5"
|
|
bitflags = "0.7"
|
|
cssparser = "0.21.1"
|
|
euclid = "0.15"
|
|
heapsize = {version = "0.4", optional = true}
|
|
heapsize_derive = {version = "0.1", optional = true}
|
|
malloc_size_of = { path = "../malloc_size_of" }
|
|
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
|
|
selectors = { path = "../selectors" }
|
|
serde = {version = "1.0", optional = true}
|
|
webrender_api = {git = "https://github.com/servo/webrender", optional = true}
|
|
servo_atoms = {path = "../atoms", optional = true}
|