[Webkit-unassigned] [Bug 13156] New: REGRESSION: Pasting breakable content where wrapped line is too long to fit in a textarea fails to draw a horizontal scrollbar

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 22 05:02:10 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13156

           Summary: REGRESSION: Pasting breakable content where wrapped line
                    is too long to fit in a textarea fails to draw a
                    horizontal scrollbar
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: data:text/html,%3Ctextarea%20rows=%2210%22%20cols=%2280%
                    22%3E
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: HasReduction, Regression, NativeTextArea, NeedsRadar
          Severity: Normal
          Priority: P1
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


Summary:

Safaari fails to draw a horizontal scrollbar  when pasting a very long string
with a breakable character (like "?" in a URL) where the wrapped text after the
break is too long to fit width-wise in a textarea.

Steps to reproduce:

1. Open Safari/WebKit.

2. Open URL for this bug:
data:text/html,%3Ctextarea%20rows=%2210%22%20cols=%2280%22%3E

3. Paste this URL into the textarea:

http://images.google.com/imgres?imgurl=http://images.apple.com/downloads/macosx/video/images/windowsmediaplayerformacosx_200311071940.jpg&imgrefurl=http://www.apple.com/downloads/macosx/video/windowsmediaplayerformacosx.html&h=337&w=382&sz=16&hl=en&start=12&tbnid=xpRK4qQ9xPDvuM:&tbnh=109&tbnw=123&prev=/images%3Fq%3Djpg%2Bsite:apple.com%26gbv%3D2%26svnum%3D10%26hl%3Den%26sa%3DG

Expected results:

A horizontal scrollbar should be drawn to accommodate the wrapped text.

Actual results:

A horizontal scrollbar is NOT drawn.

Regression:

This is a regression from shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.9
(8P135).  The behavior is different in two ways:

- Safari 2.0.4 wraps at slashes '/' instead of the question mark '?'.
- Lines that are two long are hard-wrapped (much like a text file would be with
lines that are too long) instead of drawing a horizontal scrollbar.

Notes:

Tested with a local debug build of WebKit r20387 with the above software.

Instead of a horiztonal scrollbar, an alternate solution is to hard-wrap the
text as Safari 2.0.4 did.


-- 
Configure bugmail: http://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