blob: b1407381308294f9965519890acbdf32857241fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
description("Check if changing flexbox's content doesn't change the state of scroll. See this bug for detail: https://bugs.webkit.org/show_bug.cgi?id=15135");
var element = null;
element = document.getElementById("vertical");
element.scrollTop = 108;
element.lastChild.data='meroL ipsum';
shouldBe("element.scrollTop", "108");
element = document.getElementById("horizontal");
element.scrollLeft = 108;
element.lastChild.data='fooooooooooooooo meroL ipsum';
shouldBe("element.scrollLeft", "108");
element = document.getElementById("nest");
element.scrollTop = 108;
element.lastChild.data='meroL ipsum';
shouldBe("element.scrollTop", "108");
element = document.getElementById("nest2");
element.scrollTop = 108;
element.lastChild.data='meroL ipsum';
shouldBe("element.scrollTop", "108");
|