DWF has confirmed that it is considering an initial public offering (IPO) on the London Stock Exchange, in what would be the largest UK law firm listing to date.