Bug 11531 - Re-alignment for <th> tags isn't noticed for Facebook web badges
Summary: Re-alignment for <th> tags isn't noticed for Facebook web badges
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac (Intel) OS X 10.4
: P2 Trivial
Assignee: Nobody
URL: http://www.facebook.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 10:31 PST by Eric3 Knibbe
Modified: 2008-02-13 22:28 PST (History)
1 user (show)

See Also:


Attachments
A side-by-side comparison of how the badge renders in WebKit and Camino. (30.14 KB, image/png)
2006-11-06 10:33 PST, Eric3 Knibbe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric3 Knibbe 2006-11-06 10:31:54 PST
Facebook has a "create a profile badge" feature where it will generate code for a badge that can be inserted into another page. The items in the badge are rendered with tables, and the title for each chosen text field is enclosed in <th> tags. A while ago, these titles started showing up centered when they had previously been justified left, like the rest of the text; a side-by-side comparison between WebKit and Camino (which renders it correctly) can be found here: <http://www.calvin.edu/~enk3/temp/th-centering.png>. To see this for yourself, the best thing is to get a facebook profile up: 
-sign up for an account at facebook.com
-click on "My Profile" at the left
-click on "Create a Profile Badge" below your picture
Here you can create a badge composed of an image or JavaScript; the problem crops up when the latter is chosen. This may be a coding problem on facebook's part that just happens to render correctly in Camino; either way, I've reported the problem to them also.
Comment 1 Eric3 Knibbe 2006-11-06 10:33:43 PST
Created attachment 11402 [details]
A side-by-side comparison of how the badge renders in WebKit and Camino.
Comment 2 Robert Blaut 2008-02-12 14:40:23 PST
Eric3, is the problem still replicable in the latest Webkit nightly?
Comment 3 Eric3 Knibbe 2008-02-13 18:38:35 PST
(In reply to comment #2)
> Eric3, is the problem still replicable in the latest Webkit nightly?
> 

As of Webkit r30191, as well as the current version of Safari (3.0.4 / 523.12.2), the text appears to be aligning correctly, as you can see on this <a href="http://knibbe.fmly.ca/badge.html">test page</a>.
Comment 4 Robert Blaut 2008-02-13 22:28:23 PST
Thank you for the information :) I resolve the bug as WORKSFORME.