Closed Bug 577654 Opened 14 years ago Closed 14 years ago

Table border attribute with value "0px" renders border

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 539880

People

(Reporter: andrejohn.mas, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files, 2 obsolete files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:2.0b1) Gecko/20100630 Firefox/4.0b1 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:2.0b1) Gecko/20100630 Firefox/4.0b1 If you specify a table with the following: <table border="0px"> <tr><td>A</td><td>B</td><td>B</td></tr> <tr><td>D</td><td>E</td><td>F</td></tr> </table> the cell borders get rendered. While I realise the value specified should be 'border="0"', and so technically an error in the HTML, the way this is handled in Firefox 4b1 is different to previous Firefox versions and different to the other browsers. Other browsers (Opera, Safari, FF3.6.x) do not render the borders in this case. Reproducible: Always
Attached file Test case illustrating the bug (deleted) —
Attached a test case
Confirmed on Windows, works with 1.9.2
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
Keywords: regression, testcase
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → layout
Hardware: x86 → All
Summary: FF4b1: Table border attribute with value "0px" renders border → Table border attribute with value "0px" renders border
Version: unspecified → Trunk
Hmm. This is a regression from bug 43178. Can anyone tell what the set of values is that should trigger no border, exactly? We may just need to add a new selector for this or something.
Blocks: 43178
blocking2.0: --- → ?
Attached file testcase with more values (obsolete) (deleted) —
shows what 1.9.2 and other browsers do in various cases
Attached file testcase, corrected (obsolete) (deleted) —
Attachment #456584 - Attachment is obsolete: true
Attached file testcase with more invalid values (deleted) —
Sorry for the spam, got it now.
Attachment #456599 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
blocking2.0: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: