Closed Bug 55456 Opened 24 years ago Closed 16 years ago

table frames should honor the ascent information (vertical-align:baseline for nested tables)

Categories

(Core :: Layout: Tables, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: ian, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: css1, testcase, Whiteboard: [CSS1-5.4.4])

Attachments

(2 files, 2 obsolete files)

In bug 10207, rbs wrote: > The remainig case is that of <td> <table> ... </table> </td>. This other > special case (but frequent case) won't work because the table code is not yet > honoring the ascent. Hence the table code still needs some further tuning so > that it returns its ascent (i.e., the ascent of its first row). > > For things to work right, all frames should honor the ascent information. > Currently, <table> is the remaining HTML frame that is not honoring that > information, and > <td valign="baseline"> <table>...</table> </td> > doesn't mean anything. > > So the table code should return the ascent of its first row.
We need some test cases for checking vertical-align of nested tables. Things to check would be three-deep nested tables, colspan and rowspan, interaction with CSS anonymous tables (e.g. nested display:table-cell elements), etc.
Assignee: clayton → buster
QA Contact: petersen → chrisd
Summary: table frames should honor the ascent information → table frames should honor the ascent information (vertical-align:baseline for nested tables)
Whiteboard: need test cases
Target Milestone: --- → Future
With the current setup, the way to go about fixing this bug will involve caching the table-row's ascent, and the table's ascent and provide means to access/manipulate the information. I suggest we keep this bug on hold as we could get the information differently from nsArea (bug 51684).
URL: 51684
URL: 51684
Depends on: 51684
Don't know exactly what this bug is, but I am attaching a file with three-deep nested tables, all with vertical-align: baseline values given to TD. Works in 10/12 build on Win 98
Attached file testcase with nested tables (obsolete) —
The modified testcase was obtained by substituting: <td style="font-size: 30pt">Comparison cell</td> to: <td><table border="0"><tr><td style="font-size: 30pt">Comparison cell</td></tr></table></td>
Upon managerial request, adding the "testcase" keyword to 84 open layout bugs that do not have the "testcase" keyword and yet have an attachement with the word "test" in the description field. Apologies for any mistakes.
Keywords: testcase
Netscape's standard compliance QA team reorganised itself once again, so taking remaining non-tables style bugs. Sorry about the spam. I tried to get this done directly at the database level, but apparently that is "not easy because of the shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
QA Contact: ian → amar
Adopting bug 64763 "Switch from nsRect mRect to nsArea in the frame model" would greatly help this bug.
Depends on: 64763
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
Keywords: css2css1
Whiteboard: need test cases → [CSS1-5.4.4]
*** Bug 146146 has been marked as a duplicate of this bug. ***
*** Bug 181082 has been marked as a duplicate of this bug. ***
->Tables
Assignee: attinasi → table
Component: Layout → Layout: Tables
*** Bug 183584 has been marked as a duplicate of this bug. ***
this bug and bug 54979 have similar dupes. depending on, blocking?
*** Bug 160325 has been marked as a duplicate of this bug. ***
*** Bug 206430 has been marked as a duplicate of this bug. ***
*** Bug 224415 has been marked as a duplicate of this bug. ***
*** Bug 146146 has been marked as a duplicate of this bug. ***
*** Bug 224415 has been marked as a duplicate of this bug. ***
Attached file revised testcase
both attachment 16940 [details]: testcase with nested tables and attachment 16981 [details]: modified testcase to expose the problem show on top td {vertical-align: baseline} this arises from the following markup: <style="text/css"> td { vertical-align: baseline } </style which does not make this a style block, so the tested property does not apply. This is WFM
Attachment #16940 - Attachment is obsolete: true
Attachment #16981 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
I suspect I fixed this around when I was implementing inline-block and inline-table.
In particular, I was thinking of bug 367332, although it might have been fixed earlier.
certainly earlier, man all the years I was fooled by the colored testcase, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: