Version: (using KDE 4.2.4)
Installed from: Ubuntu Packages
', ", . and , punctuation characters in the test should be green and rather big
Actual results in Konqueror 4.2.4:
', ", . and , punctuation characters in the test are black and normal size
Punctuation (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps), "close" (Pe), "initial" (Pi). "final" (Pf) and "other" (Po) punctuation classes), that precedes or follows the first letter should be included
coming from CSS 2.1, section 5.12.2 The :first-letter pseudo-element
There are right now about 400 testcases in the CSS 2.1 test suite (RC5; built on january 11th 2011) with regards to :first-letter pseudo-element and punctuation characters.
The first one is
and the last one is
For a list of them:
Latest stable available version of Konqueror (4.5.5) fails all of those testcases.
Looks like the test here:
needs to be adjusted.. Though seems like isPunct doesn't quite match what CSS wants either. grmble.
Working on a fix..
Git commit 3309a1dcf1667d28e2d532e9017d770978c3b734 by Maks Orlovich.
Committed on 21/02/2011 at 18:39.
Pushed by orlovich into branch 'master'.
Include trailing punctuation in :first-letter
(Also follow CSS's definition of punctuation)
M +13 -3 khtml/rendering/render_block.cpp
I'm using Konqueror 4.6.2 under KDE 4.6.2
uname -r returns 2.6.38-8-generic-pae
kde4-config -version returns Qt : 4.7.2
with Kubuntu 11.04 Natty Narwhal
and when I try
I still get actual results.
So, is this actually fixed?
Yes, but I didn't backport it to 4.6.x
Testcases now pass in Konqueror 4.7.0, under KDE 4.7.0 platform, Qt 4.7.2, Linux 2.6.38-11-generic-pae, i686 (32bits).
Marking as VERIFIED
This bug report as described and as edited has been fixed.
Nevertheless, 12 testcases still fail in Konqueror 4.7.0 (with KHTML rendering engine) because, I believe, the 12 characters involved are not listed, defined as "open" (Ps) and "close" (Pe) punctuation:
aegean word separator line punctuation character :
aegean word separator dot punctuation character :
ugaritic word divider punctuation character :
kharoshthi punctuation dot punctuation character :
kharoshthi punctuation small circle punctuation character :
kharoshthi punctuation circle punctuation character :
kharoshthi punctuation crescent bar punctuation character :
kharoshthi punctuation mangalam punctuation character :
kharoshthi punctuation lotus punctuation character :
kharoshthi punctuation danda punctuation character :
kharoshthi punctuation double danda punctuation character :
kharoshthi punctuation lines punctuation character :
So, another bug report should be opened, created for such 12 punctuation characters.
I am using
KDE Platform Version: 4.7.0
Konqueror version: 4.7.0 (KHTML rendering engine)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic-pae i686 (32bits)
Distribution: Kubuntu 11.04