Bug 67472 (Py) - Inline-block box not reformatting after <br/> removal
Summary: Inline-block box not reformatting after <br/> removal
Status: RESOLVED WONTFIX
Alias: Py
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 03:56 PDT by Py
Modified: 2023-02-22 06:58 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Py 2011-09-02 03:56:57 PDT
Consider the following situation:

An overall <div> displayed as an inline-block, two child, who are inline or inline-block, separated by a <br/>

If the <br/> is removed using Javascript, the box of the overall div will stay unchanged. It should be calculated again (the rendering is different from the one you would get by not using the <br/> at all).

A test case is available here: http://jsfiddle.net/4yj7U/1/

For the version, I'm not sure wich one to put, but the bug was reproduced under Chrome 13.0.782.218 and the default Android Browser on a Motorola Xoom.
Comment 1 Ahmad Saleem 2023-02-22 06:58:05 PST
I am not able to reproduce this using Safari 16.3 and we are matching with Chrome Canary 112 and Firefox Nightly 112.

Plus it was never confirmed, so I am marking this as "RESOLVED WONTFIX" rather than "RESOLVED CONFIGURATION CHANGED". Thanks!