Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The reason for a DOM node not being visible is either the height/width being 0, its position is out of the viewport, it's behind other nodes or its opacity is 0. And that's basically the same for any layout engine that use node tree. The inspector is so easy to use that using a chatbot for the specified reason is a waste of resources.


There are so many more layers. Yeah, the height is zero. Why? Turns out the stylesheet styles are getting overridden by some global and import order is off. This is the perfect case for a chatbot that can see what's going on.


You can see all the styles that are applied to a specific node and their provenance. I believe learning how to properly debug is way more valuable than hoping that an LLM will get it right. And there's no global, and import order is kinda the wrong way to think about it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: