Hit testing on fission iframes in print preview is messed up.
Categories
(Core :: Printing: Output, task)
Tracking
()
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(3 files, 3 obsolete files)
Because of the custom transforms stuff.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
This shouldn't change behavior, but simplifies the setup quite a bit, I
think.
Depends on D109509
Assignee | ||
Comment 3•4 years ago
|
||
This causes a couple issues because we're transforming the scrolled content of
the root scroll frame, and that's unexpected. But I have a follow-up patch that
should fix it.
Remove a bit of the aStyleDisplay gunk that shouldn't be needed because of two
reasons:
- Stylo is faster / has the style display one pointer-chase away.
- We check the MAY_BE_TRANSFORMED bit first now, and we deal with
SVG-transformed frames, so for non-transformed frames IsTransformed should
just be a bit-check now.
Depends on D109510
Assignee | ||
Comment 4•4 years ago
|
||
This is needed for the previous patch, because otherwise we create a
reference frame with the root's scrolled content (the
::-moz-scrolled-page-sequence), and that breaks some display list
invariants.
Always create a canvas frame instead, (doesn't matter when printing),
and create a single ::-moz-page-sequence frame.
We need to fix PopulateReflowOutput because after the previous patch we
transform the whole frame, not only the contents.
Depends on D109511
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Comment on attachment 9211044 [details]
Bug 1700379 - Remove -moz-scrolled-page-sequence. r=dholbert
Revision D109512 was moved to bug 1700472. Setting attachment 9211044 [details] to obsolete.
Comment 7•4 years ago
|
||
Comment on attachment 9211043 [details]
Bug 1700379 - Make transform getters more like the other transforms. r=miko
Revision D109511 was moved to bug 1700478. Setting attachment 9211043 [details] to obsolete.
Assignee | ||
Comment 8•4 years ago
|
||
This causes a couple issues because the "build overflow for extra pages"
stuff assumes that all pages are in the same reference frame and that's
no longer true...
Also, nsPageSequenceFrame::PopulateReflowOutput needs fixing because we start
transforming the whole frame, not just the contents.
Depends on D109510
Assignee | ||
Comment 9•4 years ago
|
||
So D109510 is green, but D109511 breaks the "Build the display list for previous page's overflow". The reason for this is that since the page frame starts being transformed, then it forms a reference frame, and that causes havoc because now coordinate spaces don't match. It seems we don't deal with differently-sized pages in any way, so maybe it's not hard to fix and it allows us to get rid of the "additional offset" thing... Miko, do you know?
We could fix this bug without it, by making nsIFrame::GetTransformMatrix deal with these frames specially. That's certainly an easier patch but unifying the transform behavior seemed nice.
Comment 10•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
Backed out changeset 0229f8dc291a (Bug 1700379) for causing failures in test_printpreview.xhtml
Backout link: https://hg.mozilla.org/integration/autoland/rev/e10eee1d8fefd491062a9aab031cc8d50ddeef7c
Push with failures, failure log.
Assignee | ||
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
bugherder |
Assignee | ||
Comment 15•4 years ago
|
||
I don't have time to green up the previous patch (and it's not clear
it's such a big improvement anyways), so I'd rather do this for now.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Comment 17•3 years ago
|
||
Since this has regression bugs marked against it and code landed n Firefox 90, I'm going to mark this as fixed so it's easier to tell which versions were affected by this and the other bugs.
Description
•