Commit Graph

4787 Commits

Author SHA1 Message Date
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Kearwood Gilbert
ae9a989263 Bug 1328053 - Correct thumb position when shift-click scrolling r=mats
During the refactoring of nsSliderFrame::SetCurrentPositionInternal in Bug 957445, one
of the two calls to nsSliderFrame::UpdateAttribute was missed.  This resulted in the position,
identified with nsGkAtoms::curpos, not being updated immediately after the call to
nsSliderFrame::SetCurrentThumbPosition

MozReview-Commit-ID: 6gedouG4OFX

--HG--
extra : rebase_source : dd29d90e6f10be87f652241ad138d4533bda1010
2017-01-25 14:45:23 -08:00
Carsten "Tomcat" Book
ff34e66ec7 Merge mozilla-central to autoland 2017-01-25 13:52:18 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Ting-Yu Lin
88f22bd389 Bug 1333366 Part 2 - Update legacy NS_SIDE usage and document. r=mats
Delete the "or 0 for no movement in that direction" from the CanAdjustEdges
document in nsMenuPopupFrame.h because the only caller in nsResizerFrame.cpp
never passes 0 to it.

MozReview-Commit-ID: 3A5A8O4MDn1

--HG--
extra : rebase_source : 3a961f9195d7887f8abb5c31ae9ec088f78a2626
2017-01-24 18:41:56 +08:00
Phil Ringnalda
bcbe2e1fcc Merge m-c to autoland 2017-01-20 19:15:16 -08:00
Botond Ballo
fe7fc8ea5b Bug 1331693 - Do not attempt async scrollbar dragging for scroll info layers. r=tnikkel
MozReview-Commit-ID: 8QjqexfaKkY

--HG--
extra : rebase_source : 293d68db3cea84810679a59dcfa234103643d8bb
2017-01-18 18:45:43 -05:00
Ehsan Akhgari
b3e5ce4a2d Bug 1319908 - Load the menu icons for the bookmarks menu with the correct content type and principal on OSX; r=baku
This patch makes nsMenuItemIconX also participate in the setup
introduced in bug 1277803.
2017-01-20 10:55:23 -05:00
Neil Deakin
fa8292ec1f Bug 1327908, on Windows, don't hide tooltips when a key is pressed. On other platforms, allow hiding tooltips when a key is pressed except when modifier keys are pressed alone, r=felipe 2017-01-19 13:57:11 -05:00
Ryan VanderMeulen
4eacb032f5 Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
Cameron McCormack
c5eaaabab2 Bug 1324663 - stylo: More crashtest annotation adjustments. r=me
MozReview-Commit-ID: DLHMu3nmLKO
2017-01-18 15:09:00 +08:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Timothy Nikkel
ab29b8925b Bug 1327294. When drawing XUL images allow some decoding if it's fast. r=aosmond
We aren't likely to implement predictive size decoding for XUL images. So instead do some sync decoding when we Draw them at their specified size. This will avoid a paint where we don't draw the image, or draw it at the wrong size, followed later by the correctly sized image.
2017-01-16 14:12:51 -06:00
Tyler Maklebust
db2430b4b9 Bug 1309935 - Add ability to find within select dropdown when over 40 elements. r=jaws
Original patch by Tyler Maklebust <tmaklebust@gmail.com> and Jared Beach <beachjar@msu.edu>

MozReview-Commit-ID: 7FW6PHIrXF4

--HG--
extra : rebase_source : e8132fc8af91657ca80f18a841101bc1070c8b15
2017-01-17 15:40:15 -05:00
Bobby Holley
004deddec2 Bug 1330401 - Don't render explicit children of bound elements with no insertion points. r=bz 2017-01-11 21:08:03 -08:00
Cameron McCormack
9f99f387ac Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Shing Lyu
11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Bobby Holley
b32f310e62 Bug 1323649 - Reenable some crashtests. r=me 2017-01-09 11:50:23 -08:00
Bobby Holley
09ce7e77ed Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio 2017-01-09 11:50:16 -08:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
cku
7ffd5790e1 Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
MozReview-Commit-ID: GWuII34t0j7

--HG--
extra : rebase_source : 4b08672f76c57562b9ab46d6605611d99aa64cf0
2017-01-03 11:57:13 +08:00
Iris Hsiao
53e5ead7ef Backed out changeset a44640701558 (bug 1323912) 2017-01-04 21:47:16 -05:00
cku
e36c492419 Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
MozReview-Commit-ID: GWuII34t0j7

--HG--
extra : rebase_source : f74e9d242e2ef505790575cd12e0a58cc07ec44f
2017-01-03 11:57:13 +08:00
Botond Ballo
e8cc185f9d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg

--HG--
extra : rebase_source : 3517e8c8a578a0bd257a80bb8cb81303d171bb6c
2017-01-04 13:42:36 -05:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Masayuki Nakano
4abe7fe67d Bug 1284825 part.3 nsMenuBarListener should clear its accesskey state when its top level window is deactivated rather than it receives a blur event r=enndeakin+6102
This patch makes nsMenuBarListener clear its accesskey state when it receives a "deactivate" event of its top level window and reverts the change of nsMenuBarListener::Blur() by bug 625151.

"blur" event may be caused by focus move in the contents after "mosuedown" event.  Therefore, mAccessKeyDownCanceled may be cleared unexpectedly.  Listening to "deactive" event keeps bug 625151's fix because it's a bug after deactivating the window with Alt+Tab.

MozReview-Commit-ID: 4mAmXpxmDdv

