mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Add Servo_GetStyleFoo functions to get style structs from GeckoComputedValues.
While we're here we also: * remove any code conditional on style_struct.gecko_ffi_name, since all style structs now do have a corresponding Geckos struct * add new UIReset and XUL style structs, so that all Gecko structs are now present (apart from Variables, which is special)
This commit is contained in:
parent
aa078a0780
commit
88f51af3f8
27 changed files with 71 additions and 37 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||
|
||||
<% data.new_style_struct("InheritedBox", inherited=True, gecko_ffi_name="nsStyleVisibility") %>
|
||||
<% data.new_style_struct("InheritedBox", inherited=True, gecko_name="Visibility") %>
|
||||
|
||||
${helpers.single_keyword("direction", "ltr rtl", need_clone=True)}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue