aboutsummaryrefslogtreecommitdiffstats
path: root/components/style
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-02-23 12:37:06 -0800
committerGitHub <noreply@github.com>2017-02-23 12:37:06 -0800
commitad2ca516a2b3c81f577a0b750cdda12058006da1 (patch)
tree6aa2e2518497b5335f09ecf262c4b19e91343e1e /components/style
parent063aec5ade249a34a7d3d0e6d38a0a7b255e9da9 (diff)
parent9c28f21251747b76e0692e2a903bbaaf2cd21b30 (diff)
downloadservo-ad2ca516a2b3c81f577a0b750cdda12058006da1.tar.gz
servo-ad2ca516a2b3c81f577a0b750cdda12058006da1.zip
Auto merge of #15695 - canaltinova:stylo-font-face, r=Manishearth
Stylo: Add constructors for @font-face descriptors <!-- Please describe your changes on the following line: --> Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1340728 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug #1340728](https://bugzilla.mozilla.org/show_bug.cgi?id=1340728) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15695) <!-- Reviewable:end -->
Diffstat (limited to 'components/style')
-rw-r--r--components/style/gecko_bindings/bindings.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs
index 5ee54e51383..a64c70d0b51 100644
--- a/components/style/gecko_bindings/bindings.rs
+++ b/components/style/gecko_bindings/bindings.rs
@@ -841,6 +841,26 @@ extern "C" {
len: i32);
}
extern "C" {
+ pub fn Gecko_CSSValue_SetString(css_value: nsCSSValueBorrowedMut,
+ string: nsString);
+}
+extern "C" {
+ pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut,
+ len: i32);
+}
+extern "C" {
+ pub fn Gecko_CSSValue_SetURL(css_value: nsCSSValueBorrowedMut,
+ uri: ServoBundledURI);
+}
+extern "C" {
+ pub fn Gecko_CSSValue_SetLocal(css_value: nsCSSValueBorrowedMut,
+ family: nsString);
+}
+extern "C" {
+ pub fn Gecko_CSSValue_SetInteger(css_value: nsCSSValueBorrowedMut,
+ integer: i32);
+}
+extern "C" {
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
}
extern "C" {