-
Notifications
You must be signed in to change notification settings - Fork 0
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
rename visible #92
Comments
+1 for |
I don't think this is an issue. Something being visible on your page, in an abstract sense, has nothing to do with wether it is overlapping with another element and is being obscured. Also, the name "visible" as it is now, is immediately familiar with CSS users, since it acts the same as |
I gotta say that I originally planned to introduce a new read-only property which would return the state of an element (yes for visible, no for completely hidden, partial for partially visible/hidden). And @veosotano pointed out that it can't be considered reliable once you take transparency into account. Let's talk about what this property does. This property is not about whether the element is visible or not. Does it insert or remove an element into/from the tree? Since you said that the flow is still affected that means that we can remove
Which one is the most accurate? Which one would you pick? And why? |
display because css |
@vprimachenko in CSS |
When
ref(visible of selector)
returnsyes
you could logically think it's visible: you would be wrong, it could be hidden by another element. It's badly named: it should describe what it does.The text was updated successfully, but these errors were encountered: