Re: [csswg-drafts] Proposal: Add wrapper pseudo element

@tabatkins

> the use-case of "grouping dt/dd" has now been solved - HTML just allows div inside of dl now for this purpose.

The way how the feature is done unfortunately makes it very limited: multiple nested `DIV`s around `DT`/`DD` are not allowed, so if styling requires that, the good old [`UL`→`LI`→`DL`](http://tanalin.com/en/blog/2014/12/dt-dd/) approach is still relevant and more flexible.

Also, don’t forget CSS-based wrappers could be dynamically changed depending on e.g. media queries which is impossible with hard-coded HTML wrappers.

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

Received on Friday, 19 January 2018 00:28:48 UTC