Closed Bug 1778249 Opened 5 months ago Closed 5 months ago

Highlight text color is not preserved after pressing Enter in Outlook

Categories

(Core :: DOM: Editor, defect, P1)

defect

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

  1. Access the following website: https://outlook.com/ and login
  2. Compose a new email
  3. Select Highlight option from the bottom of the new email composition
  4. Select a color and start typing
  5. 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

Set release status flags based on info from the regressing bug 1730429

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

This should've been fixed by the patch for bug 1778091.

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Flags: qe-verify+

Verified as fixed across platforms using Firefox 104 beta 5.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Blocks: 1780140
No longer depends on: 1780140
You need to log in before you can comment on or make changes to this bug.