зеркало из https://github.com/mozilla/gecko-dev.git
bd64999657
- 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 |
||
---|---|---|
.. | ||
dom-matrix-2d.js | ||
moz.build | ||
utils.js |