Closed Bug 1168650 Opened 9 years ago Closed 5 years ago

Pinned enhanced image incorrectly sized

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal
Points:
5

Tracking

()

RESOLVED WONTFIX
Iteration:
41.2 - Jun 8
Tracking Status
firefox40 --- ?
firefox41 --- affected
firefox42 --- ?
firefox43 --- ?

People

(Reporter: Mardak, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached image before and after pin
In testing bug 1145428, if the image is not naturally sized at the tile size, it will stretch to its own natural size. See attached.

I tested with

browser.newtabpage.directory.source
https://people.mozilla.org/~elee/suggested.1159884.json
Assignee: nobody → mzhilyaev
Iteration: --- → 40.3 - 11 May
Points: --- → 5
Iteration: 40.3 - 11 May → 41.2 - Jun 8
Keywords: regression
Probably, newTab.css should be changed as follows.

/* THUMBNAILS */
.newtab-thumbnail {
  background-origin: padding-box;
  background-clip: padding-box;
  background-repeat: no-repeat;
-  background-size: cover;
+  background-size: contain;
+  background-position: center center;
  border-radius: 8px 8px 0px 0px;
  height: 180px;
  transition: opacity 100ms ease-out;
}
maxim, any update about this bug?
Flags: needinfo?(mzhilyaev)
Assignee: mzhilyaev → nobody
Flags: needinfo?(mzhilyaev)
(In reply to Loic from comment #3)
> maxim, any update about this bug?

Loic, I have no update on this bug. Let me ping the program manager on which sprint it will be a part of

Hello!

This bug has been closed due to inactivity and/or the potential for this bug to no longer be an issue with the new Discovery Stream-powered New Tab experience.

Please help us triage by reopening if this issue still persists and should be addressed.

Thanks!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: