File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -545,8 +545,11 @@ class HTMLElement {
545545
546546class Box {
547547 isInline(): this is Inline;
548- isBlockContainer(): this is BlockContainer;
549548 isFormattingBox(): this is FormattingBox;
549+ isBlockContainerOfInlines(): this is BlockContainerOfInlines;
550+ isBlockContainerOfBlocks(): this is BlockContainerOfBlocks;
551+ isReplacedBox(): this is ReplacedBox;
552+ isBlockContainer(): this is BlockContainer;
550553 getBorderArea(): BoxArea;
551554 getPaddingArea(): BoxArea;
552555 getContentArea(): BoxArea;
@@ -556,10 +559,14 @@ class Inline extends Box;
556559
557560abstract class FormattingBox extends Box;
558561
559- class BlockContainer extends FormattingBox;
562+ class BlockContainerOfInlines extends FormattingBox;
563+
564+ class BlockContainerOfBlocks extends FormattingBox;
560565
561566class ReplacedBox extends FormattingBox;
562567
568+ type BlockContainer = BlockContainerOfInlines | BlockContainerOfBlocks;
569+
563570class BoxArea {
564571 x: number;
565572 y: number;
You can’t perform that action at this time.
0 commit comments