Bug 44462 - Fixed width table misaligned with align="center"
Summary: Fixed width table misaligned with align="center"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL: http://www.flumotion.com/first_webm_l...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2010-08-23 16:12 PDT by Martin Sourada
Modified: 2012-06-26 13:30 PDT (History)
4 users (show)

See Also:


Attachments
screenshot (197.88 KB, image/png)
2010-08-23 16:12 PDT, Martin Sourada
no flags Details
as minimal test-case as I was able to make (713 bytes, text/html)
2010-08-23 16:14 PDT, Martin Sourada
no flags Details
reduced testcase (531 bytes, text/html)
2011-05-30 17:48 PDT, Andrey Petrov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Sourada 2010-08-23 16:12:17 PDT
Created attachment 65172 [details]
screenshot

See the above page. The table should be displayed in the center of the left column, but instead it's displayed in the center of the whole page (horizontally). Using  width=auto seems to lead to correct behaviour, as well as changing align to different value.

This is present at least in gtk port (webkitgtk-1.2.3), qt port (qt-4.6.3) and chromium (6.0.476.0). It's not present in firefox.
Comment 1 Martin Sourada 2010-08-23 16:14:35 PDT
Created attachment 65173 [details]
as minimal test-case as I was able to make
Comment 2 Andrey Petrov 2011-05-30 17:47:50 PDT
I've managed to reduce the test even further to just a couple of lines. I am looking into the layout engine, perhaps I can figure out what the problem is.
Comment 3 Andrey Petrov 2011-05-30 17:48:39 PDT
Created attachment 95385 [details]
reduced testcase

reduced test case
Comment 4 Elliott Sprehn 2012-06-26 13:30:14 PDT
The linked page doesn't work anymore and the reduction renders identically on Gecko and Webkit.