[webkit-changes] cvs commit: WebCore/khtml/ecma kjs_html.cpp

Eric eseidel at opensource.apple.com
Thu Nov 10 14:55:16 PST 2005


eseidel     05/11/10 14:55:16

  Modified:    .        ChangeLog
               khtml/ecma kjs_html.cpp
  Log:
  Bug #: 3473
  Submitted by: eseidel
  Reviewed by: ggaren
          * khtml/ecma/kjs_html.cpp:
          (KJS::Image::getValueProperty): resolve relative urls in Image::src
          http://bugzilla.opendarwin.org/show_bug.cgi?id=3473
          <rdar://problem/3787988> Preloaded Image objects .src field is not a fully resolved path (3473)
  
  Revision  Changes    Path
  1.351     +9 -0      WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.350
  retrieving revision 1.351
  diff -u -r1.350 -r1.351
  --- ChangeLog	9 Nov 2005 23:05:06 -0000	1.350
  +++ ChangeLog	10 Nov 2005 22:55:12 -0000	1.351
  @@ -1,3 +1,12 @@
  +2005-11-10  Eric Seidel  <eseidel at apple.com>
  +
  +        Reviewed by ggaren.
  +
  +        * khtml/ecma/kjs_html.cpp:
  +        (KJS::Image::getValueProperty): resolve relative urls in Image::src
  +        http://bugzilla.opendarwin.org/show_bug.cgi?id=3473
  +        <rdar://problem/3787988> Preloaded Image objects .src field is not a fully resolved path (3473)
  +
   2005-11-09  David Hyatt  <hyatt at apple.com>
   
   	Fix hit testing of relative positioned inline flows inside
  
  
  
  1.145     +1 -1      WebCore/khtml/ecma/kjs_html.cpp
  
  Index: kjs_html.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/ecma/kjs_html.cpp,v
  retrieving revision 1.144
  retrieving revision 1.145
  diff -u -r1.144 -r1.145
  --- kjs_html.cpp	2 Nov 2005 08:52:42 -0000	1.144
  +++ kjs_html.cpp	10 Nov 2005 22:55:15 -0000	1.145
  @@ -3649,7 +3649,7 @@
   {
     switch (token) {
     case Src:
  -    return String(src);
  +    return jsString(doc ? doc->completeURL(src.domString()) : src);
     case Complete:
       return Boolean(!img || img->status() >= khtml::CachedObject::Persistent);
     case OnLoad:
  
  
  



More information about the webkit-changes mailing list