Open
Bug 437044
Opened 17 years ago
Updated 2 years ago
execCommand( 'inserthtml', false, ' ' ) inserts a regular space if white-spaces are not preserved by CSS
Categories
(Core :: DOM: Editor, defect)
Tracking
()
NEW
People
(Reporter: fredck, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase, Whiteboard: [h2review-noted])
Attachments
(1 file)
1.08 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Calling execCommand( 'inserthtml', false, ' ' ) will insert a regular space instead of the char.
To verify it, the command must be called when the caret is placed in the middle of a word.
The following cases are also buggy:
' Text'
'Text '
' Text '
Reproducible: Always
Comment 1•17 years ago
|
||
This is confirmed this. I wrote up a test case that has an editable text area and another that will display it's HTML, as well as inserting space elements.
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: general → editor
Updated•7 years ago
|
Blocks: editor-blink-compat
Updated•4 years ago
|
Whiteboard: [h2review-noted]
Updated•2 years ago
|
Summary: execCommand( 'inserthtml', false, ' ' ) inserts a regular space → execCommand( 'inserthtml', false, ' ' ) inserts a regular space if white-spaces are not preserved by CSS
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•