If DefineEditText's useOutlines is zero (i.e. device text), the italic and bold properties are taken into account and appended to the CanvasRenderingContext2d's font property. Otherwise, they are just ignored.