[Webkit-unassigned] [Bug 106287] New: [Chromium] Cannot copy text when selecting readonly (or disabled) input elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 7 18:25:04 PST 2013


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

           Summary: [Chromium] Cannot copy text when selecting readonly
                    (or disabled) input elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shinyak at chromium.org
                CC: webcomponents-bugzilla at chromium.org


This is related to Bug 85244.
When selecting text on disabled input element, we cannot paste the selected string by mid-click on X Window.

Since the input element is disabled, the inner element of the input element is not editable.
So in WebViewImpl::caretOrSelectionRange, rootEditableElementOrDocumentElement() returns document element.
However the range is in different tree scope.

We should return ShadowRoot instead of document here.

-- 
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