Closed Bug 1457286 Opened 7 years ago Closed 7 years ago

Cannot find in display: contents subtrees.

Categories

(Core :: Find Backend, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Attached file testcase.html
No description provided.
Blocks: 1455891
Assignee: nobody → emilio
Attachment #8971372 - Attachment mime type: text/plain → text/html
The testcase seems to work fine for me... what's the STR?
(In reply to Mats Palmgren (:mats) from comment #2) > The testcase seems to work fine for me... what's the STR? Try to find across the boundary, like: "Find me and", or "me please".
Comment on attachment 8971380 [details] Bug 1457286: Teach nsFind about display: contents. https://reviewboard.mozilla.org/r/240132/#review245966 Looks reasonable. Would be nice to have a regression tests for this...
Attachment #8971380 - Flags: review?(mats) → review+
Ah, gotcha. That indeed doesn't work for me.
I think you can use something like window.find("me and me") to test this.
(In reply to Mats Palmgren (:mats) from comment #6) > I think you can use something like window.find("me and me") to test this. Ah, nice one! Btw, the tag name thing is so broken :(. You can't find "me and me" in... <!doctype html> <div> Find me <div style="display: inline;"> and me </div> please. </div> Either. I'll file followups.
Blocks: 1457336
Priority: -- → P1
Pushed by ecoal95@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/1f645546750f Teach nsFind about display: contents. r=mats
Pushed by ecoal95@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/dfa7b43a4a5e Teach nsFind about display: contents. r=mats
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: