gecko-dev/devtools/shared/layout
Matteo Ferretti bd64999657 Bug 1297072 - added support for matrices to handle CSS 2D transformation on grid inspector; r=pbro
- Fixed a bug on `getNodeBounds` that would makes the calculation wrong in case
  of nested frames.
- Centralized all the transformation in `updateCurrentMatrix` function,
  including the scaling due the zoom and display's pixel ratio, and the
  translation to the top left corner of the node inspected.
- Added the transformation from the inspected node to the `currentMatrix`.
- Added `drawLine` and `drawRect` functions, that takes a matrix as argument.
- Position the line's number to the grid itself even when we've infinite lines
  (it's not a regression, it is intended since if a grid is transformed, we
  could have weird results otherwise, so we decided to uniform the behaviors).

MozReview-Commit-ID: 7OUfb6u63Qj
2017-05-03 19:19:19 +02:00
..
dom-matrix-2d.js Bug 1297072 - added 2d matrix utility functions; r=gregtatum 2017-05-03 19:19:14 +02:00
moz.build Bug 1297072 - added 2d matrix utility functions; r=gregtatum 2017-05-03 19:19:14 +02:00
utils.js Bug 1297072 - added support for matrices to handle CSS 2D transformation on grid inspector; r=pbro 2017-05-03 19:19:19 +02:00