Closed
Bug 1626155
Opened 5 years ago
Closed 5 years ago
nsLayoutUtils::TransformAncestorPointToFrame passes null for ancestor frame
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla76
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Updated•5 years ago
|
Has Regression Range: --- → yes
Assignee | ||
Comment 1•5 years ago
|
||
It probably doesn't case any problems because the two callers of the function don't hit the case with the bug.
nsLayoutUtils::TransformRootPointToFrame passes nullptr for the ancester frame.
nsIFrame::GetContentOffsetsFromPoint only calls this function if aFrame is in an svg text subtree, so it takes the other branch.
Looks like this was a simple oversight in this change
https://hg.mozilla.org/mozilla-central/rev/204b51a6c6458a30be158a3d1bdca8e9b4edfd67
where TransformRootPointToFrame was changed to TransformAncestorPointToFrame and it originally passed nullptr (which was correct to the Root version fo the function) but didn't get updated in the change.
Updated•5 years ago
|
Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Updated•5 years ago
|
Keywords: regression
Updated•5 years ago
|
Attachment #9137032 -
Attachment description: Bug 1626155. nsLayoutUtils::TransformAncestorPointToFrame passes null for ancestor frame. r?botond → Bug 1626155. nsLayoutUtils::TransformAncestorPointToFrame passes null for ancestor frame. r=botond
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3506ad8b3ae2
nsLayoutUtils::TransformAncestorPointToFrame passes null for ancestor frame. r=botond
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•