Random newlines entered in Google Sheets cells when pressing enter
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
People
(Reporter: bugzilla4, Unassigned)
References
Details
Comment 2•10 years ago
|
||
Updated•10 years ago
|
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Comment 16•10 years ago
|
||
Updated•10 years ago
|
| Reporter | ||
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Comment 19•6 years ago
|
||
Good day!
I could still reproduce this bug with any Google spreadsheet, but not in the MS or Collabora. I can't reproduce it in MS Edge or Chrome.
Regards, Ivan.
Comment 20•6 years ago
|
||
Sorry, forgot to add the way to reproduce:
- choose cell;
- type anything;
- delete it by any way (backspace, delete or Ctrl+X...);
- go away from cell (Enter, Tab, arrows, click on another cell...).
Cell will look like empty but with extra line feed symbol (two lines height). Pressing Delete on this cell makes it empty and one line height. Choosing the cell, pressing F2, then Backspace and exiting do the same.
Comment 21•6 years ago
|
||
Hello. Why is this bug closed when it's pretty clearly still present and it's pretty clearly a bug in Firefox? If you want a non-Google example code where the bug is really obvious, see the following snippet.
The test code:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="div" style="background-color: lightgrey" contenteditable="true">xxx</div>
<button onclick="document.getElementById('span').innerHTML = document.getElementById('div').innerHTML">copy</button>
<div>***<span style="background-color: lightgrey" id="span"></span>***</div>
</body>
</html>
Steps to reproduce:
-
Click copy.
-
Check that there's no characters between
***sequences. -
Delete
xxxfrom thecontenteditablediv. -
Click copy again.
Expected result: ****** with no line break.
Actual result: ***, a line break, ***.
-
Type
xxxagain. -
Click copy.
Expected Result: ***xxx*** with no line breaks.
Actual Result: ***xxx, a line break, ***.
Comment 22•6 years ago
|
||
This was closed 3 years ago. Please file a new bug.
Comment 23•6 years ago
|
||
(In reply to Mike Taylor [:miketaylr] from comment #22)
This was closed 3 years ago. Please file a new bug.
Thank you! I followed your instruction and here it is with an updated test case and additional notes:
Comment 24•6 years ago
|
||
Thanks!
Description
•