Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2051bf7c1fc3f29a4418320b3ba4e44e2d4a22c3
      
https://github.com/WebKit/WebKit/commit/2051bf7c1fc3f29a4418320b3ba4e44e2d4a22c3
  Author: Ryosei Otaka <[email protected]>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M Source/WebKit/Shared/PlatformPopupMenuData.h
    M Source/WebKit/Shared/PlatformPopupMenuData.serialization.in
    M Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.cpp
    M Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.h
    M Source/WebKit/WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp

  Log Message:
  -----------
  [Win] PopupMenu should support RTL contents
https://bugs.webkit.org/show_bug.cgi?id=275390

Reviewed by Fujii Hironori.

WebPopupMenuWin cannot display correctly a HTML having
<select> elements with dir="rtl".
When device scale factor is set other than 1,
texts on PopupMenu drop out.
When PopupMenu needs Scrollbar, scrollbar is always
displayed on the right side and overlaps texts.

To fix these, WebPopupMenuWin sets correct width of
PopupMenu to backingStore and Scrollbar is displayed
on the right side by default or on the left side
when <select> has dir="rtl".

* Source/WebKit/Shared/PlatformPopupMenuData.h:
* Source/WebKit/Shared/PlatformPopupMenuData.serialization.in:
* Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.cpp:
* Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.h:
* Source/WebKit/WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:

Canonical link: https://commits.webkit.org/279998@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to