Closed Bug 1370278 Opened 7 years ago Closed 7 years ago

Grid Inspector should take in account ancestors transformation

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: zer0, Assigned: zer0)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently the Grid Inspector takes in account only the inspected element's transformations; we should consider all the ancestor transformations as well.

Basically, we need to implement in our code the new Chrome-only API implemented in bug 1355675.
Assignee: nobody → zer0
Blocks: dt-grid
Summary: Grid Inspector should take in account ancestor transformation → Grid Inspector should take in account ancestors transformation
Blocks: 1351997
Depends on: 1355675
Comment on attachment 8875223 [details]
Bug 1370278 - used `getTransformToAncestor` in Grid Inspector highlighter;

https://reviewboard.mozilla.org/r/146640/#review150668

We talked about this changes in a video call before. They seem fine to me.
Attachment #8875223 - Flags: review?(pbrosset) → review+
Pushed by mferretti@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b61c6809644c
used `getTransformToAncestor` in Grid Inspector highlighter; r=pbro
Backed out for failing chrome test test_dom_matrix_2d.html with 'getNodeTransformOrigin is not a function':

https://hg.mozilla.org/integration/mozilla-inbound/rev/0d4fe81a5f816b5bf67bca874431a2857b52f247

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=b61c6809644c0f97872971957842f59736e6851d&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=105574198&repo=mozilla-inbound

[task 2017-06-08T18:35:11.250221Z] 18:35:11     INFO - TEST-START | devtools/shared/tests/mochitest/test_dom_matrix_2d.html
[task 2017-06-08T18:35:11.281570Z] 18:35:11     INFO - TEST-INFO | started process screentopng
[task 2017-06-08T18:35:11.811405Z] 18:35:11     INFO - TEST-INFO | screentopng: exit 0
[task 2017-06-08T18:35:11.811738Z] 18:35:11     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/tests/mochitest/test_dom_matrix_2d.html | uncaught exception - TypeError: getNodeTransformOrigin is not a function at testNodeTransformOrigin@chrome://mochitests/content/chrome/devtools/shared/tests/mochitest/test_dom_matrix_2d.html:50:18
[task 2017-06-08T18:35:11.811904Z] 18:35:11     INFO - @chrome://mochitests/content/chrome/devtools/shared/tests/mochitest/test_dom_matrix_2d.html:46:7
[task 2017-06-08T18:35:11.811943Z] 18:35:11     INFO - 
[task 2017-06-08T18:35:11.812030Z] 18:35:11     INFO - simpletestOnerror@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1652:11
[task 2017-06-08T18:35:11.812095Z] 18:35:11     INFO - OnErrorEventHandlerNonNull*@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1632:1
Flags: needinfo?(zer0)
Priority: -- → P3
Comment on attachment 8875223 [details]
Bug 1370278 - used `getTransformToAncestor` in Grid Inspector highlighter;

Gabriel, the review was already made by Patrick, here I just removed the test that was failing, since it's not necessary anymore – I explained why in my commit message, but feel free to ping me on IRC if you want to.
Flags: needinfo?(zer0)
Comment on attachment 8875223 [details]
Bug 1370278 - used `getTransformToAncestor` in Grid Inspector highlighter;

https://reviewboard.mozilla.org/r/146640/#review151572
Attachment #8875223 - Flags: review?(gl) → review+
Pushed by mferretti@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/908eeb65a000
used getTransformToAncestor in Grid Inspector highlighter; r=gl
https://hg.mozilla.org/mozilla-central/rev/908eeb65a000
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: