Bug 15159 - Links in WYSIWYG contentEditable mode are clickable.
Summary: Links in WYSIWYG contentEditable mode are clickable.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac (Intel) OS X 10.4
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 18:13 PDT by Vincent Lee
Modified: 2007-09-07 19:39 PDT (History)
0 users

See Also:


Attachments
Please use this HTML file to reproduce the issue. (887 bytes, text/html)
2007-09-07 18:21 PDT, Vincent Lee
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lee 2007-09-07 18:13:02 PDT
Steps to reproduce bug:

1. Turn a document into edit/WYSIWYG mode using: document.body.contentEditable = true;

2. Click on a link to edit the text in it.

Actual Result:
The link activates loading the linked page.

Expected Result:
The link should NOT activate, but be editable without moving to a new page. Once the link is no longer editable it may then be clicked activated by clicking on it or pressing ENTER with the link focused.
Comment 1 Vincent Lee 2007-09-07 18:21:29 PDT
Created attachment 16224 [details]
Please use this HTML file to reproduce the issue.

When this page is first loaded, it is already editable. Selecting/Unselecting the checkbox can make the page editable/uneditable later on.
Comment 2 Vincent Lee 2007-09-07 18:27:09 PDT
This issue is Mac only, tested with nightly build 25410. Works fine on Windows.
Comment 3 Matt Lilek 2007-09-07 18:31:17 PDT
What version of Safari are you testing with?  This is a known issue with Safari 2 and works correctly with Safari 3 - <http://trac.webkit.org/projects/webkit/wiki/Known%20incompatibilities%20between%20open-source%20WebKit%20and%20Safari>.
Comment 4 Vincent Lee 2007-09-07 18:35:51 PDT
I'm using the latest Mac OS X WebKit nightly build r25410 from: r25410.dmg">http://nightly.webkit.org/files/mac/WebKit-SVN-r25410.dmg .
Comment 5 Matt Lilek 2007-09-07 18:43:18 PDT
(In reply to comment #4)
> I'm using the latest Mac OS X WebKit nightly build r25410 from:
> r25410.dmg">http://nightly.webkit.org/files/mac/WebKit-SVN-r25410.dmg .
> 

Yes, but what version of Safari (Safari -> About Safari)?  That disk image simply contains updated WebKit frameworks and does not alter the Safari browser at all (other than telling it to use those newer frameworks).

Are you using the standard version included in OS X 10.4.10 (Safari 2.0.4) or have you installed Safari 3 Public Beta.  If it's the former, this bug is invalid, and I'm thinking it is as I'm using Safari 3.0.3 Public Beta and your testcase behaves properly for me.
Comment 6 Vincent Lee 2007-09-07 19:05:24 PDT
Thanks for pointing that out, and yes I'm using Safari 2.0.4. I'll check this again with Safari 3.
Comment 7 Vincent Lee 2007-09-07 19:39:22 PDT
Yes, it works fine with Safari 3. Please close the bug, thanks.