You was catched by a tricky way. There is 2 kinds of inline styles:
- < style>...< /style> - supports 'hash-value' token
- < tag style='...'> - does not support 'hash-value' token
But Chrome counts sha256 values for both of those, because it prepares to support 'unsafe-hashes' token (but not implemented it yet is is implemented, sorry).
Chrome's console messages have not differences between both of above styles, all considered as inline.
So you have somewhere in HTML-code an inline style in the tag (para 2). Chrome counted sha256 hash for it and fired a warn in the console. You add this hash to the CSP but still have a warning, because style in the tag have blocked - it could not be allowed via 'hash-value'.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…