Bug 164467 - Overscroll area should be painted with color at the end of the gradient for non-repeating backgrounds
Summary: Overscroll area should be painted with color at the end of the gradient for n...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2016-11-06 14:48 PST by Anthony Ricaud
Modified: 2016-11-09 13:44 PST (History)
3 users (show)

See Also:


Attachments
Testcase (280 bytes, text/html)
2016-11-06 14:48 PST, Anthony Ricaud
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Ricaud 2016-11-06 14:48:48 PST
Created attachment 294038 [details]
Testcase

Steps to reproduce:
1) Open test case
2) Scroll up and down

Actual:
Top overscroll region is green.
Bottom overscroll region is red.

Expected:
Top overscroll region is red.
Bottom overscroll region is green.

The overscroll regions should look like extensions of the page. This bug breaks the illusion.
Comment 1 Radar WebKit Bug Importer 2016-11-09 10:47:08 PST
<rdar://problem/29182091>
Comment 2 Simon Fraser (smfr) 2016-11-09 11:13:25 PST
Isn't this just how background painting works (background-repeat is repeat by default).
Comment 3 Anthony Ricaud 2016-11-09 13:30:57 PST
> Isn't this just how background painting works (background-repeat is repeat by default).

Yes it is. Sorry I forgot to update the bug after I found out. Markus Stange suggested that maybe non-repeating gradients could be special cased (https://twitter.com/markusstange/status/795400938638938120