Closed Bug 296920 Opened 20 years ago Closed 20 years ago

Newline character (\n) in the tooltip of a webpage

Categories

(Firefox :: Disability Access, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 67127

People

(Reporter: rkc_1980, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 When a multiline tooltip is specified with a '\n' character seperating the lines, firefox is not interpreting the '\n' character correctly. Instead of moving the text following '\n' into a new line, it tries to print the '\n' character itself, which results in a strange box characters appearing in the tooltip on the webpage. Reproducible: Always Steps to Reproduce: 1.Specify a multiline tooltip for a textbox, with '\n' characters embedded in the text of the tooltip, in a webpage. 2.Open the webpage in mozilla firefox, Hover the mouse on the textbox, so that the tooltip is shown up. 3.Observe the '\n' character printed as strange box like characters in the tooltip. Actual Results: Strange box like characters appear in the tooltip in the place of the '\n' character.Text following '\n' character is displayed in the same line. Expected Results: The text following the '\n' character should have been moved into a new line.
*** This bug has been marked as a duplicate of 67127 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.