[Webkit-unassigned] [Bug 128181] New: Incorrect caret position inside iframe with -webkit-transform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 4 07:05:28 PST 2014


           Summary: Incorrect caret position inside iframe with
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: iOS
        OS/Version: iOS 7.0
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.hartmann at gmail.com
                CC: andreas.hartmann at gmail.com

Created an attachment (id=223108)
 --> (https://bugs.webkit.org/attachment.cgi?id=223108&action=review)
Screenshot of iOS simulator

To reproduce:

* Create a document with an iframe
* Apply a CSS transformation to the iframe using -webkit-transform
* Place an editable element (input/textarea/contenteditable) inside the iframe

It looks like the transformation is not applied to the caret (or at least not correctly), see screenshot.

HTML to reproduce:

    <iframe id="iframe" style="-webkit-transform: translate(100px, 0) rotate(20deg)"></iframe>
      var content = '<html><body><textarea style="height: 300px; width: 600px;"></textarea></body></html>';
      document.getElementById('iframe').src = "data:text/html;charset=utf-8," + escape(content);

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

More information about the webkit-unassigned mailing list