[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/css
From: Germain Garand <germain () ebooksfrance ! org>
Date: 2010-01-18 4:21:07
Message-ID: 1263788467.283121.32325.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1076379 by ggarand:
hyphen selector must also honour html attributes' case sensitivity.
[lang|=fr] { } => <div lang=FR>
M +1 -1 cssstyleselector.cpp
--- trunk/KDE/kdelibs/khtml/css/cssstyleselector.cpp #1076378:1076379
@@ -1405,7 +1405,7 @@
if (value->length() < selValue->length())
return false;
// Check if value begins with selStr:
- if (!value->startsWith(selValue))
+ if (!value->startsWith(selValue, caseSensitive ? DOM::CaseSensitive : \
DOM::CaseInsensitive)) return false;
// It does. Check for exact match or following '-':
return value->length() == selValue->length() || \
(*value)[selValue->length()].unicode() == '-';
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic