Re: @else in Media Queries
"Simon Pieters" <[email protected]> Wed, 22 Jun 2016 00:12:56 +0200
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <op.yjfhbuinidj3kv@simons-mbp> |
On Tue, 21 Jun 2016 19:22:52 +0200, Tab Atkins Jr. <[email protected]> wrote: > I'd strongly prefer not having the OM be gratuitiously different from > the syntax. That's just confusing for everyone, and makes it more > confusing to work with, not less - how do you add an @else rule to the > document via the OM? Can you just append it to the stylesheet and > magic happens, or do you need to get that final conditional rule, > chase its .else pointers until you hit a null, then set it to your new > rule? Yeah, I suppose it would indeed be confusing. > Again, this is not a "problem" in any other language. It's not a > realistic editting hazard, and doesn't need special treatment in CSS. > People can handle sibling rules being implicitly linked, I promise. > > ~TJ -- Simon Pieters Opera Software