On Sun, Apr 04, 2010 at 12:34:40AM +0000, corvid wrote:
Just committed some line-height code that Johannes and I wrote.
Cool, good to have this in the official repo now.
When line-height is less than the font's ascent+descent, unhighlighting gets confused. I think it has to do with using the line dimensions for 'area' for drawing the background. I'll dig into it a little more later on.
PS I see that firefox puts more space between its paragraphs than we do. Their value seems to be related to the font size, or the default font size, or something. Is there anything deep behind our use of 9?
I don't know where our 9 comes from. For firefox i guess it's the p, dl, multicol { display: block; margin: 1em 0; } from the useragent style[1], which would explain, why it scales with the font size. Cheers, Johannes [1] http://hell.meiert.org/core/css/firefox-3.0.1.css