--HG--
extra : rebase_source : 1bd9299a37bc5a1feccb61ba6c3db6b389560ec0
2016-12-26 16:22:13 +09:00
Masayuki Nakano
5fa1166c18 Bug 1284825 part.2 nsMenuBarListener should add/remove event listeners by itself r=enndeakin+6102
Let's move the code adding/removing event listers to nsMenuBarListener because it makes what we maintain them easier.

This patch makes nsMenuBarListener store event target which is composed document node of the menubar content as a weak reference but this must be safe because when nsMenuBarFrame (stored as mMenuBarFrame) is being destroyed, OnDestroyMenuBarFrame() which clears the storing event target reference is always called.  We should be able to assume that the content and its composed document has never gone before destroying its frame...

MozReview-Commit-ID: DdOtRzUAL1Z

--HG--
extra : rebase_source : bfc337aaad447ad4a9d78b2f3a9e49c72db1498e
2016-12-26 16:19:02 +09:00
Masayuki Nakano
f534e6c4cb Bug 1284825 part.1 Clean up nsMenuBarListener.h and make each specific event handler protected r=enndeakin+6102
MozReview-Commit-ID: 1h9npIXCKiI

--HG--
extra : rebase_source : 3b49dda885f315623876f7529a961bba707c7469
2016-07-11 16:22:37 +09:00
Kevin Wern
a63c8b29a7 Bug 1324581 - check event handled by apz in nsSliderFrame::StartAPZDrag r=botond
test_scroll_snapping_scrollbars.html is failing when apz.drag.enabled
is true because synthesizeMouse does not route events through APZ,
meaning that the drag is never handled by APZ or Gecko.

Resolve this by adding a check that mHandledByApz flag is true for
WidgetGUIEvent, and handle in Gecko if that is not the case.

MozReview-Commit-ID: IrxVLxqs64V

--HG--
extra : rebase_source : c76e9fed3dcab806b17e85740c94339ac0e7ccca
2016-12-23 03:49:38 -05:00
Mats Palmgren
6aead680d1 Bug 1322191 part 2b - Replace "NS_BLOCK_FLOAT_MGR | NS_BLOCK_MARGIN_ROOT" with NS_BLOCK_FORMATTING_CONTEXT_STATE_BITS. r=dholbert 2016-12-23 19:11:04 +01:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Cameron McCormack
366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Marco Bonardo
975f9b571e Bug 1321556 - Remove unused bindings from urlbarbindings.xml. r=dao
MozReview-Commit-ID: FfIsoh76ajn

--HG--
extra : rebase_source : cfc30eb7a1d9961d108dbad9ca0fb32d5c208043
2016-12-09 14:17:12 -10:00
Kevin Wern
e4d8f7fbe8 bug 1249162 - Fix unwanted thumb shifts when starting APZ drag r=botond
Fix thumb position determination in these places:
- nsSliderFrame::StartAPZDrag() -- Constrain sliderTrack using
  GetXULClientRect() to match dimensions used in
  SetCurrentThumbPosition() and DoXULLayout(). This is what caused
  the scaling/offset mismatch.
- nsSliderFrame::StartAPZDrag() -- Adjust nonsensical calculation of
  cssSliderTrack. Should be sliderFrame + scrollbarFramePosition -
  compositionBoundsPosition, to get coordinates relative to the same
  region as that of APZ event coordinates.
- AsyncDragMetrics -- Make mScrollTrack and mScrollbarDragOffset float
  instead of int coordinates.
- AsyncPanZoomController::HandleDragEvent() -- Use
  GetAxisLength(scrollTrack) instead of GetAxisEnd(scrollTrack) in
  calculation of scrollMax.
- AsyncPanZoomController::HandleDragEvent() -- Only change position on
  MOUSE_MOVE.

Additional refactors:
- Rename HitTestingTreeNode::GetScrollSize() to GetScrollThumbLength(),
  along with related functions/variables.
- Rename AsyncPanZoomController::GetAxisSize() to GetAxisLength().
- Rename cf to scrollFrame in nsSliderFrame::StartAPZDrag().

MozReview-Commit-ID: CIsU8Pj6qfa

--HG--
extra : rebase_source : 29548fb95ec3e958d903d964753857ee949753ba
2016-11-27 20:48:08 -05:00
Neil Deakin
a21a0e4cb3 Bug 1313130, change menu shortcut handling so that Windows does not call preventDefault only when the accelerator key is down rather than when a key isn't handled, r=ksteuber 2016-12-06 15:25:09 -10:00
Cameron McCormack
f5bb6f2dfd Bug 1322185 - Rename some StyleDisplay enum values for consistency. r=xidorn
MozReview-Commit-ID: K27LmXKWNdk
2016-12-05 21:36:28 -10:00
Julian Seward
2a625e574c Bug 1316556 - Remove zeroing allocation in class nsIPresShell. r=dbaron.
--HG--
extra : rebase_source : 203c4848cf0fe321b429c78ddf71acd662755e6d
2016-12-01 09:06:50 +01:00
Cameron McCormack
d3f33b48e8 Bug 1319568 - Resolve default styles for XUL tree pseudos for now if we're styled by Servo. r=xidorn
MozReview-Commit-ID: H3qDwPldmP2

--HG--
extra : rebase_source : f92fa2af36caf6d6cf58b537682a75fd9edf6e04
2016-11-29 12:31:32 +08:00
Timothy Nikkel
e114bb1b97 Bug 1317562. Make nsTreeBodyFrame use async image notifications during painting. r=aosmond 2016-11-26 01:56:27 -06:00
Timothy Nikkel
501b1c2574 Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond 2016-11-26 01:56:26 -06:00
Bobby Holley
f8c9d884fc Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Ting-Yu Lin
754b6c9659 Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"

MozReview-Commit-ID: 9T0ORsqM6nP

