Bug 115772
| Summary: | Percentage widths adds up to more than 100% | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bdakin, bfulgham, simon.fraser, zalan |
| Priority: | P2 | Keywords: | BlinkMergeCandidate |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
We should probably merge
https://chromium.googlesource.com/chromium/blink/+/502cde5ca785012cca256970b844dc5c6ba5430a
Percentage widths adds up to more than 100%.
Due to rounding float and inline blocks sized in percentages can add up
to just over 100% and thus overflow or cause wrapping.
Regression from r149449.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
I am unable to reproduce this bug since all browsers (Safari 15.6.1, Safari Technology Preview 152. Chrome Canary 107 and Firefox Nightly 106), show "PASS" on the test case from the Chromium patch:
Link - https://jsfiddle.net/3sq8zrgL/
RESULT:
PASS All boxes are on the same line.
PASS successfullyParsed is true
TEST COMPLETE
The three boxes below should all appear on the same line.
I am marking this as "RESOLVED CONFIGURATION CHANGED". Please reopen, if you think this issue still exist. Thanks!