mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Expose the source map URL on a style sheet
This changes Servo to track the source map URL of a style sheet. This parallels a change going in to Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1388855
This commit is contained in:
parent
fbabcaf614
commit
7224a5617f
7 changed files with 61 additions and 17 deletions
|
@ -113,6 +113,7 @@ impl HTMLMetaElement {
|
|||
// resize; they don't need to force all styles to be
|
||||
// recomputed.
|
||||
dirty_on_viewport_size_change: AtomicBool::new(false),
|
||||
source_map_url: RwLock::new(None),
|
||||
},
|
||||
media: Arc::new(shared_lock.wrap(MediaList::empty())),
|
||||
shared_lock: shared_lock.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue