Bug 38780 - extend PopupMenuStyle with text alignment
Summary: extend PopupMenuStyle with text alignment
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 19785
  Show dependency treegraph
 
Reported: 2010-05-07 16:00 PDT by Xiaomei Ji
Modified: 2011-01-28 13:44 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaomei Ji 2010-05-07 16:00:38 PDT
Currently, PopupMenuStyle has TextDirection field, but not field for text alignment.

Webkit align popup left when using natural writing direction.

It would be useful to add text alignment in PopupMenuStyle so that each client could draw text using the desired alignment and text direction, such as align popup right but display menu item in natural writing direction.

Related Bug 19785, Bug 38749, Bug 29612, and chromium issue 6139 (http://crbug.com/6139)
Comment 1 Xiaomei Ji 2011-01-28 13:44:31 PST
refer to http://trac.webkit.org/changeset/76983 for detail.