From 0f09a9f357c3c038ffc0b138772626f2d4256837 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Mon, 18 Jul 2016 16:38:37 +0800 Subject: [PATCH] geckolib: Support parsing style="" attributes longer than 255 characters. --- ports/geckolib/gecko_bindings/bindings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/geckolib/gecko_bindings/bindings.rs b/ports/geckolib/gecko_bindings/bindings.rs index b65b0bc4e16..cd36f19b4dd 100644 --- a/ports/geckolib/gecko_bindings/bindings.rs +++ b/ports/geckolib/gecko_bindings/bindings.rs @@ -276,7 +276,7 @@ extern "C" { pub fn Servo_StyleSheetHasRules(sheet: *mut RawServoStyleSheet) -> bool; pub fn Servo_InitStyleSet() -> *mut RawServoStyleSet; pub fn Servo_DropStyleSet(set: *mut RawServoStyleSet); - pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u8, + pub fn Servo_ParseStyleAttribute(bytes: *const u8, length: u32, cache: *mut nsHTMLCSSStyleSheet) -> *mut ServoDeclarationBlock; pub fn Servo_DropDeclarationBlock(declarations: