Bug 261982

Summary: offsetWidth of container inside floated container bigger then its container
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsfiddle.net/stephanb/10LLphzz/4/show

Ahmad Saleem
Reported 2023-09-22 16:06:20 PDT
Hi Team, While going through Blink's bug, I came across this sub-pixel bug where there is difference of 1px. Test Case - https://jsfiddle.net/stephanb/10LLphzz/4/show ^ Safari Technology Preview 179 show: li.outer offsetWidth: 116 a.inner offsetWidth: 117 <---- Not matching While both Chrome Canary 119 and Firefox Nightly 119 show this: li.outer offsetWidth: 116 a.inner offsetWidth: 116 ________ Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/bc1c2103ef7da6c61df91d2ee7dc1b00098a2b57 Didn't check whether we can merge or not but I think it is also in 'Legacy Line Layout', so would appreciate Alan's input. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-29 16:07:14 PDT
Ahmad Saleem
Comment 2 2023-10-02 18:14:25 PDT
Might be fixed with bug 261212 but not sure.
Note You need to log in before you can comment on or make changes to this bug.