Posts Tagged webkit

CSS min-width for Buttons in safari/webkit

… has stopped working in the latest webkit versions (for quite some time actually).

CSS min-width ignored for input type=”button” on webkit

(ok, you guessed it, I’m posting this just to draw uncle G’s attention. Sorry!)

, ,

No Comments

WebKit on Linux

It doesn’t have all the bells and whistles that the mac or windows versions have, but it’s damn handy for testing safari compatibility without booting another OS.

To install/build it on ubuntu (hardy with the usual bells & whistles), proceed as follows:

First you’ll need some dev packages to build it with:

sudo aptitude install libqt4-dev libxslt-dev gperf bison libsqlite3-dev flex build-essential

Then get the latest source from Right now that’s r36309, so we have:


The builds change almost daily, so check first, don’t just copy the line above.

tar -jxf WebKit-r*.tar.bz2
cd WebKit-r*/
export QTDIR=/usr/share/qt4/ 

This will take 30mins+ on a reasonable machine, so go make tea.

When it’s finished, you can launch it as follows:


And that’s it, we’re done. Simple eh?

Note: it will need QTDIR set for it to run. We exported it when we were building above, but it probably won’t be set when you try to run it next time. The simplest way to work around this is probably to just put the export in your .profile as follows:

echo "export QTDIR=/usr/share/qt4/" >> .profile


No Comments