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

Description Simon Fraser (smfr) 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
Comment 1 Theresa O'Connor 2015-05-19 15:11:30 PDT
Updated title to scope change just to flex items
Comment 2 Sergio Villar Senin 2021-04-19 10:25:59 PDT
Created attachment 426442 [details]
Patch
Comment 3 Sergio Villar Senin 2021-04-20 02:51:38 PDT
Created attachment 426531 [details]
Patch
Comment 4 Sergio Villar Senin 2021-10-25 13:44:53 PDT
Created attachment 442407 [details]
Patch
Comment 5 Sergio Villar Senin 2022-01-25 02:03:09 PST
Comment on attachment 442407 [details]
Patch

Marking the patch as obsolete. Modifying styles is a bad idea.