W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-content] Inserting and replacing content with the 'content' property

From: Bruce Lawson <brucel@opera.com>
Date: Tue, 11 Nov 2014 11:35:47 +0000
Message-ID: <CAAFGRecc7LVSKTrqvqxShHoZE_9PVRUE2yU1QwQva2CZkV94EA@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: Bogdan Brinza <bbrinza@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
On 11 November 2014 11:23, Florian Rivoal <florian@rivoal.net> wrote:
> there were web-compat concerns back at Opera

FYI, there were sites doing "clearfix" but instead of doing

.container:after {
  content:"";
  display:table;
  clear:both;
}

they'd typo'd it to

.container  {
  content:"";
...
}

and so replaced all their content with "" in Presto Opera. (and, of
course, their "clearfix" didn't work in any other browser).
Received on Tuesday, 11 November 2014 11:36:16 UTC

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