Closed
Bug 1778249
Opened 2 years ago
Closed 2 years ago
Highlight text color is not preserved after pressing Enter in Outlook
Categories
(Core :: DOM: Editor, defect, P1)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
104 Branch
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | wontfix |
firefox102 | --- | wontfix |
firefox103 | --- | wontfix |
firefox104 | --- | verified |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Regression)
Details
(Keywords: regression)
+++ This bug was initially created as a clone of Bug #1778091 +++
Found in
- Firefox 103 beta 4
Affected versions
- Firefox 102 (RC and ESR)
- Firefox 103 beta 4
- latest Nightly 104.0a1 2022-07-04
Affected platforms
- Win 10 64-bit
- Ubuntu 22
- OSX 10.14.6
Steps to reproduce
- Access the following website: https://outlook.com/ and login
- Compose a new email
- Select
Highlight
option from the bottom of the new email composition - Select a color and start typing
- Press Enter
Expected result
- Highlight color is preserved after pressing Enter
Actual result
- Highlight color is applied only for the first row, then it changes to the default one
Regression range
- Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a67baeba9a658f8650657389f38aa9bc7e2eef07&tochange=f895a0b6c0e3748e11381173b3cd32a7bb8c60dd
DEBUG : Found commit message: Bug 1730429 - part 2: Delete empty inline elements which become newly empty but preserve the styles for next editing r=m_kato
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1730429
status-firefox102:
--- → affected
status-firefox103:
--- → affected
status-firefox-esr102:
--- → affected
status-firefox-esr91:
--- → unaffected
Assignee | ||
Comment 2•2 years ago
|
||
Oh, the symptom is different from point of view of the DOM tree. However, I found a useful method CopyLastEditableChildStylesWithTransaction
which is used by HandleInsertParagraphInListItemElement
and it fixes both bug 1778091 and this.
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
This should've been fixed by the patch for bug 1778091.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Target Milestone: --- → 104 Branch
Updated•2 years ago
|
Flags: qe-verify+
Comment 4•2 years ago
|
||
Verified as fixed across platforms using Firefox 104 beta 5.
Updated•2 years ago
|
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•