layout/generic/nsGridContainerFrame.cpp
7b8f601030db44c1f6d8c16889a6ec599efeb97a
created 2015-11-03 21:45 +0100
pushed 2015-11-03 20:45 +0000
Mats Palmgren Mats Palmgren - Bug 1215182 - [css-grid] Make our "Implicit Named Areas" detection match the spec. r=dholbert
08064bb472dd352b99400a3d71ee534259e3e7ef
created 2015-11-03 21:45 +0100
pushed 2015-11-03 20:45 +0000
Mats Palmgren Mats Palmgren - Bug 1211260 - Implement the new Grid Placement Conflict Handling: "If the placement for a grid item contains two lines, and the start line is further end-ward than the end line, swap the two lines." r=dholbert
eb15cd3ed6fa390c692eaa0cf298905d5e737be9
created 2015-11-03 21:45 +0100
pushed 2015-11-03 20:45 +0000
Mats Palmgren Mats Palmgren - Bug 1215099 part 2 - [css-grid] An empty grid should still have one explicit grid line in each axis. r=dholbert
3bb626ed4c3777a077ef6dc9537848cf7be4a4e1
created 2015-11-03 17:52 +0100
pushed 2015-11-03 16:52 +0000
Mats Palmgren Mats Palmgren - Bug 1151214 part 3 - [css-grid][css-align] Implement layout for the 'justify-content' and 'align-content' CSS properties on grid containers. r=dholbert
c89dd8e9559c0f608b889b63bbf6eba600ec4e97
created 2015-11-03 17:52 +0100
pushed 2015-11-03 16:52 +0000
Mats Palmgren Mats Palmgren - Bug 1151213 part 1 - [css-grid][css-align] Implement layout for the 'align-self' and 'justify-self' properties on grid items. r=dholbert
a31775ecf4e27d31e7345943a992499c6c1d23fa
created 2015-09-15 23:34 +0200
pushed 2015-09-15 21:34 +0000
Mats Palmgren Mats Palmgren - Bug 1204585 part 1 - [css-grid] Use the grid area's size when converting to physical coordinates for abs.pos. items. r=dholbert
56e29e6d877eab5f887cc93bfeff34a9a63144e9
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert
bacad119cc26f53894d092bdd32f95a88ab70308
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert
cf5ad7ef6a431e1dac70e0e3b0fb302708e69b3b
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert
71aea85370eb0e201273883b71755851e604751b
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert
ed39340ecfc9e142a9dc38f3dd0350daa338f14a
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1176619 - [css-grid] Implement the "Maximize Tracks" algorithm. r=dholbert
390aba3006bcfa823c5bcc6d8431f7472d0f3de9
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1151212 part 3 - [css-grid] Implement the "Resolve Intrinsic Track Sizes" algorithm. r=dholbert
2ce4a3b6fdb3c005d70129175d2ba0ad090d6e4d
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1174553 part 3 - [css-grid] Implement the 'min-content' / 'max-content' sizing functions in layout. r=dholbert
526a90883787300d10d713ffd2a8003ee634df8e
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1174546 part 2 - [css-grid] Implement the 'auto' min-sizing function in Grid layout. r=jfkthame
f2257fc4cacc9ac889a6ab17657b88d8fecb4070
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1151212 part 2 - [css-grid] Introduce a local GridItemInfo struct for holding a grid item's GridArea and other things. Put two nsTArrays of those in the grid container frame, one for normal flow items and one for abs.pos. grid-aligned descendants. Add a GridItemIndex method on the grid item iterator to return the index for the current item. r=dholbert
55426564ef57fc2bb241edf7e6a7d6700a6e04d4
created 2015-09-04 22:06 +0200
pushed 2015-09-06 11:09 +0000
Mats Palmgren Mats Palmgren - Bug 1151212 part 1 - [css-grid] Introduce a few local structs (GridReflowState, Tracks, TrackSizingFunctions) to make it easier to pass around data. r=dholbert
dafa4f1221cb6269870df97ecf8194b09df4d7ef
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 96fd29a6c902 (bug 1151212)
bcf33493cd70e95b6f0c8dcd95c1ce36fd20bdc9
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 1194452bc071 (bug 1151212)
7d4c97e1be9d05e0cd7e4a174f864f645aa2261d
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset f7ccd13584ad (bug 1174546)
c8e1442c657f09fc3637d20e0051db62389cf8ad
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 4a0c4ece75db (bug 1174553)
0e91fd985dcdf318720b3ad131c7ae0876eeb774
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset ada43c8af8ca (bug 1151212)
11e2a307334cec3cfbbd6751fec739999337bd6b
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 19b5e154c6f9 (bug 1176619)
444dfe67e0e6501c3651b0ba3339303e172a8606
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 6bbbffdbda5b (bug 1176621)
dcc2e7019aa2a3ac5cbf0bac69dad6e25e4f5368
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 16cf05b1664c (bug 1174574)
2b4eff0977f2ad72b25c36f159a2d5e52358efea
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset fd3a53075e54 (bug 1174574)
de7911128dc59ba53c6fe3767accc0fe503fec45
created 2015-09-04 16:22 -0700
pushed 2015-09-04 23:23 +0000
Wes Kocher Wes Kocher - Backed out changeset 332af3c9e366 (bug 1174553)
332af3c9e3667ee4c106fc5e647f6b13d7bb2041
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert
fd3a53075e540d98ff49d092697503fc3445f4ff
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert
16cf05b1664c04e73ae9a4a4fb297cf1311136c3
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert
6bbbffdbda5b8ab54cde7ec921a5c2c3cf977da2
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert
19b5e154c6f9d6e5c021085c6d94d8f76456412b
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1176619 - [css-grid] Implement the "Maximize Tracks" algorithm. r=dholbert
ada43c8af8cac74376a7b09b71ca92fbb4d1bad9
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1151212 part 3 - [css-grid] Implement the "Resolve Intrinsic Track Sizes" algorithm. r=dholbert
4a0c4ece75db8c5b30a7703a20f5453286a377fa
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1174553 part 3 - [css-grid] Implement the 'min-content' / 'max-content' sizing functions in layout. r=dholbert
f7ccd13584ad2fd607770e8a0cef424aaf77f749
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1174546 part 2 - [css-grid] Implement the 'auto' min-sizing function in Grid layout. r=jfkthame
1194452bc07184aecf9c94df28b09fdf97be85c2
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1151212 part 2 - [css-grid] Introduce a local GridItemInfo struct for holding a grid item's GridArea and other things. Put two nsTArrays of those in the grid container frame, one for normal flow items and one for abs.pos. grid-aligned descendants. Add a GridItemIndex method on the grid item iterator to return the index for the current item. r=dholbert
96fd29a6c902d80fa42c38f3cd0c8e8cc9a75371
created 2015-09-04 22:06 +0200
pushed 2015-09-04 20:07 +0000
Mats Palmgren Mats Palmgren - Bug 1151212 part 1 - [css-grid] Introduce a few local structs (GridReflowState, Tracks, TrackSizingFunctions) to make it easier to pass around data. r=dholbert
8b3601d4fce4521cad1752f7be418ccd5fc71604
created 2015-08-25 15:40 +0200
pushed 2015-08-25 13:40 +0000
Mats Palmgren Mats Palmgren - Bug 1194888 - [css-grid] A line outside the existing grid should be treated as 'auto' for abs.pos (10.1). r=dholbert
20b711ad73c4602316dc758e4d431178863c225c
created 2015-08-25 15:40 +0200
pushed 2015-08-25 13:40 +0000
Mats Palmgren Mats Palmgren - Bug 1194892 - [css-grid] "span * / span *" should be treated as "auto / auto" for abs.pos. grid items. r=dholbert
28673cc5e68b48d6a397b027a6ef5321703dea4a
created 2015-07-16 10:07 +0100
pushed 2015-07-16 09:22 +0000
Jonathan Kew Jonathan Kew - Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert
e3057db49f4e29dcb0fe1ebdfc94b4ed2bd5ea81
created 2015-06-06 07:15 +0100
pushed 2015-06-06 06:16 +0000
Jonathan Kew Jonathan Kew - Bug 1171773 - Handle reflowing a grid item with different writing mode from its grid container. r=mats
3bd84f421677d7f41d98efdca3e6dbb1c691f22d
created 2015-05-05 21:53 +0000
pushed 2015-05-05 21:53 +0000
Mats Palmgren Mats Palmgren - Bug 1161038 - [css-grid] Make kAutoLine not clash with translated grid lines. r=dholbert
55d911f8cb6a61621866feab66afd0ee59dfd3ce
created 2015-05-05 21:53 +0000
pushed 2015-05-05 21:53 +0000
Mats Palmgren Mats Palmgren - Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert
d15e7deb67fd28c86d363287ee4e181439a1e2ea
created 2015-05-05 21:53 +0000
pushed 2015-05-05 21:53 +0000
Mats Palmgren Mats Palmgren - Bug 1151316 part 1 - [css-grid] Implement relative positioning for grid items. r=roc
21fa8192f848663764c8bb384a98b9a8b7256daf
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1151201 - [css-grid] Update parsing of 'auto' in track-sizing functions to latest version of the spec. r=simon.sapin
04f190dd9090cb33e16deffbac992b0a32b92ca5
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 8 - [css-grid] Iterate all items again instead of collecting the ones with a definite position in an array which wouldn't be much of win anyway. r=dholbert
6d8c24568ae45b21f90682457a8cebc23262c06c
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 7 - [css-grid] Make LineRange::mStart/mEnd into a union with both a signed/unsigned members to make it clear when we're working with translated line numbers and when not. r=dholbert
cd838a901830defba07d859b8ea282a6968d18a5
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 6b - [css-grid] Clamp grid lines after resolving 'auto'. r=dholbert
3e1c6c1d1a350a7ead65ad30a4a2d8bc6a287383
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 6 - [css-grid] Make the grid zero-based after resolving definite lines. r=dholbert
224b82a7ed131e731ef621c0a85d7cde962ab159
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 5b - [css-grid] Clamp resolved definite lines for abs.pos. to the untranslated grid bounds. r=dholbert
a5d65e0edabcc307b854d53db8ade0f5e68dc02a
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 5 - [css-grid] Resolve definite lines such that they expand the implicit grid also to the top/left as needed. Also, implement the 'If not enough lines with that name exist, all lines in the implicit grid are assumed to have that name' spec change when resolving <custom-ident> with <integer> or span. r=dholbert
e2be01a8ae2cf9f5fb2e88540f5dee41ddf6aafe
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 4 - [css-grid] Translate the grid so that the top-/left-most implicit line becomes 1,1. r=dholbert
32b9547b85212d1f94912b9c129e4c32696388c9
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 3 - [css-grid] Simplify some code because ResolveLine() never returns kAutoLine. r=dholbert
68280190891dedb53e5d65510bb8ba3cd31d7870
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 2 - [css-grid] Remove dead code because ResolveLine() never returns kAutoLine. r=dholbert
2a45e4b0f23eae02333a0aa6d8bc674ff17e4a8e
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1146051 part 1 - [css-grid] Change the representation of 'auto' from zero to kAutoLine - an arbitrary number outside the range we clamp definite lines to. r=dholbert
9a7c7a133dd60195cf5292510fe913beaa94d69d
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1147423 part 2 - [css-grid] Clamp grid lines to the -10000 .. 10000 range. r=dholbert
fa682ace73660c86a62b3928dbc2f7eb878b781d
created 2015-04-30 18:42 +0000
pushed 2015-04-30 18:43 +0000
Mats Palmgren Mats Palmgren - Bug 1147423 part 1 - [css-grid] Use a signed integer type for some line variables in preparation for negative implicit lines. r=dholbert
646e795e8e46d650e3218197f0e7a831f7516254
created 2015-04-10 16:56 +0100
pushed 2015-04-10 15:56 +0000
Jonathan Kew Jonathan Kew - Bug 1153140 - Include borderPadding width in the containerWidth for grid item placement. r=mats
b2cc5a85ed5d252668397889c82e8540d67d37a0
created 2015-04-04 08:50 -0400
pushed 2015-04-06 13:12 +0000
Mats Palmgren Mats Palmgren - Bug 1151220 - [css-grid] Fix a couple of typos in InitializeTrackSize. r=dholbert
41c005e9398e95871789aa21bb0f26559320b3d9
created 2015-03-29 22:38 +0000
pushed 2015-03-29 22:39 +0000
Mats Palmgren Mats Palmgren - Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc
c2c20dfa58f642b911acbb4bdb81fa08c879503d
created 2015-03-26 18:57 +0000
pushed 2015-03-26 18:58 +0000
Mats Palmgren Mats Palmgren - Bug 1107786 - part 3, [css-grid] Implement layout and painting per the CSS 'order' property for absolute positioned grid items. r=dholbert
less more (0) -60 tip