Closed Bug 154166 Opened 23 years ago Closed 23 years ago

CompareTreePosition: Can nodes in a fragment be following/preceding?

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: caillon, Assigned: caillon)

References

()

Details

Steps to reproduce: 1. Give jst a pipe. 2. Listen to him tell you how nodes in a fragment don't get following/preceding flags. 3. Implement compareTreePosition() based on that assumption. Actual results: - Jst retracts his original statement and now says that he believes that nodes in a fragment can get following/preceding flags. Expected results: - Jst should have shared the pipe so I'd also be high when I heard him and would have implemented the opposite of what he initially said. ;-) So... :-) Before I change this behavior, we should decide once and for all what the behavior really should be. I'm going to leave the behavior alone for now, so as to avoid having to change it back if the DOM IG decides to keep that behavior. I will create a patch once we do decide to go with the fact that nodes in a fragment can recieve the following/preceding flags.
:-)
QA Contact: desale → stummala
Yes, they can. This will be fixed along with bug 177328.
Fixed by way of bug 177328.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.