RESOLVED FIXED 218745
[css-flex] Better naming from some methods
https://bugs.webkit.org/show_bug.cgi?id=218745
Summary [css-flex] Better naming from some methods
Sergio Villar Senin
Reported 2020-11-10 04:17:24 PST
[css-flex] Better naming from some methods
Attachments
Patch (22.42 KB, patch)
2020-11-10 04:36 PST, Sergio Villar Senin
no flags
Patch (22.40 KB, patch)
2020-11-11 01:26 PST, Sergio Villar Senin
jfernandez: review+
Sergio Villar Senin
Comment 1 2020-11-10 04:36:01 PST
Javier Fernandez
Comment 2 2020-11-10 04:58:45 PST
Comment on attachment 413684 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413684&action=review > Source/WebCore/rendering/RenderFlexibleBox.cpp:390 > { I'm not totally sure about this change. Somehow, we are using a different concept here; flow vs size. What about mainAxisFlowIsChildBlockFlow using the concepts used in the CSS Logical Prooperties [1] about the flow-relative dimensions, based on the Writing Modes terminology [2] ]1] https://www.w3.org/TR/css-logical-1/#directional-keywords [2] https://www.w3.org/TR/css-writing-modes-4/#block-flow
Sergio Villar Senin
Comment 3 2020-11-10 07:10:55 PST
Comment on attachment 413684 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413684&action=review >> Source/WebCore/rendering/RenderFlexibleBox.cpp:390 >> { > > I'm not totally sure about this change. Somehow, we are using a different concept here; flow vs size. > > What about mainAxisFlowIsChildBlockFlow using the concepts used in the CSS Logical Prooperties [1] about the flow-relative dimensions, based on the Writing Modes terminology [2] > > ]1] https://www.w3.org/TR/css-logical-1/#directional-keywords > [2] https://www.w3.org/TR/css-writing-modes-4/#block-flow Makes sense. What about mainAxisIsChildInlineAxis() ? Note that I'm changing the equality bellow, so we no longer check the block but the inline direction.
Javier Fernandez
Comment 4 2020-11-11 01:22:10 PST
Comment on attachment 413684 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413684&action=review >>> Source/WebCore/rendering/RenderFlexibleBox.cpp:390 >>> { >> >> I'm not totally sure about this change. Somehow, we are using a different concept here; flow vs size. >> >> What about mainAxisFlowIsChildBlockFlow using the concepts used in the CSS Logical Prooperties [1] about the flow-relative dimensions, based on the Writing Modes terminology [2] >> >> ]1] https://www.w3.org/TR/css-logical-1/#directional-keywords >> [2] https://www.w3.org/TR/css-writing-modes-4/#block-flow > > Makes sense. What about mainAxisIsChildInlineAxis() ? Note that I'm changing the equality bellow, so we no longer check the block but the inline direction. OK
Sergio Villar Senin
Comment 5 2020-11-11 01:26:54 PST
Sergio Villar Senin
Comment 6 2020-11-16 01:51:15 PST
Radar WebKit Bug Importer
Comment 7 2020-11-16 01:52:17 PST
Note You need to log in before you can comment on or make changes to this bug.