Closed Bug 290054 Opened 19 years ago Closed 19 years ago

css rule "tag1:hover > tag2 { display: block; }" is broken when tag2 display is set to none with javascript

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jepsar, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050410 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050410 Firefox/1.0+

if a testcase is needed I can add one tonight (CET)

Reproducible: Always
Attached file testcase - visibility
Actually, I think this is invalid. Using .style sets the STYLE attribute value
which overrides the CSS value because it is more specific...

Please attach a testcase if you thought of something different.
Keywords: testcase
Note that this bug is INVALID. It is probably a DUPLICATE.
Whiteboard: DUPEME
Resolving INVALID. Please
see: <http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-htmlelementcss>
"Inline style information attached to elements is exposed through the style
attribute."

Following the normal cascade rules that means Mozilla is doing the right thing.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: