Anthony Ramine
7875fea6cf
Use absolute paths in the event handlers macros
2017-09-01 11:54:09 +02:00
Emilio Cobos Álvarez
d1725b1f19
style: Replicate the list of stylesheets on the layout thread.
...
This is a patch that unifies a bit how Gecko and Stylo stylesheets work, in
order to be able to eventually move the stylesheets into the stylist, and be
able to incrementally update the invalidation map.
2017-08-18 14:31:35 +02:00
Brad Werth
557ffa979d
Rework MediaType to be an atom-based struct instead of an enum.
...
MozReview-Commit-ID: 1Tfrs9PBkhA
2017-08-09 13:25:30 -07:00
Alan Jeffrey
caa3585219
Fixed scaling artefacts in paint worklets caused by zoom and hidpi.
2017-07-20 17:25:50 -05: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
Anthony Ramine
31e9d81c0f
Make #[dom_struct] a proc_macro attribute
2017-02-24 01:50:51 +01:00
Glenn Watson
30ff2f8f0d
Introduce CSSPixel as a replacement for ViewportPx and PagePx.
2017-02-24 06:58:10 +10:00
Prudhvi Rampey
0c21333777
Calling matchMedia during a MQL change event will not panic
2017-02-18 20:12:19 +05:30
Pavel Potocek
0d9b4e858c
Fix #14497 : WeakMediaQueryListVec assumes its contents are still alive
2017-01-17 18:35:49 +01:00
bd339
567284189f
Spec conformance
...
Use MediaQueryListEvent instead of Event, in MediaQueryList.
2016-12-20 22:13:01 +01:00
Anthony Ramine
620a67ff14
Mark JSTraceable and its method as unsafe
2016-12-06 13:15:06 -10:00
Xidorn Quan
2733ec3bdc
Rename media_queries::MediaQueryList to MediaList
2016-11-08 13:09:31 +11:00
Ravi Shankar
6061985898
Prefer Servo-specific ToCss for all types
2016-11-07 09:14:22 +05:30
Stefan Schindler
d2c23942a8
Remove unneeded #allow(unsafe_code)
2016-11-05 17:42:29 +01:00
Corey Farwell
f447040ea9
Migrate EventTarget
event firing functions to use Atom
s.
...
This allows us to utilize more `atom` macros.
2016-11-03 17:04:30 -04:00
Corey Farwell
c3b279a4c3
Remove "fire a simple event" concept, refactor event firing API.
...
"fire a simple event" concept was removed in
https://github.com/whatwg/html/pull/1933 .
2016-11-03 15:01:07 -04:00
Jack Moffitt
138a0480fe
Implement matchMedia and MediaQueryList
...
Fixes #13376 .
2016-11-02 13:40:22 -06:00