Commit Graph

12 Commits

Author SHA1 Message Date
Ed Lee
8a44fa2c38 Bug 1001854 - Search field length does not consistent after toggle "Hide the new tab page" and restart [r=adw]
Trigger load event if the document was loaded before init such as the user toggling the page.
2014-04-28 11:00:41 -07:00
Ed Lee
10ae9a3ac4 Bug 1001523 - New Tab grid does not provide enough padding below the grid [r=adw]
Calculate offsetHeight from parent containers that includes the margin/padding specified by the children.
2014-04-25 15:33:59 -07:00
Drew Willcoxon
bc68cbb9df Bug 962490 - Add a search field to the new tab page (part 2: about:newtab changes). r=ttaubert 2014-04-24 19:09:23 -07:00
Ed Lee
9c1b95ce3d Bug 994185 - When dragging tiles on a 3x2 view, a third row of tiles shows up inexplicably [r=adw]
Also fixes Bug 988907 - Context menu and clicking-to-focus do not work in empty space above/below newtab grid
Cover up the sites that become position: absolute (and escape the flow for overflow: hidden) with an explicit background color for the bottom margin.
2014-04-18 17:55:06 -07:00
Ed Lee
893190ba16 Bug 991210 - [new tab page] Tiles are sometimes arranged all in a single line (wrapping as appropriate, e.g. to two lines with 5 items and then 4 items), instead of 3x3 grid [r=adw]
Always Grid_init before "load", defer size calculation to "load", and only wait for links cache for site rendering. Clean up timers triggered from previous tests to avoid unexpected updates.

--HG--
extra : rebase_source : aba79dc12fd3660c50d8004197a6b2f5a23419cb
2014-04-15 12:14:09 -07:00
Maxim Zhilyaev
1a9803ce61 Bug 974736 - Add icon to title bar of Sponsored Tiles [r=adw]
Also fixes bug 976638 by moving controls.png to the shared directory.
Add an always visible sponsored icon for tiles that are type=sponsored. Also add ignorehover to the cell to prevent styling when pointing at the sponsored icon that happens to be a child of the cell.
2014-03-31 01:51:22 -07:00
Ed Lee
5ccba59ea9 Bug 980014 - Allow new tab grid layout to reduce rows/columns if the window can't fit 3x3 [r=adw]
Remove newtab-rows and convert the grid to wrap/overflow tiles as necessary by setting the appropriate width and heights. Compute grid dimensions on load/preload and adjust for resizes.
2014-03-24 17:33:08 -07:00
Tim Taubert
5f6ad9b14e Bug 791670 - part 3 - fix newtab page tests; r=jaws 2013-06-04 22:20:44 +02:00
Bellindira Castillo [:bellindira]
aa00394b82 Bug 752841 - [New Tab Page] Make the number of tabs adjustable; r=ttaubert 2012-08-16 23:01:03 -06:00
Tim Taubert
d9875a8b00 Bug 729878 - Part 1 - New layout implementation; r=dietrich,dao ui-r=shorlander 2012-03-13 03:23:01 +01:00
Tim Taubert
28a759aaa0 Bug 730484 - [New Tab Page] don't iterate NodeList properties when creating cells; r=dietrich 2012-02-25 01:08:44 +01:00
Tim Taubert
d760927bc3 Bug 455553 - Part 1 - XUL/HTML Page and Scripts; r=blair,dietrich 2012-01-25 23:40:18 +01:00