Tuesday, 10 September 2013

[gocmenmurat@gmail.com: i have a fix for libcss]

diff -rupN libcss-0.2.0/src/parse/properties/utils.c libcss-0.2.0.new/src/parse/properties/utils.c
--- libcss-0.2.0/src/parse/properties/utils.c 2013-04-19 19:40:31.000000000 +0100
+++ libcss-0.2.0.new/src/parse/properties/utils.c 2013-08-12 15:06:46.841815000 +0100
@@ -227,6 +227,14 @@ css_error css__parse_border_side(css_lan
goto css__parse_border_side_cleanup;
}

+ if (color) {
+ error = css__stylesheet_style_appendOPV(style_style,
+ CSS_PROP_BORDER_TOP_COLOR + side, 0,
+ BORDER_COLOR_CURRENT_COLOR);
+ if (error != CSS_OK)
+ goto css__parse_border_side_cleanup;
+ }
+
error = css__stylesheet_merge_style(result, color_style);
if (error != CSS_OK)
goto css__parse_border_side_cleanup;
recived in private mail, attached the patch from the url

----- Forwarded message from Murat Gocmen <gocmenmurat@gmail.com> -----

Date: Tue, 10 Sep 2013 12:17:49 +0100
From: Murat Gocmen <gocmenmurat@gmail.com>
To: jmb@netsurf-browser.org, vince@netsurf-browser.org
Subject: i have a fix for libcss

Hi All,

I am not even sure if somebody going to have this email, but i will try,

lately i have seen a different behaviour on border shorthand setting,

when setting border: xxx it was setting the border color value,

pathc is attached,

fyi,

I have passed the css test suite border shorhand properties test via this
patch,

Regards.
border_color-0.2.0.patch<https://docs.google.com/file/d/0B8t45OYNG_RsZlNxWXM4akhVcjA/edit?usp=drive_web>


----- End forwarded message -----

--
Regards Vincent
http://www.kyllikki.org/

No comments:

Post a Comment