Re: [csswg-drafts] [css3 positioning] support position:sticky inside an overflow:hidden|auto on general parents

It would be nice to make this work:

```html
<div class="table-wrapper">
    <table>
        <tr><th>Foo</th><th>Bar</th></tr>
        <tr><td>sin</td><td>cos</td></tr>
        <tr><td>tan</td><td>baz</td></tr>
    </table>
</div>
```

```css
.table-wrapper {
    overflow-x: auto;
}

th {
    position: sticky;
    top: 0;
}
```

I need both horizontal scrolling and sticky header.

-- 
GitHub Notification of comment by valtlai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/865#issuecomment-350585274 using your GitHub account

Received on Sunday, 10 December 2017 22:03:17 UTC