Summary: | Block sizing is miscalculated for elements with a preferred aspect-ratio when padding is applied, and content can overflow. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jen Simmons <jensimmons> | ||||||||||||
Component: | Layout and Rendering | Assignee: | Rob Buis <rbuis> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Blocker | CC: | bfulgham, changseok, clopez, darin, dino, esprehn+autocc, ews-watchlist, glenn, graouts, graouts, kondapallykalyan, pdr, rbuis, simon.fraser, webkit-bug-importer, youennf, zalan | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 47738 | ||||||||||||||
Attachments: |
|
Description
Jen Simmons
2021-04-24 08:15:49 PDT
Created attachment 426984 [details]
Patch
Created attachment 426997 [details]
Patch
Created attachment 427000 [details]
Patch
Created attachment 427006 [details]
Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess Created attachment 427273 [details]
Patch
To be clear, the first patches had a WPT test included that I developed. Today I discovered that there is already a very similar WPT test available, so the latest patch imports that one. Comment on attachment 427273 [details]
Patch
Looks OK.
But there are multiple code changes and only one test case. Seems like we need more test cases. When I see branches in code I assume each needs a different test, so this seems to require at *least* 3 tests, but maybe more if we want to cover not changing the cases we don’t want to.
Committed r276745 (237145@main): <https://commits.webkit.org/237145@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427273 [details]. |