stylo: Support lang property

This commit is contained in:
Nazım Can Altınova 2017-02-12 16:02:29 -08:00 committed by Manish Goregaokar
parent ade09844b7
commit d7941d5e35
5 changed files with 80 additions and 12 deletions

View file

@ -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: