Граф коммитов

37420 Коммитов

Автор SHA1 Сообщение Дата
Justin Lebar d2dcba11d3 Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE. 2013-08-02 10:53:34 -07:00
Benoit Girard 3fe1857dbd Bug 894773 - Don't force layers on single opacity change. r=roc
--HG--
extra : rebase_source : 1f4807150ad7776aa1e90ded322149cf57f212ff
2013-07-16 22:56:16 -04:00
Ed Morley 99d2010a54 Bug 899349 - Change 366537-1.xhtml random-if to skip-if 2013-08-02 17:20:21 +01:00
Ehsan Akhgari b9980dbc97 Bug 579517 follow-up: Remove NSPR types that crept in 2013-08-02 12:09:54 -04:00
Ed Morley 23d45c71a6 Bug 886080 - Mark dynamic-feImage-01.svg random-if on Linux for intermittent failures 2013-08-02 16:08:18 +01:00
Ed Morley abed4a7ca7 Bug 899349 - Mark crashtests/366537-1.xhtml random-if due to intermittent failures
--HG--
extra : rebase_source : 890e6bc38f6823c5c64d9678102cd1df14db5790
2013-08-02 16:05:39 +01:00
Neil Deakin 57f881022c Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-02 11:37:05 -04:00
Ms2ger 50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger 30f24c9905 Bug 899931 - Part j: Cleanup nsListControlFrame::GetSelectedIndex; r=dzbarsky 2013-08-02 09:09:05 +02:00
Ms2ger e56febfa3e Bug 899931 - Part i: Inline nsListControlFrame::GetSizeAttribute; r=dzbarsky 2013-08-02 09:09:02 +02:00
Ms2ger 6e35ea5ed5 Bug 899931 - Part h: Cleanup nsListControlFrame::GetOptions; r=dzbarsky 2013-08-02 09:08:19 +02:00
Ms2ger 615743ebaa Bug 899931 - Part g: Cleanup nsListControlFrame::{ScrollToIndex, ScrollToFrame}; r=dzbarsky 2013-08-02 09:08:13 +02:00
Ms2ger e84d92082d Bug 899931 - Part f: Cleanup nsListControlFrame::GetIndexFromDOMEvent; r=dzbarsky 2013-08-02 09:07:56 +02:00
Ms2ger 43e918fa21 Bug 899931 - Part e: Cleanup nsListControlFrame::ToggleOptionSelectedFromFrame; r=dzbarsky 2013-08-02 09:07:32 +02:00
Ms2ger 2a836c0301 Bug 899931 - Part d: Cleanup nsListControlFrame::GetCurrentOption; r=dzbarsky 2013-08-02 09:07:22 +02:00
Ms2ger 29bcd8621d Bug 899931 - Part c: Cleanup nsListControlFrame::GetOptionText; r=dzbarsky 2013-08-02 09:07:08 +02:00
Ms2ger 702950cf48 Bug 899931 - Part b: Introduce a nice nsListControlFrame::GetOption; r=dzbarsky 2013-08-02 09:07:04 +02:00
Ms2ger 15739401f2 Bug 899931 - Part a: Remove unused nsListControlFrame::{IsContentSelected, IsContentSelectedByIndex}; r=dzbarsky 2013-08-02 09:06:57 +02:00
Ms2ger bf6618a13c Bug 900096 - Cleanup Touch some; r=dzbarsky 2013-08-02 09:06:35 +02:00
Ms2ger 1571fe39c1 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger fa4df90145 Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron 2013-08-02 09:04:31 +02:00
Ms2ger 9803a2ddf3 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Ms2ger 5dcc1ed0f0 Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Mike Hommey 2e729aa83d Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Nicolas Silva 6d7cde1795 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
David Zbarsky 08edbc4f4a Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky a6ceba11ad Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky 8423ce77eb Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
Matthew Noorenberghe 575b9d6619 Bug 900354 - Ignore sub-resource loads for Azure recordings. r=Bas
--HG--
extra : rebase_source : 815b88638f5d828f133c92ec2ff94c25c0fa92a7
2013-08-01 14:55:28 -07:00
Timothy Nikkel 838822fcb6 Bug 900662. Pass sync decode flags through moz-element painting so images inside moz-element work correctly with reftests. r=mstange 2013-08-01 15:42:34 -05:00
David Zbarsky f53061a41d merge backout 2013-08-01 01:54:34 -07:00
David Zbarsky 3d161603d7 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
Nicholas Cameron a518fa0c24 merge backout, a=me 2013-08-01 18:39:19 +12:00
Nicholas Cameron b4b5c9799b back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
David Zbarsky a8e04c91cc Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky f8699dfe4e Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky d52c9a362c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron c95bd05797 Bug 874721; fuzz some tests. r=Bas 2013-08-01 16:53:00 +12:00
Nicholas Cameron 3a462f7b43 Bug 897787. New test to catch the scaling bug. r=roc 2013-08-01 16:24:28 +12:00
Nicholas Cameron 3b91d31f04 Bug 897787. Test changes. r=roc 2013-08-01 16:22:48 +12:00
Nicholas Cameron ee43c163a4 Bug 897787. Use background-size in preference to background positioning area size for a background-image's preferered size. r=roc 2013-08-01 16:22:40 +12:00
Alex Xu 8a51ad6d90 Bug 900284: Use #ifdef ACCESSIBILITY around member variables only used inside #ifdef ACCESSIBILITY, to avoid clang warnings (and reduce object size with --disable-accessibility). r=dbaron 2013-07-31 19:15:19 -07:00
Daniel Holbert 695ff36341 Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats 2013-07-31 18:59:25 -07:00
Stephen Pohl 29b7462867 Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats 2013-07-31 21:43:56 -04:00
Corey Ford e7787542d4 Bug 898797 - Reftests for relatively positioned floats. r=dholbert 2013-07-29 18:34:05 -07:00
Corey Ford 8a75e63592 Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron 2013-07-29 21:53:13 -07:00
Joey Armstrong 56ab717da3 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Timothy Nikkel 8383650c75 Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Martijn Wargers 2b32beaaad Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher 2013-07-31 11:30:54 +02:00
Ed Morley 5d03ad2e85 Backed out changeset e27bd873b413 (bug 898361) for crashes on a CLOSED TREE 2013-07-31 16:00:27 +01:00
Dirk Schulze e854bc2ed3 Bug 898361 - [CSS Filters] Implement parsing for drop-shadow. r=heycam 2013-07-31 09:26:45 -04:00
Corey Ford 479716c930 Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron 2013-07-30 21:01:06 -07:00
Ed Morley 027842b84f Merge latest green fx-team changeset and mozilla-central 2013-07-31 13:02:44 +01:00
Ed Morley dabb5f270c Backed out changeset f10f7c79846c (bug 883364) 2013-07-31 08:58:32 +01:00
Nicholas Cameron 6a449045ab Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
John Daggett 1ce5573685 Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz 2013-07-31 14:19:49 +09:00
Jeff Gilbert 6bd2596fc8 Bug 883364 - Mark tests as failing on ARMv6. r=bjacob 2013-07-30 20:48:00 -07:00
Cameron McCormack ba1ba92bbe Bug 899385 - Update comments that incorrectly state nsIPresShell::AllocateBlah are fallible. r=dbaron 2013-07-31 10:52:32 +10:00
Cameron McCormack 05e24cfc2c Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron 2013-07-31 10:52:32 +10:00
Cameron McCormack 5a0e1504b3 Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-31 10:39:04 +10:00
L. David Baron 4630a79d76 Bug 898329 patch 10: Fix wrapping of comment that I just reintended. r=heycam 2013-07-30 17:36:12 -07:00
L. David Baron e858f28bd5 Bug 898329 patch 9: Fix indentation from previous patches. r=heycam 2013-07-30 17:36:12 -07:00
L. David Baron d65b631606 Bug 898329 patch 8: Use for loops instead of while loops for iterating extra style contexts. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron 15b84a4c52 Bug 898329 patch 7: Split ElementRestyler::Restyle into multiple functions. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron 8a822d1d0f Bug 898329 patch 6: Avoid using pseudoTag outside of what will be in RestyleManager::RestyleSelf. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron 20d571f36c Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron fe162ae7d7 Bug 898329 patch 4: Avoid using newContext outside of what will be in RestyleManager::RestyleSelf. r=heycam
This replaces newContext with mFrame->StyleContext(), which is a valid
replacement since all of the replacements are inside a test that we
don't have a framechange hint.  If we have a framechange hint, then
mFrame still has its old style context.
2013-07-30 17:36:11 -07:00
L. David Baron bc4b860554 Bug 898329 patch 3.5: Don't check undisplayed content if we're going to reframe. r=heycam
This avoids doing work that is unnecessary; if we're going to reframe
anyway, the frame destruction will clear the undisplayed content list,
and we'll then rebuild it when we recreate the frame (if needed).

