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
Masayuki Nakano
34bdb7d777
Bug 537230 part.1 Paint connection of complex style decoration lines smoothly r=roc
2012-07-04 14:59:50 +09:00
Phil Ringnalda
7b2b8a1c8a
Back out ea9410c65673 (bug 769791) for mochitest-chrome bustage
2012-07-03 21:36:45 -07:00
Adam Dane [:hobophobe]
484e6f3083
Bug 769791 - Optimize nsSelection::GetIndicesForInterval for adding ranges to the end. r=smaug
2012-07-03 18:19:42 -05:00
Ehsan Akhgari
97259d4a95
Backout changeset 60affaedccc3 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:55 -04:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
d49b18b800
Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions
2012-07-03 20:21:03 -04:00
Ehsan Akhgari
e18c7644cd
Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions
2012-07-03 20:20:24 -04:00
Ehsan Akhgari
12c6e3a4cf
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
b072071920
Backout changeset d9f3358435ba (bug 539356) because of performance and correctness regressions
2012-07-03 20:17:53 -04:00
Ehsan Akhgari
b1c751a629
Backout changeset 3c553c4b10e9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:15:23 -04:00
Ehsan Akhgari
7e5ea88669
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Ehsan Akhgari
8861f4f48e
Backout changeset b59fde84e97f (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:35 -04:00
Ehsan Akhgari
8538d26c24
Backout changeset 6234134d4430 (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:19 -04:00
Ehsan Akhgari
27bbe0ea2e
Backout changeset 25061ce7382b (bug 770041) because DLBI is being backed out
2012-07-03 19:39:44 -04:00
Ehsan Akhgari
c9e2c1ae49
Backout changeset c862a7dd7851 (bug 769922) because DLBI is being backed out
2012-07-03 19:39:13 -04:00
Ehsan Akhgari
d57e83e441
Backout changeset 071d6332729b (bug 770058 part 1) because DLBI is being backed out
2012-07-03 19:38:00 -04:00
Robert O'Callahan
eeb0b9d4de
Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow
2012-07-03 14:24:14 +12:00
Matt Woodrow
2dcb0e79f3
Bug 769922 - Add nsDisplayAltFeedback so that alt feedback images get invalidated correclty. r=roc
2012-07-03 13:03:40 +12:00
Matt Woodrow
1c075f3368
Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc
2012-07-03 13:02:30 +12:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Aryeh Gregor
ed5ae0b680
Bug 767169 part 1 - Partial cleanup of Selection::selectFrames; r=ehsan
2012-06-28 14:29:56 +03:00
Matt Woodrow
847a97d95f
Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc
2012-06-30 15:06:14 +12:00
Matt Woodrow
d9422f4546
Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
cdb0e69ed5
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
a5ce331369
Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
5647da5701
Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
f4ee9e6284
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
aedc1d9411
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
dbef6fe311
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-30 15:06:11 +12:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
c238df59ea
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-06-30 15:06:10 +12:00
Chris Lord
737f39fdfa
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
0609d80d0e
Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
...
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Aryeh Gregor
6c6dd2829d
Bug 766845 part 2 - Make CloneRange() return already_AddRefed<nsRange>; r=smaug
2012-06-25 14:44:11 +03:00
Daniel Holbert
258620a8a5
Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz
2012-06-26 15:12:13 -07:00
Ed Morley
46f74afdf1
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
d68b636b06
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Chris Lord
ad588803ba
Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
...
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Jonathan Watt
f970cf9626
Bug 767823 - Make nsAutoFilterInstance take frame rects and stop using GetCoveredRegion. r=longsonr.
2012-06-26 11:49:23 +01:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
L. David Baron
8b759135db
Track TEXT_IN_TEXTRUN_USER_DATA separately for inflated and non-inflated text runs. (Bug 718290) r=roc
2012-06-24 16:25:39 -07:00
Charly Molter ext:(%20and%20Alexandre%20Dumont%20%3CAlexandre%20Dumont%20%3E)
ac1373cebd
Bug 716875 - Make nsTextControlFrame inherits from nsContainerFrame instead of nsStackFrame. r=roc,bz
2012-06-23 13:11:00 +02:00
Robert O'Callahan
e5e7516a2f
Bug 763838. Update mDestination to match chosen subpixel destination. r=tnikkel
2012-06-22 11:24:06 -05:00
Mounir Lamouri
ac94d1c7d7
Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5).
2012-06-22 11:13:32 +02:00
Robert O'Callahan
04344d2178
Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
2012-06-22 17:06:49 +12:00
Daniel Holbert
2c15ef58b3
Bug 766783: Remove unneeded member variable nsBulletFrame::mComputedSize. r=mats
2012-06-21 12:58:28 -07:00
Jonathan Watt
58ef37f17a
Bug 766227 - More nsSVGIntegrationUtils cleanup and commenting to make it a lot easier to understand. r=longsonr.
...
--HG--
extra : rebase_source : fab6126eac4f1135562e1b2404bf5c52d0500344
2012-06-21 01:29:50 +01:00
Ed Morley
648eed5d6e
Merge mozilla-central to mozilla-inbound
2012-06-21 08:38:39 +01:00
Ms2ger
c0225966ca
Bug 763451 - nsDisplayCanvas::GetOpaqueRegion fails to override nsDisplayItem::GetOpaqueRegion; r=roc
2012-06-21 09:21:55 +02:00
Ryan VanderMeulen
269f1c8fe6
Re-land bug 757362 since it wasn't at fault for OSX orange.
2012-06-20 22:54:56 -04:00
Ryan VanderMeulen
0dfeff5b75
Backout 5ba4c3a2338c (bug 757362) for OSX reftest orange.
2012-06-20 21:53:31 -04:00
Timothy Nikkel
538c52fc6c
Bug 757362. Use the displayport for the dirty rect (if one is set) when building the display list for a subdocument so that position: fixed items are correctly included. r=roc
2012-06-20 17:35:54 -05:00
Jonathan Kew
ced6b24af7
bug 763982 - update and optimize Arabic char processing in TransformText. r=smontagu
2012-06-20 20:58:19 +01:00
Scott Johnson
67c799d523
Bug 763702, Part 1/2: Ensure font inflation bits are set during frame construction for root frame to prevent crash. [r=dbaron]
...
--HG--
extra : rebase_source : 50084348a42aa9e038196f39fea686ab21cf80a0
2012-06-20 11:09:35 -05:00
Ehsan Akhgari
5d47cae2a8
Bug 762764 - Prevent selection from descending into text boxes when extending it for things like caret navigation and extension for deletion; r=roc
2012-06-19 19:31:03 -04:00
Ehsan Akhgari
65884fba1f
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 (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Kartikaya Gupta
3bd1fbeb89
Bug 763570 - Part 1 - Back out 18b206c111cd from bug 747493 as we have a better solution that also fixes other broken frameset behaviours. r=tnikkel
2012-06-15 17:49:46 -04:00
Aryeh Gregor
cdc6c34c93
Bug 762183 part 2 - Publicize nsSelectionIterator; r=ehsan
2012-06-12 17:15:23 +03:00
L. David Baron
b71ce918a0
Don't mark intrinsic widths dirty for font inflation width changes at box/block boundaries. (Bug 764354) r=bzbarsky
2012-06-13 12:49:41 -07:00
Scott Johnson
215a3c2fbe
Bug 733614: Whitespace change after backout of bug 695222. [r=none, whitespace-only, DONTBUILD]
2012-06-13 12:14:31 -05:00
Scott Johnson
f9c641e24b
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
L. David Baron
7c127e67c6
Make scroll frames (i.e., overflow != visible) no longer be font size inflation flow roots. This fixes phoronix.com/reddit.com/others at the expense of youtube.com. This reverts b64bfa138619890a01826bde8974cc974b45a6f5 (bug 760098) which in turn reverted 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 747720) r=backout
2012-06-12 12:43:09 -07:00
Ed Morley
4c9a59e40a
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-12 10:36:42 +01:00
L. David Baron
c11c707fff
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-11 13:57:35 -07:00
L. David Baron
41b3a3b4ea
Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc/bzbarsky
2012-06-11 13:57:35 -07:00
L. David Baron
357e191b3a
Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html .
2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
3768a9de7f
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
L. David Baron
525082031d
Make svg:foreignObject be considered a constrained height (now that I'm thinking about them). (Bug 759755, patch 4) r=roc
2012-06-10 13:02:23 -07:00
L. David Baron
f51bd8994d
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-10 13:02:23 -07:00
L. David Baron
d3fd87344e
Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc
2012-06-10 13:02:23 -07:00
Olli Pettay
e160cfea86
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Jignesh Kakadiya
556a73089d
Bug 751785 - Make Selection.toString() API use DOMString instead of wstring
2012-06-09 15:15:12 -07:00
Matt Brubeck
2ad4344bc0
Re-land backout of bug 754202 and fix other accidental changes from merge 75b67011b798 on a CLOSED TREE
2012-06-11 11:12:18 -07:00
Nathan Froyd
ab6ce0d0e8
Bug 674922 - make frame id lists reusable by other parts of the browser; r=roc
2012-06-05 11:10:28 -04:00
Ed Morley
865fc92be0
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
298cca294c
Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
3d5108eb76
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
d1be0e0364
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
4aed5034c9
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
cee7c9d24b
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1ff0a4086c
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-06-11 16:44:08 +12:00
Nicholas Cameron
d9b806d12b
Bug 755078 - Backout previously-landed patch for bug 755078. r=roc
2012-06-09 14:22:40 -04:00
Ryan VanderMeulen
0798422bbf
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Aryeh Gregor
7737d5d63f
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Timothy Nikkel
dff7715e01
Bug 747493. Give frameset documents a basic scroll layer so we can communicate the document's metrics to the compositor and frontend. r=roc,mats
2012-06-09 19:26:57 -05:00
Kartikaya Gupta
c5b6bd059a
Bug 705106 - Use the correct scroll port size when trying to scroll to an area. r=roc
2012-06-09 12:14:39 -04:00
Robert O'Callahan
7b4d308d3c
Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats
2012-06-09 00:22:25 +12:00
Aryeh Gregor
3bea0fda01
Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h
2012-06-07 18:00:58 +03:00
L. David Baron
3479e2b4fd
Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc
2012-06-06 22:11:42 -07:00
Phil Ringnalda
bda062fbe0
Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange
2012-06-06 22:51:58 -07:00
L. David Baron
3c2993c391
Do the necessary reflow when our font inflation data changes. (Bug 759755) r=roc
2012-06-06 22:11:42 -07:00
L. David Baron
cf8ef9a7ac
Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc
2012-06-06 22:11:42 -07:00
Ehsan Akhgari
1261bc9326
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Ed Morley
fbe10d4921
Merge mozilla-central to mozilla-inbound
2012-06-06 10:24:28 +01:00
Ed Morley
31ad3140c9
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ehsan Akhgari
bdd1cdb13d
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Scott Johnson
98bb59b964
Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
...
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
L. David Baron
4ae65b30d1
Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
...
The first of these pieces of information is the intrinsic widths cached
on a block.
The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 19:13:41 -07:00
L. David Baron
81169b19ae
Back out changeset 81f6b1cfbba5627425837ff993ca7012db22b23b (bug 748434) due to reftest failures.
2012-06-05 16:55:48 -07:00
L. David Baron
2a07b15c44
Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
...
The first of these pieces of information is the intrinsic widths cached
on a block.
The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 15:52:28 -07:00
L. David Baron
edbd83838f
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
6642be49cb
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
Mats Palmgren
61427b43eb
Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug
2012-05-30 15:03:19 +02:00
Bas Schouten
8a3d26fdc3
Bug 758432: Fix SetScaleToSize call for plugins. r=roc
2012-05-30 07:14:30 +02:00
Boris Zbarsky
2ad97ca660
Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron
2012-05-29 23:45:17 -04:00
Robert O'Callahan
e0b3074d42
Bug 758179. Part 5: Test. r=mats
2012-05-30 01:13:37 +12:00
Robert O'Callahan
60997ea807
Bug 758179. Part 4: Pass SKIP_HIDDEN flag in HandlePress/HandleRelease. r=mats
2012-05-30 01:13:36 +12:00
Robert O'Callahan
7d7d71c056
Bug 758179. Part 3: Support SKIP_HIDDEN flag. r=mats
2012-05-30 01:13:36 +12:00
Robert O'Callahan
7ab5a87315
Bug 758179. Part 2: Add flags parameter to GetContentOffsetsFromPoint(External). r=mats
2012-05-30 01:13:36 +12:00
Phil Ringnalda
045f134b35
Back out 6d605438199c (bug 758589) for bug 759243
2012-05-28 22:44:57 -07:00
Trevor Saunders
5d33ad118a
bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Mats Palmgren
02dba7be98
Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug
2012-05-29 02:50:42 +02:00
Takanori MATSUURA
92faf33a5c
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Vincent LAMOTTE
859886a242
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Robert O'Callahan
3c90d15cd6
Bug 757807. Don't store an nsMouseEvent in nsFrameSelection, it's unnecessary and leaky. r=smaug
2012-05-24 22:36:08 +12:00
Mark Capella
8ade8177fe
Bug 745428 - densify nsTextAccessible, r=surkov, f=tbsaunde
...
--HG--
rename : accessible/src/atk/nsTextAccessibleWrap.h => accessible/src/atk/TextLeafAccessibleWrap.h
rename : accessible/src/base/nsTextAccessible.cpp => accessible/src/generic/TextLeafAccessible.cpp
rename : accessible/src/base/nsTextAccessible.h => accessible/src/generic/TextLeafAccessible.h
rename : accessible/src/mac/nsTextAccessibleWrap.h => accessible/src/mac/TextLeafAccessibleWrap.h
rename : accessible/src/msaa/nsTextAccessibleWrap.cpp => accessible/src/msaa/TextLeafAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.h => accessible/src/msaa/TextLeafAccessibleWrap.h
rename : accessible/src/other/nsTextAccessibleWrap.h => accessible/src/other/TextLeafAccessibleWrap.h
2012-05-23 14:05:57 -04:00
Mats Palmgren
e5254175f8
Bug 756241. r=roc
2012-05-23 17:27:15 +02:00
Robert O'Callahan
99aab126af
Bug 754556. Allow intermediate positions in smooth scrolling to go anywhere the final position can be. Also, round smooth-scrolling PositionAt coordinates to nearest appunits to avoid numerical errors giving us results outside [start, destination]! r=mats
2012-05-22 21:55:15 +12:00
Jesse Ruderman
da8cf716a0
Update bug number (no bug, DONTBUILD)
2012-05-21 18:24:50 -07:00
Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
8a2f6350ad
Make scroll frames (i.e., overflow != visible) no longer be font size inflation flow roots. This reverts part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1. (Bug 747720, patch 7) r=roc
...
This means that font size inflation will be consistent into a container
with overflow!=visible, which fixes inflation bugs on phoronix.com (bug
747720) and reddit.com (bug 748446, but currently covered up by bug
756518).
2012-05-20 22:18:28 -07:00
L. David Baron
6f318c955b
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
L. David Baron
6b3b8f9533
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
9ace2103ae
Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
2012-05-20 22:18:27 -07:00
L. David Baron
f07bd4e20e
Save and expose on nsFontInflationData the width of the nearest common ancestor of the inflated descendants. (Bug 747720, patch 1) r=roc
...
This width will be used in patch 3.
2012-05-20 22:18:27 -07:00
Adam Dane [:hobophobe]
ce9676ce34
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
2012-05-19 14:32:37 -05:00
Ryan VanderMeulen
5e78d60411
Backout bug 733553 due to mochitest orange.
2012-05-19 12:10:26 -04:00
Adam Dane [:hobophobe]
d2e80641a8
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
2012-05-08 21:35:32 -05:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Ms2ger
81cb351df1
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
feba9c5092
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
0a9de2eb5f
Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug
2012-05-18 10:29:39 +02:00
Phil Ringnalda
4f9673830f
Bug 753877 - drop a few minimum assertion counts to reflect reality
2012-05-17 22:00:04 -07:00
Simon Montagu
b9a7134539
Start painting text shadow of selection from the left edge in RTL text. Bug 755994, r=roc
2012-05-17 13:34:06 +03:00
Chris Lord
34d673af6a
Bug 753742 - Force layer build on scroll frames with a displayport. r=tn
...
Force building layers for all scroll frames that have a displayport set.
This fixes gfx/layers/ipc/CompositorParent mistakenly using FrameMetrics from
incorrect frames, due to the root scroll frame not having a layer.
2012-05-17 19:19:07 +01:00
Jonathan Watt
f418b57d69
Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc.
2012-05-17 05:05:09 +01:00
Aryeh Gregor
8e52d8b627
Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz
2012-05-18 09:20:49 +03:00
Nicholas Cameron
5027f9e01b
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Mats Palmgren
c3fee3748b
Bug 750293 - Don't include a block's margins in its scrollable overflow for now. r=roc
2012-05-17 01:04:38 +02:00
Ed Morley
3065f27819
Bug 668716 - Disable test_bug632379.xul on Mac for now, for too many unexpected passes
2012-05-16 20:46:11 +01:00
Trevor Saunders
bfcb62b32b
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
fede4b2197
Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
...
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Mats Palmgren
df74457a55
Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc
2012-05-14 22:11:39 +02:00
Alexander Surkov
8ead6e75b2
Bug 754627 - GetBounds on bullet return wrong values, r=tbsaunde, roc
2012-05-14 13:51:45 +09:00
Christopher De Cairos
720758f4b7
Bug 517363: Make poster frames scale to size of the display frame r=roc
2012-05-11 20:32:29 +12:00
Christopher De Cairos
ed660ec50d
Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce
2012-05-11 20:32:15 +12:00
Matt Woodrow
15509fccd0
Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc
2012-05-11 19:49:14 +12:00
Matt Woodrow
8d9f67b892
Bug 722603 - Add 3d transforms debugging code to nsBlockFrame. r=roc
2012-05-11 19:49:12 +12:00
Robert O'Callahan
60482a670b
Bug 681192. Part 16: Reduce assertion counts some more. r=matspal
...
--HG--
extra : rebase_source : 48cdef6c9792d6e35dcdfaecae3e3982c37171fd
2012-05-10 17:24:21 +12:00