javascript - Chrome Crashing with whitespaces in Textarea on using onClick="this.select();" -


I am using Chrome version 38.0.2125.104 (64-bit). Which is crashed with white spots in this textarea on it. Selection ()

  & lt; Style & gt; .custom-input {font-size: 12px; Width: 100%; Color: # 555555; }. Parent-div {white-space: nowrap; }. Child-Div Textarea {White Location: Heir; } & Lt; / Style & gt; & Lt; Div class = "parent-div" & gt; & Lt; Div class = "child-div" & gt; & Lt; Textarea class = "md-input ng-binding" type = "text" readonly = "" onclick = "this.select ();" Rows = "4" & gt; & Amp; Lt; Img src = "http://www.nikhilmaheshwari.in" alt = "my homepage IT, see http://www.nikhilmaheshwari.in" height = "1" width = "1" /> & Lt; / Text field & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

Check for JS Bedle

I know some resolution for that but I am interested in knowing the reason. Please suggest that you can share the possible reasons.

Edit: Its "white-space: pre-line;" Or "white-space: east;" Or "white-space: pre-rap;" But "white-space: aboper;" Is not working with "white space: normal;" Or "white-space: heirs;" (If any of the parent is normal or is now virtual)

Remove textarea tag

  & lt; Textarea class = "custom-input ng-binding" type = "text" readonly = "" onclick = "this.select ()" lines = "4" & gt; & Amp; Lt; Img src = "http://www.nikhilmaheshwari.in" alt = "its my homepage !, see @ http://www.nikhilmaheshwari.in height" = "1" width = "1" / & amp; Gt; & Lt; / Textarea & gt;  

This job is fine for me.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -