This assumes that we're dealing with only webkit, which is not correct