Closed Bug 82466 Opened 25 years ago Closed 25 years ago

Inapproriate DIV element in TEXTAREA - Show All Tags mode

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 88036
mozilla1.0

People

(Reporter: rubydoo123, Assigned: glazou)

Details

(Whiteboard: [ui])

in Show All Tags Mode a DIV element is displayed when there is default text for a textarea. Sample to use: <form action="foo.html" method=post> <textarea name="textblock" rows="2" cols="26">TEXTAREA element</textarea> </form>
Keywords: correctness
Priority: -- → P3
Whiteboard: [ui]
Target Milestone: --- → mozilla1.0
I hope we can change to using Daniel's new ":before" strategy for showing the icons in Show All tags mode. We would need a new rule like: textarea div { /* don't do whatever we do to show icon /* } to surpress showing the DIV (which actually exists? annonymous content?)
Status: NEW → ASSIGNED
If that DIV is anonymous content, it should not be visible in the DOM when you crawl from a parent to its list of children. I guess that the only easy way to solve the problem is the CSS rule proposed by Charley. The other way, directly in the style engine, is definitely cleaner and I think that a bug should be filed about it. I think that the DIV really exists in the tree and is an anonymous content. TEXTAREA is semantically equivalent to a mailcomposer window so we need a block container for everything inside... The bug about ISINDEX is exactly equivalent. An ISINDEX _is_ a text inoput field. I guess it is too an anonymous element.
reassigning to myself
really reassigning; sorry for spam
Assignee: cmanske → glazman
Status: ASSIGNED → NEW
*** This bug has been marked as a duplicate of 88036 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.