Re: [csswg-drafts] [css-ui-3] Can |CSS resize| change the value of the width/height properties which has been set with !Important? (#5184)

Yeah, the phrasing isn't great. what this means is that the style is injected in to a style attribute, and does not include `!important`. So:
* If there was an existing style attribute with `!important`, it gets replaced by the new one
* if there was a `!important` in the stylesheet (not in a style attribute), it wins over whatever resize would like to do.

This has been a while, so I don't fully remember, but I believe this design was much more driven by existing implementations and compat than by a belief this was a smart approach. If this is causing issues *and* there's evidence than a better behavior would be web compatible, we could definitely consider it.

Otherwise, maybe just an editorial clarification is in order.

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

Received on Saturday, 25 July 2020 10:10:52 UTC