Open
Bug 718911
Opened 14 years ago
Updated 3 years ago
window.find() doesn't respect white-spaces when searching inside pre elements
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: jarben, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: reproducible, testcase, Whiteboard: [bugday-20131111])
Attachments
(1 file)
|
184 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243
Steps to reproduce:
See attachment, there is a string " string" inside a pre element. When window.find(" string") is called it selects whole string including all spaces.
Expected results:
it should select only the first space in the string. When find/replace mechanism uses window.focus method it collapses all spaces and incorrectly replaces spaces which are not selected by by user.
Works as expected in webkit based browsers
| Reporter | ||
Updated•14 years ago
|
Attachment #589391 -
Attachment mime type: text/plain → text/html
Comment 1•12 years ago
|
||
Reproduced with 2013-11-10-03-02-05-mozilla-central-firefox-28.0a1.en-US.linux-x86_64.
Component: Untriaged → DOM
Keywords: reproducible,
testcase
OS: Windows 7 → All
Product: Firefox → Core
Whiteboard: [bugday-20131111]
Comment 2•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•