Bug 261982
| Summary: | offsetWidth of container inside floated container bigger then its container | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Layout and Rendering | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/116260516>
Ahmad Saleem
Might be fixed with bug 261212 but not sure.