r13697 dsilvers - in /trunk/netsurf/css: css.c internal.h

netsurf at semichrome.net netsurf at semichrome.net
Sun Mar 25 17:23:02 BST 2012


Author: dsilvers
Date: Sun Mar 25 11:23:02 2012
New Revision: 13697

URL: http://source.netsurf-browser.org?rev=13697&view=rev
Log:
Cellpadding needs interning too

Modified:
    trunk/netsurf/css/css.c
    trunk/netsurf/css/internal.h

Modified: trunk/netsurf/css/css.c
URL: http://source.netsurf-browser.org/trunk/netsurf/css/css.c?rev=13697&r1=13696&r2=13697&view=diff
==============================================================================
--- trunk/netsurf/css/css.c (original)
+++ trunk/netsurf/css/css.c Sun Mar 25 11:23:02 2012
@@ -94,6 +94,7 @@
 dom_string *nscss_dom_string_bordercolor;
 dom_string *nscss_dom_string_bottom;
 dom_string *nscss_dom_string_caption;
+dom_string *nscss_dom_string_cellpadding;
 dom_string *nscss_dom_string_cellspacing;
 dom_string *nscss_dom_string_center;
 dom_string *nscss_dom_string_color;
@@ -843,6 +844,7 @@
         CSS_DOM_STRING_UNREF(bordercolor);
         CSS_DOM_STRING_UNREF(bottom);
         CSS_DOM_STRING_UNREF(caption);
+        CSS_DOM_STRING_UNREF(cellpadding);
         CSS_DOM_STRING_UNREF(cellspacing);
         CSS_DOM_STRING_UNREF(center);
         CSS_DOM_STRING_UNREF(color);
@@ -948,6 +950,7 @@
         CSS_DOM_STRING_INTERN(bordercolor);
         CSS_DOM_STRING_INTERN(bottom);
         CSS_DOM_STRING_INTERN(caption);
+        CSS_DOM_STRING_INTERN(cellpadding);
         CSS_DOM_STRING_INTERN(cellspacing);
         CSS_DOM_STRING_INTERN(center);
         CSS_DOM_STRING_INTERN(color);

Modified: trunk/netsurf/css/internal.h
URL: http://source.netsurf-browser.org/trunk/netsurf/css/internal.h?rev=13697&r1=13696&r2=13697&view=diff
==============================================================================
--- trunk/netsurf/css/internal.h (original)
+++ trunk/netsurf/css/internal.h Sun Mar 25 11:23:02 2012
@@ -35,6 +35,7 @@
 extern struct dom_string *nscss_dom_string_bordercolor;
 extern struct dom_string *nscss_dom_string_bottom;
 extern struct dom_string *nscss_dom_string_caption;
+extern struct dom_string *nscss_dom_string_cellpadding;
 extern struct dom_string *nscss_dom_string_cellspacing;
 extern struct dom_string *nscss_dom_string_center;
 extern struct dom_string *nscss_dom_string_color;




More information about the netsurf-commits mailing list