Bug 47570

Summary: Wikipedia figures don't center themselves correctly
Product: WebKit Reporter: Adam Barth <abarth>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, robert, zalan
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://pl.wikipedia.org/w/index.php?title=Ninhydryna&oldid=23535115

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.