r13508 tlsa - /trunk/netsurf/render/html.c

netsurf at semichrome.net netsurf at semichrome.net
Tue Mar 6 18:02:55 GMT 2012


Author: tlsa
Date: Tue Mar  6 12:02:55 2012
New Revision: 13508

URL: http://source.netsurf-browser.org?rev=13508&view=rev
Log:
Don't override UA stylesheet origin with User origin.

Modified:
    trunk/netsurf/render/html.c

Modified: trunk/netsurf/render/html.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/html.c?rev=13508&r1=13507&r2=13508&view=diff
==============================================================================
--- trunk/netsurf/render/html.c (original)
+++ trunk/netsurf/render/html.c Tue Mar  6 12:02:55 2012
@@ -678,7 +678,7 @@
 
 		if (i < STYLESHEET_USER)
 			origin = CSS_ORIGIN_UA;
-		if (i < STYLESHEET_START)
+		else if (i < STYLESHEET_START)
 			origin = CSS_ORIGIN_USER;
 
 		if (hsheet->type == HTML_STYLESHEET_EXTERNAL &&




More information about the netsurf-commits mailing list