Jan Andre Ikenmeyer
1d6fe65401
Update MPL license to https (part 4)
2018-11-19 14:47:27 +01:00
Simon Sapin
a15d33a10e
cargo fix --edition
2018-11-10 17:47:28 +01:00
Emilio Cobos Álvarez
26720e10a9
style: Fix servo build.
2018-06-23 20:34:10 +02:00
Bobby Holley
c99bcdd4b8
Run rustfmt on selectors, servo_arc, and style.
...
This was generated with:
./mach cargo fmt --package selectors &&
./mach cargo fmt --package servo_arc &&
./mach cargo fmt --package style
Using rustfmt 0.4.1-nightly (a4462d1 2018-03-26)
2018-04-10 17:35:15 -07:00
Simon Sapin
3c36a36cc9
Use encoding-rs instead of rust-encoding for CSS parsing
2017-10-31 19:08:43 +01:00
Tom Tromey
546ecaeee9
Use cssparser's new_with_line_number_offset
...
cssparser provides a way to set the initial line number on a
ParserInput. This patch changes servo to use this facility, rather than
reimplement the same functionality itself.
2017-08-28 12:49:30 -06:00
Josh Matthews
1297c0ff51
Devirtualize CSS error reporting.
2017-08-24 10:41:06 -07:00
Michael Partheil
b07ebbae6b
Replace all uses of the style::stylearc alias with servo_arc.
...
The alias is left there temporarilly and will be removed completely in a later commit where
also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still
use the old alias).
2017-07-19 09:29:05 +02:00
Xidorn Quan
cdc537f23e
Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule.
2017-06-13 10:07:06 +10:00
Fernando Jiménez Moreno
bc156cfe1c
Stylo: Bug 1350175 - Support getting line / column number of CSS rules
...
Fix font_cache_thread test
2017-05-12 15:20:12 +02:00
Bobby Holley
d78ca4c4f9
Use StyleArc in the style system.
...
MozReview-Commit-ID: flF0fv9E9M
2017-05-02 17:35:44 -07:00
Anthony Ramine
f68e2fded9
Propagate quirks mode all the way to ParserContext
...
The quirks mode is still not properly propagated in geckolib.
2017-04-27 10:41:55 +02:00
mckaymatt
5d8cbd8e6a
Support line number offsets for inline stylesheets
2017-04-13 19:36:49 -04:00
Emilio Cobos Álvarez
ac7bc414d9
Bug 1325878: Pass the MediaList down to Servo, making <style media> work. r=xidorn
...
MozReview-Commit-ID: BUCSQJs2CNI
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-12 22:27:45 +08:00
Xidorn Quan
2628ebe612
Use final url for updating stylesheet from @import rule.
2017-04-03 21:57:17 +10:00
Xidorn Quan
37585309e9
Use a UrlExtraData type alias to unify url handling logic.
2017-04-03 21:57:16 +10:00
Simon Sapin
d9491187dc
Parse stylesheets without acquiring a shared lock.
2017-03-19 22:30:40 +01:00
Simon Sapin
f35b4e27b3
Replace RwLock<CssRules> with Locked<CssRules>
2017-03-19 22:30:35 +01:00
Simon Sapin
c5a7294e05
Replace RwLock<MediaList> with shared_lock::Locked<MediaList>
2017-03-19 22:30:31 +01:00
Simon Sapin
19c71a9082
Remove rust-encoding from geckolib.
...
It wasn’t used, gecko always passes UTF-8 for parsing stylesheets.
2017-03-16 20:22:40 +01:00