--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Carsten "Tomcat" Book
cf6fb9d85b Merge mozilla-central to autoland 2016-11-22 16:29:49 +01:00
Ehsan Akhgari
aca985efab Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow
This will help make it clearer that this code lives in a different
module for contributors.


--HG--
rename : layout/base/ActiveLayerTracker.cpp => layout/painting/ActiveLayerTracker.cpp
rename : layout/base/ActiveLayerTracker.h => layout/painting/ActiveLayerTracker.h
rename : layout/base/BorderCache.h => layout/painting/BorderCache.h
rename : layout/base/BorderConsts.h => layout/painting/BorderConsts.h
rename : layout/base/DashedCornerFinder.cpp => layout/painting/DashedCornerFinder.cpp
rename : layout/base/DashedCornerFinder.h => layout/painting/DashedCornerFinder.h
rename : layout/base/DisplayItemClip.cpp => layout/painting/DisplayItemClip.cpp
rename : layout/base/DisplayItemClip.h => layout/painting/DisplayItemClip.h
rename : layout/base/DisplayItemScrollClip.cpp => layout/painting/DisplayItemScrollClip.cpp
rename : layout/base/DisplayItemScrollClip.h => layout/painting/DisplayItemScrollClip.h
rename : layout/base/DisplayListClipState.cpp => layout/painting/DisplayListClipState.cpp
rename : layout/base/DisplayListClipState.h => layout/painting/DisplayListClipState.h
rename : layout/base/DottedCornerFinder.cpp => layout/painting/DottedCornerFinder.cpp
rename : layout/base/DottedCornerFinder.h => layout/painting/DottedCornerFinder.h
rename : layout/base/FrameLayerBuilder.cpp => layout/painting/FrameLayerBuilder.cpp
rename : layout/base/FrameLayerBuilder.h => layout/painting/FrameLayerBuilder.h
rename : layout/base/LayerState.h => layout/painting/LayerState.h
rename : layout/base/MaskLayerImageCache.cpp => layout/painting/MaskLayerImageCache.cpp
rename : layout/base/MaskLayerImageCache.h => layout/painting/MaskLayerImageCache.h
rename : layout/base/PaintTracker.cpp => layout/painting/PaintTracker.cpp
rename : layout/base/PaintTracker.h => layout/painting/PaintTracker.h
rename : layout/base/nsCSSRendering.cpp => layout/painting/nsCSSRendering.cpp
rename : layout/base/nsCSSRendering.h => layout/painting/nsCSSRendering.h
rename : layout/base/nsCSSRenderingBorders.cpp => layout/painting/nsCSSRenderingBorders.cpp
rename : layout/base/nsCSSRenderingBorders.h => layout/painting/nsCSSRenderingBorders.h
rename : layout/base/nsDisplayItemTypes.h => layout/painting/nsDisplayItemTypes.h
rename : layout/base/nsDisplayItemTypesList.h => layout/painting/nsDisplayItemTypesList.h
rename : layout/base/nsDisplayList.cpp => layout/painting/nsDisplayList.cpp
rename : layout/base/nsDisplayList.h => layout/painting/nsDisplayList.h
rename : layout/base/nsDisplayListInvalidation.cpp => layout/painting/nsDisplayListInvalidation.cpp
rename : layout/base/nsDisplayListInvalidation.h => layout/painting/nsDisplayListInvalidation.h
2016-11-21 20:01:15 -05:00
beachjar
ef4af64194 Bug 1316597 Prevent immediate opening and closing of select dropdowns when anchored on selection r=enndeakin+6102
MozReview-Commit-ID: CkKTh2j2vZF

--HG--
extra : rebase_source : a8179773dbbf1074c0e7a5c1443275b2109f1307
2016-11-18 11:46:42 -05:00
Botond Ballo
d561ba2938 Bug 1318730 - Fire the ScrollInputMethod::MainThreadScrollbarTrackClick telemetry probe in the non-scrollToClick case as well. r=kats
MozReview-Commit-ID: EQRu1NwYQDM

--HG--
extra : rebase_source : 3c9b6a010ece1dfecdab0b6b90aefa7ded2bf2ea
2016-11-18 13:01:56 -05:00
Neil Deakin
18dc1a098a Bug 1314251, close menulist on alt+up/down, r=ksteuber 2016-11-17 09:56:43 -05:00
Neil Deakin
74aa0c0079 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book
8a5fc639cc Backed out changeset 4ed7a34ea7ab (bug 1313131) 2016-11-17 15:42:45 +01:00
Carsten "Tomcat" Book
52809c6506 Backed out changeset 9af8f4f33471 (bug 1314251) 2016-11-17 15:42:43 +01:00
Neil Deakin
28bb8afb89 Bug 1314251, close menulist on alt+up/down, r=ksteuber 2016-11-17 09:28:27 -05:00
Neil Deakin
3982f6a6c1 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:28:27 -05:00
Phil Ringnalda
a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
8f6c082926 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/xul. r=RyanVM
MozReview-Commit-ID: 7L2yY2Jc3FI

