W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2010

[RC3] before-after-floated-001 relies on CSS3 double-colon grammar for pseudo-element

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 7 Nov 2010 13:15:50 -0800
Message-ID: <f10e5f6fc4a1b05c277f941091b5cfed.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

http://test.csswg.org/suites/css2.1/20101027/html4/before-after-floated-001.htm

http://test.csswg.org/suites/css2.1/20101027/xhtml1/before-after-floated-001.xht

The following (CSS3 double colon grammar) ::before and ::after is not
CSS 2.1 compliant:

div::before {
  content:counter(ctr) url(support/square-outline-32x32.png) open-quote
"Before " attr(class);
  counter-increment:ctr;
}
div::after {
  content:counter(ctr) url(support/square-outline-32x32.png) "After "
attr(class) close-quote;
  counter-increment:ctr;
}

.beforeleft::before {
  float:left;
}
.beforeright::before {
  float:right;
}
.afterleft::after {
  float:left;
}
.afterright::after {
  float:right;
}

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (RC3; October 27th 2010):
http://test.csswg.org/suites/css2.1/20101027/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Sunday, 7 November 2010 21:16:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 7 November 2010 21:16:31 GMT