Bug 275290

Summary: neowin.net: 'share' drop-down layout is broken and overlaps
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test reduction
none
Patch
none
screenshot with fix applied
none
[fast-cq]Patch none

Ahmad Saleem
Reported 2024-06-08 06:53:29 PDT
Hi Team, While going through neowin.net website, I found another bug. Website: https://www.neowin.net/ Steps to Reproduce: 1) Go to website 2) In top sticky bar - go to share button (next to theme toggler) 3) Hover on it to show drop-down Expected Results: All social media icons / pics are aligned Actual Result: Social media icons are not aligned in STP196 Thanks!
Attachments
Test reduction (431 bytes, text/html)
2024-06-08 09:19 PDT, alan
no flags
Patch (8.11 KB, patch)
2024-06-08 14:42 PDT, alan
no flags
screenshot with fix applied (265.03 KB, image/png)
2024-06-08 14:42 PDT, alan
no flags
[fast-cq]Patch (10.82 KB, patch)
2024-06-08 21:18 PDT, alan
no flags
Radar WebKit Bug Importer
Comment 1 2024-06-08 06:54:00 PDT
alan
Comment 2 2024-06-08 09:19:43 PDT
Created attachment 471626 [details] Test reduction this looks like a float bug where we don't take margin into account when checking for overlap.
alan
Comment 3 2024-06-08 10:36:10 PDT
> this looks like a float bug where we don't take margin into account when > checking for overlap. nope (still a float bug) but the issue here is that we don't let the float overflow its containing block when other float is present even though that other float is not intrusive.
alan
Comment 4 2024-06-08 14:42:18 PDT
alan
Comment 5 2024-06-08 14:42:57 PDT
Created attachment 471628 [details] screenshot with fix applied
alan
Comment 6 2024-06-08 14:43:41 PDT
(let's see if EWS disagrees. will add test case later.)
Ahmad Saleem
Comment 7 2024-06-08 15:17:21 PDT
(In reply to zalan from comment #6) > (let's see if EWS disagrees. will add test case later.) Awesome! Thanks Alan for tackling this quickly. :)
alan
Comment 8 2024-06-08 15:47:58 PDT
(In reply to Ahmad Saleem from comment #7) > (In reply to zalan from comment #6) > > (let's see if EWS disagrees. will add test case later.) > > Awesome! Thanks Alan for tackling this quickly. :) Thanks for reporting it (apparently it needs a bit more work though)
alan
Comment 9 2024-06-08 21:18:52 PDT
Created attachment 471629 [details] [fast-cq]Patch
EWS
Comment 10 2024-06-09 11:17:36 PDT
Committed 279867@main (b424c89ef690): <https://commits.webkit.org/279867@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 471629 [details].
Note You need to log in before you can comment on or make changes to this bug.