| Summary: | [css-flexbox] flex-grow property should be animatable | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||||
| Component: | CSS | Assignee: | Sergio Villar Senin <svillar> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | changseok, darin, dino, esprehn+autocc, ews-watchlist, glenn, graouts, graouts, kondapallykalyan, pdr, simon.fraser, svillar, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=180435 https://bugs.webkit.org/show_bug.cgi?id=209874 https://bugs.webkit.org/show_bug.cgi?id=209876 |
||||||||
| Attachments: |
|
||||||||
|
Description
Carlos Alberto Lopez Perez
2020-04-01 13:07:41 PDT
Created attachment 411314 [details]
Patch
Comment on attachment 411314 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411314&action=review r+ assuming EWS bots are happy as well, thanks for adding this. > Source/WebCore/rendering/style/RenderStyle.h:1104 > + void setFlexGrow(float f) { float v = std::max<float>(f, 0.f); SET_NESTED_VAR(m_rareNonInheritedData, flexibleBox, flexGrow, v); } Perhaps spell out what `v` stands for here. Since you're clamping, perhaps call that out in the variable name. Created attachment 411321 [details]
Patch for landing
Committed r268516: <https://trac.webkit.org/changeset/268516> |