Bug 145176 - For flex box items, margins and padding should resolve against their respective dimensions, not always containing block width
Summary: For flex box items, margins and padding should resolve against their respecti...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sergio Villar Senin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-19 13:21 PDT by Simon Fraser (smfr)
Modified: 2022-01-25 02:03 PST (History)
15 users (show)

See Also:


Attachments
Patch (12.70 KB, patch)
2021-04-19 10:25 PDT, Sergio Villar Senin
no flags Details | Formatted Diff | Diff
Patch (12.24 KB, patch)
2021-04-20 02:51 PDT, Sergio Villar Senin
no flags Details | Formatted Diff | Diff
Patch (12.21 KB, patch)
2021-10-25 13:44 PDT, Sergio Villar Senin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.