mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
stylo: Support lang property
This commit is contained in:
parent
ade09844b7
commit
d7941d5e35
5 changed files with 80 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
/* automatically generated by rust-bindgen */
|
||||
|
||||
pub use nsstring::{nsACString, nsAString};
|
||||
pub use nsstring::{nsACString, nsAString, nsString};
|
||||
type nsACString_internal = nsACString;
|
||||
type nsAString_internal = nsAString;
|
||||
use gecko_bindings::structs::mozilla::css::URLValue;
|
||||
|
@ -854,6 +854,14 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_PropertyId_IsPrefEnabled(id: nsCSSPropertyID) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_nsStyleFont_SetLang(font: *mut nsStyleFont,
|
||||
atom: *mut nsIAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_nsStyleFont_CopyLangFrom(aFont: *mut nsStyleFont,
|
||||
aSource: *const nsStyleFont);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetMediaFeatures() -> *const nsMediaFeature;
|
||||
}
|
||||
|
@ -1451,8 +1459,7 @@ extern "C" {
|
|||
RawServoDeclarationBlockBorrowed,
|
||||
property:
|
||||
nsCSSPropertyID,
|
||||
value:
|
||||
*const nsAString_internal);
|
||||
value: *mut nsIAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_SetKeywordValue(declarations:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue