@geastack/engine 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ui/layout.cpp +3 -1
package/package.json
CHANGED
package/ui/layout.cpp
CHANGED
|
@@ -1783,7 +1783,9 @@ private:
|
|
|
1783
1783
|
int extent = 0;
|
|
1784
1784
|
for (int c = childNode.first_child; c >= 0; c = nodes[c].next_sibling) {
|
|
1785
1785
|
const Node &grand = nodes[c];
|
|
1786
|
-
|
|
1786
|
+
// Ignored DOM whitespace has no box to contribute to the flex item's minimum.
|
|
1787
|
+
if (isLayoutExcluded(grand) || isOutOfFlowPosition(grand.computedStyle().position) ||
|
|
1788
|
+
suppressAnonymousWhitespace(nodes, grand.parent, c)) continue;
|
|
1787
1789
|
// layout.{x,y} are still parent-relative here: resolveAbsoluteCoords runs
|
|
1788
1790
|
// after the whole layout pass. A text run's laid-out box is its line box,
|
|
1789
1791
|
// as wide as the space it was offered (and offset by text-align), so it
|