This contains the patch from this bug and bug 1707181 folded into one patch with a couple of disabled reftests because the reference images from bug 1707181 got corrupted somehow.
Bug 1706678 Comment 18 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This contains the patch from this bug and bug 1707181 folded into one patch rebase on top of beta with a couple of disabled reftests because the reference images from bug 1707181 got corrupted somehow.