Simon Sapin
53b638c0e2
Update to string-cache 0.3
2016-11-03 16:23:05 +01:00
Patrick Walton
93e41ba4aa
style: Add some new Servo-specific pseudo-classes for anonymous flows.
...
This allows us to remove `modify_style_for_anonymous_table_object`.
2016-10-26 14:04:16 -07:00
Jonathan Schuster
8500f3c8b8
Style input-text pseudo with user-agent CSS
2016-09-21 21:21:32 -04:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Ms2ger
992391d6ad
Move the user agent and user stylesheets to layout_thread.
2016-08-23 15:33:47 +02:00
Simon Sapin
6173e1d339
Atomize namespace prefixes.
2016-08-18 15:43:30 +02:00
Simon Sapin
d690bd2382
Update selectors to 0.10, with ToCss serialization.
2016-08-18 14:46:24 +02:00
Simon Sapin
fdb2071b2d
Update to selectors 0.8.2
2016-08-09 18:18:38 +02:00
Simon Sapin
f419db834c
Replace the SelectorImplExt trait with inherent methods.
2016-08-09 18:17:13 +02:00
Steve Melia
04f5369577
Issue 7720: Add target selector and update when scrolling to fragment
2016-08-03 13:23:10 +01:00
Emilio Cobos Álvarez
611e611215
style: Rewrite the restyle hints code to allow different kinds of element snapshots, and use it for Gecko.
...
This is a rewrite for how style interfaces with its consumers in order to allow
different representations for an element snapshot.
This also changes the requirements of an element snapshot, requiring them to
only implement MatchAttr, instead of MatchAttrGeneric. This is important for
stylo since implementing MatchAttrGeneric is way more difficult for us given the
atom limitations. This also allows for more performant implementations in the
Gecko side of things.
2016-07-21 14:24:04 -07:00
Simon Sapin
5c70dfab01
Have a concrete SelectorImpl type everywhere in the style crate.
...
It is conditionally compiled to one implementation or the other
(Gecko or Servo) with `#[cfg(…)]`.
2016-07-20 08:42:46 +02:00
Simon Sapin
789807b7b0
Remove the ComputedValue traits and style_struct_traits
2016-07-20 08:42:40 +02:00
Simon Sapin
b2a7e44373
Move ServoSelectorImpl to a dedicated module.
2016-07-20 08:40:53 +02:00