[Webkit-unassigned] [Bug 21017] Background linear-gradient with border using rgba/alpha is "off by one", top == bottom, bottom == top

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 22 21:25:51 PDT 2008


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


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from hyatt at apple.com  2008-09-22 21:25 PDT -------
This is INVALID.  The background size of a generated image matches the default
box specified by -webkit-background-origin.  This is the padding box.  This is
true for both SVGs and gradients.

If you've ever tried specifying a background image like a PNG in a box with a
dotted border, notice how the image's origin is the upper left corner of the
padding box, and the image tiles into the border.  The same thing is happening
here with the gradient.

To get the effect you want, set -webkit-background-origin to border.


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