--HG--
extra : rebase_source : e82cecfca06ba99103245b23578a03829e18f764
2016-11-05 11:29:20 +01:00
Mats Palmgren
e78d14df88 Bug 1300369 part 4 - Refactor all ComputeAutoSize methods to take the full ComputeSizeFlags instead of just a "bool aShrinkWrap" for the eShrinkWrap flag (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Andi-Bogdan Postelnicu
fb9e09b56b Bug 1276901 - prevent null pointer dereference on |nativeKeyEvent|. r=dholbert
MozReview-Commit-ID: J3GtMQDU1Yq

--HG--
extra : rebase_source : 7c4ea962e66be1a084cfc2d765cdee79d726d40e
2016-05-31 15:41:12 +03:00
Mike Conley
8325bc3f55 Bug 1313195 - Clear active EventStateManager if a XUL popup is opened. r=enndeakin+6102
MozReview-Commit-ID: 2f6ui1X6cxj

--HG--
extra : rebase_source : 1dbe37ca5e75c6d1156438a3dc22d38102f5a902
2016-10-26 16:51:30 -04:00
Neil Deakin
9214951d19 Bug 1305362, skip disabled menuitems in menulists on all platforms, r=ksteuber 2016-10-17 11:56:34 -04:00
stefanh@inbox.com
246a2ff0f8 Bug 1192053 - Add support for vibrant tree rows in nsTreeBodyFrame.cpp. r=mats. 2016-10-14 22:45:22 +02:00
Andrea Marchesini
793b227795 Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug 2016-10-13 14:33:07 +02:00
Tim Huang
b05fe5b871 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-13 15:43:56 +08:00
Wes Kocher
2142de26c1 Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Neil Deakin
97647daf2c Bug 1307793, pressing space when menulist is ofocused should perform incremental find select rather than open the menu, r=ksteuber 2016-10-12 09:18:08 -04:00
Neil Deakin
7f547cba15 Bug 1304243, scroll the current item into view when opening a menulist after it gets positioned so that it scrolls properly if the popup gets cropped, r=ksteuber 2016-10-12 09:18:05 -04:00
Tim Huang
caaf3e63f4 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-12 17:32:05 +08:00
Neil Deakin
845dd33d01 Bug 1210328, compute correct flip state for popups, r=ksteuber 2016-10-11 14:13:36 -04:00
Neil Deakin
3ddf50388a Bug 1308233, fix assertion opening menulists in rtl, r=mstange 2016-10-11 14:13:36 -04:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Xidorn Quan
e92fe57924 Bug 1266621 part 5 - Convert border-color to store complex color. r=heycam
MozReview-Commit-ID: 19sl9f3EVgt

--HG--
extra : rebase_source : fba71e92cf7d23728a7c963ae12027e7aee7e986
2016-09-27 20:16:35 +10:00
Xidorn Quan
cc1649886e Bug 1266621 part 1 - Convert text-decoration-color to store complex color. r=heycam
MozReview-Commit-ID: LEGICgvgQDY

--HG--
extra : rebase_source : 6c68c6e26648354d4d5515e199fdf07711eca726
2016-09-27 20:19:48 +10:00
Kirk Steuber
ad4b55af1f Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=enndeakin
MozReview-Commit-ID: Dh1npORCQ6J

--HG--
extra : rebase_source : 5df6076561a746791c44d249afa31009d0e1b30a
2016-08-16 15:33:05 -07:00
Kartikaya Gupta
1d5a942431 Bug 1300421 - Back out 4 csets from bug 1288760 for regressing event coordinate reporting. r=jfkthame
MozReview-Commit-ID: AJ2PkSfYCpv
2016-09-29 10:20:52 -04:00
Xidorn Quan
73cb8d2d09 Bug 898984 - Part 2: Support surrogate pair in XUL cropped element. r=jfkthame 2013-08-11 03:41:00 +09:00
Nicolas Silva
79bb9f5c0e Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02:00
Ting-Yu Lin
2884834832 Bug 1301630 - Remove nsBlockFrame::SetFlags(). r=bz
Per bug 1299753 comment 20, SetFlags() is designed for flag propagation
to continuations during block reflow. To avoid misuse, I expand
SetFlags() directly in the only reasonable caller nsBlackFrame::Init(),
and replace other usages by AddStateBits().

MozReview-Commit-ID: GsbE2Z0Rps1

--HG--
extra : rebase_source : 72a64e9218870d638f67d1b586f533cd7d16c491
2016-09-09 15:26:57 +08:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Nicholas Nethercote
f4ec41d9b5 Bug 1297300 - Add missing checks to GetSpec() calls in layout/. r=dholbert,heycam.
--HG--
extra : rebase_source : b3a26866746cde4337f5ffeff94f370b2eb7da3e
2016-08-31 20:10:10 +10:00
Michael Layzell
118a8b7507 Bug 1018486 - Part 4: Changes in layout/, r=bz
MozReview-Commit-ID: BsaKGHsoqOq
2016-09-07 10:50:40 -04:00
Nicholas Nethercote
b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Emilio Cobos Álvarez
619cb14d87 Bug 1299066: Make NS_STYLE_DISPLAY_* an enum class. Prefer indexing instead of linear search in the frame constructor r=heycam,bz
The main renaming was generated with the following python script:

```

import sys
import re

CAMEL_CASE_REGEX = re.compile(r"(^|_|-)([A-Z])([A-Z]+)")
DISPLAY_REGEX = re.compile(r"\bNS_STYLE_DISPLAY_([^M][A-Z_]+)\b")

def to_camel_case(ident):
  return re.sub(CAMEL_CASE_REGEX,
                lambda m: m.group(2) + m.group(3).lower(), ident)

def constant_to_enum(constant):
  return "StyleDisplay::" + to_camel_case(constant) + ("_" if constant == "NONE" else "")

def process_line(line):
  return re.sub(DISPLAY_REGEX,
                lambda m: constant_to_enum(m.group(1)), line)

lines = []
with open(sys.argv[1], "r") as f:
  for line in f:
    lines.append(process_line(line))

with open(sys.argv[1], "w") as f:
  for line in lines:
    f.write(line)
```

And the following shell commands:

```
find . -name '*.cpp' -exec python display.py {} \;
find . -name '*.h' -exec python display.py {} \;
```

MozReview-Commit-ID: 91xYCbLC2Vf
2016-09-01 20:41:17 -07:00
Aryeh Gregor
76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Ravi Shankar
b41dc19d66 Bug 1297982 - Replace NS_STYLE_BOX_ORIENT_* with enum class; r=xidorn
MozReview-Commit-ID: GC0VRyHUM4V

--HG--
extra : rebase_source : eb43a793816101798d0d3bb9a56864519eb7a14a
2016-08-26 12:48:41 +05:30
Ravi Shankar
294361b78a Bug 1297982 - Replace NS_STYLE_BOX_DIRECTION_* with enum class; r=xidorn
MozReview-Commit-ID: H6Mr73864O2

--HG--
extra : rebase_source : a13a5d1ec0b0149da82bfdb3ea7ce22cd9ddfcd2
2016-08-26 12:47:09 +05:30
Ravi Shankar
0589e4d8e2 Bug 1297982 - Replace NS_STYLE_BOX_PACK_* with enum class; r=xidorn
MozReview-Commit-ID: Cx20hOJbmad

--HG--
extra : rebase_source : 8a537ab49ee23c99ea7e8ba1a58bf3f487c53092
2016-08-26 12:41:54 +05:30
Ravi Shankar
ca8ee9dc38 Bug 1297982 - Replace NS_STYLE_BOX_ALIGN_* with enum class; r=xidorn
MozReview-Commit-ID: EO8hXmXooft

--HG--
extra : rebase_source : ef1e01a373964d5cb7207f87e14e85a9a1dab7fd
2016-08-26 12:39:19 +05:30
Jinank Jain
f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Nicholas Nethercote
67af4817e9 Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.

The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Sebastian Hengst
4cc5c09d8b Backed out changeset c5cb27604f9f (bug 1206133) for timing out in notification tests of passwordmanager on Linux. r=backout 2016-08-18 19:58:44 +02:00
Jonathan Kew
9192d29ccd Bug 1288760 patch 2.2 - Make InitializePopupAtScreen handle position specified in global CSS-pixel values. r=emk 2016-07-28 23:04:33 +01:00
Kirk Steuber
63f152486c Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=enn, r=adw
MozReview-Commit-ID: 6YPRbRB5RBX

--HG--
extra : rebase_source : 2995788c80a25c242d0b94edd0792b4bf3ce978d
2016-08-16 15:33:05 -07:00
Neil Deakin
5cb9bd82d8 Bug 52106, open menulist popup with selection over cursor, r=mstange 2016-08-11 10:37:25 -04:00
Neil Deakin
92a3bbb5e7 Bug 1246089, don't rollup a menulist popup when alt is pressed, r=tn 2016-08-11 10:36:20 -04:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Neil Deakin
e375813b04 Bug 1159301, clear the mouse capture whenever a menu is opened, r=tn 2016-08-03 07:45:45 -04:00
David Zbarsky
e0691abc04 Bug 824592 part 3. Get rid of nsIDOMElementCSSInlineStyle. r=peterv 2016-08-02 11:05:38 -07:00
Andrew Comminos
7fae1904bf Bug 1131576 - Spin the event loop between calls to showPopup in test_windowminmaxsize.xul. r=enn
MozReview-Commit-ID: CoZBzJQRHGx
2016-07-28 10:43:13 -04:00
Neil Deakin
f78e0b2fe2 Bug 1253975, don't reset the scroll position of a menulist when it opens as it should scroll to its selection instead, r=mconley 2016-07-25 09:08:36 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ting-Yu Lin
40fcd21b9a Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron
This patch is generated by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -r "s/$1/$2/g" "{}" \;
}

