Commit Graph

48042 Commits

Author SHA1 Message Date
Timothy Nikkel
d01b47f68d Bug 1224209. Add reftest. 2015-11-18 02:44:10 -06:00
Randall Barker
437b68789f Bug 1223941 - Enabling C++ APZ in Fennec causes off by one error in placeholder-6.html. r=kats
Update the fuzz test for reftest placeholder-6.html to allow a single pixel to be
off by one in Fennec when C++APZ is enabled.

--HG--
extra : commitid : xWf4FNDIQr
2015-11-18 19:34:00 -05:00
Randall Barker
9e2f0b60fb Bug 1223944 - Reftest bg-fixed-transformed-image-ref.html fails for Fennec when C++APZ enabled. r=kats
Enabling C++APZ in Fennec causes bg-fixed-transformed-image-ref.html to fail.
The fuzz test needs to be increased to number similar to B2G in order for the test to pass.

--HG--
extra : commitid : HJkZrYVhn1w
2015-11-18 19:33:34 -05:00
Randall Barker
47968a20fd Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats
--HG--
extra : commitid : Cihc6iEBezl
2015-11-18 19:32:37 -05:00
Randall Barker
9a1bc2b629 Bug 1226041 - Remove mFirstPaint hack for JPZC when the C++ APZ is enabled. r=kats
--HG--
extra : commitid : 1JVSxoW0YJi
2015-11-16 14:33:45 -05:00
Kartikaya Gupta
3bdf2299bb Bug 1225571 - Move the code to update the SPCSPS from repaint request handling to when the resolution is updated in the presShell. r=botond
--HG--
extra : commitid : JglAPUfEC3G
2015-11-18 13:53:14 -05:00
Mats Palmgren
5b213a3172 Bug 1176792 part 3 - [css-grid] Reftests for the 'grid-column-gap' and 'grid-row-gap' properties. 2015-11-18 19:52:27 +01:00
Mats Palmgren
787aab2030 Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-18 19:52:27 +01:00
Mats Palmgren
0edbd4ad4c Bug 1176792 part 1 - [css-grid] Implement the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties in the style system. r=dholbert,dbaron 2015-11-18 19:52:27 +01:00
Ting-Yu Lin
b48a4c37c2 Bug 1225701 - Update comments in AccessibleCaret files. r=mtseng
DONTBUILD NPOTB

--HG--
extra : commitid : LWzB3w73OeN
extra : rebase_source : 4e359bda2a8c005eedf2ebf972182111094e809e
2015-11-18 11:44:00 +08:00
Ting-Yu Lin
68407e278f Bug 1225701 - Add comments in TouchCaret and SelectionCarets for their obsolescence. r=mtseng
DONTBUILD NPOTB

--HG--
extra : commitid : LWzB3w73OeN
extra : rebase_source : 3494c4e6c8d3f3093e4080ebbfd207c937b90633
2015-11-18 11:44:00 +08:00
Nicholas Nethercote
26b0d282a5 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Boris Zbarsky
187d95cc83 Bug 1220621. When removing a <col>, only create an anonymous colframe to replace it if one is really needed. r=dbaron 2015-11-17 18:15:01 -05:00
Nicholas Nethercote
eb12a384c0 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
Bas Schouten
9c69abbb6c Bug 1224798: Do not produce a clip mask if our context is entirely clipped out anyway. r=jrmuizel 2015-11-17 16:27:17 +01:00
Jesse Ruderman
20405e523f Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
03bd1366df Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
91c762fa9b Bug 576927 - Use saturating multiply when calculating zoomed app units to avoid integer overflow. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
5c372395c9 Bug 1224804 - [css-align] Make ::-moz-table-outer inherit 'justify-self'. r=dholbert 2015-11-16 17:32:39 +01:00
Jesse Ruderman
9ff4167bee Bug 1223282 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
82b3daf6c8 Bug 1223282 - Make NS_AUTOMARGIN be a different value than NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
d376b16387 Bug 1224634 - [css-grid] Tweak a few tests to account for correct 'justify-self' behavior. 2015-11-17 15:00:29 +01:00
Mats Palmgren
921715fa31 Bug 1224634 - [css-grid] Make grid items shrink-wrap when reflowing them, unless they have justify-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
Jesse Ruderman
0468f22070 Bug 1225118 - Crashtest. 2015-11-17 15:00:29 +01:00
Mats Palmgren
b442e0b4b3 Bug 1225118 - [css-grid] Deal with nscoord overflow when applying [align|justify]-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
David Anderson
7e9cf5355c Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Cameron McCormack
fd2fba0c73 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
Ting-Yu Lin
2322e84c59 Bug 1206545 - Add a marionette test case. r=roc
Test AccessibleCaretEventHub is properly initialized if <html> has
"display: none" initially.

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 9c767b200a63777b3f20e85ebc3f83272e979bc9
2015-11-16 18:16:43 +08:00
Ting-Yu Lin
41f35c7496 Bug 1206545 - Initialize AccessibleCaretEventHub in nsCanvasFrame. r=roc
To properly initialize AccessibleCaretEventHub, both canvas frame and
its anonymous mCustomContentContainer are required to successfully
insert anonymous caret elements.

