[Webkit-unassigned] [Bug 41078] New: Author-specified max-width and max-height on textareas should be ignored when the user drag-resizes a textarea.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 23 10:36:52 PDT 2010


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

           Summary: Author-specified max-width and max-height on textareas
                    should be ignored when the user drag-resizes a
                    textarea.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tabatkins at google.com


Currently, if the author of a page specifies a max-width or max-height on a textarea, the user is unable to drag-resize the textarea beyond that max-width.

This is bad.  If I want a textarea to be big, I shouldn't be stopped by an author's misguided limitation (perhaps for layout or design reasons, or perhaps for no good reason at all).

Theoretically, a drag-resize of a textarea is equivalent to an !important width/height declaration at the user-stylesheet level.  This overrides all other rules.  I propose that it should also be treated as a max-width/max-height declaration at the same level.  (Treating it as a min-width/height declaration as well would be consistent, but isn't strictly necessary to address my concern.)

Testcase:
data:text/html,%3C!DOCTYPE%20html%3E%3Ctextarea%20style%3Dmax-width%3A400px%3E%3C%2Ftextarea%3E

Load this up, and attempt to drag-resize the textarea to more than 400px wide.

Expected: The user should be able to resize the textarea to whatever size they desire.
Actual: The textarea cannot be sized to more than 400px wide.

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