Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text in perspective transform not rendering correctly #2876

Closed
staktrace opened this issue Jul 6, 2018 · 2 comments
Closed

Text in perspective transform not rendering correctly #2876

staktrace opened this issue Jul 6, 2018 · 2 comments
Labels
bugzilled priority: soon Things we need to do in general type: bug

Comments

@staktrace
Copy link
Contributor

I was looking at bug 1415272, where in the parallax demo page doesn't behave correctly in Firefox. There's a number of issues with the page so I reduced it to focus on one problem at a time. The reduced page is at https://mozilla.staktrace.com/bug/1415272-1.html.

The page is supposed to show the text "Payun-payun" in the top-left corner, but doesn't. If I change the scale in the .layer transform property from scale(10) to scale(1) the text is supposed to show up in the center of the page, and it does. On my mac, scales up to 1.32 work fine, but as soon as I change it to 1.33 or higher the text disappears. (The exact scale values will depend on your window size). At first I thought it was due to some clipping getting applied, but I inspected a capture and that doesn't seem to be the case.

Here are two captures, one with the scale at 1.32 where the text is visible wr-capture-visible.tar.gz and one with the scale at 1.35 where the text is not visible wr-capture-hidden.tar.gz.

The scene files in the two captures are pretty much identical except for a few numbers in the transform (modulo id rotation), so I would expect them to behave similarly. In both captures the text is at local rect ((-2, 5), (370, 66)).

@kvark kvark added type: bug bugzilled priority: soon Things we need to do in general labels Jul 7, 2018
@gw3583
Copy link
Contributor

gw3583 commented Aug 8, 2018

This test case also seems buggy in normal Gecko (on Linux at least). As I zoom in I see the text get weirdly clipped, then disappear, then reappear.

@gw3583
Copy link
Contributor

gw3583 commented Feb 4, 2019

Marked fixed in bugzilla.

@gw3583 gw3583 closed this as completed Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilled priority: soon Things we need to do in general type: bug
Projects
None yet
Development

No branches or pull requests

3 participants