- From: Nadya678 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Nov 2017 05:09:22 +0000
- To: public-css-archive@w3.org
Nadya678 has just created a new issue for https://github.com/w3c/csswg-drafts:
== [CSSOM] scrollTop problem ==
```
<!DOCTYPE html>
<html>
<head>
<style>
html
{
display:table;
width:100%;
border:none;
border-spacing: 0px;
height:100%;
}
body
{
display:table-cell;
vertical-align:middle;
/* here add padding to make area for fixed-positioned elements like menu, nav-bar*/
}
</style>
</head>
<body> a lot of text a lot of text...
</body>
</html>
```
Which element should have scrollTop value defined here, appropriate to scrollbar position visible in main window?
MSIE has undefined on all elements (including document and window)
Chrome and Firefox on `<html/>`, but `<html/>` is not inside `<html/>`.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2018 using your GitHub account
Received on Thursday, 30 November 2017 05:09:24 UTC