Editor with widgets: Difference between revisions

Line 93: Line 93:
===SELECT===
===SELECT===


# SELECT widget doesn't handle any events. As the result there is no popup menu ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox.html|video]])
# SELECT widget doesn't handle any events. As the result there is no popup menu ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox.html video])
# if cursor is directly after SELECT widget and Left key is pressed then all typed text will appears inside the widget ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox1.html video]])
# if cursor is directly after SELECT widget and Left key is pressed then all typed text will appears inside the widget ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox1.html video])
# if in the element DIV with contentEditable='true' there is SPAN with contentEditable='false' and in SPAN there is SELECT widget then it is possible to move caret into SELECT with keyboard ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox6.html video]]).  
# if in the element DIV with contentEditable='true' there is SPAN with contentEditable='false' and in SPAN there is SELECT widget then it is possible to move caret into SELECT with keyboard ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox6.html video]).  


===BUTTON===
===BUTTON===
# if the caret is directly before/after the BUTTON widget then pressing delete/backspace key is editing the widget's content. If content is empty then widget is removed ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox2.html video]])
# if the caret is directly before/after the BUTTON widget then pressing delete/backspace key is editing the widget's content. If content is empty then widget is removed ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox2.html video])


===INPUT type="text"===
===INPUT type="text"===
# if to move the caret into text field with mouse and after then it is impossible to the field by pressing Right/Left keys. There is no problems to leave field if the caret is moved into field by pressing Right/Left keys  ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox3.html video]]).
# if to move the caret into text field with mouse and after then it is impossible to the field by pressing Right/Left keys. There is no problems to leave field if the caret is moved into field by pressing Right/Left keys  ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox3.html video]).


===INPUT type="checkbox"===
===INPUT type="checkbox"===
# widget doesn't handle any events. As the result it is impossible to change the valued of checked attribute ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox4.html video]])
# widget doesn't handle any events. As the result it is impossible to change the valued of checked attribute ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox4.html video]])
# if in the element DIV with contentEditable='true' there is SPAN with contentEditable='false' and in SPAN there is INPUT type=checkbox and the caret is directly after SPAN then caret disappears after pressing the Left key. The after next pressing Left key the caret will appears directly before SPAN  
# if in the element DIV with contentEditable='true' there is SPAN with contentEditable='false' and in SPAN there is INPUT type=checkbox and the caret is directly after SPAN then caret disappears after pressing the Left key. The after next pressing Left key the caret will appears directly before SPAN  
([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox7.html video]])
([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox7.html video])


===INPUT type="radio"===
===INPUT type="radio"===
# widget doesn't handle any events. As the result it is impossible to change widget's state  
# widget doesn't handle any events. As the result it is impossible to change widget's state  
([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox5.html  video]])
([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox5.html  video])


===TABLE===
===TABLE===
Line 117: Line 117:


===Common===
===Common===
# if in the element DIV with contentEditable='true' there is SPAN with contentEditable='false' and SPAN is not empty and the caret is directly before/after SPAN then the caret is appeared in non editable area after pressing Right/Left key. When caret returns back to editable area then it appears in the second position before/after SPAN ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox8.html video]])
# if in the element DIV with contentEditable='true' there is SPAN with contentEditable='false' and SPAN is not empty and the caret is directly before/after SPAN then the caret is appeared in non editable area after pressing Right/Left key. When caret returns back to editable area then it appears in the second position before/after SPAN ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox8.html video])
# if in editable area there are 10-20 widgets then the significant performance degradation is occurred (tested on Intel Atom)
# if in editable area there are 10-20 widgets then the significant performance degradation is occurred (tested on Intel Atom)
# in selected area BUTTON and INPUT widgets are not visual selected ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox9.html video]])
# in selected area BUTTON and INPUT widgets are not visual selected ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox9.html video])
# visual selection is not cleared after selection for widget INPUT type=text
# visual selection is not cleared after selection for widget INPUT type=text
([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox10.html video]])
([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox10.html video])
# it is impossible to copy to clipboard widget INPUT type=text and all text area before the widget ([[http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox11.html video]])
# it is impossible to copy to clipboard widget INPUT type=text and all text area before the widget ([http://hgaid.ispvds.com/mozilla_editor_with_widgets/firefox11.html video])