[webkit-changes] cvs commit: WebCore/kwq DOMHTML.mm

John sullivan at opensource.apple.com
Wed Dec 21 17:25:14 PST 2005


sullivan    05/12/21 17:25:14

  Modified:    .        ChangeLog
               kwq      DOMHTML.mm
  Log:
          Reviewed by Tim Omernick and Darin Adler.
  
          - fixed HiDPI problem with forms auto-fill menu width
  
          No test cases added; this code is used for "chrome" only.
  
          * kwq/DOMHTML.mm:
          (-[DOMHTMLInputElement _rectOnScreen]):
          convert entire rect to window coordinates, not just origin
  
  Revision  Changes    Path
  1.20      +12 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- ChangeLog	21 Dec 2005 22:51:10 -0000	1.19
  +++ ChangeLog	22 Dec 2005 01:25:12 -0000	1.20
  @@ -1,3 +1,15 @@
  +2005-12-21  John Sullivan  <sullivan at apple.com>
  +
  +        Reviewed by Tim Omernick and Darin Adler.
  +        
  +        - fixed HiDPI problem with forms auto-fill menu width
  +
  +        No test cases added; this code is used for "chrome" only.
  +
  +        * kwq/DOMHTML.mm:
  +        (-[DOMHTMLInputElement _rectOnScreen]):
  +        convert entire rect to window coordinates, not just origin
  +
   2005-12-21  David Harrison  <harrison at apple.com>
   
           Reviewed by Justin).
  
  
  
  1.32      +1 -4      WebCore/kwq/DOMHTML.mm
  
  Index: DOMHTML.mm
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/DOMHTML.mm,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- DOMHTML.mm	3 Oct 2005 21:13:00 -0000	1.31
  +++ DOMHTML.mm	22 Dec 2005 01:25:13 -0000	1.32
  @@ -4052,10 +4052,7 @@
       NSTextField *field = (NSTextField *)viewForElement(self);
       ASSERT(field != nil);
       NSRect result = [field bounds];
  -    if ([field isFlipped]) {
  -        result.origin.y += result.size.height;
  -    }
  -    result.origin = [field convertPoint:result.origin toView:nil];
  +    result = [field convertRect:result toView:nil];
       result.origin = [[field window] convertBaseToScreen:result.origin];
       return result;
   }
  
  
  



More information about the webkit-changes mailing list