MacRabbit

Tip: CSSEdit + WebKit Nightly

Is it possible to use a newer version of WebKit with CSSEdit? Yes, and it’s easy! Here’s what you need to do:

1) Download the latest WebKit from nightly.webkit.org.
2) Install the WebKit application somewhere, in Applications for example.
3) Run the following Terminal command (replace /Path/to with the appropriate locations):

env DYLD_FRAMEWORK_PATH=/Path/to/WebKit.app/Contents/Resources WEBKIT_UNSET_DYLD_FRAMEWORK_PATH=YES /Path/to/CSSEdit.app/Contents/MacOS/CSSEdit

4) That’s it! You’re now able to design your style sheets with the latest WebKit CSS improvements.

Great tip, but how can i switch back to the normal behaviour?

Is it:
env DYLD_FRAMEWORK_PATH=/Path/to/Safari.app/Contents/Resources WEBKIT_UNSET_DYLD_FRAMEWORK_PATH=YES /Path/to/CSSEdit.app/Contents/MacOS/CSSEdit

Rolf

Rolf, this tip will only make CSSEdit use the WebKit Nightly during that session. It’s not persistent, so you’ll need to execute it every time.

Jan Van Boghout

Thanks for clearing that up Jan. This way it is very easy to switch between versions of Webkit.

Reinier Meenhorst

Thanks for the tip! : ) It’d be great to have this as a preference from within CSSEdit. WebKit usually resides in /Applications anyway.

Leo Valen

hi. will you make version for Windows XP (or Vista) ?
i haven’t mac :(

SvT

SvT, as mentioned before: CSSEdit is Mac-only and will stay that way.

Jan Van Boghout

I tried this and got the following

imac:/Users/lanny root# env DYLD_FRAMEWORK_PATH=/Applications/WebKit.app/Contents/Resources WEBKIT_UNSET_DYLD_FRAMEWORK_PATH=YES /Applications/CSSEdit.app/Contents/MacOS/CSSEdit

2007-07-22 12:45:51.450 CSSEdit[6171] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0×44f), port = 0×3103, name = ‘com.macrabbit.CSSEdit.ServiceProvider’
See /usr/include/servers/bootstrap_defs.h for the error codes.

2007-07-22 12:45:51.516 CSSEdit[6171] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (com.macrabbit.CSSEdit.ServiceProvider)

Lanny Rosicky

About

This article was written on Friday, 2 February 2007 and filed under:

Say Your Thing

Comments and Trackback are currently closed.

Previous/Next