[Webkit-unassigned] [Bug 26260] New: Caret positioning in contenteditable elements with mouse/keyboard fails when css :after is used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 8 15:45:26 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26260

           Summary: Caret positioning in contenteditable elements with
                    mouse/keyboard fails when css :after is used
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jeisecke at saltation.de


Consider the following editable paragrahp 

   <div contenteditable="true">
    <p><span class="x">6</span>Try to click before the 'T', won't work.</p>
   </div>

with the following styles

          .x { display: inline; font-weight: bold; color: green; }
          .x:before { content: "("; }
          .x:after { content: ") "; }

you cannot click before the 'T'. 

Remove the :after style and it works.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list