rename "([[:alpha:]]*)([rR])eflowState(s?)" "\1\2eflowInput\3"

MozReview-Commit-ID: ITFO7uMTkSb

--HG--
extra : rebase_source : c91a2e174a0baec60c1b0111ac7636295004ab35
2016-07-21 18:36:39 +08:00
Ting-Yu Lin
55cde36029 Bug 1277129 Part 6b - Rename rendContext to mRenderingContext in SizeComputationInput. r=dbaron
MozReview-Commit-ID: LczLJDtDncy

--HG--
extra : rebase_source : c32e928ae25f94305fb907db89278dce7304a903
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
4053c4c028 Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron
This patch is generated by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "nsHTMLReflowMetrics" "ReflowOutput"

MozReview-Commit-ID: 2HBb7DkooH5

--HG--
extra : rebase_source : acfa442a6483772fcb5748dc6f5e7072e599032a
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
820f88de49 Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
This patch is generated by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename nsHTMLReflowState ReflowInput

MozReview-Commit-ID: 9r9vdVv1pXc

--HG--
extra : rebase_source : 623ec822996ba0ea0058dd137acf5a658cdea04a
2016-07-21 18:36:35 +08:00
Ting-Yu Lin
d444310eb1 Bug 1277129 Part 1b - Rename nsHTMLReflowState.h/cpp to ReflowInput.h/cpp and fix #includes. r=dbaron
The #includes are fixed by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "nsHTMLReflowState\.h" "mozilla\/ReflowInput\.h"

MozReview-Commit-ID: FjwHA4YRHNv

--HG--
rename : layout/generic/nsHTMLReflowState.cpp => layout/generic/ReflowInput.cpp
rename : layout/generic/nsHTMLReflowState.h => layout/generic/ReflowInput.h
extra : rebase_source : e4215620717df436a51243cee689286cfabc7c71
2016-07-21 18:36:34 +08:00
Ting-Yu Lin
39dffbe21b Bug 1277129 Part 1a - Move nsHTMLReflowState and nsCSSOffsetState into mozilla namespace. r=dbaron
MozReview-Commit-ID: DJfEQRCgNo3

--HG--
extra : rebase_source : add4c7a843f956114b2b9dfe20fba1048139ca5f
2016-07-21 18:36:34 +08:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Masayuki Nakano
94713accb3 Bug 1260651 part.49 Rename nsTextEditRules to mozilla::TextEditRules (and also their file names) r=mccr8
MozReview-Commit-ID: DzNeLcT1r1e

--HG--
rename : editor/libeditor/nsTextEditRules.cpp => editor/libeditor/TextEditRules.cpp
rename : editor/libeditor/nsTextEditRules.h => editor/libeditor/TextEditRules.h
rename : editor/libeditor/nsTextEditRulesBidi.cpp => editor/libeditor/TextEditRulesBidi.cpp
2016-07-09 11:34:41 +09:00
Xidorn Quan
9cd4a13d78 Bug 1274868 - Deactive opened menu when entering fullscreen. r=enn
MozReview-Commit-ID: 9VOMfDQZ0eZ

--HG--
extra : amend_source : 4bb215e2d9256725293ecc8fe66d9b93590af526
2016-06-27 10:42:37 +10:00
Carsten "Tomcat" Book
d8d1e0b986 Backed out changeset d4e94246b3b4 (bug 1274868) for wrong reviewer name 2016-06-30 06:32:37 +02:00
Xidorn Quan
1ee9809437 Bug 1274868 - Deactive opened menu when entering fullscreen. r=dao
MozReview-Commit-ID: 9VOMfDQZ0eZ

--HG--
extra : transplant_source : %FF%5D%E8%94%D9A%9D%C7%28%E7%C4%B5Yy%40%89%3B%BD%DE%1A
2016-06-27 10:42:37 +10:00
Kyle Zentner
b0138383bd Bug 1166728 - Remove support for "box-sizing: padding-box", per CSS WG resolution. r=dholbert r=mats
MozReview-Commit-ID: JClqoCUrm11
2016-06-18 23:03:30 +01:00
Carsten "Tomcat" Book
2266139ee3 Merge mozilla-central to mozilla-inbound 2016-06-10 15:44:04 +02:00
Carsten "Tomcat" Book
4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Neil Deakin
bbd2fd7ef4 Bug 1247824 - Don't set the popup's size unless the width/height attributes exist. r=masayuki 2016-06-09 13:21:01 +02:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Neil Deakin
baef42a6ab Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 11:34:12 -04:00
Carsten "Tomcat" Book
a34d39f529 Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE 2016-06-09 15:28:22 +02:00
Neil Deakin
efe80ab561 Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 07:59:31 -04:00
Jonathan Watt
2eb705bb3f Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas 2016-05-25 17:01:18 +01:00
Mats Palmgren
4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Andi-Bogdan Postelnicu
7ee9eb0799 Bug 1273128 - prevent null pointer dereference on |nativeKeyEvent|. r=janv
MozReview-Commit-ID: IOnUZfZHcnG

--HG--
extra : rebase_source : 3007958b2a0a5d3aa2b3e232cfebd9b7005ed7d5
2016-05-16 16:19:23 +03:00
Phil Ringnalda
6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren
fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Daniel Holbert
b2d8d65181 Bug 1272983 part 3: Use more forgiving padding getter in nsTreeBodyFrame.cpp, for better behavior with percent padding. r=dbaron
MozReview-Commit-ID: 10wFgGQ2Dqt
2016-05-20 15:05:35 -07:00
L. David Baron
0ff0dbb850 Bug 1274450 - Disable PGO for nsTreeBodyFrame::PaintText. r=sfink a=KWierso
MozReview-Commit-ID: GL7gz3vuvAD
2016-05-20 14:46:02 -07:00
CJKu
be0a6b927b Bug 1228280 - Part 1. Change the parameter of nsCSSRendering::PaintBackground;
MozReview-Commit-ID: 41KgAlkx9oZ
2016-05-19 15:43:20 +08:00
Timothy Nikkel
de51310fb9 Bug 1267489. nsImageBoxFrame should unlock old image when changing to a new image. r=dholbert 2016-05-17 03:13:28 -05:00
Masayuki Nakano
8a70a17c6a Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.

MozReview-Commit-ID: JMT614copjG

--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano
3359bad586 Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.

MozReview-Commit-ID: IKjQ1nr8XYe

--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Phil Ringnalda
c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren
e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Neil Deakin
405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Cameron McCormack
4ca33888b2 Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert 2016-05-11 14:03:34 +10:00
Boris Zbarsky
59de5a530f Bug 1270349 part 5. Use LegacyUnenumerableNamedProperties instead of passing flags to GetSupportedNames to determine whether named props on DOM proxies should be reflected in ownPropertyKeys. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky
76180fb5a7 Bug 1270349 part 4. Use LegacyUnenumerableNamedProperties instead of NameIsEnumerable() calls to determine whether named props on DOM proxies should be enumerable. r=peterv 2016-05-09 22:25:40 -04:00
Bobby Holley
f2c9cdf0d8 Bug 1269901 - Remove mCachedPadding. r=dbaron 2016-05-04 16:56:17 -07:00
Markus Stange
aaac8ed991 Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : 3576ab2662eef6ddca3e430c305c3eda18200c71
2016-04-27 17:45:21 -04:00
Neil Deakin
190dbc551b Bug 1251634, release mouse capture when a context menu is opened, r=tn 2016-05-04 10:08:01 -04:00
Neil Deakin
5d2aea87d5 Bug 1266963, stop propagation before other steps, r=masayuki 2016-05-04 10:07:45 -04:00
Cameron McCormack (:heycam)
e78be5f934 Bug 1270001 - Rename NS_STYLE_TEXT_TRANSFORM_FULLWIDTH to use underscores consistently. r=xidorn
This renaming helps with auto-generated code in stylo.

