Closed
Bug 22262
Opened 26 years ago
Closed 25 years ago
Display unknown tags as icons
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
M17
People
(Reporter: michael.j.lowe, Assigned: cmanske)
References
Details
Unknown tags (or tags not otherwise editable elsewhere in the editor eg.
<style>) should be displayed as icons as in 4.x. Double clicking on such an
icon should bring up a dialog box allowing the user to edit the tag and
attributes.
Updated•26 years ago
|
Assignee: beppe → cmanske
Target Milestone: M15
Comment 1•26 years ago
|
||
assigning to cmanske
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15 → M14
Updated•26 years ago
|
Target Milestone: M14 → M16
Comment 2•26 years ago
|
||
moving this to m16, we need to wait and get the list of the html 4.0 elements
tested from petersen and sujay.
| Reporter | ||
Updated•26 years ago
|
Summary: [4.xP] Display unknown tags as icons → Display unknown tags as icons
| Assignee | ||
Comment 4•26 years ago
|
||
I added showing <span> and <div>. Others will follow.
| Assignee | ||
Comment 5•25 years ago
|
||
We really don't want to do what we do in 4.x, which is to display images
for HTML tags that aren't visible, like <span> and <div>, at least not in the
"normal" editing mode. I would like to implement a "all tags mode" which would
have specific images (or other specific generated content) for each HTML tag in
the DTD.
The question is, should we worry about tags that aren't in the HTML DTD that we
use? Such as proprietary tags from Microsoft or older Netscape versions.
That would require help from layout to set the display type of tags it doesn't
know about (not in ua.css, I guess?) to something that would be visible.
Troy: does that sound possible?
| Assignee | ||
Comment 6•25 years ago
|
||
Rickg says we he can add something to the parser to help out with this.
Depends on: 35646
| Assignee | ||
Comment 7•25 years ago
|
||
Some good comments from Matthew Thomas (mpt26@student.canterbury.ac.nz):
Such an idea could work, provided that:
(a) the attribute has a name such as "moz-unknown", which is much less
likely to clash with a real attribute in a future DTD than a single
English word like "unknown" is;
(b) the "moz-unknown" attributes are *not* saved with the document, but
are regenerated each time the document is opened. (You'd probably
want to hide them when showing the source of the document while
editing it, too.)
These two things would help make sure that bad stuff doesn't happen if I
happen to use an old copy of Moz Composer to edit a W3C HTML 6.1
document, in a few years time. :-)
Target Milestone: M16 → M17
| Assignee | ||
Comment 8•25 years ago
|
||
This is essentiall a dup of 35646
*** This bug has been marked as a duplicate of 35646 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•