Closed
Bug 244753
Opened 21 years ago
Closed 21 years ago
Support STATE_READONLY / STATE_EDITABLE for editors
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
Details
(Keywords: access)
Attachments
(1 file)
|
3.20 KB,
patch
|
yuanyi21
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Any HTML window can turn into an editor window at any time.
The nsDocAccessible/ROLE_EDITOR object should support STATE_READONLY (or
ATK_STATE_EDITABLE under Linux).
State change events should also be fired.
| Assignee | ||
Comment 1•21 years ago
|
||
| Assignee | ||
Updated•21 years ago
|
Attachment #149346 -
Flags: superreview?(Henry.Jia)
Attachment #149346 -
Flags: review?(kyle.yuan)
Comment on attachment 149346 [details] [diff] [review]
Support readonly/editable. Sun - please let me know if ATK parts are wrong or unnecessary.
over to Louie.
Attachment #149346 -
Flags: review?(kyle.yuan) → review?(Louie.Zhao)
Comment 3•21 years ago
|
||
Aron, can you explain more detailed on how to turn a HTML window into an editor
window in mozilla (do you mean composing)? Although the patch looks good to me,
how can I find a way to trigger a HTML window to change state?
| Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 149346 [details] [diff] [review]
Support readonly/editable. Sun - please let me know if ATK parts are wrong or unnecessary.
Kyle, can you r= this after all? Louie says he's gone for the next week.
Here's a demo of setting design mode for the document. It could happen later in
the life of the document.
http://www.mozilla.org/editor/midasdemo/
Attachment #149346 -
Flags: review?(Louie.Zhao) → review?(kyle.yuan)
| Assignee | ||
Comment 5•21 years ago
|
||
More specifically
<iframe id="edit" width="100%" height="200px"></iframe>
JS to turn on editing for iframe:
document.getElementById('edit').contentWindow.document.designMode = "on";
Comment on attachment 149346 [details] [diff] [review]
Support readonly/editable. Sun - please let me know if ATK parts are wrong or unnecessary.
looks good to me. r=kyle. BTW, Henry is also not in office in rest of this
week.
Attachment #149346 -
Flags: review?(kyle.yuan) → review+
| Assignee | ||
Comment 7•21 years ago
|
||
Comment on attachment 149346 [details] [diff] [review]
Support readonly/editable. Sun - please let me know if ATK parts are wrong or unnecessary.
I just realized I'll have to update the comment as well (so that it doesn't
refer to STATE_MARQUEED anymore).
Attachment #149346 -
Flags: superreview?(Henry.Jia) → superreview?(jst)
Comment 8•21 years ago
|
||
Comment on attachment 149346 [details] [diff] [review]
Support readonly/editable. Sun - please let me know if ATK parts are wrong or unnecessary.
sr=jst
Attachment #149346 -
Flags: superreview?(jst) → superreview+
| Assignee | ||
Comment 9•21 years ago
|
||
Checking in src/base/nsDocAccessible.cpp;
/cvsroot/mozilla/accessible/src/base/nsDocAccessible.cpp,v <-- nsDocAccessible.cpp
new revision: 1.40; previous revision: 1.39
done
Checking in src/atk/nsDocAccessibleWrap.cpp;
/cvsroot/mozilla/accessible/src/atk/nsDocAccessibleWrap.cpp,v <--
nsDocAccessibleWrap.cpp
new revision: 1.13; previous revision: 1.12
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 10•6 years ago
|
||
Keywords: sec508
You need to log in
before you can comment on or make changes to this bug.
Description
•