Robert O'Callahan
0ba2071f9a
Bug 788877. Don't create nsDisplayFixedPosition items when the root scroll frame is inactive. r=Cwiiis
2012-09-14 12:02:01 +12:00
Matt Woodrow
f3003da7b2
Bug 788044 - Make various functions take const parameters. r=roc
2012-09-13 12:32:53 +12:00
Makoto Kato
32ceb5852a
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
Chris Lord
62d4203310
Bug 786502 - Separate background layers into separate items. r=roc
...
Separate out background layers into separate display-list items, so that
backgrounds that are a mix of fixed and non-fixed layers will be treated
individually.
2012-09-13 11:34:23 +01:00
David Zbarsky
fa3f1d3853
Bug 789960 - Fix crash in nsLayoutUtils::HasAnimationsForCompositor r=roc
2012-09-10 23:13:35 -04:00
Jim Mathies
b96402c286
Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc
2012-09-10 16:02:23 -05:00
Boris Zbarsky
c92f1a89b6
Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
2012-09-07 10:51:34 -04:00
Daniel Holbert
6198064f71
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
1359fa999d
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
Daniel Holbert
5fba4829ef
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
Daniel Holbert
c126204dfe
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
291f42805d
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
Ehsan Akhgari
243c878d26
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
b81637a85e
Bug 768503 follow-up: fix the comment to match what the code does now
...
DONTBUILD
2012-08-21 17:09:10 -04:00
Charly Molter
5902467a98
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
Ehsan Akhgari
dd05bd6920
Bug 768503: Only disable selection on non-editable content. r=roc
2012-08-16 11:51:46 -04:00
Kyle Huey
defa54f46a
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
15cea9ab2e
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
cc6ea9a4c7
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Chris Pearce
6e096abed0
Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc
2012-08-14 17:39:11 +12:00
Chris Lord
5b2af91a59
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
Jonathan Kew
79d287cbb1
bug 769303 - precompute intrinsic width of floats. r=roc
2012-08-10 12:16:52 +01:00
Aryeh Gregor
691ef24b2a
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jonathan Watt
6ddaf7ce4a
Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc.
2012-08-14 10:04:24 +01:00
Ms2ger
c8ea20cf42
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Cameron McCormack
285383e656
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
Jan Varga
c9f27fa528
Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc
2012-08-06 20:27:04 -04:00
David Zbarsky
c9632b07c6
[Bug 780439] Kill off the remains of nsIBox r=roc
2012-08-05 23:00:57 -04:00
David Zbarsky
2d1e72a475
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
2012-08-05 23:00:55 -04:00
Cameron McCormack
c242bf70e1
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
7b1e56f1af
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
30ac972c28
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Cameron McCormack
452671c530
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
b6b2828049
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
a4ba57a402
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
Wes Johnston
0078ed6ea1
Bug 779078 - handleRelease should just return if not handling a mouseEvent. r=smaug
2012-07-31 10:36:02 -07:00
David Zbarsky
6a56e516b5
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
b75b446748
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
Mark Finkle
b478928a3b
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
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
be098968f4
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
da2e3c85aa
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
Jonathan Watt
6df25f1a56
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
f6aa866ca0
Bug 772296 - Forward transform the overflow rect when computing dirty rects for 3d transforms. r=roc
2012-07-26 16:33:31 +12:00
Ed Morley
4cf7768fb0
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
8322d18bd8
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-25 01:48:10 -07:00
David Zbarsky
aa14a12d8b
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
d2a6d5a6f6
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
0e88f3cf5b
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
ae54164998
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-23 17:34:49 -07:00