Closed Bug 634868 Opened 14 years ago Closed 5 years ago

Table cell content which is highlighted then cleared remains highlighted when CTRL clicked

Categories

(Core :: DOM: Selection, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzeela, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 After highlighting textual content within a HTML table, and then clearing the highlights by single clicking on another area of the page, the text will remain highlighted when you later CTRL+click on any of the table cells. Presumably the highlighting should clear and nothing should appear highlighted when CTRL clicking. Reproducible: Always Steps to Reproduce: 1. Highlight some text in a table 2. Clear the highlight by clicking elsewhere 3. CTRL+click and drag across the table cells Actual Results: Observe that the previously highlighted/cleared text appears highlighted again while the text you didn't highlight is normal. Expected Results: All text should be cleared of highlighting. Default theme, settings, etc.
Yeah, this looks broken (using the edit bug form on this bug to reproduce). Do we forget to clear some bits somewhere?
Status: UNCONFIRMED → NEW
Component: General → Selection
Ever confirmed: true
QA Contact: general → selection
Hmm, odd. The selection object seems to get cleared properly, but maybe the selected flag on the frames is not?
The latter is what I was thinking of, yes.
As of bug 619273 we don't have selection state on the frames anymore. Does this bug still occur?
Depends on: 619273
I actually can't seem to reproduce this at all at least as of Firefox 8. I do see the bug in Firefox 4. So something else fixed things somewhere here...
This got fixed in this range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=d452aaf438f1&tochange=beceddeee3f4 Chances are, bug 667653 fixed it. Mats, is that plausible?
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.