From da8ed2882801ca513eef5b696de14ea99c485354 Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Wed, 1 Feb 2006 09:52:55 +0000 Subject: Add libsoup, libspidermonkey, libxml2 cvs, patched gtkhtml2 and web packages git-svn-id: https://svn.o-hand.com/repos/poky@245 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../gtkhtml2/files/fix-background-none.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 openembedded/packages/gtkhtml2/files/fix-background-none.patch (limited to 'openembedded/packages/gtkhtml2/files/fix-background-none.patch') diff --git a/openembedded/packages/gtkhtml2/files/fix-background-none.patch b/openembedded/packages/gtkhtml2/files/fix-background-none.patch new file mode 100644 index 000000000..076f31200 --- /dev/null +++ b/openembedded/packages/gtkhtml2/files/fix-background-none.patch @@ -0,0 +1,40 @@ +Index: gtkhtml2/libgtkhtml/css/cssmatcher.c +=================================================================== +--- gtkhtml2.orig/libgtkhtml/css/cssmatcher.c 2006-01-21 01:02:23.000000000 +0000 ++++ gtkhtml2/libgtkhtml/css/cssmatcher.c 2006-01-25 02:07:44.000000000 +0000 +@@ -596,7 +596,13 @@ + g_object_unref (G_OBJECT(image)); + return TRUE; + } +- } ++ } else if (val->value_type == CSS_IDENT && ++ val->v.atom == HTML_ATOM_NONE) { ++ if (style->background->image) { ++ g_object_unref (style->background->image); ++ style->background->image = NULL; ++ } ++ } + return FALSE; + } + +@@ -1256,7 +1262,10 @@ + } + else if (val->value_type == CSS_FUNCTION) + handle_background_image (document, style, val); +- else if (css_parse_color (val, &color)) ++ else if (val->value_type == CSS_IDENT && val->v.atom == HTML_ATOM_NONE) { ++ handle_background_image (document, style, val); ++ style->background->color.transparent = TRUE; ++ } else if (css_parse_color (val, &color)) + html_style_set_background_color (style, &color); + + break; +@@ -1273,6 +1282,8 @@ + + if (val->v.atom == HTML_ATOM_INHERIT) + html_style_set_background_color (style, &parent_style->background->color); ++ else if (val->v.atom == HTML_ATOM_NONE) ++ style->background->color.transparent = TRUE; + else if (css_parse_color (val, &color)) + html_style_set_background_color (style, &color); + break; -- cgit v1.2.3