Re: [CSS21] min-height: 100% in html, body: 8 tests

Le Jeu 26 janvier 2012 13:25, Lea Verou a écrit :
> http://dabblet.com/result/gist/1683580
>
> Opera is the only one that seems to get it right, every other browser I
> tested (IE, Chrome, Firefox) seems to ignore the min-height declaration.


Here are tests done or ready to be submitted:


1-
'height: 100%' set on html, 'height: 100%' set on body, 'height: 100%' set
on p (h, h, h):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/height-percentage-003a.xhtml


2-
'height: 100%' set on html, 'height: 100%' set on body, 'min-height: 100%'
set on p (h, h, m):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-003.xhtml
and already submitted to CSS 2.1 test suite:
http://test.csswg.org/suites/css2.1/20110323/html4/min-height-percentage-003.htm
and
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/min-height-percentage-003.htm


3-
'height: 100%' set on html, 'min-height: 100%' set on body, 'height: 100%'
set on p (h, m, h):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-005.xhtml


4-
'height: 100%' set on html, 'min-height: 100%' set on body, 'min-height:
100%' set on p (h, m, m):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-004.xhtml


5-
'min-height: 100%' set on html, 'height: 100%' set on body, 'height: 100%'
set on p (m, h, h):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-006.xhtml


6-
'min-height: 100%' set on html, 'height: 100%' set on body, 'min-height:
100%' set on p (m, h, m):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-008.xhtml


7-
'min-height: 100%' set on html, 'min-height: 100%' set on body, 'height:
100%' set on p (m, m, h):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-007.xhtml


8-
'min-height: 100%' set on html, 'min-height: 100%' set on body,
'min-height: 100%' set on p (m, m, m):

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/min-height-percentage-009.xhtml

==============

Note that in some (several?) cases, Opera 11.61 will not repaint
immediately an increased document box height but will do it on maximize or
when also resizing horizontally.

The pass/fail condition sentence will be consistently used in all 8 tests
so that only 1 reftest is required.

Lea, if you want to be credited for the some of those tests, read
Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
and contact me.

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

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Thursday, 26 January 2012 21:16:36 UTC