- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sun, 7 Nov 2010 13:15:50 -0800
- 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 UTC