However, if <html> has "display: none",
nsCSSFrameConstructor::ConstructDocElementFrame() will return early in
[1] without constructing mCustomContentContainer. Thus,
AccessibleCaretEventHub will fail to initialize in [2] due to null
mCustomContentContainer.

By moving AccessibleCaretEventHub::Init() to
nsCanvasFrame::CreateAnonymousContent(), we can guarantee that
mCustomContentContainer is constructed before initializing
AccessibleCaretEventHub.

[1] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsCSSFrameConstructor.cpp#2413-2416
[2] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsPresShell.cpp#1682

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 0edef7db8004da2e2cde3d4510bb23f1e9cee61e
2015-11-16 18:16:43 +08:00
Ting-Yu Lin
3d15f9d1ae Bug 1206545 - Store nsIPresShell pointer in constructor instead of Init(). r=roc
When constructing AccessibleCaretEventHub, bypass and store the
nsIPresShell pointer. This is a preparation for later patches.

Also, remove 'virtual' for Init() and Terminate() since the mock object
in gtest does not need to override them.

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : ff934904a6144a3408746574a5534ab44731192d
2015-11-16 18:16:43 +08:00
Cameron McCormack
904f671b03 Bug 1222745 - Restore eRestyleResult_StopWithStyleChange optimization for shared style contexts by comparing rule nodes for inherited style data changes. r=dbaron 2015-11-17 15:09:55 +11:00
Cameron McCormack
fa1a36783a Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Mason Chang
5af03a5859 Bug 1221674 Part 2: Correct for negative content delay values. r=avih 2015-11-16 16:21:04 -08:00
Gijs Kruitbosch
a06294cced Bug 1221947 - part 3: pass touch information to focus manager in RenderFrameParent, r=kats
--HG--
extra : commitid : 47acXgQvIIX
extra : rebase_source : 5cd19375c1bd6451e9cf80f6bae8dbf1de2b34be
extra : histedit_source : 50e6c9d203bde42a45812d352d60fa45987d8806
2015-11-16 14:03:35 +00:00
Xidorn Quan
281856bae0 Bug 1220903 - Allow style to access chrome-only properties if it is loaded via chrome protocol. r=bz
--HG--
extra : source : 4d665a07ace08c052311c97ed4b0cc71d5ec9fd5
2015-11-17 09:54:34 +11:00
Xidorn Quan
ba639e3e07 Bug 1213710 part 3 - Remove enableTestPlugin.js files and make the tests reference plugin-utils.js directly. r=bsmedberg
--HG--
extra : source : 985fc6ba41c30914969940c30dd5a07c3f19f157
2015-11-17 09:54:12 +11:00
Wes Kocher
12532a74a8 Backed out changeset 4efb6cc4fd5d (bug 1225004) for build bustage CLOSED TREE
--HG--
extra : commitid : 4eYsywoFekg
2015-11-16 14:51:17 -08:00
Matt Woodrow
7606ee64ed Bug 1212823 - Use correct coordinate space for box-shadow native rect when doing themed drawing. r=roc 2015-11-12 15:23:11 +13:00
Cameron McCormack
6087c6d62a Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Wes Kocher
7ebb7aa32e Backed out changeset 14641a6d6747 (bug 1223282) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : 6RJMD744I6U
2015-11-16 11:00:47 -08:00
Wes Kocher
0a7442f682 Backed out changeset 5204879f21c8 (bug 1223282) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : LREBAm4ifSA
2015-11-16 11:00:41 -08:00
Wes Kocher
e14054a1ad Backed out changeset 028619a0e9ae (bug 1224804) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : H6wEF8ruy0H
2015-11-16 11:00:37 -08:00
Wes Kocher
e4aa9d36de Backed out changeset cbc8ceae73a2 (bug 576927) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : KD1fFkxta16
2015-11-16 11:00:32 -08:00
Wes Kocher
31d3e04fd9 Backed out changeset 1fc0ecca3e9b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : Cehes9e2lBC
2015-11-16 11:00:28 -08:00
Wes Kocher
74584ef91e Backed out changeset ceb2a5dce49b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : BzR0ugCJ593
2015-11-16 11:00:17 -08:00
Jesse Ruderman
fc98aae16c Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
6e7818f946 Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
313a973bc0 Bug 576927 - Use saturating multiply when calculating zoomed app units to avoid integer overflow. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
7763759c02 Bug 1224804 - [css-align] Make ::-moz-table-outer inherit 'justify-self'. r=dholbert 2015-11-16 17:32:39 +01:00
Jesse Ruderman
1bff27f675 Bug 1223282 - Crashtest. 2015-11-16 17:32:39 +01:00