[RR/RCF]anchor display both none and inline after dom manipulation (when it should be inline)

RESOLVED WORKSFORME

Status

()

Core
CSS Parsing and Computation
P2
normal
RESOLVED WORKSFORME
17 years ago
16 years ago

People

(Reporter: David Anderson, Assigned: dbaron)

Tracking

Trunk
mozilla1.2alpha
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
See step 1 on web page.

After some anchorElem.style.display = 'none'/anchorElem.style.display = 'inline'
manipulation, plus some manipulation will its child nodes, anchorElem exhibits
both display = 'none' and display = 'inline' behavior at the same time.  Then
finally disappears without a javascript command to do so.
The problem is that context-dependent selectors (eg "a .oldValue" or "a:hover
.newValue") don't interact well with inline style...

Duplicate of "context selectors in stylesheet trash dom styles"

*** This bug has been marked as a duplicate of 99344 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE
(Reporter)

Comment 2

17 years ago
still seeing problematic behavior in 2002040503, wink2k

Comment 3

17 years ago
i'm seeing some weird behaviour with linux trunk 2002040604 but no crash for the
second part.

as the reporter, you have the ability to reopen a bug.
(Reporter)

Comment 4

17 years ago
The second problem was filed on a different bug, bug 121129, which has been
fixed.  I'm removing it from the url page for clarity.  

Thanks for checking it out...
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Please retest now that bug 99344 is fixed.
(Reporter)

Comment 6

17 years ago
still seeing problematic behavior in 2002040903, winNT 

Over to style system.  I'm still seeing this on Linux too.
Assignee: jst → dbaron
Status: UNCONFIRMED → NEW
Component: DOM Core → Style System
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: stummala → ian
Hardware: PC → All
I have some other bugs similar to this.  It's not fixed by the fix to bug
136704, though, but that fix doesn't fix other things I made dependent on bug
136728 either.
Status: NEW → ASSIGNED
Depends on: 136728
Priority: -- → P2
Target Milestone: --- → mozilla1.1beta
Summary: anchor display both none and inline after dom manipulation (when it should be inline) → [RR/RCF]anchor display both none and inline after dom manipulation (when it should be inline)
No longer depends on: 136728

Comment 9

16 years ago
cc'ing myself
Target Milestone: mozilla1.1beta → mozilla1.2alpha
This now worksforme.  I bet fixing bug 158230 fixed this... David, could you retest?
(Reporter)

Comment 11

16 years ago
Works for reporter on build 2002080504.

Many thanks, Boris
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.