text-decoration-089

http://test.csswg.org/suites/css2.1/20110323/html4/text-decoration-089.htm
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-decoration-089.htm

This test was mentioned in an earlier mail, but it seems to have issues on  
its own.

1) It says "single orange line", but since the inline-block should not  
have any decoration it will actually be two lines. So the pass condition  
gets a bit confusing.

2) It says "below, underneath the words LINE A and LINE B", but in fact  
this is not guaranteed by the spec. When there are multiple solutions,  
(unfortunately) "CSS 2.1 does not define the position of the line box's  
baseline" [1], and since all the spans (including the inline-block) are  
bottom-aligned, this seems to be the case here.


[1] http://www.w3.org/TR/CSS21/visudet.html#line-height

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Friday, 11 November 2011 10:31:00 UTC