3 ms·
But if "A over C and B over C", is A over B?
by stavros 4y ago
But if "A over C and B over C", is A over B?
- shhsshs 4y agoI imagine it would just pick an order unless you also wrote a rule for A relative to B
- stavros 4y agoYes, that's the most reasonable thing to do, but an absolute index has much less room for that. Though you then need to allow decimals, so things can be positioned between things that are already adjacent. The other issue it doesn't have is if you specify "A over B and B over A".
- gberger 4y agoThis is a topological sort without a unique solution. https://en.wikipedia.org/wiki/Topological_sorting#Uniqueness https://en.wikipedia.org/wiki/Topological_sorting#Uniqueness
- moonchild 4y agoIsn't that the same as giving two elements the same z-index?