Closed Bug 1055 Opened 26 years ago Closed 25 years ago

{css1} BORDER attribute incorrectly overriding CSS rules

Categories

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

x86
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: karnaze)

References

()

Details

(Keywords: css1, Whiteboard: [TESTCASE])

Attachments

(2 files)

The thin top/bottom borders are thinner inside the table than outside. Appears in top: http://www.w3.org/Style/CSS/Test/current/sec5518.htm (above URL) bottom: http://www.w3.org/Style/CSS/Test/current/sec5520.htm‰
Status: NEW → ASSIGNED
Now, thanks to revisions in the suite (the borders changed from thin to 1px) they are not visible at all. Steve's table checkin yesterday may do something to this, though. I'm using the 12-19 build.
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Assignee: kipp → karnaze
Status: ASSIGNED → NEW
Component: Layout → HTMLTables
The values we are using for thin, medium and thick are 1, 3 and 5 points respectively. Depending on your display, these values will round to some number of pixels. This will result in some uneven treatment at rendering time depending on the location of the border. However, the table cells in this page do not have top green borders so I'm reassigning the bug to the table folks.
Status: NEW → ASSIGNED
Moving to M8
Summary: Thin top/bottom borders are thinner inside tables → {css1}BORDER attribute incorrectly overriding CSS rules
The problem here is that the BORDER attribute of table (really frame="border") is overriding the CSS, which is incorrect. See bug 2942 and also http://www.w3.org/TR/REC-CSS2/cascade.html#q12 for more info on non-presentational hints. Changing title from "Thin top/bottom borders are thinner inside tables" to "{css1}BORDER attribute incorrectly overriding CSS rules".
Attached file Simpler test case (deleted) —
Summary: {css1}BORDER attribute incorrectly overriding CSS rules → {css1} BORDER attribute incorrectly overriding CSS rules
QA Contact: 4144 → 4110
*** Bug 7653 has been marked as a duplicate of this bug. ***
As bug #7653 pointed out, not surprisingly this applies to -right, etc. The only curiousity in the test case for all variants is that the margin (or padding) collapses for 'border-bottom:', but is retained for 'border:'. Is this correct? (I may simply have not done my reading ;)
*** Bug 3492 has been marked as a duplicate of this bug. ***
What's happening in the border-bottom test case in 363 looks like it is an occurrence of bug 2886.
I meant attachment 343 [details], not 363.
[TESTCASE] Attachement 343: http://bugzilla.mozilla.org/showattachment.cgi?attach_id=343 ...is a good minimal test case.
Blocks: 1163
Whiteboard: [TESTCASE]
Marked [TESTCASE].
Moving to M9.
Target Milestone: M9 → M10
Moving to M10.
Additional test case: http://www.editions-eyrolles.com/livres/glazman/Tests/tables/tables8.htm The borders *inside* the tables should not be uniform.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed with latest checkin.
Status: RESOLVED → VERIFIED
Verified fixed on Win95 apprunner 1999090708. I checked the 5 relevant pages in the CSS test suite, the two attachments, and the two bugs marked as duplicates of this one (which only referred to the test suite).
Keywords: css1
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: