Closed Bug 96354 Opened 24 years ago Closed 24 years ago

Editing tables with borders inside of tables without borders

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: TucsonTester2, Assigned: glazou)

Details

(Whiteboard: EDITORBASE 1 day)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (Win98; U) BuildID: 20010816 If you insert a table with a value of zero for the border into the into the composer and then insert a table into one of the cells and make that table have a border, the editor will show the table with a border as a dotted border as if there was no border at all. There is a small line that does show some of the inner tables border though. Reproducible: Always Steps to Reproduce: 1.open composer 2.click on the table button on the toolbar and make a default table (2x2 100% width) 3.double click on the table and click on the table tab, then make the border value 0 4.click in any one of the cells in the table to place the blinking cursor inside 5. click on the insert menu and choose table, just use the default table again. Actual Results: The table inside of the table appears to have half a border and half of a border that should be invisible. If you switch to preview mode the table appears properly. Back in the normal editor mode the table is still showing improperly though. Expected Results: I expect to see clearly that the inner table has a border. It just helps to see this to know how my page is laid out.
-->cmanske
Assignee: brade → cmanske
Confirming using Mac/2001090508.
Status: UNCONFIRMED → NEW
Ever confirmed: true
In latest debug build, the inner table does show the border correctly. But the cells in that table should also show the border, as they do in Preview mode. The inner table's cells are showing the dotted border as if they were in a table with border="0", however. This is a Composer CSS bug. Daniel: It seems that this part of the CSS rule: table[border="0"] td, table[border="0"] th, ... { border: 1px dotted red; } causes the inner-most cells to get the dotted line, even though the immediate parent table has a border > 0, right? Can you think of a CSS rule to correct this without getting into complicated ">" notation for child cells?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
spam composer change
Component: Editor: Core → Editor: Composer
Target Milestone: mozilla0.9.6 → mozilla1.0
getting ownership of this bug since I am the original author of the css rule shown above. tagging EDITORBASE.
Assignee: cmanske → glazman
Status: ASSIGNED → NEW
Whiteboard: EDITORBASE 1 day
Attachment #50674 - Flags: review+
Comment on attachment 50674 [details] [diff] [review] patch v1.0 ; ready for reviews r=jag
Status: NEW → ASSIGNED
Comment on attachment 50674 [details] [diff] [review] patch v1.0 ; ready for reviews sr=kin@netscape.com
Attachment #50674 - Flags: superreview+
checked in into trunk.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified in 10-01 Trunk Build
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: