Cameron McCormack
0306878c88
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
Ehsan Akhgari
4a8bc9fd25
Bug 579517 follow-up: Remove NSPR types that crept in
...
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Ryan VanderMeulen
4cc4e12e7d
Merge m-c to inbound.
2012-09-05 17:52:28 -04:00
Scott Johnson
3ea152f05b
Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron]
2012-09-05 16:39:34 -05:00
bdahl@mozilla.com
d060963e00
Bug 788639 - crash in GetPrintCanvasElementsInFrame @ mozilla::layout::FrameChildListIterator::FrameChildListIterator, r=smaug
2012-09-05 12:02:27 -07:00
Daniel Holbert
308b52b954
Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron
2012-09-05 14:13:37 -07:00
Daniel Holbert
bf35cd8c0f
Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron
2012-09-05 14:13:37 -07:00
Robert O'Callahan
33cd6a744c
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
...
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
03f9163b45
Bug 785588. Perform asynchronous scroll operations before firing requestAnimationFrame callbacks. r=tnikkel
...
--HG--
extra : rebase_source : 3c1439773981db4ea1b957db4351f50899229130
2012-09-05 22:29:15 +12:00
Brendan Dahl
4478101696
Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc
2012-08-30 17:24:35 -07:00
Boris Zbarsky
25a4faafba
Bug 787131. Move management of primary content state stuff from the nsSubDocumentFrame into the nsFrameLoader, so it works on display:none elements. r=jlebar
2012-09-04 23:00:26 -04:00
Daniel Holbert
c62fdc18d3
Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:11 -07:00
Daniel Holbert
bb17bc6aff
Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:10 -07:00
Mats Palmgren
6c30e7017e
Bug 785555. r=roc
2012-09-04 02:00:38 +02:00
Aryeh Gregor
33fe5589ca
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Josh Matthews
1346c0db1c
Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe
2012-06-26 00:20:12 -04:00
Ehsan Akhgari
6a5c1314cf
Bug 785720 - Move the MathML token frame leading/trailing whitespace trimming logic to nsTextFrame; r=roc
2012-08-30 21:32:02 -04:00
Masayuki Nakano
6f66e83933
Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug
2012-08-30 10:05:16 +09:00
Robert O'Callahan
359c775087
Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats
2012-08-29 23:21:40 +12:00
Jonathan Watt
f666091a49
Bug 786387 - Add comments to document the subtleties of nsFrame::Reflow and better document the main dirty frame bits. r=bz.
2012-08-29 09:01:09 +01:00
Daniel Holbert
c4f98e5f5b
Bug 786031: Add parens around "&&" within "||" in nsFrame.cpp to fix GCC -Wparentheses build warnings. r=heycam
2012-08-28 11:14:52 -07:00
Mats Palmgren
73f2e09d70
Bug 785324 - Return a FrameTarget with 'empty' flag set true when clicking on an empty block (also in the non-editable case). r=roc
2012-08-28 03:55:30 +02:00
Josh Matthews
1210ea94dd
Back out bug 722861.
2012-08-27 15:31:29 -04:00
Josh Matthews
17c6b7c738
Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe
2012-06-26 00:20:12 -04:00
Chris Pearce
d17baf9224
Bug 781279 - Forget update plugin geometry frame when presentation detaches. r=roc
2012-08-24 23:12:21 +12:00
Jonathan Kew
c835e9d8d0
bug 784837 - call SetPrimaryFrame earlier during nsSubDocumentFrame::Init. r=roc
2012-08-24 10:16:15 +01:00
Bobby Holley
f978d43865
Bug 784560 - Fix more tests. r=mccr8
2012-08-23 11:45:28 -07:00
Cameron McCormack
cd0de10329
Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc
2012-08-23 11:24:19 +10:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ehsan Akhgari
aba4cb5aa3
Bug 768503 follow-up: fix the comment to match what the code does now
...
DONTBUILD
2012-08-21 17:09:10 -04:00
Chris Pearce
d4b10d33f1
Bug 783824 - Don't stash the presentation (discard it if it was stashed) when subdoc frames are destroyed if the presentation is being destroyed. r=roc
2012-08-21 17:07:03 +12:00
David Zbarsky
3154e1b535
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
L. David Baron
021ed89c27
Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame
2012-08-20 19:23:32 -07:00
Nicolas Silva
75542595f3
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Masayuki Nakano
17d75f38f0
Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-20 01:46:21 +09:00
Charly Molter
0ca4358d6c
Bug 776265 - changing the way ComputeHeightValue works to make it work just
...
like ComputeWidthValue already does. this fixes {min,max}-height + adding
reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Ed Morley
ffb9a0ff15
Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903
2012-08-18 23:29:13 +01:00
Daniel Holbert
581e2c84d7
Bug 783700: Switch nsColumnSetFrame::BuildDisplayList() to use nsFrameList::Enumerator for walking its child frames. r=dbaron
2012-08-17 18:12:01 -07:00
Daniel Holbert
b4ee6bbbe0
Bug 781869: Remove redundant "NS_FRAME_NO_MOVE_VIEW" bit in a few places where it's already implied from NS_FRAME_NO_MOVE_FRAME. r=dbaron
2012-08-17 12:04:06 -07:00
Ehsan Akhgari
397df0d183
Bug 768503: Only disable selection on non-editable content. r=roc
2012-08-16 11:51:46 -04:00
Chris Pearce
7a4f588fcb
Bug 775965 - Store root pres context used to register plugins on nsObjectFrame. r=roc
2012-08-17 16:25:19 +12:00
Chris Pearce
469a28a015
Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc
2012-08-14 16:06:44 +12:00
Chris Pearce
d704c5b5a0
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Neil Deakin
6b29afdf4b
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Neil Deakin
e7d98cacc8
Bug 743975 - remove NS_DESTROY event, r=smaug
2012-08-15 14:52:41 -04:00
Ed Morley
31a0f2b067
Merge mozilla-central to mozilla-inbound
2012-08-15 19:00:48 +01:00
Ed Morley
83e4908d83
Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981
2012-08-15 18:10:55 +01:00
Ed Morley
d2370e45d2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-15 16:17:53 +01:00
Kyle Huey
0cc1845191
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
c95d073d8c
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Ehsan Akhgari
a09e69cee0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Kyle Huey
2e07e6f8c2
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Aryeh Gregor
a88ffe5c80
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Chris Pearce
51ae0d8f06
Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc
2012-08-14 17:39:11 +12:00
Chris Pearce
534ff03423
Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc
2012-08-14 16:06:44 +12:00
Chris Pearce
c0a35c0950
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Timothy Nikkel
2c8602f652
Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc
2012-08-13 21:59:44 -05:00
Chris Lord
906a062c5f
Bug 777260 - Fix invalidations on transform items in container layers. r=roc
...
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.
Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
1d01f06d4d
Bug 719320 part.11 Fix new test failures r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
6c70546f8f
Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug
2012-08-12 10:42:36 +09:00
Aryeh Gregor
8bb4aff89c
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Masayuki Nakano
181defb77f
Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-15 09:52:07 +09:00
Ed Morley
7e6bb0b90b
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
12edf877ff
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Jonathan Kew
f8bf0a585d
bug 769303 - precompute intrinsic width of floats. r=roc
2012-08-10 12:16:52 +01:00
Robert O'Callahan
9adec2a25b
Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
...
--HG--
extra : rebase_source : 0f6d4a64b2f3832deb2af1f9ae0d332db042e127
2012-08-09 23:17:40 +12:00
Robert O'Callahan
65cf9f8b41
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jonathan Watt
9625bcae6c
Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc.
2012-08-14 10:04:24 +01:00
Ed Morley
49e98d99b5
Backout f67014b40e1e (bug 780345) for failures intest_page_scroll_with_fixed_pos.html
2012-08-09 13:17:52 +01:00
Ed Morley
98aa4a8530
Merge mozilla-central to mozilla-inbound
2012-08-09 12:51:21 +01:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Cameron McCormack
a837430ab2
Bug 655877 - Part 40: Factor out 'distance from point to rect' calculation from text frame selection routine. r=roc
2012-08-08 21:37:14 +10:00
Cameron McCormack
e79a5f487d
Bug 655877 - Part 28: Paint SVG text frames using 'fill' not 'color'. r=roc
2012-08-08 21:37:13 +10:00
Cameron McCormack
444f2c079a
Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc
2012-08-08 21:37:13 +10:00
Cameron McCormack
a4823ad875
Bug 655877 - Part 26: Give nsTextFrames the ability to invoke callbacks after painting different parts of the text. r=roc
2012-08-08 21:37:12 +10:00
Robert O'Callahan
b79aff66a9
Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
2012-08-09 23:17:40 +12:00
Timothy Nikkel
58c508c1f3
Add crashtests from bug 460389 and bug 522170.
2012-08-07 13:25:39 -05:00
Chris Lord
e7e6823aa8
Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
...
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
Jan Varga
c1666d90e8
Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc
2012-08-06 20:27:04 -04:00
Daniel Holbert
3b5ea4311f
Bug 780728: Remove unused variable 'pixelRect' from nsDisplayCanvasBackground::Paint(). r=mattwoodrow
2012-08-06 14:55:41 -07:00
Aryeh Gregor
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Robert O'Callahan
0271a0df97
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
David Zbarsky
b5d5ebe56a
[Bug 780439] Kill off the remains of nsIBox r=roc
2012-08-05 23:00:57 -04:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
David Zbarsky
dca3fd6326
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Masayuki Nakano
82480ecdcd
Bug 780436 Union actual text-decoration rect to the overflow rect of floating first letter's child r=roc
2012-08-06 09:52:19 +09:00
Ed Morley
5be29bb8fd
Backout 6ea008b301da, 14d17919e235, b15fb3603bfe & f89ae41eed63 (bug 772679) for turning test_offsets.html perma-orange on native Android mochitest-7
2012-08-05 14:35:08 +01:00
Robert O'Callahan
cab8001bc3
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Cameron McCormack
7404892c56
Bug 655877 - Part 20: Make nsTextFrame QueryFrame-able. r=roc
2012-08-05 11:01:19 +10:00
Ms2ger
c75eefb90d
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Jonathan Kew
22fe279335
bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron
2012-08-04 19:52:21 +01:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
fbb42e3f19
Back out bug 772679 for crashes.
2012-08-04 15:10:45 +02:00
Robert O'Callahan
8066d0318d
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Ms2ger
97155ba331
Merge m-c to m-i.
2012-08-04 13:02:15 +02:00
Mike Hommey
03af8b0c50
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Ms2ger
27245512cd
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
7096160830
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Adam Dane [:hobophobe]
695e0c90c3
Bug 769791 - Optimize adding ranges to the end of mRanges in nsSelection. r=smaug
2012-07-24 15:25:36 -05:00
David Zbarsky
aaa7d5ced9
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
Vivien Nicolas
4d286d96ea
Bug 778810 - Show/Hide scrollbars depending on activity. r=roc
2012-08-03 12:35:14 +02:00
Vivien Nicolas
91b3ded062
Bug 777672 - [b2g] |body { overflow: hidden }| do not hide scrollbars. r=roc
2012-08-03 12:35:14 +02:00
Markus Stange
7c1162dd46
Bug 770453 - [b2g] Semi-transparent scroll bars should not occupy content-flow space. r=roc
2012-08-03 12:35:14 +02:00
Cameron McCormack
7670328c6c
Bug 655877 - Part 16: Treat all values of display other than 'none' as 'inline' in SVG text frames. r=roc
2012-08-02 21:38:51 +10:00
Cameron McCormack
5e22f14219
Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc
2012-08-02 21:38:50 +10:00
Cameron McCormack
d7e9a93257
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Cameron McCormack
8ca909c0ed
Bug 655877 - Part 13: Make :first-letter apply to <svg:text>. r=roc
2012-08-02 21:38:48 +10:00
Cameron McCormack
81bb83b657
Bug 655877 - Part 12: Ignore margins, borders and padding on SVG text frames. r=roc
2012-08-02 21:38:48 +10:00
Cameron McCormack
6b182261bf
Bug 655877 - Part 11: Ignore vertical-align and map dominant-baseline to vertical-align in SVG text frames. r=roc
2012-08-02 21:38:48 +10:00
Cameron McCormack
bd8a092ab9
Bug 655877 - Part 10: Ignore text-align and text-align-end in SVG text frames. r=roc
2012-08-02 21:38:47 +10:00
Cameron McCormack
65b97328f1
Bug 655877 - Part 9: Ignore word-spacing in SVG text frames. r=roc
2012-08-02 21:38:47 +10:00
Cameron McCormack
8d3613cdb5
Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc
2012-08-02 21:38:47 +10:00
Cameron McCormack
c3add3e8b2
Bug 655877 - Part 7: Add IsSVGText helper function to nsIFrame. r=roc
2012-08-02 21:38:46 +10:00
Cameron McCormack
ffe1f6393f
Bug 655877 - Part 3: Add a frame state bit and anonymous box pseudo for SVG text frames. r=roc
2012-08-02 21:38:46 +10:00
Scott Johnson
0874af4e32
Bug 779566: Remove code from nsColumnSetFrame that aligns RTL columns to the left of the frame. [r=roc]
2012-08-01 20:37:23 -05:00
Scott Johnson
5e2fa4e02d
Backed out changeset da35ab16d9fa to change commit message.
2012-08-01 20:35:01 -05:00
Scott Johnson
b5f724a892
Bug 779566: Remove code from nsColumnSetFrame that aligns RTL columns to the left of the frame.
2012-08-01 20:20:01 -05:00
Wes Johnston
d8db19cc94
Bug 779078 - handleRelease should just return if not handling a mouseEvent. r=smaug
2012-07-31 10:36:02 -07:00
David Zbarsky
88efdd2ce1
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
bf4f8d3c97
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
Scott Johnson
63993f05d9
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Benoit Girard
f7f7db01d2
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
...
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Neil Deakin
b0640922cf
Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil
2012-07-30 20:43:29 -04:00
David Zbarsky
c83e9b7631
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
c6b51c42c1
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Ryan VanderMeulen
b8013885dc
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
be9a414c79
Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
587e4453db
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Ed Morley
1bd2d8da61
Backout 9ed259005de2 (bug 770453) for Android XUL R3 failures in scrollbars-0{1,2}.svg on a CLOSED TREE
2012-07-28 13:30:40 +01:00
Markus Stange
9076e220b9
Bug 770453 - [b2g] semi-transparent scroll bars should not occupy content-flow space. r=roc
2012-07-28 09:41:42 +02:00
Daniel Holbert
be4abd4ade
Bug 777519: Remove unnecessary checks for min-height/max-height:auto in nsHTMLReflowState::InitResizeFlags. r=dbaron
2012-07-27 15:52:40 -07:00
David Zbarsky
3a15cfbf6b
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
def7ad497f
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
93b20c52d3
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-27 13:23:44 -07:00
Mats Palmgren
f83707d78e
Bug 777578 - Make mLimiter and mAncestorLimiter strong refs. r=smaug
2012-07-26 23:44:10 +02:00
Jonathan Watt
1d401a6a41
Bug 777585 - Make nsIFrame::BuildDisplayListForChild check for clipped SVG on the correct frame. r=roc.
2012-07-26 13:21:04 +01:00
Matt Woodrow
00bff6eb88
Bug 772296 - Forward transform the overflow rect when computing dirty rects for 3d transforms. r=roc
2012-07-26 16:33:31 +12:00
Rafael Ávila de Espíndola
3a3dce5108
Bug 777494 - Avoid using == with float. r=roc.
...
--HG--
extra : rebase_source : f17783c004de9d67576b1044f0180c1857fc499b
2012-07-25 17:25:26 -04:00
Mats Palmgren
18314255da
Bug 769120. r=roc
2012-07-26 00:39:14 +02:00
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
6b4c02cd9f
Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc
2012-07-25 01:48:10 -07:00
David Zbarsky
ab1bc2614f
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-25 01:48:10 -07:00
David Zbarsky
630069520d
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-25 01:48:09 -07:00
Chris Lord
f9fb18bba5
Bug 769541 - Fix display list creation for positioned descendants of fixed position frames. r=roc
...
Positioned descendants of positioned frames escape the child display list to
their parent's positioned descendants list when they don't have a z-index set.
This caused their invalidations to be logged against the incorrect layer.
To fix this, wrap each extra positioned descendant of a fixed-position frame
in its own nsDisplayFixedPosition so they receive their own layers.
2012-07-25 08:06:19 +01:00
Matt Brubeck
90029e0bf6
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
32e63c7164
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-23 17:34:49 -07:00
David Zbarsky
ffaa635014
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-23 17:34:46 -07:00
James Willcox
30e0f551ce
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Aryeh Gregor
65eef91085
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Jonathan Kew
d3b1927584
bug 770555 - restore 'else' that was accidentally removed in bug 253317. r=roc
2012-07-23 03:45:27 -04:00
Daniel Holbert
c3ebc87501
Bug 748646 patch 2: Remove no-longer-needed parameter aLists from a few TextOverflow functions. r=mats
2012-07-22 23:08:24 -07:00
Daniel Holbert
3232915300
Bug 748646 patch 1: Put a block's text-overflow markers in PositionedDescendants() before the rest of the block's display items. r=roc
2012-07-22 23:08:20 -07:00
Matt Woodrow
b489b85891
Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Matt Woodrow
1a5c93fd0e
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Ms2ger
cb94cc2ce1
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
Jonathan Watt
4b2601630f
Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
...
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Ryan VanderMeulen
be774885eb
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Olli Pettay
aa64d464e5
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
James Willcox
5517ea9fde
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Jonathan Watt
c8b3589558
Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
...
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Mats Palmgren
a78a2aa885
Bug 616722 - Make ColumnSetFrame a block margin root. Make the first column a margin root at the top edge, and the last column at the bottom. r=roc
2012-07-20 14:27:04 -04:00
Mats Palmgren
8b5f370306
Bug 774794 - Make the aLineList param for MarkLineDirty mandatory; make nsBlockInFlowLineIterator have a valid mLineList for its mLine. r=roc
2012-07-20 14:27:03 -04:00
Elika Etemad
5186834e80
Bug 774835: Refactor nsHTMLReflowState::ApplyMinMaxConstraints to separate behavior of width and height. [r=roc]
...
--HG--
extra : rebase_source : c6a25e9c19c65d86013ddf8afc15026ca02321c4
2012-07-18 10:26:05 -04:00
Mats Palmgren
60c32db945
Bug 774548. r=roc
2012-07-17 15:56:04 -04:00
Matt Woodrow
35ca0069c9
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-07-17 13:03:51 -04:00
Mats Palmgren
e2a4eca047
Bug 773432 - Don't overlay an image if it's not in the primary selection. r=roc
2012-07-16 12:15:06 -04:00
Daniel Holbert
68ef128b1a
(no bug) Fix typo in parameter name, in documentation for nsIFrame::InsertFrames and nsIFrame::AppendFrames. Comment-only, DONTBUILD
2012-07-15 16:21:00 -04:00
Rafael Ávila de Espíndola
94a8a8035f
Bug 774025 - Remove extra ;. r=roc.
2012-07-15 00:14:06 -04:00
Robert O'Callahan
211bbff855
Backout e42786561b60 (bug 772679) for reftest failures.
2012-07-13 17:03:54 +12:00
Robert O'Callahan
f17986705c
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
2012-07-13 16:01:41 +12:00
Robert O'Callahan
6b234af011
Bug 771822. Fire overflow/underflow events as will-paint observers, to avoid having them trigger flushing at unnecessary times. r=bz
2012-07-13 16:01:41 +12:00
Wes Johnston
f86250d05c
Bug 772422 - Ignore touch events when selecting text. r=smaug
2012-07-12 14:14:29 -07:00
Wes Johnston
cb19f30e62
Bug 772422 - Tests for selection and touch events. r=smaug
2012-07-12 14:13:34 -07:00
Wes Johnston
1936e3ec67
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Aryeh Gregor
98c0f7c228
Bug 771873 part 1 - Check for reversed indices in Selection::GetIndicesForInterval; r=ehsan
2012-07-12 18:56:30 +03:00
Ehsan Akhgari
92998ad05e
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more layout parts); r=roc
2012-07-11 00:03:55 -04:00
Wes Johnston
6528e0253a
Backout a7d1108f70fb, e32603f16465, 142b9df4d021,
2012-07-10 16:20:09 -07:00
Scott Johnson
780e089606
Bug 758079: Inflate margin of numeric list elements to prevent cut-off text during font inflation. [r=dbaron]
2012-07-10 10:46:07 -05:00
Cameron McCormack
161eb9c7c2
Bug 772355 - Use nsStyleDisplay::IsFloating in a couple of places rather than inspecting mFloats. r=roc
2012-07-10 20:34:42 +10:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Wes Johnston
b8fc760a2e
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Cameron McCormack
6cf6e17a5e
Bug 771874 - Make nsTextFrame::TrimmedOffsets::GetEnd const. r=roc
2012-07-09 11:09:51 +10:00
Cameron McCormack
6f599d230a
Bug 771879 - Minor code formatting tweaks. r=roc
2012-07-09 11:09:50 +10:00
Cameron McCormack
71c5025969
Bug 771883 - Minor nsTextFrame::GetCaretColorAt refactoring. r=roc
2012-07-09 11:09:50 +10:00
Jonathan Watt
f234ac813a
Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc.
2012-07-09 02:04:56 +01:00
Vladimir Vukicevic
55604f3d2f
b=766205; HTML video playback occasionally uses RGB frame on mobile (incorrect marking as inactive); r=roc
2012-07-06 09:23:09 -04:00
Aryeh Gregor
230189ca6a
Bug 770580 part 2 - Fix crash due to removed null check in Selection::selectFrames; r=ehsan
2012-07-06 09:39:01 +03:00
Aryeh Gregor
7698ba77ed
Bug 770580 part 1 - Clarify Selection::selectFrames parameter; r=ehsan
2012-07-06 09:39:01 +03:00
Timothy Nikkel
eb8a11b1a8
Bug 771351. Disallow plugins in popup panels gracefully. r=roc
2012-07-05 19:45:23 -05:00
Masayuki Nakano
14fad4c3a5
Bug 537230 part.2 Remake the test for selection underlines with CSS3 text-decoration r=roc
2012-07-04 14:59:50 +09:00