[LayoutReloaded] Add simple implementation for FormattingState::markNeedsLayout()
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Apr 2018 03:21:59 +0000 (03:21 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Apr 2018 03:21:59 +0000 (03:21 +0000)
commit8aeda95c71a6869e3c53aaf6ab1c7d73c38b5ff5
treed62ac287fe819868cd0c686c9759b028bc29ab8c
parent04cdf767e3a38a70960db0ecb57ff882c2b8aade
[LayoutReloaded] Add simple implementation for FormattingState::markNeedsLayout()
https://bugs.webkit.org/show_bug.cgi?id=184621

Reviewed by Antti Koivisto.

This is just a simple, mark ancestors dirty implementation.

* LayoutReloaded/FormattingState/FormattingState.js:
(FormattingState.prototype.markNeedsLayout):
* LayoutReloaded/LayoutState.js:
(LayoutState.prototype.markNeedsLayout):
(LayoutState.prototype.setNeedsLayoutById): Deleted.
(LayoutState.prototype.setNeedsLayout): Deleted.
* LayoutReloaded/TreeBuilder.js:
(TreeBuilder.prototype._createAndAttachBox):
(TreeBuilder.prototype._findBox): Deleted.
* LayoutReloaded/Utils.js:
(Utils.layoutBoxById):
* LayoutReloaded/test/index.html:
* LayoutReloaded/test/simple-incremental-layout-with-static-content.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/LayoutReloaded/FormattingState/FormattingState.js
Tools/LayoutReloaded/LayoutState.js
Tools/LayoutReloaded/TreeBuilder.js
Tools/LayoutReloaded/Utils.js
Tools/LayoutReloaded/test/index.html
Tools/LayoutReloaded/test/simple-incremental-layout-with-static-content.html