[Webkit-unassigned] [Bug 87978] New: repeating-linear-gradient() missteps based on size of background area

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 31 07:55:00 PDT 2012


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

           Summary: repeating-linear-gradient() missteps based on size of
                    background area
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://meyerweb.com/eric/css/tests/gradient-repeat.htm
                    l
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at meyerweb.com


In most of the tests shown, there are “missteps” in the repeating linear gradients.  These missteps are places where a pattern is on where it should be off, or vice versa.  They’re really obvious in the first three test cases on the referenced page, though they show up in all the test cases eventually.

I can’t describe exactly what you’ll see at page load since these missteps in repetition show up in different places for different element background area widths.  This is why, when you resize the browser window, the missteps dance around.  It also seems pretty clear that the rate of missteps decreases as the pattern width widens.  For example, test #10 only shows them intermittently as the window size changes, so the pattern is correct most of the time but wrong every now and again.  For test #1 it’s the inverse: most window widths will show one or more missteps, but every now and again there’s a width where no missteps occur within the visible background area.

And even better, the missteps land in different spots depending on how you declare your gradient, even when two declarations should be equivalent.  That’s why each test has two different syntax patterns: to illustrate that the missteps are sensitive to syntax.

Checked in both Safari 5.1.7 and WebKit Nightly Version 5.1.7 (6534.57.2, r119050).

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