Closed Bug 270704 Opened 20 years ago Closed 18 years ago

TABLE display:inline and text-alignment issues.

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mgalli, Unassigned)

References

Details

(Whiteboard: [reflow-refactor])

Attachments

(2 files)

This is another case from Yahoo! development page. I will attach two testcases. 

CASE A: CORRECT 
=======

Text
+
Table display:inline. 
  \
   \__inner TD with text-align:center
       \
        \___ inner text has to show centered. 
+
Text 


CASE B: Bug case. The inner text get aligned to the left. Note here there simple
a table around everything. 
=======

Table
 \
 Text
 +
 Table display:inline. 
   \
    \__inner TD with text-align:center
        \
         \___ inner text has to show centered. 
 +
 Text 


CASE C: Workaround. If you add a block-level before the end of the main table,
it fixes the rendering. 
=======
Table
 \
 Text
 +
 Table display:inline. 
   \
    \__inner TD with text-align:center
        \
         \___ inner text has to show centered. 
 +
 Text 
 +
 DIV
Summary: TABLE display:inline and text-alignment issues. → TABLE display:inline and text-alignment issues.
TABLE { display:inline }
shouldn't have any particularly noticeable affects, actually.  It's a bug in
Mozilla that it does (bug 135994).
That said, there does look like there's a real bug, although our layout of both
testcases is highly incorrect (as is WinIE's).
Assignee: dbaron → nobody
Component: Style System (CSS) → Layout: Tables
QA Contact: ian → core.layout.tables
The centering issue seems to be fixed on the reflow branch.
Whiteboard: [reflow-refactor]
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120812 [cairo]

seems fixed by reflow branch landing
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: