Changeset 52953 in webkit


Ignore:
Timestamp:
Jan 7, 2010 3:33:57 PM (14 years ago)
Author:
mjs@apple.com
Message:

2010-01-07 Maciej Stachowiak <mjs@apple.com>

Reviewed by Simon Fraser.

REGRESSION (r48075): Clicking and dragging in a widget's text field doesn't create a selection; drags widget instead ( Translation, Weather, Ski Report )
https://bugs.webkit.org/show_bug.cgi?id=33348
<rdar://problem/7310616>


  • WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]): We only want to handle file: URLs for the user stylesheet now, so special-case the DashboardClient's funky user stylesheet URL by mapping it to the equivalent file URL.
Location:
trunk/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/mac/ChangeLog

    r52942 r52953  
     12010-01-07  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        REGRESSION (r48075): Clicking and dragging in a widget's text field doesn't create a selection; drags widget instead ( Translation, Weather, Ski Report )
     6        https://bugs.webkit.org/show_bug.cgi?id=33348
     7        <rdar://problem/7310616>
     8       
     9        * WebView/WebView.mm:
     10        (-[WebView _preferencesChangedNotification:]): We only want to
     11        handle file: URLs for the user stylesheet now, so special-case the
     12        DashboardClient's funky user stylesheet URL by mapping it to the
     13        equivalent file URL.
     14
    1152010-01-07  Kevin Decker  <kdecker@apple.com>
    216
  • trunk/WebKit/mac/WebView/WebView.mm

    r52474 r52953  
    13021302    if ([preferences userStyleSheetEnabled]) {
    13031303        NSString* location = [[preferences userStyleSheetLocation] _web_originalDataAsString];
     1304        if ([location isEqualToString:@"apple-dashboard://stylesheet"])
     1305            location = @"file:///System/Library/PrivateFrameworks/DashboardClient.framework/Resources/widget.css";
    13041306        settings->setUserStyleSheetLocation([NSURL URLWithString:(location ? location : @"")]);
    13051307    } else
Note: See TracChangeset for help on using the changeset viewer.