Commit Graph

4193 Commits

Author SHA1 Message Date
Timothy Nikkel
7836769148 Bug 1143974. When converting the anchor rect for a xul popup make sure to actually convert for app units differences. r=mats
ConvertAppUnitsRoundOut returns the result, it doesn't modify |this|.
2015-03-18 03:55:01 -05:00
Seth Fowler
726d770b60 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Timothy Nikkel
223470bfe4 Bug 1130400. Part 1. Pass the passed in anchor frame to SetPopupPosition in nsMenuPopupFrame::LayoutPopup if we have one. r=enndeakin
Bug 562740 combined nsMenuFrame::DoLayout and nsPopupSetFrame::DoLayout to create nsMenuPopupFrame::LayoutPopup.

nsMenuPopupFrame::LayoutPopup called SetPopupPosition with this (the nsMenuFrame) as the anchor and then laid out the menu popup frame. nsPopupSetFrame::DoLayout laid out the menu popup frame and then called SetPopupPosition with the anchor argument as null.

When these were combined into nsMenuPopupFrame::LayoutPopup both SetPopupPosition call were included, the second one always passing null for the anchor even though there may be a non-null anchor passed in from the caller.

This patch simply passes the passed in anchor frame to SetPopupPosition.
2015-03-14 01:11:04 -05:00
Gijs Kruitbosch
0c1e2d28ae Bug 1135545 - add logging to figure out bug 1135545, rs=test-only-logs 2015-03-13 13:41:37 +00:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
0a4da0c676 Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures 2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
bcb7c7d431 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
--HG--
extra : rebase_source : df2b831d2cad8210b6c92122aa701fc21335ae6d
2015-03-03 17:40:00 +01:00
Alexandre Lissy
e8b4f395c0 Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal 2015-03-10 02:43:00 +01:00
L. David Baron
da27c29b8c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Jonathan Kew
6f66e94af6 Bug 1123284 - pt 2 - Fix Get{Min,Pref}ISize in nsLeafBoxFrame for vertical mode. r=smontagu 2015-03-03 16:38:49 +00:00
Jonathan Kew
8eae56249b Bug 1123284 - pt 1 - Make nsTextBoxFrame somewhat aware of vertical writing mode, to allow <input type=file> to display properly. r=smontagu 2015-03-03 16:38:31 +00:00
Andrea Marchesini
cfcd5e95ec Bug 1134280 - Get rid of Tag() - patch 2.11 - layout/xul - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Timothy Nikkel
4776d9215a Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc 2015-02-24 17:51:25 -06:00
Masayuki Nakano
98a0635a7e Bug 1119609 part.15 Fix new orange of test_menulist_keynav.xul because it's caused by timeout of incremental search in menu r=smaug+enn 2015-02-19 15:50:20 +09:00
David Zbarsky
4da70f1fe2 Bug 1125040: Use LayoutDeviceIntPoint for mMouseDownRect r=botond 2015-02-15 13:52:28 -05:00
Seth Fowler
968637f2e8 Bug 1128769 (Part 2) - Check if we invalidated for a sync decode and never painted before invalidating for sync decoding again. r=tn 2015-02-09 23:27:39 -08:00
Karsten Düsterloh
4079abbd78 Bug 1116952 - "Treelines fragments after bug 1105104". r=jwatt 2015-02-04 17:55:00 +01:00
Seth Fowler
e9b08641d5 Bug 1128225 (Part 6) - Record the last draw result in nsDisplayXULImage and use it to decide whether to sync decode. r=tn 2015-02-04 13:50:56 -08:00
David Zbarsky
a49d65a406 Bug 1125040 - Use LayoutDeviceIntPoint in nsTitleBarFrame r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
ec6ce0074b Bug 1125040 - Use LayoutDeviceIntPoint in XULPopupManager r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Neil Deakin
ffec61253c Bug 1116865, add an attribute to popups to allow them to not rollup when clicking on the anchor, this is used for the new search field, r=neil, felipe 2015-02-02 15:53:53 -05:00
Paul Rouget
aeeb621d68 Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz 2015-02-02 15:10:51 -05:00
Phil Ringnalda
7b3840d642 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
e6153bf650 Bug 1125040: Use LayoutDeviceIntPoint for GetEventPoint r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Nicholas Nethercote
bbc9681dec Bug 1123527 - Fix syntax errors when DEBUG_LAYOUT is defined. r=dholbert.
cppcheck found this.

--HG--
extra : rebase_source : a9ca28dc5a333d303390550bd57ae40627e2dec0
2015-01-21 20:54:07 -08:00
Seth Fowler
d34d823d05 Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ and downscale-during-decode are enabled. r=tn 2015-01-19 15:46:55 -08:00
Ryan VanderMeulen
b4ff41d68e Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me 2015-01-12 10:44:18 -05:00
Geoff Lankow
125624cd03 Bug 1114297 - Improve performance of nsTreeBodyFrame::AdjustForCellText for very long strings; r=smontagu 2015-01-11 00:07:58 +13:00
Neil Deakin
f6a2d05cfe Bug 1089005, add a third consume option that never consumes even over the anchor. This allows clicks on the location field to adjust the caret position, r=dao 2015-01-09 21:12:10 -05:00
Neil Deakin
a744e9625f Bug 1102039, Ensure that the popup's widget visibility is updated after rollup, allows popups to disappear at the start of the minimize animation rather than after, r=tn 2015-01-07 20:52:20 -05:00
Ehsan Akhgari
81bc9cdcd9 Bug 1118427 - Mark virtual overridden functions as MOZ_OVERRIDE in layout; r=roc 2015-01-07 10:07:36 -05:00
Mats Palmgren
65df79cbad Bug 1116753 - Add 'explicit' to the nsRootBoxFrame one-arg ctor to fix static analysis failure. r=me 2015-01-06 10:07:04 +00:00
Mats Palmgren
2e240075ec Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc 2015-01-06 09:27:56 +00:00
Hallvord R. M. Steen
8e013fa5d0 Bug 1101873 - Remove the part of the 923971 patch that caused a new problem. r=enndeakin 2014-11-27 10:23:51 +01:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Jonathan Watt
1905f43bcb Bug 1105104 - Fix the painting of XUL tree connector lines. r=Bas 2014-11-28 15:28:17 +00:00
Daniel Holbert
c7ce74a52e Bug 1098417 part 1: Add optional anchor-point arg to nsLayoutUtils::ComputeObjectDestRect() and nsLayoutUtils::DrawSingleImage(). r=seth 2014-11-21 18:25:46 -08:00
Karl Tomlinson
ed15675b8b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Mats Palmgren
96ad0f2c46 Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky 2014-11-20 18:24:09 +00:00
Sid Stamm
55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Seth Fowler
a886c715d8 Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Ryan VanderMeulen
28c2fca375 Merge fx-team to m-c. a=merge 2014-11-13 15:40:39 -05:00
Gijs Kruitbosch
e62dfd0026 Bug 989947 - disable popups during modal alerts on OS X, r=bz 2014-11-12 17:05:29 +00:00
Seth Fowler
f114d563da Bug 1084136 (Part 5) - Don't reset STATUS_DECODE_STARTED when decoding finishes. r=tn
--HG--
extra : rebase_source : d60164094c0dc0d7fbc4f47980f8b2d9df0b9deb
2014-11-06 17:33:58 -08:00
Jonathan Watt
5767be9b18 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +00:00
Jonathan Kew
193b552c7e Bug 1093949 - Reverse scroll position for RTL content. r=mats 2014-11-06 09:06:22 +00:00