| Summary: | Scroll snapping to elements is broken for main frame scrolling | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser, webkit-bug-importer, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=210503 | ||||||||
| Attachments: |
|
||||||||
|
Description
Wenson Hsieh
2015-07-14 21:26:41 PDT
Created attachment 256849 [details]
Patch
Comment on attachment 256849 [details]
Patch
r+ but please fix the broken builds.
Created attachment 256858 [details]
Patch
Comment on attachment 256858 [details]
Patch
r=me, based on Simon's review and the fact that this is building properly.
Comment on attachment 256858 [details] Patch Clearing flags on attachment: 256858 Committed r186865: <http://trac.webkit.org/changeset/186865> Comment on attachment 256858 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256858&action=review > Source/WebCore/rendering/RenderBox.cpp:5008 > + if (document().body() && frame().mainFrame().view() && frame().mainFrame().view()->isScrollable()) This was wrong to consult the main frame. |