Bug 1738134 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Alice0775 White from comment #6)
> FWIW,
> Login to Google Sheets.
> Then Spoof the UA to "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" and reload the spreadsheet. 
> Then the Ctrl+Enter works as expected.

Thank  you, Alice-san, the cell is
```
<div
  class="cell-input editable"
  tabindex="0"
  role="combobox"
  docs-unhandledkeys="ctrl+shift+z,ctrl+y,ctrl+z"
  id="waffle-rich-text-editor"
  style="background-color: rgb(255, 255, 255);
             font-size: 13px; color: rgb(0, 0, 0);
             font-weight: normal;
             font-family: &quot;Arial&quot;;
             font-style: normal;
             text-decoration-skip-ink: none;"
  dir="ltr"
  g_editable="true"
  aria-autocomplete="list"
  aria-label="C6"
  contenteditable="true"
>a<br><span style="font-size:13px;color:#000000;
                                 font-weight:normal;
                                 text-decoration:none;
                                 font-family:'Arial';
                                 font-style:normal;text-decoration-skip-ink:none;"></span></div>
```
And we had not supported `white-space:pre-wrap` in editor since bug 1724650. So that I guess that they use a specific path for Gecko and that depends on some bugs of Gecko (our editor does not refer CSS in most cases, that makes web developers confused like checking the `<br>` element is visible or not).
(In reply to Alice0775 White from comment #6)
> FWIW,
> Login to Google Sheets.
> Then Spoof the UA to "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" and reload the spreadsheet. 
> Then the Ctrl+Enter works as expected.

Thank  you, Alice-san, the cell is
```
<div
  class="cell-input editable"
  tabindex="0"
  role="combobox"
  docs-unhandledkeys="ctrl+shift+z,ctrl+y,ctrl+z"
  id="waffle-rich-text-editor"
  style="background-color: rgb(255, 255, 255);
         font-size: 13px;
         color: rgb(0, 0, 0);
         font-weight: normal;
         font-family: &quot;Arial&quot;;
         font-style: normal;
         text-decoration-skip-ink: none;"
  dir="ltr"
  g_editable="true"
  aria-autocomplete="list"
  aria-label="C6"
  contenteditable="true"
>a<br><span style="font-size:13px;
                   color:#000000;
                   font-weight:normal;
                   text-decoration:none;
                   font-family:'Arial';
                   font-style:normal;
                   text-decoration-skip-ink:none;"></span></div>
```
And we had not supported `white-space:pre-wrap` in editor since bug 1724650. So that I guess that they use a specific path for Gecko and that depends on some bugs of Gecko (our editor does not refer CSS in most cases, that makes web developers confused like checking the `<br>` element is visible or not).

Back to Bug 1738134 Comment 7