--HG--
extra : rebase_source : d11cf8190f7aa4a73bf63c55afc97043d7c9c159
2016-05-03 23:32:00 +02:00
Phil Ringnalda
f74761a568 Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
CLOSED TREE

Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Matt Woodrow
47cde44daf Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron 2016-05-04 12:27:43 +12:00
Markus Stange
a1808bf5af Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : dfebe31debd02bee286e1db851fca231dfcfc14c
2016-04-27 17:45:21 -04:00
Phil Ringnalda
5387bf0160 Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
64035d7f81 Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : 99d4be46d60582b3c6d55b720f2fcca08458a06a
2016-04-27 17:45:21 -04:00
Christoph Kerschbaumer
da0d241d98 Bug 1206961 - Use channel->AsyncOpen2() for imageLoader; Remove security checks from callsites (r=bz) 2016-04-27 19:41:13 +02:00
CJKu
3acf2e463b Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
MozReview-Commit-ID: 2SfENZieSzQ

--HG--
extra : rebase_source : 3880f8fd6ae18e9f4b1cbf0a2f5eff48c060548b
2016-04-26 23:56:44 +08:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Wes Kocher
9e4d1f728a Bug 1267054 - Annotate the android assertion a=testonly
MozReview-Commit-ID: 1sTIFwhjlZR

--HG--
extra : source : 80befee8ec527372547b547cc592e555d3b6c11a
2016-04-25 15:46:55 -07:00
Botond Ballo
25a9b005e6 Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
MozReview-Commit-ID: ITLeksQzvVM

--HG--
extra : rebase_source : 1a3779ab7154282388c2e57251886863e818b168
2016-04-20 19:49:09 -04:00
Benoit Girard
7320608b23 Bug 1265825 - Remove mSuppressionActive assert. r=kats
MozReview-Commit-ID: I84IfyxwusB

--HG--
extra : rebase_source : 6d1bbe4e045875aa157cd2f50f7f9f9dcc790f84
2016-04-22 11:45:35 -04:00
L. David Baron
1fff16a212 Bug 1053986 - Rename nsBox::DoLayout to DoXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 6Q0F4ViOyjJ
2016-04-20 21:28:35 -07:00
L. David Baron
a5934125bf Bug 1053986 - Rename nsBox::EndLayout to EndXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 6D6A0XqArES
2016-04-20 21:28:35 -07:00
L. David Baron
5d96d363af Bug 1053986 - Rename nsBox::BeginLayout to BeginXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 5gQYEEY6jJ1
2016-04-20 21:28:34 -07:00
L. David Baron
e0db98947a Bug 1053986 - Rename nsIFrame::AddCSSPrefSize, AddCSSMinSize, AddCSSMaxSize, and AddCSSFlex by replacing CSS with XUL. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: BTsQw1EMqvY
2016-04-20 21:28:34 -07:00
L. David Baron
29a427f28f Bug 1053986 - Rename nsIFrame::DumpBox to XULDumpBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 7fWf9Z1ugB9
2016-04-20 21:28:34 -07:00
L. David Baron
2b41721e10 Bug 1053986 - Rename nsIFrame::GetDebug to GetXULDebug. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: F88H1QCPSS7
2016-04-20 21:28:34 -07:00
L. David Baron
cbb60bab56 Bug 1053986 - Rename nsIFrame::SetDebug to SetXULDebug. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: KQYtO7JS2Zm
2016-04-20 21:28:34 -07:00
L. David Baron
724e8f5649 Bug 1053986 - Rename nsIFrame::RelayoutChildAtOrdinal to XULRelayoutChildAtOrdinal. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 6nN7dzGoCpX
2016-04-20 21:28:34 -07:00
L. David Baron
9b694e75bf Bug 1053986 - Rename nsIFrame::Redraw to XULRedraw. r=dholbert
Written purely with sed, over .h and .cpp files in layout/, except for
the removal of one comment change in nsSliderFrame.cpp.

MozReview-Commit-ID: 2jpzaby0S9r
2016-04-20 21:28:34 -07:00
L. David Baron
95adf693d8 Bug 1053986 - Rename nsIFrame::IsNormalDirection to IsXULNormalDirection. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: BjamzLIqkUW
2016-04-20 21:28:34 -07:00
L. David Baron
ff032066f9 Bug 1053986 - Rename nsIFrame::IsHorizontal to IsXULHorizontal, and related methods. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

This also renames a static method on nsSprocketLayout.

Note that nsFlexContainerFrame and nsRangeFrame also have IsHorizontal
methods that are not renamed here, but this can be found to be
relatively safe because none of the IsHorizontal methods are virtual.

