Open Bug 396053 Opened 18 years ago Updated 3 years ago

CDATA sections keep jumping on view source

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: thomas, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 When viewing a CDATA section inside a script element (I haven't tested it on a style element) inside the view source window, it appears that a ending curly bracket will trigger the cursor to move up to the beginning of the CDATA section when scrolling with the caret using the arrow keys. Reproducible: Always Steps to Reproduce: 1. View the source of a page with some CDATA and curly brackets, e.g. http://www.mozilla.org/projects/xul/tests/label.xul 2. Go to the beginning of the CDATA section. 3. Scroll down the caret using the arrow keys. 4. Once an ending curly bracket has been reached, the cursor will jump. This will happen for all ending curly brackets. Actual Results: Cursor jumped back. Expected Results: Cursor should continue. Windowno themes, 1 extension: adblock plus.
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.