Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[resize-observer] The phrase "if Element has display" doesn't make sense #3819

Closed
dholbert opened this issue Apr 10, 2019 · 3 comments
Closed

Comments

@dholbert
Copy link
Member

dholbert commented Apr 10, 2019

The ResizeObserver intro section (https://drafts.csswg.org/resize-observer/#intro ) currently ends with this text:

Observation will fire when observation starts if Element has display, and Element’s size is not 0,0.

The phrase "if Element has display" doesn't really make any sense -- could we clarify that?

@emilio
Copy link
Collaborator

emilio commented Apr 10, 2019

I assume it should use https://html.spec.whatwg.org/#being-rendered

@gregwhitworth
Copy link
Contributor

Yes, thanks @emilio - I think what the initial think was something along the lines of "display does not compute to none" but that is much more concise. I'll update it.

@fantasai
Copy link
Collaborator

Generating a box and “being rendered” might not necessarily the same thing, there's an open issue on that wrt elements with display: contents. whatwg/html#1837 Probably want to be more explicit about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants