DescriptionExpose minContentWidth/maxContentWidth and a callback for computing them.
This exposes the last hooks needed to implement flexbox layout. For now,
I didn't worry too much about the exact API we're exposing since this will
all change with the upcoming redesign (e.g. https://codereview.chromium.org/1093633002).
minContentWidth == the width if the element were to wrap at every wrapping point (not including border/padding)
maxContentWidth == the width if the element were to only wrap at hard wrapping points (e.g. \n inside a whitespace: pre).
R=eseidel@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/636e4b166e82f9751dc530d1f1547fa0e06edc9f
Patch Set 1 #Patch Set 2 : make variable names consistent #
Total comments: 2
Messages
Total messages: 5 (1 generated)
|