[csswg-drafts] [css-sticky] Can sticky left/right find nearest only scrolling-x ancestor? (#10453)

gaokun has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sticky] Can sticky left/right find nearest only scrolling-x ancestor? ==

```html
<div id="p1" style="overflow-x: auto; overflow-y: hidden;">
  <div id="p2" style="overflow-x: hidden; overflow-y: auto;">
     <div style="absolute: stikcy; left: 10px;">sticky dom</div>
  </div>
</div>
```

If the `sticky dom` only has `left` attr,  it took `p2` as scrolling ancestor.
But `p2` can not be scrolled at `x` direction.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10453 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 17 June 2024 03:16:04 UTC