Commit Graph

18145 Commits

Author SHA1 Message Date
Ryan VanderMeulen
3e7896d3ed Merge m-c to inbound. 2013-08-06 17:07:23 -04:00
Ryan VanderMeulen
7b3ea5bbc9 Merge m-c to fx-team. 2013-08-06 14:23:55 -04:00
Ryan VanderMeulen
b7db68d173 Merge m-c to b2g-inbound. 2013-08-06 10:16:19 -04:00
Dirk Schulze
702f991dc4 Bug 901847 - Fixes syntax failure in filters drop-shadow test. r=heycam 2013-08-06 17:53:53 +10:00
Max Vujovic
e4f9873c6f Bug 898175 - Refactor filter parsing to use a keyword lookup table for filter function names. r=dbaron 2013-08-06 17:53:30 +10:00
Ehsan Akhgari
d8b97b0c48 Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky 2013-08-06 16:19:11 -04:00
Ryan VanderMeulen
f2638ccd28 Merge m-c to inbound. 2013-08-06 14:24:39 -04:00
Mats Palmgren
a30f8920ea Bug 873083 - Re-enable the 813372-1.html crashtest. r=ryanvm 2013-08-06 12:43:41 -04:00
Mats Palmgren
b48f5815f1 Bug 874073 - Re-enable the 852293.html test and disable the real culprit, 802902.html. r=ryanvm 2013-08-05 23:14:06 +00:00
Jonathan Kew
cb73405190 bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett 2013-08-05 21:06:09 +01:00
John Schoenick
74e1555699 Bug 874843 - Fix focus race in test on windows 8. r=roc 2013-08-05 12:13:09 -07:00
Wes Johnston
5d78b30c42 Bug 901117 - Positioned event targetting should fluff even if there are body event listeners. r=tn 2013-08-05 11:25:27 -07:00
Ryan VanderMeulen
0edb7edfa2 Merge m-c to fx-team. 2013-08-06 10:16:50 -04:00
Tim Abraldes
0b6ad71c4e bug 864247. If PermitUnload is called while another PermitUnload is being processed, simply allow the unload to happen. r=roc 2013-08-05 23:29:55 -07:00
Dirk Schulze
5c53edbb51 Bug 898361 - Implement parsing for drop-shadow. r=heycam 2013-08-05 17:02:27 +10:00
Karl Tomlinson
5059c69222 b=893523 clamp CSS pixel to nscoord conversion to nscoord_MIN,MAX r=roc
--HG--
extra : transplant_source : P%87%C2l%86%9AWu%CD%06%E5%22%D3%88/%80a%CE%80p
2013-08-05 14:58:41 +12:00
Karl Tomlinson
7d25046a2e add crashtest for bug 893523 using testcase by jruderman@gmail.com
--HG--
extra : transplant_source : %C9y%C9%A3%DF%BF%01%E6%A25%D4%C4%28G%FE%FF%94%2B%E9%D5
2013-08-05 14:58:10 +12:00
Ms2ger
569fc183c6 Backout changeset a58abd7408bf for mochitest and crashtest crashes. 2013-08-04 12:21:17 +02:00
Dirk Schulze
e8982c8472 Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam 2013-08-04 18:58:28 +10:00
Nicholas Cameron
beb04c20b9 Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Matt Brubeck
cde2af9fe1 Bug 901175 - Test to verify that covered elements are not clickable [r=roc] 2013-08-03 09:01:49 -07:00
Jonathan Kew
98ffe8946b bug 900975 - reftest for -moz-osx-font-smoothing on display:inline element. r=dbaron 2013-08-03 08:59:00 +01:00
Timothy Nikkel
1fc0e2a754 Bug 901175. Properly handle when the frame has an empty intersection with the exposed region for events. r pending roc 2013-08-03 00:46:19 -05:00
Cameron McCormack
692234d456 Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
a66c41abf3 Bug 899896 - Avoid null checking of some box layout factory functions. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
e9318247c3 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
aef27575a4 Bug 899886 - Don't return null from nsStyleSet::ReparentStyleContext. r=dbaron 2013-08-03 14:11:05 +10:00
Cameron McCormack
45b5388747 Bug 899881 - Don't allow frames to have a null style context. r=dbaron 2013-08-03 14:11:05 +10:00
Avi Halachmi
ed3a4890f3 Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel 2013-08-02 23:29:57 +03:00
Ryan VanderMeulen
009b6ece4e Bug 894773 - Remove Android failing reftest annotation from 650228-1.html.
CLOSED TREE
2013-08-02 15:39:21 -04:00
Justin Lebar
a04662fd5d 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
a6f9a322cf 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
2bd27d01a6 Bug 899349 - Change 366537-1.xhtml random-if to skip-if 2013-08-02 17:20:21 +01:00
Ehsan Akhgari
3f83ec4d06 Bug 579517 follow-up: Remove NSPR types that crept in 2013-08-02 12:09:54 -04:00
Ed Morley
7a4e92ae93 Bug 886080 - Mark dynamic-feImage-01.svg random-if on Linux for intermittent failures 2013-08-02 16:08:18 +01:00
Ed Morley
fa079d48cb 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
9a82a91cb0 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
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
38d49808ef Bug 899931 - Part j: Cleanup nsListControlFrame::GetSelectedIndex; r=dzbarsky 2013-08-02 09:09:05 +02:00
Ms2ger
04774fb671 Bug 899931 - Part i: Inline nsListControlFrame::GetSizeAttribute; r=dzbarsky 2013-08-02 09:09:02 +02:00
Ms2ger
75b347cb69 Bug 899931 - Part h: Cleanup nsListControlFrame::GetOptions; r=dzbarsky 2013-08-02 09:08:19 +02:00
Ms2ger
8d1add597a Bug 899931 - Part g: Cleanup nsListControlFrame::{ScrollToIndex, ScrollToFrame}; r=dzbarsky 2013-08-02 09:08:13 +02:00
Ms2ger
2209293dfd Bug 899931 - Part f: Cleanup nsListControlFrame::GetIndexFromDOMEvent; r=dzbarsky 2013-08-02 09:07:56 +02:00
Ms2ger
6c9068ceb9 Bug 899931 - Part e: Cleanup nsListControlFrame::ToggleOptionSelectedFromFrame; r=dzbarsky 2013-08-02 09:07:32 +02:00
Ms2ger
09093dfb1f Bug 899931 - Part d: Cleanup nsListControlFrame::GetCurrentOption; r=dzbarsky 2013-08-02 09:07:22 +02:00
Ms2ger
4d9a9aa40c Bug 899931 - Part c: Cleanup nsListControlFrame::GetOptionText; r=dzbarsky 2013-08-02 09:07:08 +02:00
Ms2ger
e32b9b8720 Bug 899931 - Part b: Introduce a nice nsListControlFrame::GetOption; r=dzbarsky 2013-08-02 09:07:04 +02:00
Ms2ger
e0af74781f Bug 899931 - Part a: Remove unused nsListControlFrame::{IsContentSelected, IsContentSelectedByIndex}; r=dzbarsky 2013-08-02 09:06:57 +02:00
Ms2ger
8c0b92ef87 Bug 900096 - Cleanup Touch some; r=dzbarsky 2013-08-02 09:06:35 +02:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
68579be592 Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron 2013-08-02 09:04:31 +02:00
Ms2ger
ea4299c3b1 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Ms2ger
62183dfe63 Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Mike Hommey
d01b5df996 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
134b1e0673 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
David Zbarsky
e1b94c8f42 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
c799af0ead Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
8f03cd73c1 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
Matthew Noorenberghe
e72e4d0daa 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
ad442249cc 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
a7e7c0c2fb merge backout 2013-08-01 01:54:34 -07:00
David Zbarsky
59d52bfb66 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
Nicholas Cameron
dc13029a11 merge backout, a=me 2013-08-01 18:39:19 +12:00
Nicholas Cameron
afd732f308 back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
David Zbarsky
c1cdd88a1b Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
be987cad58 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
7f5f285110 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron
1568126fd7 Bug 874721; fuzz some tests. r=Bas 2013-08-01 16:53:00 +12:00
Nicholas Cameron
52026c836d Bug 897787. New test to catch the scaling bug. r=roc 2013-08-01 16:24:28 +12:00
Nicholas Cameron
af6b2e8ff9 Bug 897787. Test changes. r=roc 2013-08-01 16:22:48 +12:00
Nicholas Cameron
8a2940a22f 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
3bb4b7a43b 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
07aeb1873b Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats 2013-07-31 18:59:25 -07:00
Stephen Pohl
a198ffc2ab Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats 2013-07-31 21:43:56 -04:00
Corey Ford
21a36e1fc5 Bug 898797 - Reftests for relatively positioned floats. r=dholbert 2013-07-29 18:34:05 -07:00
Corey Ford
9c2fee65d8 Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron 2013-07-29 21:53:13 -07:00
Joey Armstrong
9bdf289b5e Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Timothy Nikkel
9689eefe12 Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Martijn Wargers
55022997b9 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
a342f8508e Backed out changeset e27bd873b413 (bug 898361) for crashes on a CLOSED TREE 2013-07-31 16:00:27 +01:00
Dirk Schulze
d731d43c44 Bug 898361 - [CSS Filters] Implement parsing for drop-shadow. r=heycam 2013-07-31 09:26:45 -04:00
Corey Ford
de9204984b Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron 2013-07-30 21:01:06 -07:00
Ed Morley
41f605077d Merge latest green fx-team changeset and mozilla-central 2013-07-31 13:02:44 +01:00
Ed Morley
661992e9a6 Backed out changeset f10f7c79846c (bug 883364) 2013-07-31 08:58:32 +01:00
Nicholas Cameron
e91b1d6d0d Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
John Daggett
d249819fcb Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz 2013-07-31 14:19:49 +09:00
Jeff Gilbert
c06bcdc03e Bug 883364 - Mark tests as failing on ARMv6. r=bjacob 2013-07-30 20:48:00 -07:00
Cameron McCormack
649b18b958 Bug 899385 - Update comments that incorrectly state nsIPresShell::AllocateBlah are fallible. r=dbaron 2013-07-31 10:52:32 +10:00
Cameron McCormack
5ecbce73bd Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron 2013-07-31 10:52:32 +10:00
Cameron McCormack
c3e4238af9 Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-31 10:39:04 +10:00
L. David Baron
da01c5cc19 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
57f958e14c Bug 898329 patch 9: Fix indentation from previous patches. r=heycam 2013-07-30 17:36:12 -07:00
L. David Baron
a02c243076 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
98a4c2fb01 Bug 898329 patch 7: Split ElementRestyler::Restyle into multiple functions. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
2af34355c3 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
710616ca5c Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
91506255f9 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
3975fd1525 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
d0a38cd3d7 Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
d9183ecce5 Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
bf823bc2af 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
adc472405b 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
2b712678c7 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
44f4309783 Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
5c401f6edc Bug 898209 patch 12: Create and use ElementRestyler::mVisibleKidsOfHiddenElement. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
6b2087e3e9 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
52da8b2e0f Bug 898209 patch 10: Create and use ElementRestyler::mRestyleTracker. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
ffab6ee16c Bug 898209 patch 9: Create and use ElementRestyler::mParentFrameHintsNotHandledForDescendants and mHintsNotHandledForDescendants. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
ab9add6061 Bug 898209 patch 8: Create and use ElementRestyler::mChangeList. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
18534428b7 Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
529ddab6a0 Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
a376d8d7e4 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
68918352db Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
3cc8ad7edd Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
d809931f96 Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
7ad914dbc3 Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
75e4462ced 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
861d8da5a3 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
c857e1a9dd 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
dec690eacf 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
2ebd22d781 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
David Zbarsky
795f349564 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0246c16dd7 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
4a6c9a63c0 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Timothy Nikkel
0c2d304b5a 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
e0f930eb52 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
5371e49e39 Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Kartikaya Gupta
5c723f09e5 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
82250218e6 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
Cameron McCormack
c6363b28a7 Bug 898909 - Reflow non-display SVG text under non-display outer <svg> frames. r=jwatt 2013-07-30 09:47:30 +10:00
Cameron McCormack
f14bc297d5 Bug 898951 - Ignore undisplayed characters when getting partial glyph advances. r=jwatt
--HG--
extra : rebase_source : 535f6cf6b159b964cf47ca54f718b60656e3ca48
2013-07-30 09:44:48 +10:00
David Zbarsky
3b2bbf2c84 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
Ryan VanderMeulen
78c8d092c8 Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Ryan VanderMeulen
05ac7b8b7c Merge m-c to birch. 2013-07-29 16:07:59 -04:00
Tomoaki Konno
b0f30c01ba Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
Ed Morley
213793252e Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures 2013-07-29 11:09:26 +01:00
Ed Morley
b8c5ca2e7d Backed out changeset 7174bdf1201e (bug 857142) 2013-07-29 11:08:49 +01:00
Ed Morley
55f428f433 Backed out changeset c2f27bb078fd (bug 857142) 2013-07-29 11:08:46 +01:00
John Daggett
c1c75a67bf Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-29 17:34:01 +09:00
John Daggett
f227c3953c Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-29 17:33:52 +09:00
John Daggett
f843bbb3ea Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-29 17:33:35 +09:00
Mina Almasry
1daa6026a6 Bug 898455 - remove domUtils.getCSSValuesForProperty duplicate entries; r= bz
Removes duplicate entries from the values that are returned by getCSSValuesForProperty,
and returns url for the proper properties.
2013-07-29 14:42:51 +02:00
Robert O'Callahan
9d7b42cb9c Bug 837242. Part 1: Convert bool parameters to flags. r=mats 2013-07-26 14:31:41 +12:00
Daniel Holbert
d8fe286474 backout 5efda3c30be3 (the second cset for bug 873378) after dzbarsky backed out the first cset. (to fix Android R2 orange) 2013-07-26 18:43:13 -07:00
David Zbarsky
4a272eb16a Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G 2013-07-26 13:20:23 -07:00
Ryan VanderMeulen
6f9d09c6ba Bug 874073 - Skip crashtests/852293.html due to frequent timeouts. 2013-07-26 13:35:33 -04:00
Ryan VanderMeulen
29571661ef Bug 873083 - Skip crashtests/813372-1.html due to frequent timeouts. 2013-07-26 13:35:33 -04:00
Mina Almasry
1906621cce Bug 899230 - domUtils.getCSSValuesForProperty doesn't return "logical" and "physical" any list. r=bz
This patch prevents inIDOMUtils from returning logical and physical from any list.
2013-07-30 15:38:01 -04:00
Max Vujovic
186ff21e2a Bug 897094 - Mismatched parenthesis in some CSS functions do not prevent parsing of subsequent CSS properties. r=heycam 2013-07-30 15:38:01 -04:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
John Daggett
48ee16093c Bug 857142 - add reftest for osx-font-smoothing. r=m_kato 2013-07-30 05:01:24 +09:00
John Daggett
49087c1b1c Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
b439b6e590 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Ryan VanderMeulen
fe2024e105 Backed out 6 changesets (bug 827713) for reftest failures.
Backed out changeset 014cc3de08fb (bug 827713)
Backed out changeset 4113172193aa (bug 827713)
Backed out changeset 27a5c8dd5ff7 (bug 827713)
Backed out changeset 6448c7e05f11 (bug 827713)
Backed out changeset b67a72618c66 (bug 827713)
Backed out changeset 1279664e0d41 (bug 827713)
2013-07-29 15:19:34 -04:00
Ryan VanderMeulen
3855022645 Bug 827713 - Adjust expected assertion annotations to fix WinXP debug mochitest orange. 2013-07-29 15:13:50 -04:00
Trevor Saunders
6b3c839046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
James Kitchener
2d474cb243 Bug 827713 - Part 4: Tests for merged script elements. r=fredw 2013-07-29 12:38:24 -04:00
James Kitchener
ee1f2fa75c Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw 2013-07-29 12:37:50 -04:00
James Kitchener
e7bf58f9b9 Bug 827713 - Part 3: Make mmultiscripts more like msubsup. r=karlt 2013-07-29 12:37:01 -04:00
James Kitchener
d1493c9881 Bug 827713 - Part 1: Changes to mmultiscripts to support merging of script elements. r=karlt 2013-07-29 12:36:23 -04:00
Matthew Noorenberghe
02c643a992 Bug 894796 - Ignore about:blank loads for gfx recording to prevent prematurely closing the window. r=Bas
--HG--
extra : rebase_source : 05e49e728cc6696b2d15cda67548ac86140d9fe2
2013-06-28 23:26:28 -04:00
Mina Almasry
118935225c Bug 734861 - Add a waitForExplicitFinish() call to match the finish() call in test. r=bz 2013-07-26 11:59:35 -04:00
Carsten "Tomcat" Book
d6c5183f6b Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE 2013-07-26 09:25:03 +02:00
Dirk Schulze
0998a055aa Bug 897392 - Implement parsing of filter:hue-rotate(). r=heycam 2013-07-26 16:02:33 +10:00
Robert O'Callahan
7e76ab4eb6 Bug 837242. Part 1: Convert bool parameters to flags. r=mats
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Robert O'Callahan
b4b3da2365 Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Ryan VanderMeulen
1a6cb4b613 Merge m-c to inbound. 2013-07-26 01:24:55 -04:00
Ryan VanderMeulen
e8b26d740c Backed out changesets 4f35e943f939 and da5fa63e90cb (bug 896250) for causing frequent OSX debug asserts on a CLOSED TREE. 2013-07-26 01:22:40 -04:00
Milan Sreckovic
54932e81d6 Bug 896250: Return the max number, not the flag checking if the number was set. r=joe 2013-07-22 17:05:21 -04:00
Mats Palmgren
5ee8afbf8a Bug 868327 - Only allow the drop-down menu to open above the combobox if there is room for it, otherwise open it below even though it doesn't fit. r=roc 2013-07-25 12:55:32 +00:00
Masayuki Nakano
04c0fc2c90 Bug 501496 part.13 nsListControlFrame should handle key navigation at keydown event handler r=neil 2013-07-25 15:09:29 +09:00
Masayuki Nakano
ee03864f22 Bug 501496 part.10 nsXULPopupManager should handle keydown events for non-printable keys r=enndeakin 2013-07-25 15:09:29 +09:00
Masayuki Nakano
0f31ecd06d Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug 2013-07-25 15:09:29 +09:00
John Daggett
604c4d61cc Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett
63463bcb7d Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack
6fe5b240f5 Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10:00
Mats Palmgren
abda743f5b Bug 303896 - Refactor AttributeChanged() to follow code style and make it easier to read (no functional change). r=ehsan 2013-07-24 23:03:39 +00:00
Mats Palmgren
976dee9ded Bug 303896 - Turn on displaying the selection when the 'disabled' attr is removed if the element has focus. r=ehsan 2013-07-24 23:03:38 +00:00
Max Vujovic
dd92ca0dd1 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-22 15:08:33 -07:00
Ryan VanderMeulen
6b307780d7 Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00
Scott Johnson
2c00aaf97f Bug 743402, Part 6: Add unit tests for functionality of bug 743402. [r=roc] 2013-07-24 12:47:24 -05:00
Scott Johnson
09919e2120 Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-24 12:47:21 -05:00
Scott Johnson
a2790e3b0b Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-24 12:47:17 -05:00
Scott Johnson
1f13056eae Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-24 12:47:12 -05:00
Scott Johnson
46a7e24a4c Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-24 12:47:06 -05:00
Scott Johnson
b6e4526ae0 Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-24 12:47:01 -05:00
Ryan VanderMeulen
bc61d30573 Merge m-c to inbound. 2013-07-25 21:59:02 -04:00
Stephen Pohl
d8a27a209b Bug 896443: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc 2013-07-25 21:31:35 -04:00
John Schoenick
2ee0ec1124 Bug 874843 - Fix typo in test r=typo 2013-07-25 13:20:42 -07:00
Eitan Isaacson
a06caea296 Bug 895711 - Mark new touches in touchstart as changed in HandleEventInner. r=smaug 2013-07-25 08:52:29 -07:00
Scott Johnson
2a937dfa58 Bug 743402, Part 6: Add unit tests for functionality of bug 743402. [r=roc] 2013-07-25 10:34:38 -05:00
Scott Johnson
fbf113619e Bug 743402, Part 5: Utilize new computed height calculations in nsSplittableFrame to correctly compute the height of a column set frame in paginated context. [r=roc] 2013-07-25 10:34:31 -05:00
Scott Johnson
894c1e922c Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc] 2013-07-25 10:34:27 -05:00
Scott Johnson
a860b0c4e2 Bug 743402, Part 3: Refactor nsBlockFrame to utilize new calculations for paginated content. [r=roc] 2013-07-25 10:34:22 -05:00
Scott Johnson
be7c5a1e25 Bug 743402, Part 2: Pull GetEffectiveComputedHeight() into nsSplittableFrame and refactor it to utilize consumed height for paginated content. [r=roc] 2013-07-25 10:34:16 -05:00
Scott Johnson
8e92c99740 Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc] 2013-07-25 10:34:12 -05:00
Simon Sapin
136d638d18 Bug 887741 - Allow CSS at-rules in declaration lists. r=dbaron 2013-07-25 09:43:29 -04:00
Mina Almasry
fe501b5633 Bug 734861 - Expose stylesheets, including UA, for a document via inIDOMUtils. r=bz
This patch adds an API to inspector utils that gets all stylesheets associated with a document, including UA sheets.
2013-07-25 09:31:14 -04:00
Timothy Nikkel
33438547b6 Bug 837242. Part 3. Keep track of what area is exposed to events so that covered frames don't get events. r=roc 2013-07-30 11:22:46 -05:00
Timothy Nikkel
3cbce855ee Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc 2013-07-30 11:22:43 -05:00
Mats Palmgren
dbea38ef61 Bug 897852 - Don't flush if we were destroyed. r=roc 2013-07-30 15:47:19 +00:00
Bobby Holley
44ef67cca0 Bug 898939 - Flip custom scope automation prefs for 449149-1{a,b}.html. r=bz
Bonus fix I noticed while working on this.

This was done before we flipped the default to make reftests always run with
dom.use_xbl_scopes_for_remote_xul=false (see reftest-cmdline.js). So to get
the full test coverage we're looking for here, we need to force the opposite
pref.
2013-07-30 08:43:45 -07:00
Jeff Muizelaar
7dfe172ed7 Bug 891650. Use mTransform instead of GetDTTransform() in Mask(). r=bas
GetDTTransform includes the device offset. We need to avoid that in order for things to work properly.

--HG--
extra : rebase_source : 5a8ae0011f16b85421df182263ec3137cecf6a6b
2013-07-30 10:15:27 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Xidorn Quan
48b3365f04 Bug 786254 - SVG effects rendering doesn't pixel snap, causing faint vertical lines appear on some tabs. r=roc 2013-07-24 09:03:11 -04:00
Robert O'Callahan
95a0f3bc12 Bug 889219. Part 5: Remove nsSimplePageSequenceFrame::mCurrentPageFrame. r=mats
Holding onto frame pointers is potentially dangerous. It's not really necessary
to do so here.

--HG--
extra : rebase_source : d92798b59cd7b3032a2bb77a80f00ff590b2213a
2013-07-24 23:48:55 +12:00
Robert O'Callahan
fa04fb6b6d Bug 889219. Part 4: Stop heap-allocating nsSharedPageData::mHeadFootFont. r=mats
--HG--
extra : rebase_source : beaa74d12c905b4737ab3b6e736f8e5ad90942bb
2013-07-24 23:48:55 +12:00
Robert O'Callahan
7d894511d0 Bug 889219. Part 3: Clean up string usage for printing date/time headers. r=mats
--HG--
extra : rebase_source : 019de7d34f60f354a1ddd943d62c0656628f6263
2013-07-24 23:48:54 +12:00
Robert O'Callahan
aa021ed17f Bug 889219. Part 2: Clean up string usage for page numbers/formats. r=mats
--HG--
extra : rebase_source : 8088904e1f0d552368eb003cff6982710f6c9276
2013-07-24 23:48:54 +12:00
Robert O'Callahan
f51c1e6524 Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Cameron McCormack
7bd29a23dc Bug 897342 - Don't try to adjust text for textLength="" when there is no opportunity to do so. r=jwatt 2013-07-24 21:47:07 +10:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
65809ecc1e Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc 2013-07-24 09:38:55 +02:00
Ms2ger
a7fe79ef2e Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug 2013-07-24 09:38:13 +02:00
Ms2ger
35163e629e Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky 2013-07-24 09:37:14 +02:00
Ms2ger
38c131d4be Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Gavin Sharp
2c3f5fdcc5 Bug 870100 followup: disable the thumbnail service in reftest/crashtest as well, a=RyanVM for CLOSED TREE 2013-07-23 11:16:25 -07:00
Ryan VanderMeulen
18c13d9bac Backed out changeset 1e1b4d5c51b7 (bug 896250) to see if it fixes the Android reftest orange.
CLOSED TREE
2013-07-23 14:06:40 -04:00
Jesse Ruderman
9615e1adab Detab layout/reftests/bidi/dirAuto/setDir.js. (No bug, DONTBUILD) 2013-07-23 22:58:58 -07:00
Cameron McCormack
4ff0f92bc1 Bug 895311 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt 2013-07-24 15:13:54 +10:00
David Zbarsky
040dbd4c2b Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Bear Travis
bd6f78fea7 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
Ed Morley
b8d2e3631d Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE 2013-07-23 16:36:45 +01:00
Ryan VanderMeulen
742db914d3 Backed out changeset 83f4f6f435cf (bug 734861) for mochitest-5 timeouts. 2013-07-23 11:13:50 -04:00
Milan Sreckovic
e41e09833c Bug 896250 - Return the max number, not the flag checking if the number was set. r=joe 2013-07-22 17:05:21 -04:00
Max Vujovic
695c4ee979 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-23 10:47:16 -04:00
Milan Sreckovic
7482429c48 Bug 895003 - Introduce a second preference to control the chrome paint flashing - nglayout.debug.paint_flashing_chrome. r=roc
The original pref still controls content and chrome when set. The preference is now live, for content and chrome, the change will be seen on the next refresh. The cached value is now in nsPresContext, rather than nsRefreshDriver.
2013-07-22 11:51:38 -04:00
Simon Sapin
2db3b1337a Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Mina Almasry
45f882832c Bug 734861 - Expose stylesheets, including UA, for a document via inIDOMUtils. r=bz
This patch adds an API to inspector utils that gets all stylesheets associated with a document, including UA sheets.
2013-07-23 09:20:19 -04:00
Jonathan Kew
7bda5a6c80 backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200. 2013-07-23 09:38:57 +01:00
Stephen Pohl
213ea873be Bug 877857: Make hovered overlay scrollbars appear on top of non-hovered ones. r=roc 2013-07-23 00:21:55 -04:00
Stephen Pohl
5f44dec822 Bug 877097: Improve readability of ScrollbarActivity::GetRefreshDriver. r=mats 2013-07-22 22:46:27 -04:00
Ryan VanderMeulen
b14d9d9372 Merge inbound to m-c. 2013-07-22 21:47:13 -04:00
Daniel Holbert
e48962413a Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth 2013-07-22 13:42:05 -07:00
Robert O'Callahan
f263be618e Fix bustage for bug 886295 2013-07-22 16:30:18 +12:00
Robert O'Callahan
b8737f4a7f Bug 886295. Backout fix for bug 880854 to fix regression. r=mats
--HG--
extra : rebase_source : 66bc089c3ece4dbe4f6533fce97a902abdd4871a
2013-07-22 14:04:46 +12:00
James Willcox
5b0eed3326 Bug 888446 - Fuzz/fail more tests for SkiaGL r=gwright 2013-07-19 16:58:56 -04:00
Corey Ford
2e7839e1b0 Bug 894629 - Reference containing block's content box for relatively positioned elements in RestyleManager::RecomputePosition. r=dbaron 2013-07-22 09:28:31 -07:00
Ryan VanderMeulen
bd37be9bca Backed out changeset 123821ef07b4 (bug 893298) for Linux reftest failures. 2013-07-22 11:23:42 -04:00
Jeff Muizelaar
acce7fcc23 Bug 896489. Enable Azure CoreGraphics for content. r=joe
This only has an impact on OSX 10.7 and 10.8 because
it's only hooked up through OMTC right now.

