Re: [css-grid] Auto-placement algorithm sparse doubt

Manuel Rego Casasnovas skriver:
> The result will be like in the following diagram:
>
> -------------
> | A | B | B |
> -------------
> | C | B | B |
> -------------
> |   |   |   |
> -------------
>
> I guess that in this case, we can consider that elements appear
> out-of-order (which shouldn't happen in sparse mode).
>
> However, I'm wondering if in step 3), the auto-placement cursor should
> be set to 2/3 (the last occupied cell) instead of 1/2 (the first one).
> In that case "C" will be placed in 3/1.
> And the result would be something like this:
>
> -------------
> | A | B | B |
> -------------
> |   | B | B |
> -------------
> | C |   |   |
> -------------
>
Do note that the dense variant is defined as the sparse variant, but
with the cursor being reset each time. Be careful not to break this trick.

---
Detta epostmeddelande innehåller inget virus eller annan skadlig kod för avast! antivirus är aktivt.
http://www.avast.com

Received on Thursday, 26 June 2014 21:47:52 UTC