private IDomModelFormatter getDomFormatter() {
return new CSSDomFormatter(cssProvider, layoutFeeder) {
@Override
protected WithText getTextFlow(IFormattingContext context) {
recordedDebugFormatResult = new TextFlowWithDebugRecording(context);
return recordedDebugFormatResult;
}
};
}