Skip to content
  • mitz@apple.com's avatar
    Reviewed by Adele Peterson. · 6ebc2b6a
    mitz@apple.com authored
            - fix <rdar://problem/6607773> WebKit should support the "Default"
              paragraph writing direction -- or at least validate the menu item
              appropriately
    
            Made WebHTMLView validate user interface items with the selector
            -makeBaseWritingDirectionNatural: by returning NO and, if the item is
            a menu item, setting its state to "off".
    
            Strictly speaking, since -makeBaseWritingDirectionNatural: is never
            valid for WebViews, WebHTMLView should not need to respond to it and
            validate it, however because other responders respond to all three
            -makeBaseWritingDirection*: messages and set the menu item state, having
            WebHTMLView do the same makes application developers' lives easier.
    
            * WebView/WebHTMLView.mm:
            (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
            (-[WebHTMLView makeBaseWritingDirectionNatural:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6ebc2b6a