Re: [csswg-drafts] [css-page-floats] clearance

> Ah, so you mean you have two top floats and you place the first one at line start and the second one next to it, unless you clear the second float?

Yes. If you clear or if it doesn't fit next to the first one, it goes down. if it fits, it stays on the side

> Have you looked at 8.1 and 8.2 about float placement?

Yes, adjustements will be needed.

> How would this work with column floats that are floating in the inline direction?

The same. For now, this part is less use case driven, and more driven by consistency, but if the float fits next to the previous one, it stays there, and if it does not, or if there's clearance, it is pushed downwards (well, block-end-wards). Like top and bottom floats (with this change) and like old-fashioned floats.

> That being said, if you have implemented something that works differently than the spec and that fullfills the needs of most users, then it may make more sense to change the spec to follow what you are doing rather than the other way round.

That's indeed what happened. We started from the spec logic, and as we tried to fullfil actual use cases from real projects, what we're proposing here turned out to me simpler / more effective.



-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1237#issuecomment-294815395 using your GitHub account

Received on Tuesday, 18 April 2017 12:19:59 UTC