Bug 115772 - Percentage widths adds up to more than 100%
Summary: Percentage widths adds up to more than 100%
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-05-07 19:47 PDT by Ryosuke Niwa
Modified: 2022-08-27 01:05 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-05-07 19:47:04 PDT
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.
Comment 1 Ahmad Saleem 2022-08-27 01:05:10 PDT
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!