blob: 9923aa9018a85eb42a573f02408ba6276f5bf43d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Webkit bugzilla repro movie: #7156 </TITLE>
<META NAME="Author" CONTENT="Aldo Hoeben">
<style type="text/css">
#editable {
width: 40em;
height: 10em;
border: 1px solid black;
}
</STYLE>
</HEAD>
<BODY>
<P>Repro movie for bug <a href="http://bugs.webkit.org/show_bug.cgi?id=7156">#7156</a></P>
<div>The behaviour of editable links is controlled by the user default WebKitEditableLinkBehavior. This can be set via a private WebPreference. If the preference is OnlyLiveWithShiftKey, then the link will only be active when the shift key is pressed (WinIE/Firefox behaviour). If the preference is WebKitEditableLinkAlwaysLive or WebKitEditableLinkDefaultBehavior, then the link is always active (Safari 2.0 behaviour). Finally, if the preference is WebKitEditableLinkLiveWhenNotFocused, the link will only be live if the selection before clicking on the link is not in the same editable block as the link.</div>
<div>Also, when a link is 'live' it can be dragged as a link, and when the link isn't 'live', dragging a link just performs a normal text selection.
</div>
<div id="editable" contentEditable="true">
<p>Test content</p>
<p><a href="about:blank">Test link</a></p>
</div>
</BODY>
</HTML>