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>


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..


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>

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


Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Thursday, 31 January 2013 02:30:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:19 UTC