Martin Robinson
0e616e0c5d
api: Flatten and simplify Servo preferences ( #34966 )
...
Flatten and simplify Servo's preferences code. In addition, have both
preferences and options passed in as arguments to `Servo::new()` and
make sure not to use the globally set preferences in `servoshell` (as
much as possible now).
Instead of a complex procedural macro to generate preferences, just
expose a very simple derive macro that adds string based getters and
setters.
- All command-line parsing is moved to servoshell.
- There is no longer the concept of a missing preference.
- Preferences no longer have to be part of the resources bundle because
they now have reasonable default values.
- servoshell specific preferences are no longer part of the preferences
exposed by the Servo API.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-14 13:54:06 +00:00
Kagami Sascha Rosylight
52ea5204a2
Convert Web IDL void to undefined
...
Fixes #27660
2022-01-05 03:39:33 +01:00
Micah Tigley
38b91c3501
Implement MouseEvent's x/y and offsetX/offsetY attributes
2019-11-04 18:28:08 -05:00
Micah Tigley
4b93a2350c
Implements pageX and pageY attributes
2019-10-17 15:32:44 -04:00
Kagami Sascha Rosylight
9ce82ea1ae
Migrate to new constructor operation syntax
2019-10-02 21:45:30 +09:00
Kagami Sascha Rosylight
01151274f1
Require default dictionary value for optional dicts
2019-07-12 12:16:09 +09:00
George Roman
be3cb00c77
Implement MouseEvent buttons attribute
2019-05-16 10:59:20 +03:00
Jan Andre Ikenmeyer
6b0c111126
Update MPL license to https (part 2)
2018-11-19 14:46:57 +01:00
Anthony Ramine
ba0bf3a066
Explicitly expose MouseEvent only in Window
2017-01-21 15:15:54 +01:00
Scott Trinh
ab0ddf9040
Partial fix for 12415
2016-10-17 16:08:07 -04:00
Ms2ger
ed743bb50c
Explicitly expose everything everywhere.
2016-07-12 13:06:48 +02:00
zeusintuivo
d26bb29bb2
Rename SharedKeyboardAndMouseEventInit to EventModifierInit
2016-07-11 16:39:59 +02:00
Anthony Ramine
be334efe2f
Fix all the links to the UI Events spec
...
DOM3Events is no more.
2016-06-04 16:04:35 +02:00
Josh Matthews
a03fc5e2fd
Hide nonstandard interface members of standard interfaces behind appropriate prefs.
2016-05-02 14:32:58 -04:00
edunham
7ae63b1213
Remove modelines everywhere but tests/wpt
2016-04-20 10:49:09 -07:00
bors-servo
5b90cfd57d
Auto merge of #6773 - dzbarsky:which, r=Ms2ger
...
Fix MouseEvent.which to not throw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6773 )
<!-- Reviewable:end -->
2015-07-27 05:57:09 -06:00
Corey Farwell
9415c92a5c
Clean up whitespace, long lines for WebIDLs
2015-07-26 22:12:10 +07:00
David Zbarsky
632b7f3c58
Fix MouseEvent.which to not throw
2015-07-25 16:16:30 -04:00
Glenn Watson
2e074ce452
Implement mouseevent.which (needed for enyojs sampler).
2015-07-22 08:20:06 +10:00
Josh Matthews
bb7074698a
Add KeyboardEvent stub.
2014-11-13 11:24:14 -05:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00