Version: (using Devel) OS: Linux Installed from: Compiled sources If I create a file which contains: <html> <head> <style> blockquote:after { content: ""; } </style> </head> <body> <blockquote> </blockquote> </body> </html> when I view the page, a strange character appears when nothing should be visibly displayed. If I set the 'blockquote:after' setting as well then the character still only appears once. I will attach the exact HTML page and a screenshot.
Created attachment 32634 [details] The page that shows the bug
Created attachment 32635 [details] Screenshot of the bug
I first noticed the bug in the page http://news.cnet.com/8301-13505_3-10211388-16.html where the character appears at the end of the quote "... support on all platforms."
Seems like a charset issue check which fopnst you have installed or which you are using
Confirmed in kde 4.7.4 version
Created attachment 84201 [details] testcase
Git commit e71c6b7b97c80afa284b854734b0a7d35868e093 by Andrea Iacovitti. Committed on 22/12/2013 at 17:38. Pushed by aiacovitti into branch 'KDE/4.11'. Also check for a non zero length text here. The QChar* pointer could be not null but pointing to the single char '\0' due to how DOMStringImpl is implemented. FIXED-IN: 4.11.5 M +5 -2 khtml/rendering/font.cpp M +1 -1 khtml/rendering/font.h http://commits.kde.org/kdelibs/e71c6b7b97c80afa284b854734b0a7d35868e093
Git commit 18649ca33005a8af0086eab34dc94ae1dedf7028 by Andrea Iacovitti. Committed on 09/01/2014 at 19:46. Pushed by aiacovitti into branch 'master'. Also check for a non zero length text here. The QChar* pointer could be not null but pointing to the single char '\0' due to how DOMStringImpl is implemented. FIXED-IN: 4.11.5 (Forward-port kdelibs commit e71c6b7b97c80afa284b854734b0a7d35868e093) M +3 -3 src/rendering/font.cpp M +1 -1 src/rendering/font.h http://commits.kde.org/khtml/18649ca33005a8af0086eab34dc94ae1dedf7028