--HG--
extra : rebase_source : 91b413be68ed0eaef9ef1c55a0ec730e89eac1e0
2013-07-22 10:54:10 -04:00
Bear Travis
1b0304b280 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
John Schoenick
36e6f1d03f Bug 874843 - Cleanup plugin_focus_helper test events to try and fix intermittent orange. r=roc 2013-07-22 08:55:19 -04:00
Chris Lord
f6b2427db2 Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord
3404ab9f9d Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Chris Lord
28526bfea8 Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
David Zbarsky
1dc2112e9a Bug 895116: Remove some duplicated reftests r=roc 2013-07-21 04:16:29 -07:00
L. David Baron
a7c92a8198 Bug 896138 patch 9: Move RecomputePosition to a more logical place in the .cpp file, near other hint handling implementations. No review. 2013-07-20 12:14:25 -07:00
L. David Baron
bddec5dcdc Bug 896138 patch 8: Add setter for RestyleManager::mInStyleRefresh rather than using friend. r=heycam (within review comments for patch 4)
(The friend declaration is still needed for access to RestyleElement,
which I'd rather leave private.)
2013-07-20 12:14:25 -07:00
L. David Baron
2f2bcdb660 Bug 896138 patch 7: Remove unused aFrameManager parameters to some functions. r=heycam 2013-07-20 12:14:25 -07:00
L. David Baron
af0d77ef1f Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.

Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
L. David Baron
f6bcebd856 Bug 896138 patch 5: Expose UndisplayedNode list from nsFrameManager. r=heycam
This is needed for the following patch, which leaves the undisplayed map
in nsFrameManager rather than moving it to RestyleManager (I think one
could argue for either way, but it was easier not to move it).
2013-07-20 12:14:25 -07:00
L. David Baron
a187fb3edb Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
L. David Baron
11ba191059 Bug 896138 patch 3: Remove forward declaration of struct that hasn't been in this class since changeset e0df6dfdaaca (Bug 479655 part 3). r=heycam 2013-07-20 12:14:24 -07:00
L. David Baron
7a1d9ead26 Bug 896138 patch 2: Add a RestyleManager class. r=heycam
The later patches in this series will move restyling code into this file
from nsCSSFrameConstructor and nsFrameManager.
2013-07-20 12:14:24 -07:00
L. David Baron
247e5c9e81 Bug 896138 patch 1: Move RestyleTracker and OverflowChangedTracker out of nested namespace mozilla::css (which shouldn't exist) into namespace mozilla. r=heycam 2013-07-20 12:14:24 -07:00
Jeff Muizelaar
033b09aa7a Bug 895135. Avoid normalizing gradients to a smaller interval than 0..1. r=roc
Previously if we had all the stops at the same location, we'd end up putting
them all at 0. This makes things harder for backends that implement gradients
with a lookup table because they don't have room for multiples entries at the
zero location. If instead we leave the stops at the same location on the 0-1
line we'll have a better chance of drawing them correctly.

--HG--
extra : rebase_source : d57553d90e3eef288ca41576573f1c1def97da7e
2013-07-20 08:58:10 -04:00
Nicholas Cameron
88b5d20e12 Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Nicholas Cameron
1e0a3c643f Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc
--HG--
extra : rebase_source : b6fa8a526f8642089d9cd6af47948006f2673ab6
2013-07-19 20:39:58 +12:00
Ryan VanderMeulen
29494254ec Backed out changeset 319da88f992e (bug 893298) for B2G reftest failures. 2013-07-19 13:06:10 -04:00
Reuben Morais
c12172d5c5 Bug 873346 - Fix sometimes-unitialized warning in nsImageMap. r=dbaron
--HG--
extra : rebase_source : dcc8013bb0542a69edb43c86fddc3f4075b4e7d5
2013-07-17 20:28:23 -07:00
Robert O'Callahan
4adfeb412d Bug 894931. Add reftest. r=dbaron 2013-07-19 11:22:40 -04:00
Simon Montagu
a5867e85dd Move the caret invalidation from CharacterDataChanged to CharacterDataWillChange so that the text doesn't change under the caret before invalidation. Bug 887631, r=ehsan 2013-07-19 17:44:46 +03:00
Mina Almasry
4255fc61dd Bug 895076 - domUtils.getCSSValuesForProperty now returns non keyword values. r=bz
This patch makes getCSSValuesForProperty return some none keyword values: auto,
normal, none, all, calc, -moz-calc, -moz-element, -moz-element-rect, rgb, hsl, -moz-rgba, -moz-hsla, rgba, hsla, cubic-bezer, and steps.
2013-07-19 10:32:52 -04:00
Bear Travis
119cc532a5 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
Mina Almasry
dfa6ae2f5f Bug 291082 - preventDefault now blocks keyboard navigation in select-one drop-down lists. r=mounir, r=Neil
This patch makes select drop-down lists respect preventDefault keypress event, and so the select list doesn't process them anymore.
2013-07-19 10:32:51 -04:00
Jonathan Kew
620f28acc0 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
61edd65b1e bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
b4ef30ac5c bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01:00
Matt Woodrow
49016db6ea Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Reuben Morais
48ce7155b0 Backed out changeset 12a2fa9940f4 (bug 893117) 2013-07-18 20:01:54 -07:00
James Willcox
1561ddb942 Bug 888446 - Add some fuzz to make Skia canvas pass on Android r=bjacob,gwright 2013-06-28 16:01:54 -04:00
David Zbarsky
b1219acb3f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-18 17:43:38 -07:00
Benoit Girard
4721c89e1c Bug 873378 - Mark layout/reftests/bugs/433700.html as passing on mobile because of layer restrictions. ON A CLOSED TREE r=bustage 2013-07-18 19:36:17 -04:00
Benoit Girard
72ce20909b Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc 2013-07-16 16:17:18 -04:00
Ryan VanderMeulen
0439786998 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Robert O'Callahan
3bf479558f Bug 870941. Make scrollframes put scrollbars etc above content in z-order if they're disappering scrollbars. r=mattwoodrow 2013-07-18 10:10:13 -04:00
L. David Baron
cf6b1d7395 Back out changeset e8bf739addfa (bug 868498 patch 2) for causing bug 894931. 2013-07-18 01:09:16 -07:00
Seth Fowler
513f5836e2 Bug 885939 (Part 3) - Disable SVG reftests involving extreme viewboxes that fail due to integer overflow. r=me 2013-07-16 15:41:36 -04:00
Seth Fowler
7c06a29635 Bug 885939 (Part 2) - Add reftests for SVG image stretching and scaling. r=dholbert 2013-07-16 15:41:33 -04:00
Ryan VanderMeulen
27a7370015 Bug 877690 - Fix typo in test. DONTBUILD 2013-07-16 13:52:01 -04:00
Ehsan Akhgari
81b0d336c3 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Blake Kaplan
ee626e75ca Bug 895129 - Fix a typo in the original patch: we should be ignoring xul:observes. r=sicking 2013-07-17 16:20:37 -07:00
Ed Morley
40e230f211 Merge mozilla-central and inbound 2013-07-18 15:01:47 +01:00
Ed Morley
30fff66220 Backed out changeset f713a828fe36 (bug 894931) since the backout it performed was already landed on mozilla-central (and wasn't identical) 2013-07-18 15:00:36 +01:00
Graeme McCutcheon
3b2ae36916 Bug 819930 - Part 1: Implement an API for emulating CSS media types. r=dbaron 2013-07-17 16:39:19 +01:00
Mats Palmgren
da45949103 Bug 904810 - Restore old default behavior on Windows that UP/DOWN go to next/prev line also when there's a selection. r=ehsan 2013-08-16 16:20:04 +00:00
David Zbarsky
83fc997959 Bug 892853 - Remove some xpidl for SVG r=Ms2ger 2013-07-17 23:54:09 -07:00
Markus Stange
925f3877d6 Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc 2013-07-18 08:34:58 +02:00
Markus Stange
a3bbc51f36 Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc 2013-07-18 08:34:10 +02:00
Stephen Pohl
808e51105f Bug 894931: Revert e8bf739addfa from bug 868498 to ensure proper layout of frames with position:static, position:relative and position:absolute. r=roc 2013-07-18 00:20:16 -04:00
Jared Wein
a8d6f11fe7 Backed out changeset 6567ae2b15be (bug 845205) for possibly introducing more assertions, causing the browser-chrome tests to go over their log limit. CLOSED TREE 2013-07-17 20:37:57 -04:00
Ben Kelly
768a0393e8 Bug 845205 - Do not reset the style context when removing unset properties. r=dbaron 2013-07-17 14:34:22 -04:00
Ed Morley
0917f8d010 Backed out changeset 1b2c43ed9fdc (bug 879963) for intermittent failures in test_redundant_font_download.html 2013-07-17 17:07:54 +01:00
Ed Morley
9424eb7c9e Backed out changeset 33c17daf66bf (bug 879963) 2013-07-17 17:07:30 +01:00
Ed Morley
95aa93605f Backed out changeset e0c9008cb0be (bug 879963) 2013-07-17 17:07:27 +01:00
William Chen
9e883ad8f5 Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:06 -07:00
William Chen
ca763cf5e3 Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:03 -07:00
Jonathan Kew
cf3683fe3f bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
f6223eadc2 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
37298d2efd bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01:00
Nicholas Cameron
14c306ddce Bug 899884. Take into account the app unit to dev pixel ratio when reusing mask layers. r=roc 2013-08-09 21:42:05 +12:00
Jonathan Kew
4d85fe95f5 bug 571579 - remove unused ScheherazadeRegAAT.ttf font file from the tree. r=jdaggett 2013-08-09 09:52:47 +01:00
Mats Palmgren
cd070d65f1 Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc 2013-08-08 22:04:59 +00:00
Mats Palmgren
61af25d2ee Bug 898871 - Add an assertion that the pres shell was not deleted by some script runner, which should not happen here since the caller must hold a strong ref before starting the scroll operation. r=roc 2013-08-08 22:04:59 +00:00
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Trevor Saunders
7da524d402 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Ryan VanderMeulen
a0ca37d26a Backed out changeset 9022f5fdcf98 (bug 483446) for mochitest-5 orange. 2013-07-16 10:45:35 -04:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Jonathan Kew
39cd70d471 bug 890374 - [hidpi] fix CSS/device coordinate mismatch in XUL popup manager, so that we show the correct tooltip for items in the Bookmarks or History sidebar. r=roc 2013-07-16 15:12:48 +01:00
Simon Sapin
f9d83485ab Bug 483446 - Add CSS3 'background-attachment: local' support. r=roc 2013-07-16 09:10:58 -04:00
Robert O'Callahan
019984039a Bug 868498. Don't reframe for changes between position:static and position:relative. r=heycam 2013-07-16 08:58:52 -04:00
Stephen Pohl
160820c8f3 Bug 868498: Enable switching between overlay and regular scrollbars without browser restart on Mac OSX. r=roc 2013-07-16 08:58:44 -04:00
Stephen Pohl
6fdf0a7164 Bug 890897 - Don't show overlay scrollbars when we don't end up scrolling the page because we're already at an acceptable place. r=roc 2013-07-16 00:51:21 -04:00
Cameron McCormack
015e4d0a4b Bug 873368 - Automatically generate nsStyleStructList.h. r=dbaron,ted 2013-07-16 14:32:25 +10:00
Corey Ford
a7574f8535 Bug 893962 - Refactor the application of relative positioning. r=dbaron 2013-07-15 17:28:09 -07:00
Mina Almasry
d2c3c8512d Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 17:28:49 -04:00
Mina Almasry
529857dfeb Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz 2013-07-15 17:28:33 -04:00
Kartikaya Gupta
c3e9534174 Bug 840916 - Back out e7d3b0866dd9 from bug 779527 as it is no longer needed. r=mbrubeck 2013-07-15 17:21:16 -04:00
Ryan VanderMeulen
002d700630 Backed out 3 changesets (bug 603488) for Windows reftest orange.
Backed out changeset f60f6c301670 (bug 603488)
Backed out changeset 80520a16d7f1 (bug 603488)
Backed out changeset eeed50e8e213 (bug 603488)
2013-07-15 15:50:26 -04:00
Blake Kaplan
9e6aa8848b Bug 888787 - Add reftests. r=sicking 2013-07-11 17:05:55 -04:00
Blake Kaplan
c55ad9cb94 Bug 888787 - Restore old XBL behavior when a child of the bound element didn't match any of the <children/> in the binding. r=sicking 2013-07-11 17:05:54 -04:00
James Kolb
9fca42abdc Bug 603488 - Part 1: Refactor nsLayoutUtils to expose imgIContainer. r=roc 2013-07-15 13:44:14 -04:00
Ed Morley
941b06e491 Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE 2013-07-15 16:36:17 +01:00
Mina Almasry
e1fe3cd880 Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 09:59:57 -04:00
Mike Hommey
ffd522d5c2 Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Cameron McCormack
7d630509ae Bug 893510 - Don't schedule reflow of non-display SVG text when a child text content frame was just created. r=jwatt 2013-07-15 18:15:49 +10:00
Cameron McCormack
0b6c519766 Bug 893500 - Don't check for SVG text context scale changes when non-display. r=longsonr 2013-07-15 17:09:27 +10:00
Wes Kocher
301b30d229 Backed out changeset fa6ef0b63025 (bug 889515) for OSX browser-chrome bustage on a CLOSED TREE
--HG--
extra : amend_source : f0064ef485170a679744ea3e211535a9d58f0fc9
2013-07-14 20:59:36 -07:00
Matt Woodrow
2d29d00e3c Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Mats Palmgren
6e1a1a8f90 Bug 883676 - Implement 'page-break-inside:avoid' also for the case where the block reflow is COMPLETE but does not fit in the available height. r=roc 2013-07-13 13:18:17 +00:00
Stephen Pohl
ee67877064 Bug 870917: Fix overlay scrollbars in XUL trees to fade and disappear correctly instead of pulsating continuously. r=roc 2013-07-12 23:19:37 -04:00
Bem Jones-Bey
c704e3c762 Bug 829958 - Fix intrinsic width calculation to take into account the scroll frame created when overflow isn't visible. r=bz 2013-07-12 17:24:17 -04:00
Cameron McCormack
2b44ade39e Bug 890783 - Reflow non-display SVG text when a child text frame is restyled. r=roc 2013-07-12 17:13:07 +10:00
Cameron McCormack
ea06598fbd Bug 890782 - Reflow SVG text inserted into non-display containers. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
723d3df830 Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
4d5eacea09 Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt 2013-07-12 17:13:07 +10:00
Cameron McCormack
cda789eda2 Bug 890782 - Part 1: Return early in UpdateGlyphPositioning if frames are dirty. r=longsonr 2013-07-12 17:13:06 +10:00
Cameron McCormack
0f17d6d6ae Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr 2013-07-12 16:39:38 +10:00
Cameron McCormack
ba324f7147 Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr 2013-07-12 16:39:38 +10:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Phil Ringnalda
6cf5385d49 Back out cb34d80e6fc8 (bug 889515) for 10.6 assertions
CLOSED TREE
2013-07-11 21:24:20 -07:00
Matt Woodrow
be6f6eea10 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Mike Hommey
784edc021e Bug 892401 - Remove NEW_H. r=ted 2013-07-12 09:16:41 +09:00
Daniel Holbert
48e5024923 Bug 885424 part 4: Refactor ComputeFlexContainerMainSize to have a clearer horizontal case vs. vertical case. r=dbaron 2013-07-11 16:47:03 -07:00
Daniel Holbert
fcbc026824 Bug 860242: If box-sizing includes border/padding, then don't add border/padding to cell-width, in fixed table layout's percent-width case. r=dbaron 2013-07-11 16:46:06 -07:00
Blake Kaplan
dc018aa74c Reftests for bug 890775 - r=peterv 2013-07-11 17:53:08 -04:00
Blake Kaplan
2a5c30ab9f Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv 2013-07-11 17:52:49 -04:00
Jeff Gilbert
5d80bc3a03 Bug 881997 - Use confvars to establish webgl conformance for different products. - r=bjacob,ted 2013-07-11 14:12:32 -07:00
Andrea Marchesini
9d48d13bff Bug 884279 - Rename Future to Promise. r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_bug883683.html => dom/promise/tests/test_bug883683.html
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-07-11 16:40:36 -04:00
Ryan VanderMeulen
d1f6de5610 Backed out changeset 4504582d908c (bug 843003) for Marionette failures. 2013-07-11 11:46:04 -04:00