Closed Bug 27914 Opened 26 years ago Closed 26 years ago

Applying text attributes or other insert node actions upsets tables

Categories

(Core :: DOM: Editor, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sujay, Assigned: mozeditor)

References

Details

(Whiteboard: [PDT+] have fix)

using 2/15 build of mozilla 1) launch mozilla 2) launch editor 3) insert 4 x 4 table 4) insert text in all cells 5) highlight some text 5) make it centered random problem. sometimes rows/cells get deleted...I've seen this often enough, but its not 100% reproducible....also bug-o-rama folks saw it as well all platforms.
Inserting nodes such as <span align="center"> within table cells inserts between the <tr> and <td>. The rules code needs to search for containing cells and insert at the appropriate level. This is a dup -- I'll let Joe coallesce to the appropriate bug.
Assignee: cmanske → jfrancis
Summary: might need scrollbar for suggested words panel for spellchecker? → Applying text attributes such as centering text upsets tables
Priority: P3 → P1
Target Milestone: M15
Marked this Beta 1 so PDT team reviews it.
Severity: normal → critical
Keywords: beta1
Added Charley to the cc list.
This is a dup of other "set attributes in a table cell" bugs.
Whiteboard: [PDT-]
I see not comments from PDT team. Removing PDT- to bring it to their attention. This is a serious situation and happens from many different UI actions when your selection spans accross a table cell boundary. It causes bad HTML and extreme confusion to user. Joe: What can you do to fix this for Beta1?
Whiteboard: [PDT-]
Changing Summary to reflect wider scope of problem
Summary: Applying text attributes such as centering text upsets tables → Applying text attributes or other insert node actions upsets tables
*** Bug 27305 has been marked as a duplicate of this bug. ***
Another example, from 27305: 1) launch mozilla 2) launch editor 3) insert default table 4) click in one of the cells 5) insert bullet list notice it doesn't do it. Actually has nothing to do with table editing - it's some rules problem because after trying to start a list, the UL is inserted between the TR and the TD. Inserting anything in a cell must use TD as the parent.
Charlie, i fyou think this is PDT+ then go ahead and nominate it. I'm quite willing to work on it. Right now I have an open PDT+ bug, though, and this isn't it.
Blocks: 28455
Putting on PDT+ radar for beta1 for the data loss problem.
Whiteboard: [PDT+]
need to rewrite inline style code, pretty big job
Status: NEW → ASSIGNED
Whiteboard: [PDT+] → [PDT+] 2/28/00
*** Bug 28707 has been marked as a duplicate of this bug. ***
marking PDT+ bugs m14
Target Milestone: M15 → M14
have fix
Whiteboard: [PDT+] 2/28/00 → [PDT+] have fix
doing alignment or list creation in tables now works. fixed.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
verified in 2/25 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.