xles / hyphenator

Automatically exported from code.google.com/p/hyphenator
GNU General Public License v3.0
0 stars 0 forks source link

Hyphenator makes drop caps disappear in Google Chrome #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please, see the following page: http://jakubmarian.com/hyptest.html

It uses the version 4.3.0 of the Hyphenator, and when I open it in any browser 
other than Chrome, it looks fine. However, when I open it in the latest Chrome 
(41.0.2272.89 m), as soon as hyphenation kicks in, the drop caps just disappear.

I tried to isolate the problem, and it happens whenever there is a block of 
text with :first-letter {  float: left; }. If I wrap the first letter in 
another tag (such as <div>) and assign the style to it, it doesn't disappear.

I have a feeling that this is a bug in Chrome rather than in Hyphenator, 
because the drop caps disappear even if I just "inspect element" in Chrome and 
add a hyphen manually. I just wanted to let you know, because it would be 
awesome if you had an idea for a workaround.

Original issue reported on code.google.com by jakub.ma...@gmail.com on 14 Mar 2015 at 2:26

GoogleCodeExporter commented 9 years ago
Yeah, looks like a browser bug.
But it's somehow related to Hyphenator,js
I'll have a look at it…

Original comment by mathiasn...@gmail.com on 14 Mar 2015 at 10:13