Just wondering... would it be possible to take this CL as step further, so that it actually adds some behavior changes, and a test or two (or seven)? When adding new code, it's always nice if it's also testable somehow.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Just wondering... would it be possible to take this CL as step further, so that it actually adds some behavior changes, and a test or two (or seven)? When adding new code, it's always nice if it's also testable somehow.
Good question!
Technically some of the existing container fragmentation WPT tests are hitting this code (since I hit a crash when the `total_intrinsic_block_size` wasn't set correctly when setting up the fragmentation block in this change) but since we don't do anything interesting with the data yet, this one probably isn't super interesting to test on its own.
I was planning to aggregate the GridLaneData vector in the next CL which I think will be interesting to add unit tests for to make sure that is aggregating as expected. Happy to lump that in here, but figured this may be easier to read the diff without that.
I can also wait to land this one until I've gotten that follow up in place and have it reviewed with those tests (to keep the reviews scoped, but have tests in place exercising this path more explicitly in the follow up)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Alison MaherJust wondering... would it be possible to take this CL as step further, so that it actually adds some behavior changes, and a test or two (or seven)? When adding new code, it's always nice if it's also testable somehow.
Good question!
Technically some of the existing container fragmentation WPT tests are hitting this code (since I hit a crash when the `total_intrinsic_block_size` wasn't set correctly when setting up the fragmentation block in this change) but since we don't do anything interesting with the data yet, this one probably isn't super interesting to test on its own.
I was planning to aggregate the GridLaneData vector in the next CL which I think will be interesting to add unit tests for to make sure that is aggregating as expected. Happy to lump that in here, but figured this may be easier to read the diff without that.
I can also wait to land this one until I've gotten that follow up in place and have it reviewed with those tests (to keep the reviews scoped, but have tests in place exercising this path more explicitly in the follow up)
Maybe try lumping it in, and I'll see if I can wrap my head around it. 😊
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Alison MaherJust wondering... would it be possible to take this CL as step further, so that it actually adds some behavior changes, and a test or two (or seven)? When adding new code, it's always nice if it's also testable somehow.
Morten StenshorneGood question!
Technically some of the existing container fragmentation WPT tests are hitting this code (since I hit a crash when the `total_intrinsic_block_size` wasn't set correctly when setting up the fragmentation block in this change) but since we don't do anything interesting with the data yet, this one probably isn't super interesting to test on its own.
I was planning to aggregate the GridLaneData vector in the next CL which I think will be interesting to add unit tests for to make sure that is aggregating as expected. Happy to lump that in here, but figured this may be easier to read the diff without that.
I can also wait to land this one until I've gotten that follow up in place and have it reviewed with those tests (to keep the reviews scoped, but have tests in place exercising this path more explicitly in the follow up)
Maybe try lumping it in, and I'll see if I can wrap my head around it. 😊
So I uploaded the follow up branch I have https://chromium-review.googlesource.com/c/chromium/src/+/8135980 and this one ended up getting pretty large, so I split out a few TODOs from that one for dense packing, alignment and reversal data handling for even further future CLs.
It also ended up being a bit weird to test since we now skip adding the item layout results in that branch, deferring to a later placement pass. I added a hacky way to test with a TODO to update once we can rely on the full layout run.
Lmk once you've glanced it over if you'd still prefer to merge these and I can CP that change over here tomorrow
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Alison MaherJust wondering... would it be possible to take this CL as step further, so that it actually adds some behavior changes, and a test or two (or seven)? When adding new code, it's always nice if it's also testable somehow.
Morten StenshorneGood question!
Technically some of the existing container fragmentation WPT tests are hitting this code (since I hit a crash when the `total_intrinsic_block_size` wasn't set correctly when setting up the fragmentation block in this change) but since we don't do anything interesting with the data yet, this one probably isn't super interesting to test on its own.
I was planning to aggregate the GridLaneData vector in the next CL which I think will be interesting to add unit tests for to make sure that is aggregating as expected. Happy to lump that in here, but figured this may be easier to read the diff without that.
I can also wait to land this one until I've gotten that follow up in place and have it reviewed with those tests (to keep the reviews scoped, but have tests in place exercising this path more explicitly in the follow up)
Alison MaherMaybe try lumping it in, and I'll see if I can wrap my head around it. 😊
So I uploaded the follow up branch I have https://chromium-review.googlesource.com/c/chromium/src/+/8135980 and this one ended up getting pretty large, so I split out a few TODOs from that one for dense packing, alignment and reversal data handling for even further future CLs.
It also ended up being a bit weird to test since we now skip adding the item layout results in that branch, deferring to a later placement pass. I added a hacky way to test with a TODO to update once we can rely on the full layout run.
Lmk once you've glanced it over if you'd still prefer to merge these and I can CP that change over here tomorrow
I don't think this looks too scary. Just lump it together, and I'll review it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Alison MaherJust wondering... would it be possible to take this CL as step further, so that it actually adds some behavior changes, and a test or two (or seven)? When adding new code, it's always nice if it's also testable somehow.
Morten StenshorneGood question!
Technically some of the existing container fragmentation WPT tests are hitting this code (since I hit a crash when the `total_intrinsic_block_size` wasn't set correctly when setting up the fragmentation block in this change) but since we don't do anything interesting with the data yet, this one probably isn't super interesting to test on its own.
I was planning to aggregate the GridLaneData vector in the next CL which I think will be interesting to add unit tests for to make sure that is aggregating as expected. Happy to lump that in here, but figured this may be easier to read the diff without that.
I can also wait to land this one until I've gotten that follow up in place and have it reviewed with those tests (to keep the reviews scoped, but have tests in place exercising this path more explicitly in the follow up)
Alison MaherMaybe try lumping it in, and I'll see if I can wrap my head around it. 😊
Morten StenshorneSo I uploaded the follow up branch I have https://chromium-review.googlesource.com/c/chromium/src/+/8135980 and this one ended up getting pretty large, so I split out a few TODOs from that one for dense packing, alignment and reversal data handling for even further future CLs.
It also ended up being a bit weird to test since we now skip adding the item layout results in that branch, deferring to a later placement pass. I added a hacky way to test with a TODO to update once we can rely on the full layout run.
Lmk once you've glanced it over if you'd still prefer to merge these and I can CP that change over here tomorrow
I don't think this looks too scary. Just lump it together, and I'll review it.
Sounds good, cherry picked over and updated the description to reflect the combined changes
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
grid_layout_subtree =Only used if inside block fragmentation. Maybe only create it then?
if (!out_grid_lanes) {Maybe explain this in a comment?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Only used if inside block fragmentation. Maybe only create it then?
Good point, moved!
Maybe explain this in a comment?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |