gecko-dev/layout/tables
Ting-Yu Lin 6fc99638a4 Bug 1909761 Part 4 - Construct a percentage basis when computing children's intrinsic inline size contributions. r=dholbert
A percentage basis is needed to resolve percentage block size when computing
children's intrinsic inline size contributions. This is necessary for a child or
descendants with a preferred aspect-ratio so that the block size can transfer
through the aspect-ratio to become an intrinsic inline size.

The change in `nsFlexContainerFrame::ComputeIntrinsicISize()` is necessary to
keep us passing
`testing/web-platform/tests/css/css-flexbox/image-nested-within-definite-column-flexbox.html`.

The change in `nsPlaceholderFrame::AddFloatToIntrinsicISizeData()` is necessary
to keep us passing
`testing/web-platform/tests/css/css-sizing/intrinsic-percent-replaced-dynamic-010.html`.

`GetISizeInfo()` in BasicTableLayoutStrategy.cpp is modified to pass table cell
frame's bsize as percentage basis. Otherwise,
`layout/reftests/bugs/522632-1.html` fails. This is our current behavior, but it
is bug 1461852.

Differential Revision: https://phabricator.services.mozilla.com/D219523
2024-09-03 04:25:42 +00:00
..
crashtests
reftests
test Bug 1825384 - Use app units in border-collapsed table data, not dev pixels. r=emilio 2024-05-14 13:51:28 +00:00
BasicTableLayoutStrategy.cpp Bug 1909761 Part 4 - Construct a percentage basis when computing children's intrinsic inline size contributions. r=dholbert 2024-09-03 04:25:42 +00:00
BasicTableLayoutStrategy.h Bug 1910428 Part 2 - Convert BtlsISizeType to an enum class. r=layout-reviewers,jfkthame 2024-07-29 22:04:00 +00:00
celldata.h Bug 1825384 - Use app units in border-collapsed table data, not dev pixels. r=emilio 2024-05-14 13:51:28 +00:00
FixedTableLayoutStrategy.cpp Bug 1888535 Part 4 - Remove DISPLAY_PREF_INLINE_SIZE and DISPLAY_MIN_INLINE_SIZE. r=layout-reviewers,emilio 2024-04-02 19:03:04 +00:00
FixedTableLayoutStrategy.h
moz.build
nsCellMap.cpp Bug 1885693: Converted LogicalSide to an enum class, and renamed variables accordingly. r=TYLin 2024-03-26 17:55:16 +00:00
nsCellMap.h
nsITableCellLayout.h
nsITableLayoutStrategy.h
nsTableCellFrame.cpp Bug 1909761 Part 4 - Construct a percentage basis when computing children's intrinsic inline size contributions. r=dholbert 2024-09-03 04:25:42 +00:00
nsTableCellFrame.h Bug 1909761 Part 2 - Create a helper struct IntrinsicSizeInput to aggregate needed data when computing intrinsic inline size. r=dholbert 2024-09-03 04:25:41 +00:00
nsTableColFrame.cpp Bug 1888535 Part 5 - Remove DISPLAY_REFLOW. r=layout-reviewers,emilio 2024-04-02 19:03:05 +00:00
nsTableColFrame.h Bug 1825384 - Use app units in border-collapsed table data, not dev pixels. r=emilio 2024-05-14 13:51:28 +00:00
nsTableColGroupFrame.cpp Bug 1892307 Part 2 - Remove LogicalSideBits. r=layout-reviewers,jfkthame 2024-04-19 22:16:03 +00:00
nsTableColGroupFrame.h
nsTableFrame.cpp Bug 1909761 Part 4 - Construct a percentage basis when computing children's intrinsic inline size contributions. r=dholbert 2024-09-03 04:25:42 +00:00
nsTableFrame.h Bug 1909761 Part 2 - Create a helper struct IntrinsicSizeInput to aggregate needed data when computing intrinsic inline size. r=dholbert 2024-09-03 04:25:41 +00:00
nsTableRowFrame.cpp Bug 1907289 - Reflow table cell if collapsed borders have changed. r=dshin 2024-07-12 15:05:32 +00:00
nsTableRowFrame.h Bug 1825384 - Use app units in border-collapsed table data, not dev pixels. r=emilio 2024-05-14 13:51:28 +00:00
nsTableRowGroupFrame.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
nsTableRowGroupFrame.h
nsTableWrapperFrame.cpp Bug 1909761 Part 2 - Create a helper struct IntrinsicSizeInput to aggregate needed data when computing intrinsic inline size. r=dholbert 2024-09-03 04:25:41 +00:00
nsTableWrapperFrame.h Bug 1909761 Part 2 - Create a helper struct IntrinsicSizeInput to aggregate needed data when computing intrinsic inline size. r=dholbert 2024-09-03 04:25:41 +00:00
SpanningCellSorter.cpp
SpanningCellSorter.h
TableArea.h