Links in textareas looks bad...

RESOLVED FIXED

Status

()

--
minor
RESOLVED FIXED
14 years ago
13 years ago

People

(Reporter: e7online, Unassigned)

Tracking

({testcase})

Trunk
testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8.9) Gecko/20050424 Firefox/1.1
Build Identifier: Mozilla 1.8 (2005032105)

http://forum.de.selfhtml.org/?t=105990&m=655668

Apply this bookmarklet:

javascript:(function(){var D=document; D.body.normalize(); F(D.body); function
F(n){var u,A,M,R,c,x; if(n.nodeType==3){
u=n.data.search(/https?\:\/\/[^\s]*[^.,;'%22>\s\)\]]/); if(u>=0) {
M=n.splitText(u); R=M.splitText(RegExp.lastMatch.length);
A=document.createElement(%22A%22); A.href=M.data; A.appendChild(M);
R.parentNode.insertBefore(A,R); } }else if(n.tagName!=%22STYLE%22 &&
n.tagName!=%22SCRIPT%22 &&
n.tagName!=%22A%22)for(c=0;x=n.childNodes[c];++c)F(x); } })();

Now it is a link within the textarea, and it's on a wrong position...

Reproducible: Always

Steps to Reproduce:



Expected Results:  
The link should be shown as plaintext, and on the correct position
This worksforme in a current trunk build as far as I can tell... Can you please
clearly explain what the problem you see is?
(Reporter)

Comment 2

13 years ago
Created attachment 183797 [details]
Shows the behavior of links in a textarea
Ah, I see.  The patch in bug 265367 fixes this.
Depends on: 265367

Updated

13 years ago
Keywords: testcase
This is probably fixed in current trunk builds, actually, by bug 152329.
Depends on: 152329
Yeah, fixed by bug 152329.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.