1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,8 @@ assert-property: (".top-doc .docblock table", {"scrollWidth": "1572"})
10
10
11
11
// Checking it works on other doc blocks as well...
12
12
13
- // Logically, the ".docblock" and the "<p>" should have the same scroll width.
14
- compare-elements-property: (
15
- "#implementations-list > details .docblock",
16
- "#implementations-list > details .docblock > p",
17
- ["scrollWidth"],
18
- )
19
- assert-property: ("#implementations-list > details .docblock", {"scrollWidth": "835"})
13
+ // Logically, the ".docblock" and the "<p>" should have the same scroll width (if we exclude the margin).
14
+ assert-property: ("#implementations-list > details .docblock", {"scrollWidth": 816})
15
+ assert-property: ("#implementations-list > details .docblock > p", {"scrollWidth": 835})
20
16
// However, since there is overflow in the <table>, its scroll width is bigger.
21
17
assert-property: ("#implementations-list > details .docblock table", {"scrollWidth": "1572"})
0 commit comments