Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Why aredescender cutt off in FF, when Tahoma, 14px, line-height:1.2 and its parent is overflow:hidden?

  • 1 отговор
  • 2 имат този проблем
  • 1 изглед
  • Последен отговор от Gingerbread Man

more options

See: http://jsfiddle.net/W5TVx/1/

In FF16.0.2 and FF 17.0.1 there are some lines faulty rendered, the descender of "g" and "y" are visually cut off. It seems that the line is rendered with 18 px height (manually calculation would result in 17px) whereas the parent receives 17px height. Even when tweaking the line heihgt little (e.g. 1.22) there seemed to be some pattern inside.

I discussed that topic on the firefox IRC channel, we tested if a clean profile would fix it -- it does not but the pattern of faulty lines changes, some prefixed faulty lines were added before it started.

Safari and IE9 share this problem.

See: http://jsfiddle.net/W5TVx/1/ In FF16.0.2 and FF 17.0.1 there are some lines faulty rendered, the descender of "g" and "y" are visually cut off. It seems that the line is rendered with 18 px height (manually calculation would result in 17px) whereas the parent receives 17px height. Even when tweaking the line heihgt little (e.g. 1.22) there seemed to be some pattern inside. I discussed that topic on the firefox IRC channel, we tested if a clean profile would fix it -- it does not but the pattern of faulty lines changes, some prefixed faulty lines were added before it started. Safari and IE9 share this problem.

Всички отговори (1)

more options

The problem goes away for me when hardware acceleration is disabled.

So I'd guess it's either related to this bug, or the same bug.

  • Bug 676570 - Descenders are cut off with some fonts and HWA enabled.