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

Re: [CSS21][css-content] Resizing pseudo-elements with content: url()

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 18 Feb 2015 09:10:08 -0500
Message-ID: <54E49D40.5030207@mit.edu>
To: www-style@w3.org
On 2/18/15 3:58 AM, Daniel Tan wrote:
> However, CSS2.1 says nothing at all about replaced elements in the
> section on content: url(), which leads me to believe this is new to
> level 3.

It is.

CSS2.1 doesn't really clearly define the processing model of 'content' 
on ::before and ::after, but the informative examples in CSS 2.1, the 
fact that 'content' specifies a _list_ of things, and the desire for 
consistency has led to UA behavior being the following: the 'content' 
property specifies a list of things that become children of the ::before 
or ::after box.

Received on Wednesday, 18 February 2015 14:10:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:51 UTC