1 // This test ensures that the type declaration content overflow is handled inside the <pre> directly.
2 goto: file://|DOC_PATH|/lib2/long_table/struct.Foo.html
3 // We set a fixed size so there is no chance of "random" resize.
5 // Logically, the ".docblock" and the "<p>" should have the same scroll width.
6 compare-elements-property: (".top-doc .docblock", ".top-doc .docblock > p", ["scrollWidth"])
7 assert-property: (".top-doc .docblock", {"scrollWidth": "816"})
8 // However, since there is overflow in the <table>, its scroll width is bigger.
9 assert-property: (".top-doc .docblock table", {"scrollWidth": "1573"})