Re: Percentage Height of a Replaced Element in a Table Cell

Le Jeu 9 août 2012 18:15, "Gérard Talbot" a écrit :
>
> Le Jeu 9 août 2012 14:15, Robert Hogan a écrit :

[snipped]

>> The margins are a bit off on some of these tests at the
>> time
>> of
>> writing so they may not be exactly the same size when you check the
>> test
>> -
>
> Well, having everything appropriately declared, perfectly calculated and
> coded is important.


One other point I wanted to mention:

Whenever testing width on table elements or testing width of sub-table
elements (like table columns or table cells), it is best to resort to
'table-layout: fixed' algorithm because rendered layout are much more
predictable because there is an algorithm (in section 17.5.2.1) and
rules that do/will apply.

[snipped]

>>> Regarding 'overflow: visible' and table-cell element and table
>>> element:
>>>
>>> Overflow and table-cell (non-replaced inline element):
>>>
>>> [nightly-unstable]
>>>
>>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/fixed-table-layout-009.htm
>>>
>>>
>>> [RC6]
>>>
>>> http://test.csswg.org/suites/css2.1/20110323/html4/fixed-table-layout-009.htm
>>>
>>> Proposed improvement:
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/fixed-table-layout-009.html
>>>
>>> http://test.csswg.org/shepherd/testcase/fixed-table-layout-009/
>>>
>>> ----------


>>> [RC6]
>>>
>>> http://test.csswg.org/suites/css2.1/20110323/html4/overflow-applies-to-013.htm
>>>
>>> http://test.csswg.org/shepherd/testcase/overflow-applies-to-013/


'overflow: visible' apply to table box (and now, even overflow: scroll
and overflow: auto'):

[CSS21] Erratum - overflow:auto/scroll on table elements
http://lists.w3.org/Archives/Public/www-style/2012Aug/0308.html

"
The 'overflow' property applies to table elements, but as per 17.4 its
values are "used on the table box and not the table wrapper box".
"

"
all other values of non-inheritable properties are used on the table box
and not the table wrapper box.
"
17.4 Tables in the visual formatting model
http://www.w3.org/TR/CSS21/tables.html#model

So, overflow-applies-to-013 test has been restored.

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 Friday, 10 August 2012 00:22:50 UTC