Bug 47570
Summary: | Wikipedia figures don't center themselves correctly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adam Barth <abarth> |
Component: | Layout and Rendering | Assignee: | 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 |
Adam Barth
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Robert Hogan
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?
Ahmad Saleem
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.