Bug 170944

Summary: Percentage margin and overflow auto (or scroll) seems wrong
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Example to reproduce the issue
none
Current output
none
Expected output none

Manuel Rego Casasnovas
Reported 2017-04-18 06:06:25 PDT
Created attachment 307379 [details] Example to reproduce the issue Check the attached example, the first "item" has "overflow: visible" and the "margin-left: 50%" is resolved properly. The 2nd item has "overflow: auto" and the percentage resolution changes. In Chrome and Firefox both cases have the same output.
Attachments
Example to reproduce the issue (610 bytes, text/html)
2017-04-18 06:06 PDT, Manuel Rego Casasnovas
no flags
Current output (2.77 KB, image/png)
2017-04-18 06:06 PDT, Manuel Rego Casasnovas
no flags
Expected output (2.11 KB, image/png)
2017-04-18 06:06 PDT, Manuel Rego Casasnovas
no flags
Manuel Rego Casasnovas
Comment 1 2017-04-18 06:06:40 PDT
Created attachment 307380 [details] Current output
Manuel Rego Casasnovas
Comment 2 2017-04-18 06:06:52 PDT
Created attachment 307381 [details] Expected output
Radar WebKit Bug Importer
Comment 3 2017-04-18 15:35:43 PDT
Ahmad Saleem
Comment 4 2022-10-16 06:03:16 PDT
I am able to reproduce this bug in STP 155 and get "current" output using attached output. While other browsers (Chrome Canary 108 and Firefox Nightly 107) match other and show "expected output". Thanks!
Ahmad Saleem
Comment 5 2025-03-14 19:28:51 PDT
It seems to be fixed now - I am unable to reproduce it on Safari 18.3.1 on macOS 15.3.2.
Note You need to log in before you can comment on or make changes to this bug.