Hacker News new | ask | show | jobs
by visural 5260 days ago
Couldn't the same argument be applied to JQuery UI then?
2 comments

Not that I've checked, but common sense dictates jQuery UI (and any other such lib) does use a class to identify elements.

That doesn't, however, mean they don't inherit from the style of the base element. Which they will, no matter how they're classed or ID'd, if the base elements have been styled in CSS.

No, because jQuery UI does not style "vanilla" elements. Namespaces are used to prevent it from breaking external styling.