Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore min-x and min-y when computing view-box (so we return origin b…
…ox). Per web-platform-tests/interop#509, we update the coordinate to match the spec, i.e. When the viewBox includes non-zero min-x or min-y offsets, this origin box does not actually correspond to the visible region rectangle defined by the viewBox. https://drafts.csswg.org/css-box-3/#valdef-box-view-box Also simplify mask-clip-2.html and mask-origin-3.html so that their viewBox is anchored at the origin so it is the same as the origin box. Differential Revision: https://phabricator.services.mozilla.com/D190325 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1856471 gecko-commit: fd4d600a888470384134565a86e444f87cb93d69 gecko-reviewers: dholbert
- Loading branch information