Title: [202169] trunk/Source/WebCore
- Revision
- 202169
- Author
- [email protected]
- Date
- 2016-06-17 10:20:11 -0700 (Fri, 17 Jun 2016)
Log Message
[Win] Scrolling in popup menu scrolls past last entry.
https://bugs.webkit.org/show_bug.cgi?id=158870
Reviewed by Brent Fulgham.
When the popup has a scrollbar, the content size is not equal to the popup window size.
* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::contentsSize):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (202168 => 202169)
--- trunk/Source/WebCore/ChangeLog 2016-06-17 16:30:03 UTC (rev 202168)
+++ trunk/Source/WebCore/ChangeLog 2016-06-17 17:20:11 UTC (rev 202169)
@@ -1,3 +1,15 @@
+2016-06-17 Per Arne Vollan <[email protected]>
+
+ [Win] Scrolling in popup menu scrolls past last entry.
+ https://bugs.webkit.org/show_bug.cgi?id=158870
+
+ Reviewed by Brent Fulgham.
+
+ When the popup has a scrollbar, the content size is not equal to the popup window size.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenuWin::contentsSize):
+
2016-06-17 Frederic Wang <[email protected]>
Refactor RenderMathMLRoot layout function to avoid using flexbox
Modified: trunk/Source/WebCore/platform/win/PopupMenuWin.cpp (202168 => 202169)
--- trunk/Source/WebCore/platform/win/PopupMenuWin.cpp 2016-06-17 16:30:03 UTC (rev 202168)
+++ trunk/Source/WebCore/platform/win/PopupMenuWin.cpp 2016-06-17 17:20:11 UTC (rev 202169)
@@ -735,7 +735,7 @@
IntSize PopupMenuWin::contentsSize() const
{
- return m_windowRect.size();
+ return IntSize(m_windowRect.width(), m_scrollbar ? m_scrollbar->totalSize() : m_windowRect.height());
}
IntRect PopupMenuWin::scrollableAreaBoundingBox(bool*) const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes