Commit Graph

18824 Commits

Author SHA1 Message Date
Robert O'Callahan
35904cefb2 Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
--HG--
extra : rebase_source : 9698383aeff2c9cb5ee7655e18d5c491379dd495
2013-09-04 23:30:57 +12:00
Robert O'Callahan
58a3ced7c4 Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.

--HG--
extra : rebase_source : e69b8e7a95d36720bd38d74f0789ede603e58a09
2013-09-04 23:30:57 +12:00
Arnaud Bienner
b30f71f6b2 Bug 930277 - Toggle dom.forms.color on everywhere but on B2G, Android and Metro as these platforms don't have a color picker ready yet. r=dholbert 2013-10-28 19:56:59 +01:00
Arnaud Bienner
ac765f199d Bug 928891 part 2 - Add input[type=color] to forms.css. r=dholbert 2013-10-27 01:16:42 +02:00
Arnaud Bienner
38710b2f27 Bug 928891 part 1 - Split button properties in forms.css (text vs non-text). r=dholbert 2013-10-27 00:25:58 +02:00
Robert O'Callahan
9292e3b5de Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.

--HG--
extra : rebase_source : 7b2686dc820a0b0985664b52ca030200f130a293
2013-09-04 23:30:57 +12:00
Ed Morley
32cb96fcc0 Bug 703806 - Mark as-image/img-blobURI-2.html as random for too many intermittent failures 2013-10-28 17:45:33 +00:00
Masayuki Nakano
16d3cdfc12 Bug 930860 Move IsLeftClickEvent() and IsContextMenuKeyEvent() from WidgetEvent to WidgetMouseEvent(Base) r=smaug 2013-10-28 18:03:19 +09:00
Cameron McCormack
e1e7d5086b Back out bug 928798 (f532e4f26307). 2013-11-01 14:01:34 +11:00
Cameron McCormack
03457ad84c Bug 928798 - Check nsSVGTextFrame2 for dirtiness when gettings it bounding box contribution. r=roc
--HG--
extra : rebase_source : e9173104309e532e9e6773132b9a867e47c3ea11
2013-11-01 13:44:52 +11:00
Cameron McCormack
538a3cfaeb Bug 930270 - Don't initialize the ancestor filter for elements outside the document. r=dbaron
--HG--
extra : rebase_source : fa10a28a8bbd9eaf670f8133ccd81a9c706ebec7
2013-11-01 13:44:40 +11:00
Cameron McCormack
090235ef96 Bug 927734 - Loosen assertions about the contents of the style scope stack. r=dbaron
--HG--
extra : rebase_source : 6b9b7e4051bebeb7da640c7878229b1d014841dd
2013-11-01 13:44:27 +11:00
Daniel Holbert
626154c358 Bug 903880 part 5: Reftest. r=dbaron 2013-10-31 19:39:02 -07:00
Daniel Holbert
61f3c9d998 Bug 903880 part 4: Resolve stretched cross-size early, if we know the container's cross size, and use the result when establishing main size. r=dbaron 2013-10-31 19:39:02 -07:00
Daniel Holbert
746052c37e Bug 903880 part 3: Convert "ResolveStretchedSize" into a member-function on FlexItem. r=dbaron 2013-10-31 19:39:02 -07:00
Daniel Holbert
20409f3205 Bug 903880 part 2: Resolve the flex base size produced by "height:auto" *after* we create a FlexItem object. r=dbaron 2013-10-31 19:39:02 -07:00
Daniel Holbert
b029a624fa Bug 903880 part 1: Create a helper-function to set a flex item's base size (and update its hypothetical main size). r=dbaron 2013-10-31 19:39:02 -07:00
Matt Woodrow
128c9ed6a7 Bug 930419 - Make position:sticky frames an active scrolled root. r=roc 2013-10-24 16:35:30 +02:00
L. David Baron
ccbb4acceb Bug 929673 Patch 3: Rename GetDeltaToMoz{Transform,Perspective}Origin to remove the Moz to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky 2013-10-24 14:46:00 +02:00
L. David Baron
a84ee2a5cd Bug 929673 Patch 2: Rename mToMozOrigin to mToTransformOrigin to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky 2013-10-24 14:46:00 +02:00
L. David Baron
7e8d2109a0 Adjust comment that should have been adjusted in the original patch for bug 835007. No review. 2013-10-24 14:45:59 +02:00
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Rik Cabanier
0a64c4a367 Bug 929591 - Blending fails if parent stacking context has text 2013-10-22 13:31:00 +01:00
Ed Morley
d9500c0e98 Backed out changeset ce20f4b16d56 (bug 261037) for reftest failures in 478811-1.html on a CLOSED TREE 2013-10-24 10:28:44 +01:00
Ed Morley
ec1af6575e Backed out changeset 75ee2a0bc5d3 (bug 929021) 2013-10-24 10:28:12 +01:00
Simon Montagu
2e6dc96357 Update Unicode data to version 6.3. Bug 922550, r=jfkthame 2013-10-02 12:09:26 +03:00
Simon Montagu
74c3067fe1 Add new bidi control characters defined in Unicode 6.3. Bug 922530, r=jfkthame 2013-10-02 16:07:02 +03:00
Markus Stange
b570e91848 Bug 703872 - Use different scale factors for X and Y when determining the resolution for transformed filter rendering. r=jwatt 2013-10-24 10:09:09 +02:00
Robert O'Callahan
a66f004ebb Bug 929021. Skip calling GetFrameBoundsForTransform when we don't need it. r=heycam
--HG--
extra : rebase_source : d081b5acc5df7518e004a9ce5e9d27afaa7041fe
2013-10-22 11:09:46 +02:00
Robert O'Callahan
8941abb074 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : d737eebdc25b3b748a84de676d5e8e066505e00b
2013-10-23 00:46:40 +02:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Birunthan Mohanathas
babfc6b761 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Jonathan Kew
61dd71602b bug 877203 pt 3 - update font prefs for Android to refer to Clear Sans. r=blassey 2013-10-23 22:04:40 +02:00
Ed Morley
388b302e9e Backed out changeset a61d898ea4fa (bug 929021) on suspicion of reftest failures on a CLOSED TREE 2013-10-23 16:22:47 +01:00
Ed Morley
7a743fbc80 Backed out changeset bcf1282f3f4b (bug 928607) 2013-10-23 16:22:47 +01:00
Ed Morley
415d4a667f Backed out changeset ffd9c7bbd2fe (bug 261037) for compilation failures in nsCSSFrameConstructor on a CLOSED TREE 2013-10-23 15:44:19 +01:00
Robert O'Callahan
6954853252 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : 6ca585f685965d3a538bde64ad4057c5fd7b538f
2013-10-23 00:46:40 +02:00
Robert O'Callahan
128d46836b Bug 928607. Ensure that nsGfxScrollFrameInner::UpdatePosition clips the overflow area of its children. r=tn
--HG--
extra : rebase_source : dfdd0ee95b02cfea05341592384ed5f51f0cc782
2013-10-22 14:10:31 +02:00
Robert O'Callahan
cd5bbc7f9b Bug 929021. Skip calling GetFrameBoundsForTransform when we don't need it. r=heycam
--HG--
extra : rebase_source : cc2d02ef222883bb3a95295c5c896990f199047d
2013-10-22 11:09:46 +02:00
Daniel Schattenkirchner
1ac066cbe9 Bug 921761 part 2 - margin-collapsing test suite; rearrange tests in reftest.list and add comments; r=dholbert 2013-10-15 17:37:11 -07:00
Daniel Schattenkirchner
0517f86a1e Bug 921761 part 1 - margin-collapsing test suite, wave 7; improving tests by adding readable IDs, rearranging styles, changing colors; r=dholbert 2013-10-15 17:37:03 -07:00
Nicholas Cameron
474d2a512e Bug 907463. Ignore result of very big canvas reftest. r=roc 2013-09-27 21:48:41 +12:00
Nicholas Nethercote
1bd2044812 Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Nathan Froyd
e4ca96efd7 Bug 929494 - use template typedefs, not inheritance, to define nsTArray element copiers; r=ehsan
There's no reason to use inheritance here, and using plain typedefs avoids massive
amounts of code duplication for the common case of copying with mem*.  Code savings
on Android come in at about 570K (!), or ~2% of libxul .text size, which is a massive
win.
2013-10-22 10:36:34 -04:00
Masayuki Nakano
15be48ff2e Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Masayuki Nakano
b6b0cb52bb Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug 2013-10-22 22:27:35 +09:00
Masayuki Nakano
cdcacb3fbb Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug 2013-10-22 22:27:34 +09:00
Kyle Huey
ed10f7b8b4 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Wes Kocher
ad52f3e2b0 Merge m-c to inbound 2013-10-22 18:43:11 -04:00
Wes Kocher
abc9a053f3 Merge inbound to m-c 2013-10-22 18:11:06 -04:00
Wes Kocher
8f386cadf3 Merge m-c to b2g-inbound 2013-10-22 11:19:19 -04:00
Kannan Vijayan
6e9b3e6350 Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE. 2013-10-21 14:39:33 -04:00
Masayuki Nakano
b8ca4649d4 Bug 920425 part.30 Use mozilla::WidgetEvent::AsWheelEvent() r=smaug 2013-10-22 17:55:21 +09:00
Masayuki Nakano
c0d498bd0f Bug 920425 part.29 Use mozilla::WidgetEvent::AsGUIEvent() r=smaug 2013-10-22 17:55:20 +09:00
Masayuki Nakano
40483897f3 Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Mike Hommey
45fb052ada Bug 664362 - Generate depfiles for host objects/programs/libraries. r=gps 2013-10-22 13:40:27 +09:00
Ehsan Akhgari
19c3c317bc Bug 928900 - Reduce some content/ #includes; r=jst
--HG--
extra : rebase_source : d2932ff888affe7e1e7a10233dfacac6fb9f07a7
2013-10-21 17:23:33 -04:00
Robert O'Callahan
3e2355be8b Bug 903340. Make nsDisplayScrollInfoLayer::ShouldFlattenAway side-effect-free. r=tn 2013-10-21 15:47:26 -07:00
Phil Ringnalda
75e73a91a3 Bug 922951 - Annotate top-fail reftest as random 2013-10-19 19:10:01 -07:00
Kartikaya Gupta
4d5196d5fa Bug 906043 - Enable async subframe scrolling for Metro. r=tn 2013-10-18 15:56:51 -04:00
Carsten "Tomcat" Book
ba4b28bb05 Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Carsten "Tomcat" Book
fd6b3a3bb9 merge b2g-inbound to mozilla-central 2013-10-18 11:39:28 +02:00
Dan Minor
aae88660f1 Bug 927085 - Update reftest manifests for pandaboards; r=gbrown 2013-10-17 15:17:30 -04:00
Masayuki Nakano
ef2ba2f3e7 Bug 920425 part.27 Use mozilla::WidgetEvent::AsInputEvent() r=smaug 2013-10-18 15:10:26 +09:00
Masayuki Nakano
684dfe6e69 Bug 920425 part.25 Use mozilla::WidgetEvent::AsDragEvent() r=smaug 2013-10-18 15:10:26 +09:00
Masayuki Nakano
ef196343d5 Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug 2013-10-18 15:10:24 +09:00
Masayuki Nakano
28fa6f3708 Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug 2013-10-18 15:10:23 +09:00
Masayuki Nakano
723cb86cca Bug 920425 part.3 We don't need to use static_cast at releasing event class instance since WidgetEvent has virtual destructor now r=smaug 2013-10-18 15:10:21 +09:00
Alexandre Lissy
74dbad9564 Bug 926389 - Add touch event handling during fluffing. r=roc 2013-10-17 14:42:48 -04:00
Timothy Nikkel
93e4b6b2d2 Bug 916125. Clip scroll layer items to the scroll port so the resulting layers have the proper clip. r=roc 2013-10-17 17:02:42 -05:00
Max Vujovic
b725bd88af Bug 913990 - When encountering bogus URI during style computation for filter, fall back to initial value. r=dholbert 2013-10-17 14:37:57 -04:00
Henri Sivonen
48fc98ecfc Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky. 2013-10-16 04:46:10 +03:00
Jonathan Watt
31879fe3a5 Bug 926976 - Give nsTextControlFrame::mUseEditor a more useful name. r=ehsan 2013-10-16 14:43:03 +01:00
Gabor Krizsanits
142ec1922d Bug 565388 - No paint for invisible docshell. r=tnikkel 2013-10-16 15:18:42 +02:00
Masayuki Nakano
eef5eccfeb Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Wes Kocher
4b31073516 Merge inbound to m-c 2013-10-15 20:15:17 -07:00
Kartikaya Gupta
01541c719a Bug 925902 - Ensure that the old ROOT_SCROLL_ID property is cleared when a new one is being set. r=tn, botond 2013-10-15 17:08:04 -04:00
Carsten "Tomcat" Book
4ee9d312e1 Merge mozilla-central to b2g-inbound 2013-10-15 10:43:38 +02:00
Matt Woodrow
d84a67ef04 Bug 926258 - Remove gfxFlattenedPath as it doesn't match the abstraction we want for Moz2D. r=roc 2013-10-15 16:23:21 +13:00
Olli Pettay
f07326dc6a Bug 915210. r=bz 2013-10-14 15:11:47 -04:00
Ryan VanderMeulen
e9e247b525 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
b98758cdbd Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Benjamin Chen
9d77c4acf5 Bug 831645 - Part1, Add Rtsp protocol and streaming protocol interface. r=jduell.mcbugs, sworkman 2013-09-23 18:12:11 +08:00
Seth Fowler
3bc76cf8cc Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-21 18:10:40 +02:00
Jonathan Watt
7220defdb6 Bug 928879 - Move SVGTextContextPaint to nsSVGTextFrame2.h/.cpp. r=heycam 2013-10-21 13:54:28 +02:00
Phil Ringnalda
7f4c6bd321 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
d9a28b7f74 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Robert Longson
85d52e0066 Bug 919371 - Make sure marker frames get the right parent. r=cam 2013-10-13 10:15:53 +01:00
Phil Ringnalda
f705749bd5 Merge m-c to m-i 2013-10-12 15:27:11 -07:00
Phil Ringnalda
7c556eefde Bug 859424 - Disable layout/generic/crashtests/309322-4.html for loading a bmo attachment as an img src 2013-10-12 15:20:21 -07:00
Mina Almasry
eaf7fb5d88 Bug 698437 - Allow spatial navigation with directional controller. r=kats 2013-10-12 13:59:50 -04:00
André Reinald
d6cc051cc7 Bug 868648: Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. Credits to Markus for his help getting this right. r=mstange,masayuki,smichaud 2013-08-16 23:17:40 +02:00
Mike Hommey
38ae996962 Bug 922460 followup - Don't build layout/media/webrtc in disable-webrtc builds. r=ted granted over IRC 2013-10-11 11:27:14 -07:00
Nathan Froyd
611d4ed3c2 Bug 859339 - blur reftests that don't need focus; r=dbaron
This patch opens a second window during non-remote reftests.  This second
window is used purely as a place to place focus when tests don't need
focus themselves.  Unfocusing the reftests windows when tests don't require
focus means that tests that ought to have needs-focus cause failures more
consistently.

