Bug 145176

Summary: For flex box items, margins and padding should resolve against their respective dimensions, not always containing block width
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Sergio Villar Senin <svillar>
Status: NEW    
Severity: Normal CC: cdumez, changseok, eoconnor, esprehn+autocc, ews-watchlist, glenn, hyatt, jfernandez, koivisto, kondapallykalyan, pdr, rego, simon.fraser, svillar, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Simon Fraser (smfr)
Reported 2015-05-19 13:21:27 PDT
We don't respect the flex box margin/padding % resolution rules here: http://dev.w3.org/csswg/css-flexbox/#item-margins
Attachments
Patch (12.70 KB, patch)
2021-04-19 10:25 PDT, Sergio Villar Senin
no flags
Patch (12.24 KB, patch)
2021-04-20 02:51 PDT, Sergio Villar Senin
no flags
Patch (12.21 KB, patch)
2021-10-25 13:44 PDT, Sergio Villar Senin
no flags
Theresa O'Connor
Comment 1 2015-05-19 15:11:30 PDT
Updated title to scope change just to flex items
Sergio Villar Senin
Comment 2 2021-04-19 10:25:59 PDT
Sergio Villar Senin
Comment 3 2021-04-20 02:51:38 PDT
Sergio Villar Senin
Comment 4 2021-10-25 13:44:53 PDT
Sergio Villar Senin
Comment 5 2022-01-25 02:03:09 PST
Comment on attachment 442407 [details] Patch Marking the patch as obsolete. Modifying styles is a bad idea.
Note You need to log in before you can comment on or make changes to this bug.