- From: Markus Ernst <derernst@gmx.ch>
- Date: Thu, 20 May 2010 10:20:25 +0200
- To: Brad Kemper <brad.kemper@gmail.com>, bzbarsky@MIT.EDU
- Cc: www-style@w3.org, fantasai.lists@inkedblade.net, tphinney@cal.berkeley.edu
-------- Original-Nachricht -------- > Datum: Tue, 18 May 2010 09:37:04 -0700 > Von: Brad Kemper <brad.kemper@gmail.com> > On May 18, 2010, at 8:31 AM, Boris Zbarsky wrote: > > > you expect the underlines to line up? > > Yes, I do. > > > Even if that means that either the "text" looks terrible or the "Some" > looks terrible? > > They line up in Webkit, and do not look terrible. In fact, I think Firefox > looks worse. Firefox does keep the underline the same size when the > underline is assigned to the parent element, but then the thickness is also based > on the parent element, when most of the time I would prefer a 1px > underline, as in Webkit: > > <a style="font-size: 50px;"> > S<span style="font-size: 10px;">ome > more text</span> > </a> > > In Firefox, this feels like a hackish way to get a thick bar drawn > underneath small text. I just happen to notice that this code <p style="font-weight:bold;text-decoration:underline"> <span style="font-size:200%">H</span>ello <span style="font-size:200%">W</span>orld </p> is rendered differently in Firefox based on the Doctype. Without a Doctype, the underline changes thickness and position, but with a strict HTML4 Doctype it lines up and remains 1 pixel thick. -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
Received on Thursday, 20 May 2010 08:47:39 UTC