- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 06 Oct 2011 18:28:31 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv16794
Modified Files:
DocumentParser.java
Log Message:
Contributed by Lenahan, Peter <Peter_Lenahan@ibi.com>, see http://lists.w3.org/Archives/Public/www-validator-css/2011Oct/0004.html
Index: DocumentParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/DocumentParser.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- DocumentParser.java 29 Aug 2011 07:21:00 -0000 1.7
+++ DocumentParser.java 6 Oct 2011 18:28:29 -0000 1.8
@@ -55,7 +55,8 @@
StyleSheetParser parser = new StyleSheetParser();
parser.parseURL(ac, htmlURL, null, null, media, StyleSheetOrigin.AUTHOR);
style = parser.getStyleSheet();
- } else if (urlLower.endsWith(".html") || urlLower.endsWith(".shtml") || urlLower.endsWith("/")) {
+ } else if (urlLower.endsWith(".html") || urlLower.endsWith(".htm") ||
+ urlLower.endsWith(".shtml") || urlLower.endsWith("/")) {
TagSoupStyleSheetHandler handler = new TagSoupStyleSheetHandler(htmlURL, ac);
handler.parse(htmlURL);
style = handler.getStyleSheet();
Received on Thursday, 6 October 2011 18:28:34 UTC