Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Masonry] Ignore auto-placement cursor when finding track openings in
Per the resolution here:
https://github.com/w3c/csswg-drafts/pull/12807#event-19756655852 ignore
the auto-placement cursor when searching for openings in dense-packing.
This change also updates tests to no longer prioritize track openings
closest after the auto-placement cursor.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
One minor thought on the explicit position case, but can be done in a separate change if it makes sense
// Find the highest eligible opening iterating from the auto-placement cursor
This comment is no longer accurate (can be updated in a follow up)
(!masonry_item.is_auto_placed && item_span != initial_span)) {
Relooking at this case, I think what would be simpler is to break this out and do:
if (!masonry_item.is_auto_placed && item_span != initial_span)
break;
}
Otherwise, we will essentially just loop through till the end line, when all we needed to do was check the current span
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Find the highest eligible opening iterating from the auto-placement cursor
This comment is no longer accurate (can be updated in a follow up)
Done
(!masonry_item.is_auto_placed && item_span != initial_span)) {
Relooking at this case, I think what would be simpler is to break this out and do:
if (!masonry_item.is_auto_placed && item_span != initial_span)
break;
}Otherwise, we will essentially just loop through till the end line, when all we needed to do was check the current span
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |