W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: Domain selectors

From: Jens Oliver Meiert <jens@meiert.com>
Date: Sun, 8 Mar 2015 23:02:34 +0100
Message-ID: <CAJ0g8QSpagCqvzJ-HYZJYAtj3bDGdGx=pjACk4tb55GC7pJXAA@mail.gmail.com>
To: Marat Tanalin <mtanalin@yandex.ru>, "L. David Baron" <dbaron@dbaron.org>
Cc: W3C WWW Style <www-style@w3.org>
I had missed @document, thanks for sharing!

On scanning I wonder whether @document isn’t rather complicated, and
would deem the @-rule format a bigger issue than the likely repetition
of selectors as proposed with [host=]. @document doesn’t seem to be
much of an advantage over just using a separate style sheet, an option
always at our disposal, whereas [host=], as a selector, would allow
for easy, DRY domain-specific adjustments.

I’m not sure whether that also explains hesitation on behalf of
implementors, however as it stands I still see merit in exploring a
selector version of @document. Is there anything else we might be
missing here?

-- 
Jens Oliver Meiert
http://meiert.com/en/

✎ The Little Book of HTML/CSS Frameworks: http://meiert.com/frameworks
Received on Sunday, 8 March 2015 22:03:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC