Bug 47570 - Wikipedia figures don't center themselves correctly
Summary: Wikipedia figures don't center themselves correctly
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://pl.wikipedia.org/w/index.php?t...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2010-10-12 21:15 PDT by Adam Barth
Modified: 2023-09-10 03:54 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2010-10-12 21:15:19 PDT
Original report:
http://code.google.com/p/chromium/issues/detail?id=58918

Reduction (notice the different rendering in Firefox and WebKit):

<div style="float: right; width: 300px; background-color: yellow">x</div>
<div style="background-color: blue">
<div style="overflow: hidden; width:500px; margin-left: auto; margin-right: auto; background-color:green">
y
Comment 1 Robert Hogan 2013-01-29 12:02:21 PST
data:text/html,<div style="float: right; width: 300px; background-color: yellow">x</div><div style="background-color: blue"><div style="overflow: hidden; width:500px; margin-left: auto; margin-right: auto; background-color:green">y

This looks right to me now - can you confirm?
Comment 2 Ahmad Saleem 2023-09-10 03:54:43 PDT
I am unable to reproduce this bug and it seems Chrome Canary 118 & Firefox Nightly 118 matches with WebKit ToT from test case in Comment 01 and Comment 0 as well.

Link: https://jsfiddle.net/v9h6zfmL/show

Marking this as 'RESOLVED CONFIGURATION CHANGED', please reopen if I tested this wrong and this issue still exist.