Ticket #1008 (new enhancement)
Opened 6 years ago
Table Properties unintentionally changes table borders (frames)
| Reported by: | romus | Owned by: | gogo |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Plugin_TableOperations | Version: | trunk |
| Severity: | normal | Keywords: | table operations, properties, border, rules, frame |
| Cc: |
Description
When inserting new table, tag and attributies looks like:
<table cellspacing="1" cellpadding="1" border="1" style="width: 100%;">
when next use Table Properties and without any change in it apply default settings, table attributies are a bit different (this from Firefox, IE produce a little more, but in CSS meaning is the same):
<table rules="none" frame="void" cellspacing="1" cellpadding="1" border="1" style="border-style: none; width: 100%; float: none; background-image: none;">
The key role plays attributies: rules="none", frame="void" and declaration border-style: none;
Quick and dirty solution to this: in Table Properties add empty values in selects to the above attributies - diff on table-operations.js (version 719 2007-02-08 17:42:35Z htanaka):
242a243 > <option value=''" + selected(f_frames == "") + "></option> \ 257a259 > <option value=''" + selected(f_rules == "") + "></option> \ 1096c1098 < options = ["none", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"]; --- > options = ["", "none", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"];
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
