Commit Graph

17049 Commits

Author SHA1 Message Date
Matt Woodrow
ace055b629 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Andreas Gal
5ad33677ae Bug 867047 - remove caret theming support and the Gtk2 implementation r=roc 2013-04-30 12:17:08 -07:00
Catalin Iacob
6abc828b6e Bug 864119 - Don't generate assertions in MathML mochitests. r=karlt 2013-04-21 12:08:07 +02:00
Mats Palmgren
cd2a9144a4 Bug 866785 - Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. r=roc
Specifically:
* move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag
  was annoying, often requiring a cast to nsFrame*.
* print common values in the same order for all types of frames
* print fluid continuations as "next-in-flow=%p" and non-fluid as
  "next-continuation=%p" (as before)
* print the style-context more compactly, e.g.
  "[sc=0x7faa6b60e0a0] pst=:first-line" becomes
  "[sc=0x7faa6b60e0a0:first-line]"
* suppress printing visual/scroll-overflow rects when they are identical
  to mRect and do the same for nsLineBox::List where it was especially
  hard to see which lines actually had real overflow
* fix a bug that printed the child list name at the far right when the
  principal list was empty (making it hard to see)
* print the address of child lists (other than the principal list) to
  help debug frame list property bugs
* s/NS_IMETHODIMP/void/
2013-04-30 20:38:52 +02:00
Andrew McCreight
0bafa2c0cd Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Jonathan Kew
e73c66cc0a bug 863248 - update harfbuzz to version 0.9.16 from upstream. r=jdaggett 2013-04-30 13:02:25 +01:00
Mats Palmgren
8e33678d6c Bug 866588 - Check that the frame IsBidiSplittable before changing a fluid continuation to non-fluid. r=smontagu 2013-04-30 12:37:07 +02:00
Bobby Holley
bea5c24967 Bug 865947 - Force all string event handlers to be evaluated in the content scope. r=jaws,bz 2013-04-29 14:37:36 -07:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
1ebbd86c0f Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor 2013-04-29 11:16:19 -07:00
Mats Palmgren
d29548fd77 Bug 865602 - FieldSet block may be null for overflow containers. r=roc 2013-04-29 14:11:03 +02:00
Timothy Nikkel
18dd7379c4 Bug 851641. Ignore move/resize notifications for popups whose widget is hidden because this likely means they are notifications about our own move/resize requests. r=mats 2013-04-28 15:27:25 -05:00
Robert Longson
9ac622e3aa Bug 865958 - Text in clipPath does not update correctly when changed. r=heycam,jwatt 2013-04-28 11:53:58 +01:00
Masatoshi Kimura
edb82c4095 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Jonathan Watt
c1b5bf869b Bug 839865 - Stop calling nsSVGUtils::InvalidateBounds for SVG transform changes, and use DLBI instead. r=mattwoodrow. 2013-02-11 23:25:56 +00:00
Nicholas Cameron
efa3ca5eea Bug 861727. Refactor CompositorParent a bit. r=BenWa
--HG--
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/composite/AsyncCompositionManager.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/composite/AsyncCompositionManager.h
2013-04-28 18:46:30 +12:00
Alexander Surkov
2c321e2147 Bug 559764 - make input@type=range accessible, r=tbsaunde, roc, smaug 2013-04-28 09:54:54 +09:00
Takeshi Kurosawa
a3cfc14a35 Bug 338033 - No visible focus indicator on image map areas with black background r=roc 2013-04-27 17:54:36 +09:00
Timothy Nikkel
f8cabae711 Bug 865945. Increment the visible count before calling FrameCreated so that the image for an SVGFEImage element is actually considered visible. r=mats 2013-04-26 14:58:15 -05:00
Ryan VanderMeulen
a80e3021bb Merge m-c to inbound. 2013-04-26 08:00:50 -04:00
Ryan VanderMeulen
6f0cba2d2f Merge birch to m-c. 2013-04-26 08:00:07 -04:00
Ms2ger
23b44f251c Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn 2013-04-26 08:49:47 +02:00
Justin Lebar
7908e05f22 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
0e0722d49d Bug 844323 - Prelude part 3: Change ProcessPriorityManager's export directory. r=khuey
It was mozilla/dom/ipc/ before, but this changes it to mozilla/, which matches the class's namespace.
2013-04-25 20:53:26 -04:00
Gijs Kruitbosch
2219aae703 Bug 852420 - Suppress NeededToWrapXUL warning for generated content, r=bz
--HG--
extra : rebase_source : e6aa39b0e7ea7faa3c95cd5a4fd5f87058441c16
2013-04-24 13:08:17 +02:00
Boris Zbarsky
f75142b01d Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
1b68038a46 Bug 864727 part 3. Pass a handle for the parent object to WebIDL dictionary ToObject. r=ms2ger 2013-04-25 12:29:53 -04:00
Nicolas Silva
3f8a7bbc88 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Daniel Holbert
24638b7b2a Bug 865503: Simplify logic (and remove else-after-return) in nsTableFrame::AncestorsHaveStyleHeight. r=mats 2013-04-25 09:03:34 -07:00
Daniel Holbert
d3e0a23853 Bug 865477: Use Maybe<> instead of nsAutoPtr<> for lazily-constructed nsHTMLReflowState in nsBlockFrame::Reflow(). r=bz 2013-04-25 09:03:28 -07:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Ms2ger
229df37509 Merge m-c to m-i. 2013-04-26 12:32:27 +02:00
Mats Palmgren
e0d53a21be Bug 861643 - nsFirstLineFrame continuations should fixup its style context in Init instead of Reflow. r=bzbarsky 2013-04-26 10:49:07 +02:00
Boris Zbarsky
e3ccbbb148 Bug 753453. Add a way for us to pass a high-res timestamp to requestAnimationFrame callbacks. r=roc 2013-04-25 11:13:21 -04:00
Boris Zbarsky
7e95d4e275 Bug 799816. Try to not have preload sheets (or other unreferenced sheets) hanging out in our mCompleteSheets hashtable. r=dbaron 2013-04-24 14:59:14 -04:00
Mats Palmgren
56fbd10567 Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn 2013-04-24 18:17:55 +02:00
Ryan VanderMeulen
cda9e3facf Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Scott Johnson
2995ec3fd9 Bug 857324: Make column set reflow continue without balancing rather than restarting if computed height is exceeded. [r=mats] 2013-04-24 10:02:36 -05:00
Armen Zambrano Gasparnian
53529c6f96 Bug 864788 - Add fuzzing to test 784573-1.html. DONTBUILD r=ajones 2013-04-24 09:48:53 -04:00
Nicolas Silva
8e84adc98a Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Nicolas Silva
b18dc950c7 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Cykesiopka
ad08e18549 Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz 2013-04-24 08:36:09 -04:00
Jonathan Watt
847ab900be Bug 864772 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead. r=mattwoodrow 2013-04-24 10:13:28 +01:00
Jonathan Watt
fd6e233f6d Bug 864771 - Stop calling nsSVGUtils::InvalidateBounds in DoApplyRenderingChangeToTree, and use DLBI instead. r=mattwoodrow 2013-04-24 10:13:28 +01:00
Jonathan Watt
59c7f200e6 Bug 864770 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGEffects code, and use DLBI instead. r=mattwoodrow 2013-04-24 10:13:28 +01:00
Robert O'Callahan
80bc58886e Bug 860524. Remove hacky (and buggy) pseudo-destruction of DisplayItemClips created by GetCurrentClip; ensure that they're all destroyed properly when the arena goes away, by tracking them explicitly in nsDisplayListBuilder. r=mattwoodrow
--HG--
extra : rebase_source : f5d572ed37255b9036ce2678645788768e0a52ae
2013-04-15 17:11:10 +12:00
David Zbarsky
e7c500d80d Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Masayuki Nakano
5ac1254cb7 Bug 857820 part.4 Remove debug flag for blink r=dbaron 2013-04-24 12:07:25 +09:00
Ryan VanderMeulen
3ca8177657 Backed out changeset f31e6ad99dfe (bug 857324) for Android reftest-3 failures.
CLOSED TREE
2013-04-23 21:10:48 -04:00
Cameron McCormack
aaf136988e Bug 864000 - Document nsSVGTextFrame2::mPositioningDirty better. (DONTBUILD) rs=jwatt 2013-04-26 09:05:34 +10:00
Seth Fowler
fc1f2d175b Bug 859377 (Part 2) - Make SVGImageContext more flexible. r=dholbert
--HG--
extra : rebase_source : 79a4380691426c128f334ba066167a5c5b8ee801
2013-04-25 15:58:27 -07:00
Joe Drew
730ac999c6 Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00
Jonathan Watt
2527fad3e7 Bug 864832 - Get rid of the majority of the remaining nsSVGUtils::InvalidateBounds calls, except for those related to transforms and nsSVGTextFrame2. r=mattwoodrow 2013-04-25 10:18:42 +01:00
Scott Johnson
eabfc6a062 Bug 857324: Make column set reflow continue without balancing rather than restarting if computed height is exceeded. [r=mats] 2013-04-23 15:46:08 -05:00
John Schoenick
156b1d3e6b Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
John Schoenick
cf03f20461 Bug 854082 - Restore SetFrame(null) call to avoid instance owners pointing to dead frames. r=bsmedberg 2013-04-23 13:21:27 -07:00
Daniel Holbert
526f7df6e4 Bug 862947: Use cb height instead of width for vertical margins & padding on flex items, even when they're a reflow root (e.g. for measuring reflow states). r=mats 2013-04-23 09:01:34 -07:00
Jonathan Watt
c96abddad3 Bug 863634 - Update the position of the thumb for <input type=range> when script uses .value, .valueAsNumber, .stepUp() or .stepDown(). r=mounir 2013-04-23 15:04:28 +01:00
Brandon Waterloo
cd040643ae Bug 862117 - Move CSS rule classes relevant to image documents for cursor appearance (zoom in / zoom out) into layout/style/ImageDocument.css. r=roc, r=jaws
This stylesheet applies to all ImageDocuments, including those in frames. In old location for CSS rules, some full themes would not show cursors correctly, nor would ImageDocuments in frames. Image rotation CSS rule classes moved to layout/style/TopLevelImageDocument.css.
2013-04-21 18:29:14 -04:00
Mats Palmgren
6c2ebcbbff Bug 855898 - Limit ProcessChildren recursion depth to avoid exhausting stack space and crashing. r=bzbarsky 2013-04-23 13:37:18 +02:00
Mats Palmgren
823348cd07 Bug 858459 - Ignore clicks that have no target content or frame to avoid dispatching it to the document that the pres shell otherwise does. r=smaug 2013-04-23 13:37:18 +02:00
Mats Palmgren
f38aa5d9f9 Bug 730441 - Fix null-pointer crash in nsTreeContentView::SetTree(). r=tnikkel 2013-04-23 00:52:22 -05:00
Mats Palmgren
a79c716eb5 Bug 730441 - Fix null-pointer crash in nsTreeColumns::RestoreNaturalOrder(). r=tnikkel 2013-04-23 00:52:20 -05:00
Simon Montagu
8bfd310a04 Fix document.dir getters and setters to (a) work and (b) conform to HTML5. Bug 151407, r=ehsan 2013-04-14 05:37:48 -07:00
Daniel Holbert
de9fb4b8a8 Bug 864579: Drop unnecessary const-removing casts from CalcQuirkContainingBlockHeight. r=heycam 2013-04-22 19:41:19 -07:00
Cameron McCormack
b4a081d30f Bug 864289 - Rename nsLineLayout::GetLineContainer(Frame|RS) to LineContainer\1. r=dholbert 2013-04-23 11:45:26 +10:00
Ehsan Akhgari
34e21f4536 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
John Schoenick
cb724a84c5 Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
Ehsan Akhgari
f03533b4a7 Bug 864091 - Part 2: Add the Blink Dynamics Compressor implementation to the build system; r=padenot,glandium 2013-04-20 23:12:00 -04:00
Ehsan Akhgari
5394b1f9c1 Backed out changeset 86959499a5b8 (bug 856079) because of build bustage 2013-04-22 17:44:12 -04:00
Nicolas Silva
a9c99fbd1c Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-22 18:41:29 -04:00
Nicolas Silva
e4c0f3bbfd Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Robert Longson
aba44bb4c7 Reftest for Bug 861188 r=dholbert 2013-04-22 21:35:15 +01:00
John Schoenick
a4e365d0c5 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
John Schoenick
7a72c0cee4 Bug 854082 - Restore SetFrame(null) call to avoid instance owners pointing to dead frames. r=bsmedberg 2013-04-22 13:20:58 -07:00
Ryan VanderMeulen
4272b0bfcf Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
b00da928b1 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Ms2ger
7c1ae1ff7c Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
848f17a98e Bug 861880 - Move TreeColumns to WebIDL; r=bz 2013-04-21 08:42:26 +02:00
Ryan VanderMeulen
b6cd03fcbb Backed out changeset 4a55715677d7 (bug 856807) for intermittent Linux32 reftest-ipc timeouts. 2013-04-19 11:17:21 -04:00
Ed Morley
c05f10b133 Backed out changeset dc2ced1dd175 (bug 860524) for reftest failures 2013-04-19 13:51:24 +01:00
Robert O'Callahan
a7a41f0415 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Robert O'Callahan
1c7352a936 Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow 2013-04-20 00:01:41 +12:00
Robert O'Callahan
0d7b3992fc Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Robert O'Callahan
7bd1081c33 Bug 860524. Remove hacky (and buggy) pseudo-destruction of DisplayItemClips created by GetCurrentClip; ensure that they're all destroyed properly when the arena goes away, by tracking them explicitly in nsDisplayListBuilder. r=mattwoodrow 2013-04-15 17:11:10 +12:00
Robert O'Callahan
18d4a92c92 Bug 856807. Add apparently-pointless call to SetClipRect(nullptr) to avoid Android regression. r=mattwoodrow 2013-04-19 22:04:04 +12:00
David Zbarsky
a7a0e4962a [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 04:49:20 -04:00
John Daggett
585f7b78e0 Bug 761442 - additional reftests for space lookups. r=jkew 2013-04-19 17:23:09 +09:00
Jonathan Kew
cd962ebc09 bug 761442 - reftest for ligatures that span inter-word space. r=jdaggett 2013-01-08 13:56:05 +00:00
Matt Brubeck
cb941e9301 Back out cd218e07ede2, e57ac5581703, f53ad2a10ff8, ec91252c57d2, 2eca17711eff, 1997e63a1124 for build errors 2013-04-18 22:29:25 -07:00
David Zbarsky
0cc27eeace [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 00:48:02 -04:00
David Zbarsky
71065dac4f [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 00:48:02 -04:00
David Zbarsky
aea3ae61eb [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 00:48:01 -04:00
Mark Hammond
8c2f49ac2e Bug 824963 part 2 - Prevent flipping panels when panel is already oriented in the direction to be flipped. r=enn 2013-04-19 10:47:27 +10:00
Neil Deakin
ef1d8a4928 Bug 824963 part 1 - Rework arrow positioning and alignment code for arrow panels to be simpler, using the actual anchor/alignment position rather than guessing this from the coordinates, fix centred positioning in rtl, r=neil 2013-04-19 10:47:27 +10:00
Daniel Holbert
205526a0ce Bug 858332: Make flex items pseudo-stacking contexts, per recent spec change. r=mats 2013-04-18 09:51:18 -07:00
Ben Kelly
4e0ea91f2c Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck 2013-04-18 10:32:25 -04:00
L. David Baron
611d0a66d9 Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-18 10:32:25 -04:00
Andrea Marchesini
3ccc4043ba Bug 855412 - Change the signature of NS_NewSVGRect to not use the outparam. r=Ms2ger 2013-04-18 07:40:09 -04:00
Boris Zbarsky
d01105b5e7 Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert 2013-04-18 01:21:46 -04:00
Matt Woodrow
6c8d4da7e9 Backout d6b34be6fb4c for causing reftest failures on a CLOSED TREE 2013-04-18 14:21:25 +12:00
Matt Woodrow
2d03d9dce6 Bug 837335 - Don't build an nsDisplayTransform for nsSVGPathGeometryFrame if the transform is only a translation. r=jwatt 2013-04-18 12:42:08 +12:00
Matt Woodrow
4bd54b5a6f Bug 852850 - Add a reftest to make sure images hoisted into their own layers aren't painted. r=joe 2013-03-20 14:52:43 +13:00
Matt Woodrow
81290dd2ba Bug 852850 - Add the ability for the reftest framework to test whether an element is painted in invalidation tests. r=roc 2013-03-25 13:42:27 -04:00
Daniel Holbert
6ad32cb40a backout 8e0af273404e (Bug 847279) for android M-8 orange 2013-04-17 17:13:02 -07:00
Daniel Holbert
52802eaf5f backout b1096811620f (Bug 847279) for android M-8 orange 2013-04-17 17:12:10 -07:00
Karl Tomlinson
00d08712bc b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange
--HG--
extra : transplant_source : _%BA%CE%F1A%B7%40N%14VMZ%1D%2C%98Lg%40%F7%AF
2013-04-18 12:05:10 +12:00
Karl Tomlinson
f7b1067a92 b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc
--HG--
extra : transplant_source : %17Wc%17%5B%CF%A9n%C6%0BE%3Ez%21%CD%C6Q%20%10%26
2013-04-18 12:03:51 +12:00
Karl Tomlinson
c4d4e0b091 b=767710 move current motion calculation into InitSmoothScroll() r=roc
--HG--
extra : transplant_source : %E2%DCQu%13RdE%E9%3A%B3%B5L%21%8A3%3C%5D4%3F
2013-04-18 12:03:29 +12:00
Ben Kelly
68002a88f5 Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck 2013-04-17 18:00:14 -04:00
L. David Baron
b525977bdc Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-17 18:00:14 -04:00
Robert Longson
e1fbe2a9a9 Bug 862817 - Fix animateMotion on foreignObject elements. r=dholbert 2013-04-17 21:28:59 +01:00
Mats Palmgren
fb33a3d3b3 Bug 762332 - Make the "EnsureTextRun should have set font size inflation" assertion non-fatal for now so it doesn't block fuzzing. r=sjohnson 2013-04-17 22:16:15 +02:00
Mats Palmgren
5027d39d5d Bug 862185 - Remove child frame members which may become stale and add accessors to get them from the child list instead. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
9c02ab8b6e Bug 862185 - Make nsFieldSetFrame reflow and paint overflow container children. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
5395296c47 Bug 859088 - Left/Right Arrow key after selection should move to the beginning/end of selection respectively (on all platforms). r=ehsan 2013-04-17 22:16:14 +02:00
Mats Palmgren
c538e42a6e Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
365ab3e273 Bug 701504 - Null out all BidiParagraphData::mPrevFrame when starting a new block. r=smontagu 2013-04-17 22:16:14 +02:00
Mats Palmgren
b7156e09ed Bug 844549 - Backout the test for bug 395609 since it refers to external resources (http://google.com/). r=test-only 2013-04-17 22:16:14 +02:00
Gregory Szorc
1711730360 Bug 862809 - Add mach reftest-ipc and mach crashtest-ipc; r=bz
DONTBUILD (NPOTB)
2013-04-17 12:06:36 -07:00
Frédéric Wang
d55876613a Bug 717546 - Add reftest. r=karlt 2013-04-17 07:47:09 -04:00
Frédéric Wang
7c79da9ab8 Bug 717546 - Partial support for negative mspace@width. r=karlt 2013-04-17 07:47:09 -04:00
Robert O'Callahan
6568460205 Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow
--HG--
extra : rebase_source : c4d05d33fdc6b2bcc99437808f78ada8770f9263
2013-04-16 18:14:56 +12:00
Robert O'Callahan
aa0d81c091 Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow
--HG--
extra : rebase_source : 731dfa20fa0fda1feb7ab582deced011ff9c25fc
2013-04-15 19:10:19 +12:00
Robert O'Callahan
332d038d07 Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal
--HG--
extra : rebase_source : 067c9577f797350274783d3c7cc682b5f74b998a
2013-04-09 12:05:12 +12:00
Catalin Iacob
7466a58762 Bug 847790 - Make nsTreeContentView::mRows an nsTArray<nsAutoPtr<Row> >. r=bz.
--HG--
extra : rebase_source : 47255c0d85c68f638f4310126b94b27b69289f47
2013-04-15 16:14:43 -07:00
Matt Woodrow
0b2d2c65a4 Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Cameron McCormack
eb98cff2f3 Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited values. r=longsonr 2013-04-16 16:43:28 +10:00
Jonathan Watt
4d5a993f2a Bug 862518 - Make sure the thumb of <input type=range> with fractional values is drawn at the correct position with Cocoa native theming. r=roc 2013-04-17 00:50:26 +01:00
Cameron McCormack
fb71ffd4ce Bug 842224 - Make getCharNumAtPosition (a) return addressable character indices, and (b) heed full page zoom. r=longsonr 2013-04-17 09:18:24 +10:00
Scott Johnson
e6eb9703bc Bug 836565, Part 1: Make pinch gestures perform reflow-on-zoom operations only once to improve performance. [r=kats] 2013-04-16 16:29:04 -05:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Cameron McCormack
769bd44ad9 No bug - Minor comment tweak. (DONTBUILD) 2013-04-20 21:24:34 +10:00
David Zbarsky
5826da3d17 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
1cc79b4d68 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
a0911f7978 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
ae1021f785 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 18:18:32 -04:00
Daniel Holbert
62f493f674 Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz 2013-04-16 08:33:41 -07:00
Masatoshi Kimura
e8e3de45e1 Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen 2013-04-16 21:19:29 +09:00
Scott Johnson
3879b1bba6 Bug 861182: Pull knownFeasibleHeight and knownInfeasibleHeight into ReflowConfig so they can be used outside of nsColumnSetFrame::Reflow(). [r=roc] 2013-04-16 07:52:51 -05:00
Scott Johnson
e031980f73 Bug 861181: Separate interface from implementation for nsColumnSetFrame. [r=roc] 2013-04-16 07:52:49 -05:00
Ryan VanderMeulen
031c884a96 Merge m-c to inbound. 2013-04-16 08:05:10 -04:00
Ms2ger
4546c52c30 Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE. 2013-04-16 11:40:41 +02:00
Cameron McCormack
c309f38e81 Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE) 2013-04-16 18:28:21 +10:00
Cameron McCormack
42cfdf16bf Backout 64abee9b00f1 (bug 841363) for suspected test_bug375003-1.html failure. (CLOSED TREE) 2013-04-16 17:23:46 +10:00
Cameron McCormack
e7dadc8ca0 Bug 862154 - Fix paint-order-02.svg to work with svg.text.css-frames.enabled=true. r=longsonr 2013-04-16 16:43:29 +10:00
Cameron McCormack
cd8836d173 Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited implied values. r=longsonr 2013-04-16 16:43:28 +10:00
Ryan VanderMeulen
7191e9eb4c Merge m-c to birch. 2013-04-15 21:53:13 -04:00
Michael Wu
4914177dc1 Bug 840315 - Change default serif and sans serif fonts on gonk, r=jfkthame a=blocking-leo 2013-04-15 23:00:08 +02:00
Cameron McCormack
5a7bc3047e Bug 843917 - Test. 2013-04-15 19:50:57 +10:00
Chris Lord
1f8698bb32 Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Chris Lord
54272cbda0 Bug 856932 - Fix fixed margins on position:fixed hierarchies. r=roc
Make sure that fixed margins aren't applied to auto-positioned frames, unless
their containing block is the primary frame of the body element.
2013-04-15 09:31:45 +01:00
Cameron McCormack
1445eb2a89 Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt 2013-04-15 17:16:07 +10:00
Matt Woodrow
af4c662a21 Bug 859630 - Use the PresContext's document in FindContentInDocument when the frame doesn't have an associated nsIContent. r=roc 2013-04-15 18:55:36 +12:00
Matt Woodrow
ad7e9c1f00 Bug 859526 - Null check parent frames when wrapping preserve-3d display lists. r=roc 2013-04-15 18:55:34 +12:00
Matt Woodrow
637d715713 Bug 861042 - Manually invalidate frames with both opacity and svg effects, as this isn't caught by DLBI. r=roc 2013-04-15 18:55:32 +12:00
Matt Woodrow
718e9e6204 Bug 857817 - Make AreLayerMarkedActive aware of preserve-3d transformed frames. r=roc 2013-04-15 18:55:29 +12:00
Jonathan Watt
b467ddc5c9 Bug 859139 - Allow <input type=range> to keep its native styling when authors set its padding. r=mounir 2013-04-15 06:03:57 +01:00
Jonathan Watt
c402225cbc Bug 860701 - Check for error in nsRangeFrame::GetValueAtEventPoint so that we don't change the value of <input type=range> when we can't convert an event to a valid point. r=me 2013-04-15 06:01:38 +01:00
Ralph Giles
2d5bfa7015 Bug 860338 - Remove MOZ_WEBVTT. r=khuey, r=ted
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Gijs Kruitbosch
77a8ea38e7 Bug 125082 - use GetChildren in inDOMUtils and inDeepTreeWalker to get native anonymous content, too. r=roc 2013-04-14 11:47:31 -07:00
David Zbarsky
8aa282388a Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
Masayuki Nakano
c8e059b44d Bug 857820 part.1 Drop blink effect implementation r=dbaron 2013-04-14 19:11:07 +09:00
Robert Longson
a84db0dfe3 Bug 861188 - Fix empty transforms on svg elements. r=dholbert 2013-04-14 08:17:36 +01:00
Phil Ringnalda
d5678418dc Back out f21835504604 (bug 860338) for build bustage
CLOSED TREE
2013-04-13 19:09:05 -07:00
Ralph Giles
62fe9d4041 Bug 860338 - remove MOZ_WEBVTT. r=ted
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.

The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Nathan Froyd
642de80850 Bug 860457 - use uintptr_t instead of unsigned long in celldata.h; r=dholbert 2013-04-10 12:56:22 -04:00
Cameron McCormack
6ea8368c33 Bug 839956 - Size and position text decorations on SVG text correctly when a font size scale factor is in effect. r=roc 2013-04-13 13:16:22 +10:00
Ralph Giles
d0df74d728 Backed out changeset d757eeebcc43. r=bustage CLOSED TREE
Philor suggests I need to clobber.
2013-04-12 15:42:24 -07:00
Ralph Giles
8f8bcd84e1 Bug 860338 - remove MOZ_WEBVTT. r=ted
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.

The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Guilherme Gonçalves
174c750d96 Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz 2013-04-12 13:01:29 -07:00
Seth Fowler
91301400e2 Bug 853774 - nsBulletFrame should handle its requests more safely. r=tn
--HG--
extra : rebase_source : cdbf51bcb02cf7b072881e0bc9425fd64ebe3015
2013-04-12 10:05:57 -07:00
Mats Palmgren
ba1889d131 Bug 856368 - Convert some comments into proper doc-comments. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
0ce1179320 Bug 856368 - Inline the AllocateBy* and FreeBy* methods into the header. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
75bb4ed6a0 Bug 856368 - Adjust memory reporter SizeOf methods accordingly. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
1e9bd59184 Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
702d0070af Bug 856368 - Remove DEBUG_TRACEMALLOC_PRESARENA. r=roc 2013-04-15 22:00:06 +02:00
Honza Bambas
e7a737bf35 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Jonathan Watt
0c743dcdbd Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc 2013-04-15 13:30:28 +01:00
Robert O'Callahan
33c813e43e Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow 2013-04-15 19:10:19 +12:00
Robert O'Callahan
23011589ce Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow 2013-04-16 18:14:56 +12:00
Robert O'Callahan
43e893e908 Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal 2013-04-09 12:05:12 +12:00
Robert O'Callahan
bc7d984a44 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Boris Zbarsky
5df1da36da Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05:00
Cameron McCormack
7b7c156b74 Bug 860653 - Make paint-order work on SVG text with layout.svg.css-frames.enabled. r=longsonr 2013-04-12 17:58:03 +10:00
Joshua Cranmer
c763b1352e Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats 2013-04-11 22:20:45 -05:00
Ryan VanderMeulen
e9c65dfa10 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Honza Bambas
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Daniel Holbert
f6f693826b Bug 851379, part 4: Fix InitOffsets logging code to display horizontal and vertical percent basis, instead of just a containing block width. r=mats 2013-04-11 07:51:58 -07:00
Daniel Holbert
54ba81be1d Bug 851379, part 3: Add reftest with percent-valued vertical margin & padding on flex items. r=mats 2013-04-11 07:51:55 -07:00
Daniel Holbert
89cfe76e42 Bug 851379 part 2: Make ComputeMargin, ComputePadding, and InitOffsets take a horizontal *and* vertical percent basis, so that we can resolve vertical margins and padding against containing block *height* in flex items. r=mats 2013-04-11 07:51:52 -07:00
Daniel Holbert
2e9d4d47f3 Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats 2013-04-11 07:49:53 -07:00
John Daggett
3671aea0ee Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew 2013-04-11 22:49:58 +09:00
Jonathan Kew
8ac82223b3 Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett 2013-01-08 14:38:48 +00:00
Jonathan Watt
466a857ecf Bug 859305 - Stop the browser app from panning the page when the user drags an <input type=range>'s thumb in the out-of-process case. r=smaug 2013-04-11 10:11:54 +01:00
Cameron McCormack
e7b3448f80 Bug 860370 - Undo functionality change from bug 848973. r=roc 2013-04-11 18:40:12 +10:00
Cameron McCormack
32a375aae4 Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr 2013-04-11 18:38:40 +10:00
Aryeh Gregor
f9e1831a55 Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Chris Lord
6b4df40a4f Bug 859749 - Fix building with --enable-dump-painting and --disable-debug. r=mattwoodrow
DisplayItemClip::ToString should be in a MOZ_DUMP_PAINTING #ifdef, rather than
a generic DEBUG #ifdef.
2013-04-10 10:55:00 +01:00
Cameron McCormack
1235a3318a Bug 839957 - Followup for review comment. 2013-04-10 23:04:28 +10:00
Cameron McCormack
1362a0afcf Bug 839956 - Choose SVG text font size scale factor without regard to devPixelsPerPx. r=longsonr 2013-04-10 22:58:56 +10:00
Cameron McCormack
b493ede929 Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr 2013-04-10 22:58:55 +10:00
Patrick Wang
6e519e5d55 Bug 847744: Part 1 - Create MmsService for content process. r=vicamo
--HG--
rename : dom/mobilemessage/src/SmsServicesFactory.h => dom/mobilemessage/src/android/MmsService.h
rename : dom/mobilemessage/src/SmsServicesFactory.h => dom/mobilemessage/src/fallback/MmsService.h
2013-04-10 20:18:32 +08:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Bas Schouten
d7b350faee Bug 859791 - Part 2: Set the recording output file before the recording flag. r=jrmuizel 2013-04-09 17:37:56 +00:00
Stephen Pohl
28ee11a080 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Andrea Marchesini
f2fd0928e5 Bug 851470 - Rename nsDOMAttribute to Attr. r=Ms2ger
--HG--
rename : content/base/src/nsDOMAttribute.cpp => content/base/src/Attr.cpp
rename : content/base/src/nsDOMAttribute.h => content/base/src/Attr.h
2013-04-09 17:29:44 +02:00
Robert O'Callahan
a7bc9f4f3c Bug 858803. Fix coordinate system of subdocument frame bounds. r=mattwoodrow
--HG--
extra : rebase_source : 3fd0436f141542dcf50f318a47670329c9c7a814
2013-04-10 00:30:51 +12:00
Robert O'Callahan
ce4c05def0 Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
--HG--
extra : rebase_source : 4aa4110d32db5f26192c0e4b6fa3185d1ed2c073
2013-03-21 15:44:37 +13:00
Cameron McCormack
9b2d903aae Bug 848973 - Make nsStyleDisplay::IsBlockInside() and friends work only on style structs for the passed in frame and document them. r=roc
--HG--
extra : rebase_source : a8559b62124bec058f2857d50cf7f65f176c3727
2013-04-07 09:40:07 +10:00
Ed Morley
97cde7dc7f Backed out changeset dc4066373f5a (bug 849399) for failures in test_bug451286.xul 2013-04-09 11:45:13 +01:00
Nicholas Cameron
6ab5a930f2 Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron 2013-04-09 21:09:11 +12:00
Simon Montagu
d5292afd50 The test for bidi isolated subparagraphs should be > 0, not > 1. Bug 859093, r=roc 2013-04-08 23:25:34 -07:00
Boris Zbarsky
76307e1b88 Back out Bug 810644 part 1 to fix b2g test_closeOnGC.html orange on CLOSED TREE 2013-04-08 22:56:06 -04:00
Masatoshi Kimura
98ede15b45 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Boris Zbarsky
2f07f521a5 Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05:00
Reuben Morais
b2f77af938 Bug 858837 - Clean Contacts/Permissions/Settings build config files. r=khuey r=gwagner
--HG--
extra : rebase_source : 15b1a3b477975a29c2ed36d288cf8e75fdfcbdc4
2013-04-05 16:12:31 -07:00
Ralph Giles
ad4c3beead Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Scott Johnson
b303b4dcb2 Bug 600100, Part 2: Force a vertical resize even if our available height hasn't changed in anonymous blocks of a column set so we don't crash. [r=mats] 2013-04-08 13:38:33 -05:00
aceman
b20aad1de4 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Trevor Saunders
8a324dc194 bug 856779 - remove nsFrameManager::Init() r=dholbert 2013-03-31 18:43:04 -04:00
Trevor Saunders
1e1929f0f1 bug 856779 - make nsStyleSet::Init() return void r=dholbert 2013-03-31 18:08:29 -04:00
Trevor Saunders
bbe54eccfc bug 856779 - kill NS_NewPresShell() r=bz 2013-03-31 16:39:27 -04:00
Masatoshi Kimura
2ca51c4f79 Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Ms2ger
046d6a22b7 No bug - Remove Windows line endings from layout/style/AnimationCommon.cpp. 2013-04-06 22:16:46 +02:00
David Creswick
736bab73e0 Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron 2013-04-06 12:38:56 -05:00
David Zbarsky
dd55a87c18 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
Seth Fowler
a635c53879 Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
--HG--
extra : rebase_source : 58e1b9169e5ca0b61066c04ebb587879458bd72f
2013-04-05 14:14:53 -07:00
Seth Fowler
030590cc40 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
--HG--
extra : rebase_source : 7abecbcfcda5666e6b23895dbf6cd42991044914
2013-04-05 14:14:37 -07:00
Scott Johnson
8a55c95bae Bug 520992, Followup 1: Simplify code in nsDOMComputedStyle for box-sizing adjustment for clarity. [r=me] 2013-04-04 13:54:05 -05:00
Daniel Holbert
7979ce802f Bug 858684: Remove HTTP(..) annotation from flexbox reftests (which only needed it for font access). r=billm 2013-04-05 12:52:30 -07:00
Nathan Froyd
e1b613b8ca Bug 858203 - mark more reftests as needs-focus; r=dholbert
1. Start headless X server.  Start basic window manager on it.
2. Run reftests with said X server.  Take note of failing tests.
3. Disable all reftests that need focus:

   find $topsrcdir -name '*.list' | xargs sed -i -e '/needs-focus/s/^/#/'

4. Make reftest.js:Focus never focus the window and always return true.
5. Start reftests with said X server again.  Once the tests begin
   running, start a xterm on the same X server.  The window manager will
   focus this xterm and will not return focus to the browser.
6. Compare now-failing tests with baseline.  Mark all such tests as
   needs-focus.

Comments on specific tests:

editor/reftests/
- spellcheck-input-ref.html and spellcheck-textarea-ref.html focus
  input elements and don't work right without the window having focus.
- spellcheck-hyphen-invalid-ref.html and
  spellcheck-hyphen-multiple-invalid-ref.html use @autofocus on
  textarea.
- 674212-spellcheck.html, 338427-2.html, and
  462758-grabbers-resizers.html all wait for onfocus for div elements.

layout/reftests/bugs/
- 652301-1b.html focuses a bogus element with an onfocus handler.

layout/reftests/selection/
- pseudo-element-of-native-anonymous-ref.html .select()s an <input>.
2013-04-04 15:02:30 -04:00
Nathan Froyd
4bb26ad35c Backout 5820d44601c1 (bug 520992) for build bustage 2013-04-05 11:52:59 -04:00
Scott Johnson
9aae247ee2 Bug 520992, Followup 1: Simplify code in nsDOMComputedStyle for box-sizing adjustment for clarity. [r=me] 2013-04-04 13:54:05 -05:00
Chris Lord
4dab434b85 Bug 854099 - Make nsPresShell::ScrollToShowRect take fixed position margins into account. r=roc
When fixed position margins are set, it indicates that chrome obscures the
viewport. Inflate the target rect by these margins when calling
ScrollToShowRect on the root scrollable frame.
2013-04-05 14:34:56 +01:00
Robert O'Callahan
4a4175f287 Bug 841192. Part 16: Take plugin's own clipping into account when computing the region for its window. Make SortByContentOrder handle cases where display items in the same list come from different documents. r=mattwoodrow
--HG--
extra : rebase_source : f39deb6250c7aef71d6cd3a62df43785a3bfc7b1
2013-04-05 21:30:34 +13:00
Robert O'Callahan
865de96db7 Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
04e9887192 Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
29cfc08a5b Bug 841192. Part 13: Rename nsFrame::ApplyOverflowClipping to ShouldApplyOverflowClipping. r=mattwoodrow
We rename nsFrame::ApplyOverflowClipping to nsFrame::ShouldApplyOverflowClipping
to reflect the fact that it doesn't cause any clipping.

--HG--
extra : rebase_source : d3bd1ef902276526b37b27c510a8d3a9db6416dc
2013-03-07 00:08:16 +13:00
Robert O'Callahan
1b7bdb4a2b Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow
--HG--
extra : rebase_source : aa0ad96c363b70895b068a6d4805f9164cc03b27
2013-03-07 00:08:15 +13:00
Robert O'Callahan
95b09ae9cb Bug 841192. Part 11: Make nsDisplayOptionEventGrabber be a non-anonymous display item list wrapper. r=mattwoodrow
--HG--
extra : rebase_source : c77c6d8a9385683a5659439793f397be959b277c
2013-03-07 00:08:14 +13:00
Robert O'Callahan
5566aa4cce Bug 841192. Part 10: Add extra APIs to DisplayListClipState to constrain the current clip, and an Auto class for safe saving and restoring. r=mattwoodrow
--HG--
extra : rebase_source : 4ec25ababe17ac4b828a9b0a00457fe9d00b560a
2013-03-07 00:08:13 +13:00
Robert O'Callahan
4934cd57c4 Bug 841192. Part 9: Add extra APIs to DisplayItemClip to set the current state, intersect with another DisplayItemClip, test intersection with a rect, translate, and provide easy access to a DisplayItemClip object which doesn't clip anything. r=mattwoodrow
--HG--
extra : rebase_source : 94b03b7d828c9044ac6ebbeaf51f9f0b4bde1ce2
2013-03-07 00:08:11 +13:00
Robert O'Callahan
e5cb7ecc6e Bug 841192. Part 8: On encountering out-of-flow frames during display list construction, save their clip rect as well as their dirty rect for later use when we traverse the placeholder. r=mattwoodrow
--HG--
extra : rebase_source : 3a41e2eb4940f1ae7c0748f27211a7d0cf7ad638
2013-03-04 22:56:02 +13:00
Robert O'Callahan
bc53bd4e00 Bug 841192. Part 7: Move child->MarkAbsoluteFramesForDisplayList call down. r=mattwoodrow
--HG--
extra : rebase_source : 5d558cfe2850ece79fedc27cd5b6a6d4bf6f7cb3
2013-03-04 22:56:01 +13:00
Robert O'Callahan
0d562762b5 Bug 841192. Part 6: Save and restore DisplayListClipState when we start building display lists for a frame. r=mattwoodrow
--HG--
extra : rebase_source : 9c9cb95acfb4d802ecf045e6d4c30811af647218
2013-03-04 22:56:01 +13:00
Robert O'Callahan
92f7c062ff Bug 841192. Part 5: Add "current DisplayListClipState" to nsDisplayListBuilder. r=mattwoodrow
--HG--
extra : rebase_source : e8f99c3f0e6f9d516bfbed189ee42ad16cb8a6ee
2013-03-04 22:56:01 +13:00
Robert O'Callahan
2a890de2cb Bug 841192. Part 4: Create DisplayListClipState. r=mattwoodrow
--HG--
extra : rebase_source : 90eb025d01cec4d3e52473ebc27ae411f42c0439
2013-03-04 22:56:00 +13:00
Robert O'Callahan
ddb47c1cef Bug 841192. Part 3: Make DisplayItemClip members private and encapsulate them in a real API. r=mattwoodrow
--HG--
extra : rebase_source : d6076e123603de9a1c48681f527719cd41b09883
2013-03-04 22:56:00 +13:00
Robert O'Callahan
8d47c65ff4 Bug 841192. Part 2: Move FrameLayerBuilder::Clip to DisplayItemClip. r=mattwoodrow
--HG--
extra : rebase_source : 2950e5dd64e217a406ede2dc9f6682b5e0540975
2013-03-04 22:55:59 +13:00
Robert O'Callahan
6709e4eafc Bug 841192. Part 1: Make <frame> elements behave more like <iframe>s, in particular supporting padding and borders (but not border-radius). r=mats
--HG--
extra : rebase_source : b49a430b7a54bc0579f4f109afa001634a2b8930
2013-04-03 00:03:03 +13:00
Ryan VanderMeulen
8a2621fb4d Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083. 2013-04-05 07:55:25 -04:00
David Zbarsky
76ad7e5429 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Ms2ger
d73b4fb2c0 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Anthony Jones
9e329a687d Backout 8a6cacf047a1 (bug 833795) to fix bug 856083 2013-04-05 18:19:08 +13:00
Phil Ringnalda
171a6dc234 Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
Nicholas Cameron
b2e31373d7 Bug 856272; don't round our mask size too early so we get a proper transform for small surfaces. r=roc 2013-04-05 16:16:38 +13:00
Seth Fowler
605c0911f3 Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-04-04 19:06:42 -07:00
Seth Fowler
abbdbad515 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-04-04 19:06:42 -07:00
Matt Brubeck
87b1f4184c Back out 795e9ec338a7 (bug 856272) because of test failures 2013-04-04 17:40:16 -07:00
Nicholas Cameron
1e69a37e3a Bug 856272; don't round our mask size too early so we get a proper transform for small surfaces. r=roc 2013-04-05 12:42:14 +13:00
Scott Johnson
0ba930f4d9 Bug 520992: Adjust computed width and height before returning to account for box-sizing. [r=bz] 2013-04-04 09:00:07 -05:00
Ms2ger
a1093b2662 Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
4f80fe5028 Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir 2013-04-04 09:04:29 +02:00
Ms2ger
3ab3b93918 Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLSelectElement.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLSelectElement.h
2013-04-04 09:03:33 +02:00
Eitan Isaacson
2ed120291b Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Eitan Isaacson
9f20c3d7e5 Bug 856370 - Add a Makefile.in in webspeech/recognition and remove webspeech top-level VPATH. r=smaug
--HG--
rename : content/media/webspeech/Makefile.in => content/media/webspeech/recognition/Makefile.in
rename : content/media/webspeech/moz.build => content/media/webspeech/recognition/moz.build
2013-04-03 15:13:16 -07:00
Mounir Lamouri
5553219052 Bug 701353 - Tests that <label> actually activates <input type='file'>. r=smaug 2013-04-03 17:06:19 +01:00
Jonathan Watt
0bcbb8475c Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc 2013-04-03 11:07:12 +01:00
John Daggett
118ccf59eb Bug 856402 - null-check the result of GetParentStyleSheet. r=dbaron 2013-04-03 15:13:17 +09:00
Robert O'Callahan
d9afc6d714 Backout bug 851445 for test failure
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
37411c9523 Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats 2013-03-21 15:44:37 +13:00
Seth Fowler
4aca9d64d3 Bug 811403 Followup - Disable inequality test on platforms with scrollbars to fix Android reftest failures on a CLOSED TREE.
--HG--
extra : amend_source : bc2b5cf8633a7702e40d5f475fda54e1d10b849f
2013-04-01 19:39:01 -07:00
Trevor Saunders
10fef398ec bug 856794 - don't check the return value of nsTArray::EnsureLengthAtLeast() r=heycam 2013-04-01 16:54:20 -04:00
Cameron McCormack
30b5ba2337 Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron 2013-04-02 12:45:48 +11:00
Seth Fowler
5836f7f66e Bug 811403 (Part 2) - Tests for viewport unit interactions with overflow values of scroll and auto. r=dbaron 2013-04-01 17:03:00 -07:00
Seth Fowler
c1cfdfcbc1 Bug 811403 (Part 1) - Take scrollbars into account for viewport units if 'overflow: scroll' is set. r=dbaron 2013-04-01 17:02:57 -07:00
Trevor Saunders
0d9ec37b4c bug 856705 - fix layout/style/ SwapElements() callers to not look at the return value r=bz 2013-04-01 13:46:26 -04:00
Mounir Lamouri
a42dcdd17f Bug 857536 - Cleanup the CSS properties applied on <input type='file'> from forms.css. r=bz 2013-04-04 10:39:29 +01:00
Matt Woodrow
9ec5ac5231 Bug 855233 - Recreate mask layers if the ContainerParameters offset changes. r=nrc 2013-04-04 15:59:24 +13:00
Mats Palmgren
552f1d7d77 Bug 856243 - Add missing do_QueryFrame support and fix typo that caused most MathML frames to not QueryFrame to nsIMathMLFrame. Add static assertions to prevent those kinds of errors in the future. r=dholbert 2013-04-04 01:35:07 +02:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Mats Palmgren
4b6d7d9fb1 Backout 5104a8653170 (bug 856243). r=me 2013-04-01 19:10:37 +02:00
Mats Palmgren
ae760b12d2 Bug 856243 - Add missing do_QueryFrame support. r=dholbert 2013-04-01 18:45:19 +02:00
Mats Palmgren
9ce2e2126a Bug 855920 - Remove unused nsDisplayTransform ctor. r=roc 2013-04-01 18:45:18 +02:00
Mats Palmgren
7fa166a5f5 Bug 729519 - Allocate heap nsFrameLists from the shell arena. r=bzbarsky
"new nsFrameList()" becomes "new (shell) nsFrameList()".
"delete list" becomes "if (list) list->Delete(shell)" - note also that
an additional assertion was added that list is empty when deleted.

"nsAutoPtr<nsFrameList> list(StealSomeFrames())" becomes
"AutoFrameListPtr list(aPresContext, StealSomeFrames())"
2013-04-01 17:26:02 +02:00
Mats Palmgren
46cbb9a249 Bug 729519 - Make frames destroy all child frames and remove their nsFrameList properties when destroyed. r=bzbarsky
Specifically, this wasn't done for the OutsideBullet list which was
destroyed by the property destructor, potentially after the entire
frame tree was gone.  Now we'll assert that the property destructor
isn't called.

Use SafelyDestroyFrameListProp when destroying PushedFloat and
OverflowOutOfFlows frame lists since it's more robust.

Destroy [Excess]OverflowContainers frame lists if they exist, regardless
of the IsFrameOfType(nsIFrame::eCanContainOverflowContainers) bit
(since the oveflow continuation tracker doesn't check that before
creating these lists -- this was the source of crash bugs before
that bit was added to ColumnSetFrame).

Assert in SetPropTableFrames that the property doesn't exist, because
if it does the property destructor will run, which isn't supported.
2013-04-01 17:26:02 +02:00
Mats Palmgren
b6a1543603 Bug 729519 - Allocate nsFrameList::sEmptyList from the .rodata segment, not the heap. r=bzbarsky 2013-04-01 17:26:02 +02:00
Mats Palmgren
e1ff6321d4 Bug 729519 - Simplify DestroyOverflowList() by requiring that the list is empty. r=bzbarsky 2013-04-01 17:26:02 +02:00
Mats Palmgren
7bc994da9a Bug 729519 - Use SafelyDestroyFrameListProp also for the OverflowList. r=bzbarsky 2013-04-01 17:26:02 +02:00
Mats Palmgren
9ad6039de8 Bug 855917 - Minor nsAbsoluteContainingBlock code cleanup. r=dholbert 2013-04-01 17:26:01 +02:00
Robert Longson
424a479691 Bug 398825 - Implement selectSubString. r=heycam
--HG--
rename : content/svg/content/test/test_getSubStringLength.xhtml => content/svg/content/test/test_selectSubString.xhtml
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString.svg
2013-04-01 10:43:38 +01:00
L. David Baron
8c6ca20f7d Bug 855464: Optimize nsBlockReflowState::ClearFloats better, given that nsBlockFrame::WidthToClearPastFloats is somewhat expensive. r=dholbert
This fixes a performance issue that showed up in a profile of the b2g
contacts app (though it's not clear what percentage of the time it was
given the difficulty of understanding output of 'perf').
2013-03-31 00:50:29 -07:00
Felipe Gomes
04b26e63a2 Bug 850213 - Update nsHTMLInputElement to nsIContentPrefService2. r=smaug 2013-03-29 23:08:57 -03:00
Daniel Holbert
155415dd90 Bug 856199: Remove nsHTMLReflowState's no-longer-needed AutoRestore #include. r=dbaron 2013-03-29 18:34:17 -07:00
Daniel Holbert
e3480c76f6 Bug 785468: Compute flex container's baseline as-described in the spec. r=dbaron 2013-03-29 18:32:08 -07:00
Daniel Holbert
09babc8fb7 Bug 853946: Replace flex container's cached content-box cross-size and cached ascent with local variables in Reflow(). rs=Waldo 2013-03-29 18:32:03 -07:00
Bobby Holley
5ff368df12 Bug 856127 - Override the override. r=bz 2013-03-29 18:13:52 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00