Re: [csswg-drafts] [css-pseudo] Add a ::contents pseudo-element

> Alternatively, inheritance could be from `::contents` for all properties, and `assign all: inherit` to `::contents` in UA origin.

That does not sound good. You could always override the ones that you don't like when you turn `::contents { display: /*something other than contents*/}` on, but most things would be sort of crazy: double margin, double border, double padding, double outline, double background, double transforms, double float, double clip-path... That doesn't seem it would ever be what you want. I think the original proposal of having the inherit keyword (at least on non inherited properties) go for the actual element is much more useful.


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

Received on Thursday, 8 March 2018 02:18:25 UTC