Changeset 230466 in webkit
- Timestamp:
- Apr 9, 2018 8:03:28 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r230464 r230466 1 2018-04-09 Zalan Bujtas <zalan@apple.com> 2 3 [LayoutReloaded] Remove Layout.InitialContainingBlock class 4 https://bugs.webkit.org/show_bug.cgi?id=184436 5 6 Reviewed by Antti Koivisto. 7 8 * LayoutReloaded/LayoutTree/Box.js: 9 (Layout.Box.prototype.establishesBlockFormattingContext): 10 * LayoutReloaded/LayoutTree/InitialBlockContainer.js: Removed. 11 * LayoutReloaded/TreeBuilder.js: 12 (TreeBuilder.prototype.createTree): 13 * LayoutReloaded/test/index.html: 14 1 15 2018-04-09 Zalan Bujtas <zalan@apple.com> 2 16 -
trunk/Tools/LayoutReloaded/LayoutTree/Box.js
r230464 r230466 151 151 152 152 establishesBlockFormattingContext() { 153 // Initial Containing Block always creates a new (inital) block formatting context. 154 if (!this.parent()) 155 return true; 153 156 // 9.4.1 Block formatting contexts 154 157 // Floats, absolutely positioned elements, block containers (such as inline-blocks, table-cells, and table-captions) -
trunk/Tools/LayoutReloaded/TreeBuilder.js
r230373 r230466 29 29 createTree(document, renderTreeDump) { 30 30 // Root. 31 let initialBlockContainer = new Layout. InitialBlockContainer(document, parseInt(renderTreeDump.substring(0, renderTreeDump.indexOf("("))));31 let initialBlockContainer = new Layout.BlockContainer(document, parseInt(renderTreeDump.substring(0, renderTreeDump.indexOf("(")))); 32 32 initialBlockContainer.setRendererName("RenderView"); 33 33 renderTreeDump = renderTreeDump.substring(renderTreeDump.indexOf("|") + 1); -
trunk/Tools/LayoutReloaded/test/index.html
r230464 r230466 100 100 addJS("../LayoutTree/Container.js"); 101 101 addJS("../LayoutTree/BlockContainer.js"); 102 addJS("../LayoutTree/InitialBlockContainer.js");103 102 addJS("../LayoutTree/InlineContainer.js"); 104 103 addJS("../LayoutTree/InlineBox.js");
Note: See TracChangeset
for help on using the changeset viewer.