Bug Report: 179377 Date: 2005-09-07 Note: "The bug is already fixed in the next major rendering engine update." [Tim Altman, 2005-09-12] Note: Fixed in 9.00p1 build 8031. Version: Opera 8.02/Windows98/PC Build: 7680 Brief Summary: Wrong specificity of 'style' attribute. Severity: Spec violation Part affected: Display URL: http://home.swipnet.se/sigsegv/opera/bugs/css-style-specificity.html Detailed description: Opera appears to implement selector specificity according to CSS 2, rather than CSS 2.1. Test case: Screen shot: According to CSS 2.1, the specificity of a style attribute and the selectors are as follows: style (1,0,0,0) #p1 (0,1,0,0) #d1 #p2 (0,2,0,0) Thus, both style attributes should override the selectors. According to CSS 2, the specificities are as follows: style (1,0,0) #p1 (1,0,0) #d1 #p2 (2,0,0) In this case, the style attribute override the first paragraph, but NOT the second, which is consistent with the results in Opera. Steps to reproduce the bug: - E-mail: See: mailto.txt