W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2011

[RC6] inline-formatting-context-016 text assert incorrect

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 3 Apr 2011 16:21:38 -0700
Message-ID: <514843285e8c7323ff585e1cbdb7f6a8.squirrel@cp3.shieldhost.com>
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Arron,

http://test.csswg.org/suites/css2.1/20110323/html4/inline-formatting-context-016.htm
(RC6)

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/inline-formatting-context-016.htm

        <meta name="assert" content="When the inline box is wider than
the line boxes the 'text-align' property is used to align the
line boxes.">

        <style type="text/css">
            div
            {
                border: solid black;
                text-align: right;
                width: 200px;
            }
        </style>

    </head>
    <body>
        <p>Test passes if the "Filler Text" is aligned to the right side
of the box.</p>
        <div>
            <span>Filler Text</span><span>Filler Text</span>
        </div>


Proposed correction
-------------------

        <meta name="assert" content="When the width of all inline boxes
on a line is less than the width of line box which contains
them, then the 'text-align' property aligns such inline boxes.">

Setting the width of the div to 200px is not necessary and not needed
for the testcase.

regards, 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 contributors:
http://test.csswg.org/source/contributors/
Received on Sunday, 3 April 2011 23:22:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 3 April 2011 23:22:23 GMT