Open
Bug 1244669
Opened 10 years ago
Updated 5 years ago
justify isn't working when a pararaph has line-returns [contenteditable, execCommand]
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: cyril.auburtin, Unassigned)
Details
(Whiteboard: dom-triaged)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160131030347
Steps to reproduce:
when selecting a line in a paragraph, and executing justifyCenter, nothing happens http://jsfiddle.net/crl/eo4p501n/35/
selecting all line make it work well though, so this is not too important
it could be fixed by justifying the whole paragraph (or only the line like Chrome does, but this needs more work for unwrapping/merging div for avoiding many nesting)
other maybe related justify bug https://bugzilla.mozilla.org/show_bug.cgi?id=442186
Actual results:
nothing
Expected results:
paragraph justified maybe
Reporter | ||
Comment 1•10 years ago
|
||
edit: inserting <div> in <p> is a very bad idea (invalid html), that chrome should fix https://code.google.com/p/chromium/issues/detail?id=582908
Updated•10 years ago
|
Whiteboard: dom-triaged
Comment 2•5 years ago
|
||
Bulk-downgrade of unassigned, 4 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•