Closed Bug 1830091 Opened 2 years ago Closed 2 years ago

Selection stops working when selecting past an link containing an svg document containing a `<use>` referencing another svg present inline in the same document

Categories

(Core :: DOM: Selection, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1223203

People

(Reporter: padenot, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Found by :mhoye, attached is a reduced test case.

STR:

  • Open the test case.
  • Start selecting from somewhere in AAAAA, extend the selection so that it spans past the first svg icon

Expected:

  • The selection continues

Actual:

  • The selection interaction is broken, even e.g. moving the mouse pointer back into AAAAA doesn't change the selection.

The original bug was found on https://www.metafilter.com/199079/What-was-that-about-the-ship-of-Theseus, but apparently only reproduces while logged in.

Summary: Selection stops working when selecting past an link containing an svg document referencing containing a `<use>` present inline in the same document → Selection stops working when selecting past an link containing an svg document containing a `<use>` referencing another svg present inline in the same document

In a debug build:

[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517
[Child 2754550, Main Thread] WARNING: '!parent', file /home/padenot/src/trees/mozilla-unified/dom/base/ContentIterator.cpp:517

That's https://searchfox.org/mozilla-central/source/dom/base/ContentIterator.cpp#517

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Duplicate of bug: 1223203
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: