Closed Bug 304481 Opened 19 years ago Closed 18 years ago

<button> text not shown when <table align="right"> is used within the button

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: fuss, Unassigned)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [reflow-refactor])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050812 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050812 Firefox/1.0+

On http://fuss.ict-blue.be/Firefox/csstest.html you can see that the text on the
button is not shown when the page is loaded, only when the button is pressed.
The text is shown correctly on Firefox 1.0.6 and IE6.
The example case is valid XHTML 1.0 Transitional.
Original problem has been found on
http://www.panalpina.com/www/global/en/ir.html (two buttons).

Removing the align="right" from the table element within the button, seems to
resolve the problem.

Reproducible: Always

Steps to Reproduce:
1. Open http://fuss.ict-blue.be/Firefox/csstest.html


Actual Results:  
Text on the button is not displayed

Expected Results:  
Text on the button should be displayed
Severity: minor → normal
Component: General → Layout
Keywords: regression, testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Reproduced on OS X:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050811
Firefox/1.0+

Also moving to Layout: Form Controls.
Component: Layout → Layout: Form Controls
OS: Windows XP → All
Hardware: PC → All
Hmmm... this apparently regressed in two steps.
between 2004-10-30 and 2004-11-03, the text started appearing aligned to the
right side of the button, and moved to the left when the button was clicked.
The currrent behaviour (no text on the button until clicked) started between
2005-04-14 and 2005-04-15.

Not sure how valid this is, so not confirming yet.
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 partially fixed by reflow branch landing

the text is always visable, it's still left-aligned though
Text is visible (but badly aligned) in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120606 Minefield/3.0a (pre-reflow branch) too.
Rendering looks correct to me, given the floated table.  The button is centering things as best it can, but the table floats to the left inside that block.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: