- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 12 Oct 2009 14:40:45 -0700
- To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>, Arron Eicholz <Arron.Eicholz@microsoft.com>
http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_5/first-line-selector-011.xht This test doesn't seem quite right. Try relative positioning the span with position: relative; left: 10em; top: 3em; and you'll see what's happening: the green background is being applied to either the line box itself or the anonymous inline around the inline block, not to the inline-block. The test should be changed to reflect this model somehow, otherwise we'll have implementors trying to pass it by doing something stupid. I'd suggest testing the assertion given in the meta tag with div:first-line { color: red; } and asserting for no red. Even better would be something like this: <style> span { display: inline-block; } div { background: white; color: white; } div:first-line { color: red; font-weight: bold; } </style> <div><span>FAIL<br/>FAIL</span></div> ~fantasai
Received on Monday, 12 October 2009 21:41:22 UTC