W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2013

properties-value-002 : vertical-align only applies to inlines and cells

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 30 Jan 2013 21:30:24 -0500
Message-ID: <0b2591e51b67ffa0bf99a99222a77d9d.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Rodney Rehm" <mail@rodneyrehm.de>
Cc: "Public CSS Test suite mailing list" <public-css-testsuite@w3.org>
Rod,

http://test.csswg.org/source/contributors/rodneyrehm/submitted/css3-transitions/properties-value-002.html

Can you check the code with regards to vertical-align values. It seems
to me that the failure message is not making sense.

Fail	vertical-align vertical(keyword) / values	assert_not_equals: must
not be target value after start got disallowed value "bottom"
Fail	vertical-align vertical(keyword) / events	assert_equals: Expected
TransitionEnd events triggered on .transition expected
"vertical-align:0.5s" but got ""


Firefox 18.0.1, Opera 12.13 and Chrome 24.0.1312.57 browsers fail with
the same message..


http://test.csswg.org/source/contributors/rodneyrehm/submitted/css3-transitions/support/properties.js

gives at line 257

var missing_properties = {
    'margin-bottom': ['percentage'],
    'margin-left': ['percentage'],
    'margin-right': ['percentage'],
    'margin-top': ['percentage'],
    'padding-bottom': ['percentage'],
    'padding-left': ['percentage'],
    'padding-right': ['percentage'],
    'padding-top': ['percentage'],
    'vertical-align': ['vertical']
};

but 'vertical-align: top' and 'vertical-align: bottom' do not and can
not apply to a block-level element like div.transition.


<div class="transition">Text sample</div>


 'vertical-align'
    Value:  	baseline | sub | super | top | text-top | middle | bottom |
text-bottom | <percentage> | <length> | inherit
    Initial:  	baseline
    Applies to:  	inline-level and 'table-cell' elements


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


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

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Thursday, 31 January 2013 02:30:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 31 January 2013 02:30:58 GMT