Commit graph

12 commits

Author SHA1 Message Date
Pyfisch
284cb8aae8 Fix several bugs related to scrolling
* scrollLeft/scrollTop returned values of parent or even document root
   Only the scroll of the node itself is returned. Otherwise 0.0.
* Scrolling via script had set viewport.
   This resulted in other nodes appearing scrolled.
   Now scroll_offsets are updated with correct node id.

These bugs caused other odd behavior like both body and
document.documentElement being scrolled or the view for scrolled
elements jumping.
2017-06-19 21:43:35 +02:00
Josh Matthews
665817d2a6 Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
Ms2ger
296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00
Ms2ger
d6ba94ca28 Update web-platform-tests to revision 3137d1d2d7757366a69f8a449b458b5057e0e81e 2016-12-28 11:34:21 +01:00
Xidorn Quan
57a26bc8c8 Add test for empty media query list 2016-11-10 17:42:20 +11:00
Martin Broesamle
8701a4495b Tests for scroll_area on body element in quirks mode.
see #10947
Node::scroll_area should check if the element is potentially scrollable

Three tests use `document.scrollingElement` which was not supported at
the time of writing. They are, hence, expected to FAIL.

The last expected FAIL should be fixed by #10947.

Edited some comments, message texts.
2016-06-23 10:14:03 +02:00
Kosov Eugene
3bb093cc16 Make Document::DefaultView return a null value when there's no browsing context 2016-06-08 23:10:20 +03:00
Zhen Zhang
11b12f677b element scroll setters 2016-04-20 08:29:17 +08:00
Ms2ger
5fc5891e04 Rewrite scrollingElement.html to fail reliably when URL.createObjectURL is not implemented. 2016-04-05 15:15:46 +02:00
Ms2ger
e8ed816728 Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394 2016-02-12 09:41:14 +01:00
Ms2ger
73bc5cf1b8 Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6 2016-02-01 17:25:22 +01:00
Ms2ger
3a79c9b53f Update web-platform-tests to revision ee40b886c701ffa25a673240cabdedd59ee3ace4 2015-11-24 13:35:04 +01:00