Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1058900 - [email] pinch/zoom mitigations #24137

Closed

Conversation

asutherland
Copy link
Contributor

No description provided.

@try-server-hook
Copy link

asutherland Andrew Sutherland (asutherland) started tests. Results

@try-server-hook
Copy link

asutherland Andrew Sutherland (asutherland) started tests. Results

@try-server-hook
Copy link

asutherland Andrew Sutherland (asutherland) started tests. Results

@try-server-hook
Copy link

asutherland Andrew Sutherland (asutherland) started tests. Results

@try-server-hook
Copy link

asutherland Andrew Sutherland (asutherland) started tests. Results

baseScale = scale,
lastScale = scale,
var baseScale = Math.min(1, viewportWidth / scrollWidth),
// If there's an initial scale, use that, othrewise fall back to the base
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/othrewise/otherwise/

// b2g) where they can show up and cause themselves to exist in perpetuity.
var scrollPad = 16;
clickHandler,
putImagesBackIfNeeded) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

putImagesBackIfNeeded can be removed, it is not used anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

putImagesBackIfNeeded removed (only took two review comments by you! ;)

@jrburke
Copy link
Contributor

jrburke commented Sep 21, 2014

I tried doing a reply-compose to a jetpack mailing list post, and noticed the blockquote line is now right against the edge. I added this to the DEFAULT_STYLE_TAG section:

'body > blockquote { margin: 0 1rem; } ' +

and that seemed to align it as before on master, and give a matching spacing on the right. The immediate child selector was necessary so as not to affect multiple nested blockquotes.

@asutherland
Copy link
Contributor Author

hm, so blockquote-wise, I think the issue there is that in our compose UI we don't have the same "margin: 1rem 1.5rem" we have on .msg-body-container in message_reader. I propose that we instead just put a "margin: 0 1.5rem;" on ".cmp-body-html" since that's arguably the root problem. This is also consistent with the .cmp-body-text where we have "padding: 1rem 1.5rem 0px;"

I'm going to do all these things now.

@try-server-hook
Copy link

asutherland Andrew Sutherland (asutherland) started tests. Results

@jrburke
Copy link
Contributor

jrburke commented Sep 22, 2014

Ah right, that is better, more correct solution, the .cmp-body-html margin change.

@mozilla-autolander-deprecated
Copy link
Contributor

This pull request has been closed due to tree stability issues. Please rebase and re-open the pull request if you still need to land this. Ensure the gaia-try run is green before landing. Sorry for any inconvenience.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants