mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement the Servo parser for FontFaceSet Web API.
This commit is contained in:
parent
1e29e64000
commit
aa52e644fe
2 changed files with 61 additions and 0 deletions
|
@ -2162,6 +2162,9 @@ extern "C" {
|
|||
} extern "C" {
|
||||
# [ link_name = "\u{1}_Servo_ParseFontDescriptor" ]
|
||||
pub fn Servo_ParseFontDescriptor ( desc_id : nsCSSFontDesc , value : * const nsAString , data : * mut RawGeckoURLExtraData , arg1 : nsCSSValueBorrowedMut , ) -> bool ;
|
||||
} extern "C" {
|
||||
# [ link_name = "\u{1}_Servo_ParseFontShorthandForMatching" ]
|
||||
pub fn Servo_ParseFontShorthandForMatching ( value : * const nsAString , data : * mut RawGeckoURLExtraData , family : * mut RefPtr < SharedFontList > , style : nsCSSValueBorrowedMut , stretch : nsCSSValueBorrowedMut , weight : nsCSSValueBorrowedMut , ) -> bool ;
|
||||
} extern "C" {
|
||||
# [ link_name = "\u{1}_Gecko_CreateCSSErrorReporter" ]
|
||||
pub fn Gecko_CreateCSSErrorReporter ( sheet : * mut ServoStyleSheet , loader : * mut Loader , uri : * mut nsIURI , ) -> * mut ErrorReporter ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue