Re: [csswg-drafts] [resize-observer] Which box information should we pass to the callback (#3329)

Also, just to clarify...

1. So `devicePixelBorderBox` is being scrapped?

2. Sticking to the term `box` instead of `size`? I guess this is to support offsets if required (#3550)?

3. What happens if this occurs?
```js
const ro = new ResizeObserver(() => {});

ro.observe(document.body, { box: 'border-box' });

// This one will be skipped?
// or will contentBox and borderBox be watched and returned?
ro.observe(document.body, { box: 'content-box' });
```

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

Received on Monday, 25 February 2019 11:40:20 UTC