Should display blank space only in case of  
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: sanjay_thavi, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:49.0) Gecko/20100101 Firefox/49.0
Steps to reproduce:
even if there is no   in the html code browser is introducing by itself blank spaces between the html elements , so it is becoming difficult to access the elements with nextSibling nextChild etc with javascript and code does not work
please put blank spaces only if we typed   in the html coding
do not put blank space if the next element is typed on the next line
this problem is with all versions of the firefox.
Actual results:
your browser is displaying blank spaces if there is space or next line between 2 html elements so nextSibling, nextChild in java returning #text object instead of what we intended
Expected results:
Your browser should not display blank spaces in browser in case of blank space or white space or carriage return or new line in html code.
Your browser should display blank space only in case of  
Reporter | ||
Comment 1•6 years ago
|
||
due to this problem we are unable to use your browser because nextSibling, nextChild picking your white spaces as #text object this is unintended and code fails in your browser.. so we are forced to use internet explorer only
Comment 2•6 years ago
|
||
Please tell us which exact Firefox version this is about.
Please provide a minimal, self-contained, complete testcase that shows the problem.
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Thank for reporting this issue.
Can you provide a little bit detailed steps to reproduce?
Thanks
Comment 4•6 years ago
|
||
Not much we can do here without more information. Please provide more and we will reopen it.
Description
•