MozReview-Commit-ID: Jsdy7I4Q7mX
2016-04-20 21:28:34 -07:00
L. David Baron
318d797bb2 Bug 1053986 - Rename nsIFrame::GetHAlign to GetXULHAlign. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: FW1DjQ2uCnk
2016-04-20 21:28:33 -07:00
L. David Baron
09ce96ec3a Bug 1053986 - Rename nsIFrame::GetVAlign to GetXULVAlign. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 1CKHdnYFKBx
2016-04-20 21:28:33 -07:00
L. David Baron
9b3e98ff35 Bug 1053986 - Rename nsIFrame::GetClientRect to GetXULClientRect. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: 2F7Bt3i4ogu
2016-04-20 21:28:33 -07:00
L. David Baron
ea114a38d6 Bug 1053986 - Rename nsIFrame::GetLayoutManager to GetXULLayoutManager. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: LbOjEpXmcH4
2016-04-20 21:28:33 -07:00
L. David Baron
e857dc05f7 Bug 1053986 - Rename nsIFrame::SetLayoutManager to SetXULLayoutManager. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: FuOaNWfROKV
2016-04-20 21:28:33 -07:00
L. David Baron
a18df38599 Bug 1053986 - Rename nsIFrame::GetMargin to GetXULMargin. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: GqAa9wyb8z3
2016-04-20 21:28:33 -07:00
L. David Baron
5d30ee8dc8 Bug 1053986 - Rename nsIFrame::GetPadding to GetXULPadding. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: ENHslSI6hch
2016-04-20 21:28:33 -07:00
L. David Baron
d44900156e Bug 1053986 - Rename nsIFrame::GetBorder to GetXULBorder. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

It also includes manual changes in accessible/.

MozReview-Commit-ID: D1nwxJmUzc9
2016-04-20 21:28:33 -07:00
L. David Baron
e8c729768f Bug 1053986 - Rename nsIFrame::GetBorderAndPadding to GetXULBorderAndPadding. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: A8rWLW213Uo
2016-04-20 21:28:32 -07:00
L. David Baron
5cb5f30041 Bug 1053986 - Rename nsBox::GetParentBox to GetParentXULBox. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: FqTrLBFZMF5
2016-04-20 21:28:32 -07:00
L. David Baron
758eb25ec4 Bug 1053986 - Rename nsBox::GetNextBox to GetNextXULBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 2idhqJgZLTe
2016-04-20 21:28:32 -07:00
L. David Baron
f922950060 Bug 1053986 - Rename nsBox::GetChildBox to GetChildXULBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 61Fye82NdT4
2016-04-20 21:28:32 -07:00
L. David Baron
3d0dc454a5 Bug 1053986 - Rename nsIFrame::Layout to XULLayout, and related methods with the same name. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: 9NNnNw6ClGq
2016-04-20 21:28:32 -07:00
L. David Baron
867eb820ad Bug 1053986 - Rename nsIFrame::SetBounds to SetXULBounds. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/, with additional manual indentation fixes.

MozReview-Commit-ID: weRWGmQLjh
2016-04-20 21:28:32 -07:00
L. David Baron
633e18a890 Bug 1053986 - Rename nsIFrame::IsCollapsed to IsXULCollapsed, and related methods. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.  It's a subset because there is also a Selection
method called IsCollapsed, which is not changed here.

MozReview-Commit-ID: 9JgnPv0Hkff
2016-04-20 21:28:32 -07:00
L. David Baron
4754370cbd Bug 1053986 - Rename nsIFrame::GetBoxAscent to GetXULBoxAscent. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: EDkbMQKqPg6
2016-04-20 21:28:32 -07:00
L. David Baron
8e7c9500e2 Bug 1053986 - Rename nsIFrame::GetFlex to GetXULFlex. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: DNL01eSXB73
2016-04-20 21:28:31 -07:00
L. David Baron
81bae7f235 Bug 1053986 - Rename nsIFrame::GetOrdinal to GetXULOrdinal. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: Cj9yHRCuqzx
2016-04-20 21:28:31 -07:00
L. David Baron
72e04ee41a Bug 1053986 - Rename nsIFrame::GetMinSizeForScrollArea to GetXULMinSizeForScrollArea. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: EkHfWG4QQrE
2016-04-20 21:28:31 -07:00
L. David Baron
c760cfbbb8 Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 39fYXMz7kqR
2016-04-20 21:28:31 -07:00
L. David Baron
87a69b43fb Bug 1053986 - Rename nsIFrame::GetPrefSize to GetXULPrefSize, and related methods. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: yvcAZ8rndu
2016-04-20 21:28:31 -07:00
L. David Baron
814003bbcc Bug 1053986 - Rename nsIFrame::GetMinSize to GetXULMinSize, and related methods. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: Jhe3o3kIOe0
2016-04-20 21:28:31 -07:00
L. David Baron
c1e0b61079 Bug 1053986 - Rename nsFrame.cpp static method IsBoxWrapped to IsXULBoxWrapped. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: EOh204RMxmi
2016-04-20 21:28:30 -07:00
L. David Baron
376413eeb5 Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

But with additional manual changes in accessible/.

MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
CJKu
f530904493 Bug 1261578 - Part 2. Correct text decoration color; r=jfkthame
MozReview-Commit-ID: LfZnmTnL5KY

--HG--
extra : rebase_source : 1bb95f3a8b59c2897f55e1f17ee8168366ca1cf5
2016-04-19 17:09:54 +08:00
Ting-Yu Lin
28664ebdb0 Bug 1264837 Part 1 - Remove nsTextBoxFrameSuper. r=dholbert
MozReview-Commit-ID: DFQ77kfvhrB

--HG--
extra : rebase_source : b66b672d6f4266a61c46ba2bc2f05af8d8eba4bf
2016-04-18 16:26:44 +08:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Nathan Froyd
152965fcb0 Bug 1255069 - use UniquePtr for storage in nsTreeContentView; r=dholbert 2016-04-12 09:05:20 -05:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Cameron McCormack
672aaef5a4 Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Christoph Kerschbaumer
52a7f283b3 Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth 2016-04-11 10:58:03 +02:00
Matt Woodrow
3fcbb65a38 Bug 852754 - Part 3: Share the implementation of ConfigureLayer. r=mstange 2016-04-07 18:54:33 +12:00
Matt Woodrow
7dc61d9b46 Bug 852754 - Part 2: Share the implementation of GetContainer. r=mstange 2016-04-07 18:53:15 +12:00