It is also a prerequisite for patch 4, which replaces some uses of
newContext with mFrame->StyleContext().  These are the same as long as
we don't have a framechange hint, since when we do have a framechange
hint we leave the old style context on the frame to avoid violating
invariants.  This patch ensures that all such uses replaced in patch 4
are actually inside a check that we don't have a framechange hint.
(Most of them already were.)
2013-07-30 17:36:11 -07:00
L. David Baron 099ddebdb4 Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron 08f05b299b Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron c6b0925b11 Bug 898329 patch 1: Remove null-checks on oldContext and newContext and avoid manual reference counting. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron f14c99b5b7 Bug 898209 patch 15: Use constructor flags on ElementRestyler's regular constructor to avoid manipulating mHintsHandled from the outside. r=heycam
This is the second of two patches added on top to address review
comments on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron 2483ea2e02 Bug 898209 patch 14: Add constructor flags to ElementRestyler's regular constructor so we can avoid manipulating mHintsHandled from the outside. r=heycam
This is the first of two patches added on top to address review comments
on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron 7b58599cf0 Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron 404c7c2333 Bug 898209 patch 12: Create and use ElementRestyler::mVisibleKidsOfHiddenElement. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron cdecdd4413 Bug 898209 patch 11: Create and use member variables for accessibility notifications. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron 53a139827c Bug 898209 patch 10: Create and use ElementRestyler::mRestyleTracker. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron bec12fb9f3 Bug 898209 patch 9: Create and use ElementRestyler::mParentFrameHintsNotHandledForDescendants and mHintsNotHandledForDescendants. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron 82a0a650a6 Bug 898209 patch 8: Create and use ElementRestyler::mChangeList. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron 8340d616ac Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron d81ab3552b Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron 9925459f0e Bug 898209 patch 5: Remove the localContent variable in favor of writing mFrame->GetContent(). r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron a413b968a0 Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron 9b61f8671b Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron ca739cf173 Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron 6b056b0c80 Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron 17d38b5cc5 Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion

--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron 05e6a37bb5 Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion

--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron c2fb56d067 Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext.  SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized.  Anything that's really a dynamic style change, as
these are, should use SetStyleContext.

I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
L. David Baron ffe927da2c Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam 2013-07-30 17:36:08 -07:00
Ryan VanderMeulen fd758076bd Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
David Zbarsky aeb27e1255 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky faf159a4f8 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky 9c0441b53f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Timothy Nikkel 937aac75ae Bug 899745. Remove top most z-index tracking from views because it is unused. r=mats 2013-07-30 16:10:28 -05:00
Kartikaya Gupta 6762cc18a8 Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa 2013-07-30 14:03:42 -04:00
Kartikaya Gupta b0a221b29b Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Kartikaya Gupta 2c0ffd470e Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
David Zbarsky 67334df0d5 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
Cameron McCormack 6fe54e2046 Bug 898909 - Reflow non-display SVG text under non-display outer <svg> frames. r=jwatt 2013-07-30 09:47:30 +10:00