Closed
Bug 343357
Opened 18 years ago
Closed 14 years ago
Support setting option.innerText
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 264412
People
(Reporter: ddkilzer, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
681 bytes,
text/html
|
Details |
Firefox 1.5.0.4 does not support setting option.innerText to change the visible rendering of an <option> tag. This method is supported in MSIE 6.0 on Win XP SP2 and Safari 2.0.4 on Mac OS X 10.4.7. Note that setting option.innerHTML does work, though.
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Updated•18 years ago
|
Component: DOM: HTML → DOM: Mozilla Extensions
Comment 2•18 years ago
|
||
innerText is called textContent in Firefox (and in the standards). HTML5 will probably add innerText as a synonym though.
Comment 3•16 years ago
|
||
For more complicated situations, innerText is quite different from textContent. IE and WebKit for instance won't include text content of non visible elements, will add newlines around block elements and other stuff. See http://trac.webkit.org/browser/trunk/WebCore/editing/TextIterator.cpp
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
![]() |
||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•