If frameborder is obsolete, why does youtube still use it?

It depends on where those border assignments fall in CSS. The C stands for Cascading so assuming the same specificity the last border assignment is the one that is applied. In inline styles, the properties are read from left to right. The rightmost would win.

3 Likes