зеркало из https://github.com/mozilla/pjs.git
Changed to handle "ReflowDirty" reflow command
This commit is contained in:
Родитель
aa18812942
Коммит
c4cd9c8b70
|
@ -2981,6 +2981,13 @@ NS_METHOD nsTableFrame::IR_TargetIsMe(nsIPresContext& aPresContext,
|
||||||
rv = NS_ERROR_ILLEGAL_VALUE;
|
rv = NS_ERROR_ILLEGAL_VALUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case nsIReflowCommand::ReflowDirty:
|
||||||
|
InvalidateFirstPassCache();
|
||||||
|
InvalidateColumnCache();
|
||||||
|
InvalidateColumnWidths();
|
||||||
|
rv = NS_OK;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
NS_NOTYETIMPLEMENTED("unexpected reflow command type");
|
NS_NOTYETIMPLEMENTED("unexpected reflow command type");
|
||||||
rv = NS_ERROR_NOT_IMPLEMENTED;
|
rv = NS_ERROR_NOT_IMPLEMENTED;
|
||||||
|
|
|
@ -2981,6 +2981,13 @@ NS_METHOD nsTableFrame::IR_TargetIsMe(nsIPresContext& aPresContext,
|
||||||
rv = NS_ERROR_ILLEGAL_VALUE;
|
rv = NS_ERROR_ILLEGAL_VALUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case nsIReflowCommand::ReflowDirty:
|
||||||
|
InvalidateFirstPassCache();
|
||||||
|
InvalidateColumnCache();
|
||||||
|
InvalidateColumnWidths();
|
||||||
|
rv = NS_OK;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
NS_NOTYETIMPLEMENTED("unexpected reflow command type");
|
NS_NOTYETIMPLEMENTED("unexpected reflow command type");
|
||||||
rv = NS_ERROR_NOT_IMPLEMENTED;
|
rv = NS_ERROR_NOT_IMPLEMENTED;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче