[Webkit-unassigned] [Bug 38704] New: SVG pattern size changed when resizing browser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 6 16:51:30 PDT 2010


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

           Summary: SVG pattern size changed when resizing browser
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: s3lance at hotmail.com


* SUMMARY

The pattern size changed when resizing browser, which the pattern size should
be independent of the browser's size.
The pattern even failed to render repeatedly if we resize the browser to
smaller than the element which applied the pattern and then scroll down.

The problem doesn't exist if we don't use viewBox, but it is needed.

* STEPS TO REPRODUCE  (see test-case in attachment)
1. Define a pattern with {x=0, y=0, width=700, height=700}
2. Set the pattern with viewBox {0 0 200 200}
3. Apply the pattern on a rect with {x=0, y=0, width=800 height=800}
4. Resize browser to smaller than the pattern size
5. Scroll down

* EXPECTED RESULTS
The pattern size doesn't change when resizing and scrolling

* ACTUAL RESULTS
pattern size changed in step 4
pattern failed to render repeatedly in step 5

* REGRESSION
Safari Version 4.0.4 (6531.21.10, r53178) / Mac

It seems that the size of SVG pattern is upper-bounded by the size of the
browser window.

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