|
|
|
|
|
by moron4hire
204 days ago
|
|
Yes, for that specific example it works. But in general, this essentially deletes the UL from the layout entirely. It won't be stylable[0] and it won't dispatch UI events that occur on it specifically. One example of a reason you might want such an element to still participate in layout is to use that element as an area highlighter. Or you might make it a scrollable section; subgrid makes sticky-header tables rather trivial to implement now. [0] Well, I can't remember right now if it's unstylable or if its height just ends up zero, but either way, it might not be what you expect. |
|