Bug 207094 - Whitespace affects layout in WebKit, not Chrome or Firefox
Summary: Whitespace affects layout in WebKit, not Chrome or Firefox
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2020-02-01 12:16 PST by Simon Fraser (smfr)
Modified: 2023-07-04 07:18 PDT (History)
8 users (show)

See Also:


Attachments
test case (505 bytes, text/html)
2020-02-01 12:16 PST, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2020-02-01 12:16:16 PST
Created attachment 389464 [details]
test case

Attached testcase shows how whitespace between the <img> and <br> causes a gap in WebKit, but not in Chrome or Firefox.
Comment 1 Ahmad Saleem 2022-08-29 03:51:27 PDT
I am able to reproduce this bug in Safari Technology Preview 152 from attached test case and in test case, first container two boxes / rectangles does not touch each other similar to second container while in all other browsers (Chrome Canary 107 and Firefox Nightly 106), they match each other.

Just wanted to share updated testing results. Thanks!
Comment 2 Radar WebKit Bug Importer 2022-08-29 14:24:20 PDT
<rdar://problem/99295895>
Comment 3 Ahmad Saleem 2023-07-04 04:36:27 PDT
It seems this is working fine in Safari Technology Preview 173 now.

@Alan - anything progressed because of IFC or any other Whitespace changes?
Comment 4 zalan 2023-07-04 07:18:08 PDT
This is fixed in bug 139199 (IFC progression)