W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Proposal: content-style attribute for contenteditable elements

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 17 May 2011 14:05:43 -0400
Message-ID: <4DD2B8F7.2000504@mit.edu>
On 5/17/11 11:23 AM, Tab Atkins Jr. wrote:
> On Tue, May 17, 2011 at 1:09 AM, Markus Ernst<derernst at gmx.ch>  wrote:
>> Special cases:
>> - If the linked CSS document contains declarations for the body element,
>> they are applied to the contenteditable element itself. (This could be
>> necessary in case of light text on dark backgrounds, where you want to apply
>> the background to the contenteditable area.)
>
> It would be cleaner to simply say that the contenteditable element
> matches the :root pseudoclass in the linked sheet.

:root, or :scope?

-Boris
Received on Tuesday, 17 May 2011 11:05:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC