W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2015

Re: some fix for block-flow-direction-007.xht

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 08 Feb 2015 15:34:33 -0500
To: 塩澤 元 (Shiozawa, Hajime) <hajime.shiozawa@gmail.com>
Cc: Koji Ishii <kojiishi@gluesoft.co.jp>, Public CSS test suite mailing list <public-css-testsuite@w3.org>
Message-ID: <8c12965a9597c7e431abeeb34aab0bff@gtalbot.org>
Le 2015-02-08 09:02, Gérard Talbot a écrit :
> Le 2015-02-08 03:49, 塩澤 元 a écrit :
>> Gérard,
>> 
>> I have added border-bottom property because a rendered page of
>> block-flow-direction-007.xht has no blue border in the bottom.
>> I think that it is not bug of browser but the mistake of test.
>> 
>> changeset: http://hg.csswg.org/test/rev/1b817c29045a
>> 
>> 
>> Hajime.
> 
> Hajime, that is a good catch!
> 
> I believe I modified, reduced this test
> 
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/wm-block-flow-direction-006.xht
> 
> and then trusted Firefox's rendering.
> 
> 
> I have reduced, "cornered" the problem to this reduced test:
> 
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/float-bug-Firefox.xht
> (I may filename-rename this test later...)

That test has been filename-renamed to

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/float-shrink-to-fit-basic.xht

> Chrome 40.0.2214.111, IE11 and Prince 9.0.5 pass this test.
> 
> Shrink-to-fit width should apply to logical width. The bug is
> noticeable in both vertical writing-mode and for both 'float: left'
> and 'float: right' declarations.

Hajime, you definitely stumbled on something which I could have 
overlooked... but, eventually, either we would have found such issue or 
Mozilla would have logicalized the 'shrink-to-fit' rule for non-replaced 
block with 'width: auto' (CSS2.1, §10.3.5 [1]) So:

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/float-shrink-to-fit-both-borders.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/float-shrink-to-fit-both-horizontal-border-padding.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/float-shrink-to-fit-016.xht

Firefox 38.0a1 buildID 20150204150323 fails all these tests (there are 
32 possible combinations of smaller tests here).

Chrome 40.0.2214.111, IE11 and Prince 9.0.5 pass all these tests; we can 
safely assume that they pass all 32 possible combinations of tests here.

Thank you for your feedback on this, Hajime!

Gérard

[1]: CSS2.1, §10.3.5 Floating, non-replaced elements
{
If 'margin-left', or 'margin-right' are computed as 'auto', their used 
value is '0'.

If 'width' is computed as 'auto', the used value is the "shrink-to-fit" 
width.
}
http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#float-width

Gérard
-- 
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html
Received on Sunday, 8 February 2015 20:35:06 UTC

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