[Webkit-unassigned] [Bug 112994] New: Odd baseline calculation with spans, etc, in td with vertical-align:top
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 21 20:02:11 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=112994
Summary: Odd baseline calculation with spans, etc, in td with
vertical-align:top
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dylanryan at mac.com
Created an attachment (id=194423)
--> (https://bugs.webkit.org/attachment.cgi?id=194423&action=review)
Test case
I believe this is SOMEWHAT related to https://bugs.webkit.org/show_bug.cgi?id=93925 .
In this case, sibling elements seem to be sharing a baseline even if there is no particular reason to. The following example has a table with two rows (each with one column). Each cell has alternating text in and not in spans, with the last span having a larger height than anything else (either due to an image, or a specific height specified in css).
Safari and Chrome have all the spans share the same baseline, and the non-span text using their own baseline, causing a strange up-and-down jumpy flow. Firefox uses the same baseline used in the spans for the non-span text, which results in a consistent line of text. I personally prefer firefox's implementation here.
Sample code and screenshots attached
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list