Home | History | Annotate | Download | only in manual-tests
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      2 <HTML>
      3 <HEAD>
      4 <TITLE> Webkit bugzilla repro movie: #7156 </TITLE>
      5 <META NAME="Author" CONTENT="Aldo Hoeben">
      6 <style type="text/css">
      7 #editable {
      8   width: 40em;
      9   height: 10em;
     10   border: 1px solid black;
     11 }
     12 </STYLE>
     13 </HEAD>
     14 
     15 <BODY>
     16 <P>Repro movie for bug <a href="http://bugs.webkit.org/show_bug.cgi?id=7156">#7156</a></P>
     17 
     18 <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>
     19 
     20 <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.
     21 </div>
     22 
     23 <div id="editable" contentEditable="true">
     24   <p>Test content</p>
     25   <p><a href="about:blank">Test link</a></p>
     26 </div>
     27 
     28 </BODY>
     29 </HTML>
     30