Open
Bug 437044
Opened 16 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)
(deleted),
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•16 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•16 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: general → editor
Updated•6 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
•