It just does work. The only problem is probably the understanding of how it should work. You never explained what exactly did you expect from this CSS. Please see:
text-decoration — CSS | MDN[
^].
For illustration, consider this demo:
<html>
<head>
<title>Text decoration demo</title>
<style type="text/css">
a { text-decoration: none; }
</style>
</head>
<body>
<a href="http:www.w3.org">W3</a>
</body>
</html>
Render it, and you will see that the anchor text shows no decoration — it is not underlined. Comment out the CSS, and you will see the underlined anchor text, as it should be by default. On "h1", "none" decoration is default (normally), so the same CSS property should not have any effect.
—SA