- From: Gérard Talbot <www-style@gtalbot.org>
- Date: Tue, 04 Aug 2015 22:53:18 -0400
- To: Robert Hogan <robhogan@gmail.com>
- Cc: David Baron <dbaron@dbaron.org>, www-style list <www-style@w3.org>, mstensho+blink@opera.com, Gérard Talbot <css21testsuite@gtalbot.org>
Le 2015-07-31 14:19, Robert Hogan a écrit : > Hi there, > > We've hit a bug in Blink while trying to confirm to > http://test.csswg.org/harness/test/css21_dev/single/inline-table-valign-002/. http://test.csswg.org/suites/css2.1/nightly-unstable/html4/inline-table-valign-002.htm " The baseline of a cell is the baseline of the first in-flow line box in the cell, or the first in-flow table-row in the cell, whichever comes first. If there is no such line box or table-row, the baseline is the bottom of content edge of the cell box. " CSS 2.1, section 17.5.3 Table height algorithms http://www.w3.org/TR/CSS21/tables.html#height-layout Robert, In that inline-table-valign-002 test, there is no line box in each cell of the inline-table and there is no in-flow table-row in each cell of the inline-table; so the baseline of the cells must be determined by the bottom of content edge, no? > It > comes down to what height we should give the second cell box in: > > <!DOCTYPE html> <style> .cell{ height:453px; vertical-align: baseline; > } > </style> <table> <td class="cell"> crbug.com/513319: An empty cell even > if > it has height should set the baseline for the row. This text should be > at > the top of the page. </td> <td class="cell"> </td> </table> In your test, the first cell has an in-flow line box: the first cell of your test is not empty. And so, the baseline of the row is given by the maximum distance between the top of the cell box and the baseline over all cells that have 'vertical-align: baseline'. My inline-table-valign-002 test is different from yours. Gérard
Received on Wednesday, 5 August 2015 02:53:50 UTC