Re: [csswg-drafts] [css-scroll-anchoring-1] Can anchor node be an inline-block? (#4247)

Also, blink seems to [skip inlines](https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/layout/scroll_anchor.cc?l=276&rcl=79f03ab2a29a9977b9ad444d9c29530a4273da30), how does that make sense while not skipping inline-blocks?

So, basically, the blink condition for whether something it's an acceptable anchor if I'm reading the code right is:

```cpp
!IsAnonymous() && !IsInline() && (IsText() || IsBox())
```

What does `IsBox()` really mean? what is the rect that blink uses for boxes that are not blocks? Why does the above condition make sense?

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

Received on Saturday, 31 August 2019 23:45:02 UTC