We don't use a second window for remote reftests.  Even though we
theoretically could (on desktop platforms, for instance), our primary
remote reftest use-cases are for Android and B2G.  And those platforms do
not support multiple windows.
2013-07-29 12:33:44 -04:00
Jonathan Watt
522bec9624 Bug 929441 - Stop unnecessarily setting a transform between emitting a path and stroking it. r=Bas 2013-10-22 23:45:51 +02:00
Jonathan Watt
927534b8bb Bug 929364 - Avoid changing the current transform between emitting the path and clipping using that path in the SVGAutoRenderState::CLIP case. r=heycam 2013-10-22 23:45:51 +02:00
Wes Kocher
687b062b25 Backed out changeset 82b31924a8bb (bug 914847) under suspicion of breaking mochitest-metro on a CLOSED TREE 2013-10-22 16:56:04 -04:00
Wes Kocher
e6b33b27c3 Backed out changeset 87ee0a1865e4 (bug 914847) 2013-10-22 16:55:14 -04:00
Wes Kocher
6559234e89 Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Daniel Holbert
1c9e3ad08e Bug 875275 part 6: Mark most <input type="color"> reftests as failing on B2G, due to bug 928877. (no review) 2013-10-22 17:29:21 +02:00
Daniel Holbert
78972e3f66 Bug 875275 part 5: Fix <input type="color"> reftests to set padding in author stylesheet in testcase when it's set in reference. r=arnaud.bienner 2013-10-22 17:29:21 +02:00
Daniel Holbert
6ce735d94a Bug 875275 part 4: Fix <input type="color"> reftests to adjust for being button-based. r=arnaud.bienner 2013-10-22 17:29:21 +02:00
Daniel Holbert
4c1ad784d2 Bug 875275 part 3: Make nsColorControlFrame inherit from nsHTMLButtonControlFrame instead of nsBlockFrame. r=jwatt f=arnaud.bienner 2013-10-22 17:29:20 +02:00
Daniel Holbert
376a58f5a1 Bug 875275 part 2: simplify forms.css for input[type="color"]. r=arnaud.bienner 2013-10-22 17:29:20 +02:00
Paul Adenot
9c08b365a4 Bug 918861 - Add an API to get the native samplerate for a given audio backend. r=kinetik
--HG--
extra : rebase_source : 592445a01f00a89289d52c52d9c758e10b9d9a00
2013-10-17 15:44:52 +02:00
Paul Adenot
bfd396be8d Bug 907817 - Add a cubeb API to get a valid audio latency range per platform. r=kinetik
--HG--
extra : rebase_source : 06999c8009f2828ee0f6f49e0cdb5cbc86d785cc
2013-10-17 15:44:52 +02:00
Robert O'Callahan
b73ccf9edd Bug 926706. When nsGfxScrollFrameInner::UpdateOverflow decides we need to update the scrollbars, don't reflow the scrollframe with NS_FRAME_IS_DIRTY since that reflows all descendants. Just reflow the frame itself and don't dirty anything else. r=tn 2013-10-17 23:05:15 +13:00
Robert O'Callahan
82d7a2bd79 Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
--HG--
extra : rebase_source : f4f620acc51e14625f45b8022385d8a1112fd086
2013-10-03 08:34:24 -04:00
Arnaud Bienner
28e6e2c644 Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert 2013-07-10 00:25:27 +02:00
Masayuki Nakano
381b632044 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Masayuki Nakano
9be3769528 Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug 2013-10-22 22:27:35 +09:00
Masayuki Nakano
5352c6976e Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug 2013-10-22 22:27:34 +09:00
Nicholas Cameron
51bcfeb92d Bug 914847. Mini-flush for animations. r=dbaron 2013-10-22 14:14:41 +02:00
Nicholas Cameron
ff770018d8 Bug 914847. Use a mini-flush instead of a full style flush. r=dbaron 2013-10-22 14:13:26 +02:00
Olli Pettay
2d19654cb3 Bug 928403 - optimize nsFrameConstructorState::ProcessFrameInsertions, r=roc
--HG--
rename : testing/mochitest/b2g-debug.json => testing/mochitest/b2g.json
extra : rebase_source : c45d39f4b50f248b28a6ebfb50128084bb59ebe4
2013-10-22 15:06:01 +03:00
Seth Fowler
d51d4f7e86 Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-22 13:37:57 +02:00
John Daggett
8cf2c447b0 Bug 915440. Crashtest for empty font URL. r=me 2013-10-22 13:06:20 +02:00
John Daggett
adddcfb9ea Bug 915440 - move null URL fix to after format hint is processed. r=dbaron 2013-10-22 13:06:20 +02:00
Markus Stange
14e4217296 Bug 929362 - When refusing compositor animation during BuildLayer, set a property on the frame that disables all async animations on it forever. r=roc
--HG--
extra : rebase_source : 98c9b690a4842c19314dd46f5e531601b77fe527
2013-10-22 12:30:45 +02:00
Wes Kocher
0dee68330d Merge m-c to inbound 2013-10-10 19:09:24 -07:00
Wes Kocher
09aa863740 Merge inbound to m-c 2013-10-10 18:59:58 -07:00
Cameron McCormack
71919a66fb Bug 899808 - Fix matching of pseudo-elements in scoped style sheets. r=dbaron 2013-10-11 10:28:49 +11:00
Mike Hommey
c2fbbcbbda Bug 922460 - Kill media/webrtc/shared_libs.mk. r=ted
--HG--
rename : media/webrtc/shared_libs.mk => layout/media/webrtc/Makefile.in
2013-10-11 08:15:24 +09:00
Steven Michaud
061bf53f0e Bug 925411 - Temporarily backout patch for bug 868646 for causing this bug. r=spohl 2013-10-10 16:22:02 -05:00
Kartikaya Gupta
ceced543c6 Bug 923431 - Kill ScreenToScreenScale. r=botond 2013-10-10 12:21:55 -04:00
Cameron McCormack
e49880ee64 Bug 925218 - Include -moz-system-font as a component of the 'all' shorthand. r=dbaron 2013-10-10 12:31:21 +11:00
Cameron McCormack
86d6d43fc9 Bug 925193 - Offer "unset" when autocompleting properties in the style inspector. r=bzbarsky 2013-10-10 11:47:40 +11:00
Ehsan Akhgari
d26e049233 Bug 924248 - Make nsIDocument.h go on a diet; r=jst
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Daniel Holbert
cffbdc9d38 Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers. 2013-10-09 17:03:35 -07:00
Benoit Girard
0716f0c2b0 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
André Reinald
aecacdd464 Bug 868648 - Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. r=mstange, r=masayuki
Credits to Markus for his help getting this right.
2013-08-16 23:17:40 +02:00
Tim Abraldes
cb1a14e52c bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz 2013-10-08 14:00:12 -07:00
Birunthan Mohanathas
967e556c1c Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Ehsan Akhgari
b6bef348c1 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Masatoshi Kimura
02cab17dff Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz 2013-10-06 05:25:49 +09:00
Cameron McCormack
d44d5c98cf Bug 842329 - Part 4: Test. r=bzbarsky 2013-10-04 04:49:20 +10:00
Cameron McCormack
4515cd6c10 Bug 842329 - Part 3: Serialize the "all" shorthand property as the empty string unless all components are inherit/initial/unset. r=bzbarsky 2013-10-04 04:49:20 +10:00
Cameron McCormack
258cb361f0 Bug 842329 - Part 2: Parse the "all" shorthand property. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
01163bc21b Bug 842329 - Part 1: Add "all" shorthand property. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
53937e5040 Bug 921731 - Part 10: Modify existing style tests to use "unset". r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
ec446e54ac Bug 921731 - Part 9: Serialize shorthands using "unset" like those containing "inherit" or "initial". r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
5dbe100782 Bug 921731 - Part 8: Support "unset" in computation of properties. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
d07408ae63 Bug 921731 - Part 7: Treat "unset" on inherited properties like "inherit" in nsRuleNode::HasAuthorSpecifiedRules. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
806271a533 Bug 921731 - Part 6: Treat "unset" as "inherit" when determining rule detail for inherited style structs. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
2e9e72b5c4 Bug 921731 - Part 5: Support eCSSUnit_Unset in nsRuleNode.cpp's SetFactor. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
6c448f45ad Bug 921731 - Part 4: Support eCSSUnit_Unset in nsRuleNode.cpp's SetDiscrete. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
35f4e51640 Bug 921731 - Part 3: Support eCSSUnit_Unset in nsRuleNode.cpp's SetCoord. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
8752ad5edf Bug 921731 - Part 2: Parse "unset" in property values whereever "inherit" and "initial" are allowed. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
eb835df7de Bug 921731 - Part 1: Add new eCSSUnit_Unset unit for nsCSSValues. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
b568c3b72c Bug 921731 - Part 0: Add "layout.css.unset-value.enabled" pref. r=bzbarsky 2013-10-04 04:48:41 +10:00
Robert O'Callahan
0807bbd655 Backed out changeset 0ef00ffc6c12 for bug 923193 due to test failures: 2013-10-03 09:52:44 -04:00
Robert O'Callahan
0f4b7728a4 Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
--HG--
extra : rebase_source : 7c8d1b42a09b9389d082195edd0c683e2dc7e12e
2013-10-03 08:34:24 -04:00
Cameron McCormack
8aa3aad57b Bug 919594 - Part 3: Test. 2013-10-03 20:58:01 +10:00
Cameron McCormack
71f22d0ff3 Bug 919594 - Part 2: Encapsulate the computed style map and make it take disabled properties into account. r=bzbarsky 2013-10-03 20:58:01 +10:00
Cameron McCormack
43e429f29a Bug 919594 - Part 1: Move computed style map entries to a preprocessor included file. r=bzbarsky 2013-10-03 20:58:01 +10:00
Ms2ger
bc14e4aa9c Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Seth Fowler
1728f0da97 Bug 920621 (Part 2) - Tests for zoom with the svg:image element. r=dholbert
--HG--
rename : layout/reftests/svg/pass.svg => layout/reftests/svg/image/lime-no-dimensions.svg
2013-10-02 19:04:33 -07:00
Seth Fowler
a640994d6d Bug 920621 (Part 1) - Correct for full page zoom in nsSVGImageFrame. (Partial revert of bug 600207.) r=dholbert 2013-10-02 19:04:28 -07:00
Mats Palmgren
3a4651cbff Bug 922082 - Skip display:none options when searching for a match. r=bz 2013-10-02 09:56:03 +00:00
Matt Woodrow
687c4fbd0a Bug 916034 - remove + character from a broken rebase. r=bustage 2013-10-02 22:35:19 +13:00
Matt Woodrow
47b68f6760 Bug 916034 - Use a similar surface rather than an image surface for the canvas background cache when using azure. r=ajones 2013-10-02 22:12:34 +13:00
Masayuki Nakano
e46624e0ca Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Phil Ringnalda
1308968f13 Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Daniel Holbert
9265cd3a98 Bug 919865: Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats 2013-10-01 22:02:23 -07:00
Masayuki Nakano
5e5853070a Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Masayuki Nakano
d9fe18d02f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Benoit Girard
7d8c972382 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Ehsan Akhgari
4818a0f3af Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Scott Johnson
16a7034b86 Backout 6a5549d97d8d (bug 878935) for missing IID changes. 2013-10-02 11:36:44 -05:00
Daniel Holbert
a8754882fb (no bug) fix typo in nsGfxButtonControlFrame.cpp comment: s/nsHTMLButtonFrame/nsHTMLButtonControlFrame/
DONTBUILD
2013-10-02 09:04:09 -07:00
Ehsan Akhgari
180798444f Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Matt Woodrow
d188bf5f9a Bug 921910 - Invalidate when we change the frame of an asynchronous ImageContainer that is part of a main-thread layer tree. r=roc 2013-10-02 16:05:49 +13:00
Robert O'Callahan
7f8b1af70b Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey
--HG--
rename : content/html/content/src/nsClientRect.cpp => content/base/src/DOMRect.cpp
rename : content/html/content/src/nsClientRect.h => content/base/src/DOMRect.h
rename : dom/webidl/ClientRect.webidl => dom/webidl/DOMRect.webidl
rename : dom/webidl/ClientRectList.webidl => dom/webidl/DOMRectList.webidl
extra : rebase_source : ebe27ef21b38f7df5065f37b971508b740c8cf3c
2013-09-20 22:21:03 +12:00
Robert O'Callahan
bd8d9c7482 Bug 898444. Wrap nsDisplayScrollLayer only around the scrolled content. r=tn
--HG--
extra : rebase_source : 828c5e4a33a26d958117357b439955cfb8dee1dd
2013-10-01 22:29:24 -04:00
Jeff Muizelaar
55721254b2 Bug 922817. Avoid unecessary PushGroups()s while painting. r=roc
This avoids a temporary surface when painting svg images.

--HG--
extra : rebase_source : b458c3e6daef20be14fa7d6c63be7874bc4bb850
2013-10-01 22:24:39 -04:00
Nicolas Silva
8605f47406 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Jonathan Watt
1d369668c1 Bug 917386 - Make frame construction handle trees of nsIAnonymousContentCreator::ContentInfo objects, including support for associating CSS pseudo-elements with deeply nested anonymous elements. r=bz 2013-10-01 22:51:29 +01:00
Martijn Wargers
e74da71097 Bug 918258 - Convert reftests 448987.html and 449653-1.html to mochitests. r=dholbert
--HG--
rename : layout/reftests/bugs/448987.html => layout/generic/test/file_bug448987.html
rename : layout/reftests/bugs/448987-ref.html => layout/generic/test/file_bug448987_ref.html
rename : layout/reftests/bugs/449653-1.html => layout/generic/test/file_bug449653_1.html
rename : layout/reftests/bugs/449653-1-ref.html => layout/generic/test/file_bug449653_1_ref.html
2013-09-24 15:01:00 +02:00
Ehsan Akhgari
7e5b2154cf Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
8778f7536d Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1362 to 1268.
2013-10-01 17:01:49 -04:00
Ehsan Akhgari
6c364e9615 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
2fb9794854 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Scott Johnson
65602a4c92 Bug 878935: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats] 2013-10-01 14:52:13 -05:00
Masayuki Nakano
3fa4d1fd4d Bug 920377 part.28 Get rid of nsDragEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
512bc33b30 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
9b8afa1588 Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
1ccd49e4ab Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Daniel Holbert
72c8a88724 Bug 922410: Consolidate loops in MainAxisPositionTracker constructor. r=mats 2013-09-30 20:30:24 -07:00
Nicholas Nethercote
258c2f4cdf Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till.
--HG--
extra : rebase_source : ac8aebe86b4b7ee5acc0f541be5645abf73b6a98
2013-09-30 16:20:23 -07:00
Cameron McCormack
05da3c0fd6 Bug 921716 - Don't paint column rules when element is visibility:hidden. r=sjohnson 2013-10-01 11:30:06 +10:00
Daniel Holbert
7c613d5a1a Bug 921522: Use already-established flex container content-box main size to determine packing space, instead of checking reflow state. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1b.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1b.xhtml
2013-09-30 16:38:36 -07:00
Ehsan Akhgari
0a3a2ee94a Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
James Kitchener
101f48c289 Bug 919164 - Rename TEXT_FORCE_TRIM_WHITESPACE to TEXT_IS_IN_TOKEN_MATHML. r=fredw, r=roc 2013-09-30 11:55:51 -04:00
Gregory Szorc
b03f79a7e6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Dan Minor
a2e77150b6 Bug 921021 - Update reftest manifests for pandaboards; r=jmaher 2013-09-30 07:49:04 -04:00
Gregory Szorc
e53ac5e38d Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
d84dee3273 Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley
eccf636a23 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
e4af98efbf Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
cabc6369a6 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Cameron McCormack
266fff8617 No bug - Assertion text typo fix. (DONTBUILD) 2013-09-30 17:40:12 +10:00
Cameron McCormack
9b1fe0bed2 Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert 2013-09-20 11:24:04 +10:00
Cameron McCormack
55bb09ead5 Bug 921797 - Make nsCSSProps::BuildShorthandsContainingTable support -moz-appearance being a shorthand subproperty. r=bzbarsky 2013-09-30 13:23:43 +10:00
Matt Woodrow
77af187390 Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel 2013-09-30 12:17:35 +13:00
Cameron McCormack
8bc5ae3053 No bug - White space tweak in nsCSSPropList.h. (DONTBUILD) 2013-09-29 15:45:28 +10:00
Cameron McCormack
610115dec5 Bug 921795 - Make inDOMUtils::GetCSSValuesForProperty report "initial" not "-moz-initial". r=mina 2013-09-29 14:41:30 +10:00
Cameron McCormack
fbff651ff7 No bug - Comment typo fixes in nsCSSProps.h. (DONTBUILD) 2013-09-29 11:40:07 +10:00
Andrew Quartey
09470bc226 Bug 896273 - Make HTMLSelectElement::SetOptionsSelectedByIndex take a flag argument. r=Ms2ger 2013-09-28 15:04:20 -04:00
Daniel Holbert
b97a6ad1e1 Bug 913759 part 2: reftests for percent-sized content in a button. r=bz 2013-09-28 10:24:01 -07:00
Daniel Holbert
b04170dc24 Bug 913759 part 1: Treat buttonContent frames as block wrappers, so percent heights inside a button can resolve against button's height (minus focus border/padding). r=bz 2013-09-28 10:24:00 -07:00
Cameron McCormack
599c828774 No bug - Fix copy/paste error in 'mix-blend-mode' comment. (DONTBUILD) 2013-09-28 18:03:31 +10:00
Daniel Holbert
b433a89c6c (no bug) fix typo in a comment within a reftest. DONTBUILD 2013-09-27 23:49:58 -07:00
Wes Kocher
03ca5a1de6 Merge fx-team to m-c 2013-09-27 20:32:24 -07:00
Kartikaya Gupta
de4063844e Bug 918682 - Fix the check for finding the root content document's root scroll frame. r=tn 2013-09-27 15:15:57 -04:00
Nathan Froyd
b095d63d5d Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Markus Stange
203d1cece9 Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
Ed Morley
cde04389af Backed out changeset 045d5fadd2fa (bug 907463) for compilation failures 2013-09-27 11:37:18 +01:00
Nicholas Cameron
d4f355d9c3 Bug 907463. Ignore result of very big canvas reftest. r=roc 2013-09-27 21:48:41 +12:00
Daniel Holbert
f688e9882c (no bug) Remove useless "color" declaration (overridden by another "color" declaration several lines below it) from vertical-centering button reftest. 2013-09-26 23:43:16 -07:00
Daniel Holbert
7da88ad9a5 Bug 921174 part 5: Assert that nsHTMLButtonControlFrame has exactly one child, and it's the button-content frame. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
d92f2d5bce Bug 921174 part 4: Move focusPadding into ReflowButtonContents, the only place it's used now. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
9b125765f6 Bug 921174 part 3: Make ReflowButtonContents() use a dedicated nsHTMLReflowMetrics instance, and give it full responsibility for populating parent's metrics. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
673ace2dfb Bug 921174 part 2: Use a separate nsReflowStatus for button frame's reflow vs. button contents frame's reflow. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
be662757c7 Bug 921174 part 1: Rename reflow state variables in nsHTMLButtonFrame, for clarity. r=bz 2013-09-26 23:43:15 -07:00
Masayuki Nakano
99ed9cf061 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
96af2de548 Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
0d1e72a8e7 Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
0f80cb30f7 Bug 920377 part.6 Get rid of nsTransitionEvent r=roc 2013-09-27 15:20:55 +09:00
Masayuki Nakano
e80613cb6a Bug 920377 part.5 Get rid of nsAnimationEvent r=roc 2013-09-27 15:20:54 +09:00
Ryan VanderMeulen
8a632ce880 Merge fx-team to m-c. 2013-09-26 21:36:35 -04:00
Blake Kaplan
919570efe5 Bug 917515 - Check for null before checking the document. r=ehsan 2013-09-26 18:42:53 +02:00
Carsten "Tomcat" Book
37cb939d34 Merge m-c to fx-team 2013-09-26 15:57:51 +02:00
Nicholas Nethercote
b8de9fcc9c Bug 414087 (part 2) - Remove insignificant wasted space in StackBlock. r=bz. 2013-09-25 21:28:55 -07:00
Nicholas Nethercote
0fcd442c1f Bug 414087 (part 1) - Clean up the style of StackArena.{h,cpp}. r=bz. 2013-09-25 21:28:46 -07:00
Martijn Wargers
01ec48b8f1 Bug 917061 - Fix the last 2 crashtests that use enablePrivilege. r=dholbert 2013-09-25 20:03:38 +02:00
L. David Baron
5f6c17426f Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Android. CLOSED TREE 2013-09-25 17:53:12 -07:00
L. David Baron
822f15428f Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Mac OS X 10.8, where the Ahem font is behaving in ways it shouldn't. CLOSED TREE 2013-09-25 15:45:24 -07:00
Ryan VanderMeulen
acaab256b9 Bug 907908 - Mark 776265-1a.html as random-if on Android 2.2 for too many intermittent failures.
DONTBUILD CLOSED TREE
2013-09-25 17:02:07 -04:00
Ryan VanderMeulen
98ce790ec4 Bug 907905 - Mark 647192-1.html as random-if on Android 2.2 for too many intermittent failures. 2013-09-25 17:01:53 -04:00
L. David Baron
0754b253b8 Bug 828312 patch 11: Don't generate change hints for restyling of later continuations, since the handling of the change hints from the first continuation is required to do the necessary work. r=bzbarsky
This depends on bug 898333 in order to avoid causing:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/test_focused_link_scroll.xul | Assertion count 1 is greater than expected range 0-0 assertions.
due to the assertion:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62

The assertion count change in layout/generic/crashtests/571995.xhtml is
expected because it changes us from having 7 of:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62
with the stack:
  mozilla::ElementRestyler::CaptureChange(nsStyleContext*, nsStyleContext*, nsChangeHint) [layout/base/nsChangeHint.h:191]
  mozilla::ElementRestyler::RestyleSelf(nsRestyleHint) [layout/base/RestyleManager.cpp:2304]
to only having one.  This is expected since this patch changes
RestyleSelf to only call CaptureChange for the first continuation or
block-in-inline sibling.
2013-09-25 12:28:08 -07:00
L. David Baron
a26324d12e Bug 828312 patch 10: Add assertions to check that handling of nsChangeHint_ChildrenOnlyTransform doesn't need to check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:08 -07:00
L. David Baron
7888d4666c Bug 828312 patch 9b: Make handling of RecomputePosition hint check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:08 -07:00
L. David Baron
4b9bce2616 Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .

It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").

The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
L. David Baron
807a64dd8e Bug 828312 patch 8: Make handling of UpdateEffects hint check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:07 -07:00