New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 784184 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Modifying TextNode.nodeValue, appending text that should appear on new line does not render

Reported by scottdav...@gmail.com, Nov 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
Create a div with constrained width
Append a text node with a trailing whitespace, that touches the end of the line
Append more text, and it does not render

Here is a detailed test case:
https://codepen.io/anon/pen/yPbbvx

What is the expected behavior?
It should render the new nodeValue

What went wrong?
It does not update the textNode's render

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 61.0.3163.100  Channel: n/a
OS Version: 10.0
Flash Version:
 

Comment 1 by woxxom@gmail.com, Nov 12 2017

Notes: 
* The additional line appears after 1 second
* Screenshots of how it looks in Chrome (bad) and in Firefox (good) attached
* Chrome paints the missing text only if I resize the window

bad - chrome.png
1.0 KB View Download
good - firefox.png
1.2 KB View Download
Cc: divya.pa...@techmahindra.com
Labels: Triaged-ET M-64 Needs-Triage-M61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 61.0.3163.100,  latest stable 62.0.3202.94 and latest Canary 64.0.3266.0 using Windows 10, Ubuntu 14.04 and Mac 10.12.6.
The issue is seen from M-50 (50.0.2641.0). Hence considering this issue as Non-Regression and marking it as Untriaged.

Comment 3 by e...@chromium.org, Nov 13 2017

Cc: kojii@chromium.org
Status: Available (was: Untriaged)
Labels: Fixed-In-LayoutNG

Sign in to add a comment