L. David Baron
a2ecaa9abc
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
8719c1bb1c
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
ae9d7d0d17
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
94414ed431
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Jignesh Kakadiya
2f9b3165ba
Bug 751785 - Make Selection.toString() API use DOMString instead of wstring
2012-06-09 15:15:12 -07:00
Matt Brubeck
614ef16d00
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
10c29a5783
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
7d13aab294
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
16c7299be3
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
391ce6dad4
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
1a109388f5
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
aee92f1d56
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
5076b975a0
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
391c1e697d
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
41314b89f2
Bug 755078 - Backout previously-landed patch for bug 755078. r=roc
2012-06-09 14:22:40 -04:00
Ryan VanderMeulen
846a6a41bf
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Aryeh Gregor
8e7de01930
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
b7d78e22bc
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
f8a53f8b94
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
31953a0563
Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats
2012-06-09 00:22:25 +12:00
Aryeh Gregor
729b83a781
Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h
2012-06-07 18:00:58 +03:00
L. David Baron
67fbc6caaf
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
353d289c8c
Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange
2012-06-06 22:51:58 -07:00
L. David Baron
1f41d4e3c0
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
d744b8f1bd
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
ccdd37d975
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Ed Morley
0fd801a0b6
Merge mozilla-central to mozilla-inbound
2012-06-06 10:24:28 +01:00
Ed Morley
8e3f4a6794
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ehsan Akhgari
d54aaab73b
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
e35726280c
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
13df4204c7
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
11e48078eb
Back out changeset 81f6b1cfbba5627425837ff993ca7012db22b23b (bug 748434) due to reftest failures.
2012-06-05 16:55:48 -07:00
L. David Baron
e13adf476e
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
f5573cbd2e
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
9e7a3546cf
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
7767f7cbe3
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
9646d8a9cc
Bug 758432: Fix SetScaleToSize call for plugins. r=roc
2012-05-30 07:14:30 +02:00
Boris Zbarsky
6543d621c5
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
1015fbffe9
Bug 758179. Part 5: Test. r=mats
2012-05-30 01:13:37 +12:00
Robert O'Callahan
63748653cd
Bug 758179. Part 4: Pass SKIP_HIDDEN flag in HandlePress/HandleRelease. r=mats
2012-05-30 01:13:36 +12:00
Robert O'Callahan
609fc0864a
Bug 758179. Part 3: Support SKIP_HIDDEN flag. r=mats
2012-05-30 01:13:36 +12:00
Robert O'Callahan
a2a5e603d2
Bug 758179. Part 2: Add flags parameter to GetContentOffsetsFromPoint(External). r=mats
2012-05-30 01:13:36 +12:00
Phil Ringnalda
9703d8bdf4
Back out 6d605438199c (bug 758589) for bug 759243
2012-05-28 22:44:57 -07:00
Trevor Saunders
1192ef8bd9
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
ced5a49a99
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
5c9f3f4809
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Vincent LAMOTTE
2c02cd383c
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
b8c7a8981b
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
4403803316
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
1e843489e3
Bug 756241. r=roc
2012-05-23 17:27:15 +02:00
Robert O'Callahan
03f90e3d54
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
b862bfd20d
Update bug number (no bug, DONTBUILD)
2012-05-21 18:24:50 -07:00
Ed Morley
f0346ff780
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
f7733db148
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
90bd8753e1
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
3ab78f01f9
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
11f5c76522
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
fda3a68818
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]
d67d1141cb
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
2012-05-19 14:32:37 -05:00
Ryan VanderMeulen
dc10c85eb0
Backout bug 733553 due to mochitest orange.
2012-05-19 12:10:26 -04:00
Adam Dane [:hobophobe]
9c321e4de0
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
2012-05-08 21:35:32 -05:00
Benjamin Smedberg
2187798a40
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
faa0b8ae7d
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
3b577015ad
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
79e49f2965
Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug
2012-05-18 10:29:39 +02:00
Phil Ringnalda
f9ed4165e8
Bug 753877 - drop a few minimum assertion counts to reflect reality
2012-05-17 22:00:04 -07:00
Simon Montagu
8e7ad6721b
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
f6c9f99f1a
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
c8b52ec634
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
7cb03d1868
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
044718db79
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Mats Palmgren
e5191a317a
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
91066e9c2a
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
8df11e79ab
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
2bbcb226e2
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
6b03870b6a
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
7ff1752972
Bug 754627 - GetBounds on bullet return wrong values, r=tbsaunde, roc
2012-05-14 13:51:45 +09:00
Christopher De Cairos
71301a9ebc
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
c484bd36db
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
ec8821b6ee
Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc
2012-05-11 19:49:14 +12:00
Matt Woodrow
b5086dc756
Bug 722603 - Add 3d transforms debugging code to nsBlockFrame. r=roc
2012-05-11 19:49:12 +12:00
Robert O'Callahan
1260834bce
Bug 681192. Part 16: Reduce assertion counts some more. r=matspal
...
--HG--
extra : rebase_source : 48cdef6c9792d6e35dcdfaecae3e3982c37171fd
2012-05-10 17:24:21 +12:00
Robert O'Callahan
c0c7a84361
Bug 681192. Part 12: more fixes to remove unnecessary rounding to pixels. r=matspal
...
--HG--
extra : rebase_source : 39f2c0ef3220b3f0d4f6bc2564a86daa2112dc3b
2012-05-10 17:24:20 +12:00
Robert O'Callahan
c9a4ef0f31
Bug 681192. Part 11: Don't snap scrollrange endpoints to device pixels anymore. r=matspal
...
--HG--
extra : rebase_source : a4ad5072fbb1a9e1e8d0fcf31268fee8812be41e
2012-05-10 17:24:20 +12:00
Robert O'Callahan
f8b68b95b5
Bug 681192. Part 9: Adjust assertion counts downward. r=mats
...
--HG--
extra : rebase_source : 5cb44d6572d19d462897b1b50037946d5d8edf67
2012-05-10 17:24:20 +12:00
Robert O'Callahan
c03a4afc08
Bug 681192. Part 8: Use a generous allowed range when scrolling in CurPosAttributeChanged. r=matspal
...
There was a subtle reftest failure on Mac in RTL text-overflow tests.
I tracked it down to RTL overflow:auto areas being automatically scrolled by a subpixel amount.
This was because we try to set scrollbar "curpos" attributes to an integer number of CSS pixels representing
the scroll amount, relative to the top-left of GetScrolledRect, which is a noninteger number of CSS pixels
in this case. Then in ReflowFinished() we scroll to the saved curpos values plus the top-left of GetScrolledRect.
This patch fixes the problem by making CurPosAttributeChanged pass an allowed scroll range to
ScrollToWithOrigin. We allow any scroll destination that, when rounded to CSS pixels, would give the same
value as "curpos".
This fixes the bug, ensuring that ReflowFinished's call to CurPosAttributeChanged will not normally need
to scroll because the current position will be in the acceptable range. Also, it means that code that
scrolls by setting the "curpos" attribute will be optimized to try to hit a layer pixel boundary.
--HG--
extra : rebase_source : 3a768883feee4ff2b88fe3c729ea1058e911f2ea
2012-05-10 17:24:19 +12:00
Robert O'Callahan
1b61f2c022
Bug 681192. Part 7: nsTypedSelection should be scrolling a 0,0 size into view to get a particular coordinate into view, not 1,1. r=matspal
...
When asked to scroll a 1,1 appunit rectangle into view, ScrollFrameRectIntoView will now actually
succeed!
For example if the window is 6000 appunits high and we ask to scroll a 1x1 rect at 0,6000 into view,
before bug 681192 was fixed we'd actually fail to do so. We'd compute a desired scroll destination of 0,1,
and ScrollTo would round that to 0,0 and we wouldn't scroll at all.
Now, we compute a desired scroll destination of 0,1 but also an allowed scroll range for y of
"1 to <someting large>", so ScrollFrameRectIntoView will scroll down by a full pixel to 0,60. This is correct ---
it gets the subpixel area into view, which the previous code didn't --- but it's not really what DoAutoScroll
wants, at least the way test_mousecapture.xul is written. test_mousecapture.xul expects DoAutoScroll to scroll
windowheight+N into view by scrolling down by exactly N pixels, so the desired point is exactly at the bottom
edge of the window rect. Using a zero-sized rect achieves this.
--HG--
extra : rebase_source : 5d3d8cc4417c35dc88ad296a4f13e01d2c1c9233
2012-05-10 17:24:19 +12:00
Oleg Romashin
0f88c6891c
Bug 681192. Part 2: Make nsIScrollableFrame::ScrollBy automatically set a generous allowed destination range. r=roc
...
--HG--
extra : rebase_source : 392359b325ca0435031e8f31a47154a82943c2b4
2012-02-07 12:20:57 -08:00
Oleg Romashin
b98e2fe7f1
Bug 681192. Part 1: Add "allowed scroll destination range" to nsIScrollableFrame::ScrollTo and nsGfxScrollFrame implementation. r=roc,matspal
...
--HG--
extra : rebase_source : 51d04f7e7db35c02de3401a3481d4cc3827c19ec
2012-02-07 16:53:18 -08:00
Ehsan Akhgari
2be6b796b2
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Ed Morley
a4deefe05e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-09 10:15:40 +01:00
Joe Drew
14a6d481db
Back out changeset 501d38d3892c (Bug 733553) for causing crashes in xpcshell tests.
2012-05-08 21:59:30 -04:00
Adam Dane [:hobophobe]
c6313176ac
Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
...
--HG--
extra : rebase_source : 21ebc85f26fcbc4a4a27387d1ec5007c0886c386
2012-05-08 16:19:01 -05:00
Timothy Nikkel
f1bc26826d
Bug 749425. Push the scroll frame clip inside the scroll layer so it gets transformed by the shadow transform. r=roc
2012-05-08 23:15:00 -04:00
Jeff Muizelaar
3efeae39c6
Bug 753058. Add SAMPLE_LABELS for shadows. r=ehsan
...
This will make this things more obvious on the profile.
2012-05-08 18:10:02 -04:00
Makoto Kato
6bbd48cb4a
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
L. David Baron
d573b50a05
Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
...
--HG--
extra : transplant_source : %ED%23%02%AFR%24tw%FE%96%D7%D3p%D8%87%F7gV%28L
2012-05-07 07:17:00 +02:00
Jonathan Kew
868ffee94a
bug 752176 - only read the style array for valid offsets within the textrun. r=smontagu
2012-05-06 15:55:12 +01:00
L. David Baron
8e2d262657
Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
...
--HG--
extra : transplant_source : %82%DCX%81%B2%AAM%A3%A1%A1-%87%10%B3%B6%10kw%F4%FB
2012-05-05 15:24:45 +02:00
Ms2ger
34aac6a555
Bug 716439 - Followup: remove unused variable 'sf'; r=roc
2012-05-05 11:00:06 +02:00
Scott Johnson
77bfda7fb2
Bug 749186: Make the root frame always be an inflation container to prevent a crash during font inflation. [r=dbaron]
2012-05-04 12:08:23 -05:00
Scott Johnson
f80ce2f947
Bug 746966: Conditionally set NS_FRAME_IN_CONSTRAINED_HEIGHT for font inflation on percentage-based height so fonts with room to inflate can do so. [r=dbaron]
2012-05-04 12:07:37 -05:00
Ed Morley
635428fcdd
Backout f8125b89352d (bug 747857) for frequent test failures
2012-05-04 15:24:42 +01:00
L. David Baron
3a1e49269e
Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
...
--HG--
extra : transplant_source : %B5%FE%E5%DFaH%06%0F%3B%26%C0%E2%8B%3E4%F37%BFi-
2012-05-03 22:55:33 -04:00
L. David Baron
d2b33df467
Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
...
--HG--
extra : transplant_source : %1F%7B%3Fk%A6%F1%2C%EAZ%920%FB%FD%FB%3D%8E%9C%C9y%19
2012-05-03 20:04:30 -04:00
Mats Palmgren
dbb5859abd
Bug 750745 - Allocate nsLineBoxes from their own presshell arena list. part=3/3 r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
8582ded41c
Bug 750745 - Introduce AllocateByObjectID/FreeByObjectID for allocating non-frame objects from per-type lists in the PresArena. part=2/3 r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
04f80a03f0
Bug 735641 - No way to deselect image of image document after select all (Ctrl+A). r=bz
2012-05-04 02:14:01 +02:00
Mats Palmgren
fe52b9bdf6
Bug 747688. r=roc
2012-05-04 02:14:01 +02:00
Mats Palmgren
194408325c
Bug 750066. r=roc
2012-05-04 02:14:01 +02:00
Mats Palmgren
5daf287b9f
Bug 748961 - Flush styles to ensure frames are created. r=smaug,Ms2ger
2012-05-04 02:14:01 +02:00
Andreas Gal
dceb01a952
Do image scaling on the GPU (bug 650988, r=roc,cjones).
2012-05-03 07:05:55 -07:00
Ed Morley
2d35fc9b56
Merge mozilla-central to mozilla-inbound
2012-05-03 20:13:41 +01:00
Ali Juma
d62323c372
Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc
2012-05-03 12:33:51 -04:00
Jared Wein
0152ba6f95
Bug 702463 - Increasing the timeout of the tests due to the presence of multiple refresh drivers. r=ehsan
2012-04-30 13:44:55 -04:00
Avi Halachmi
3ecca78724
Bug 702463 - Smooth scrolling should use refresh observer instead of a timer. r=roc
2012-03-31 16:08:00 +03:00
Masatoshi Kimura
f17f15dabb
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
Jonathan Kew
35954608dd
bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past
2012-05-03 08:57:18 +01:00
Nicholas Cameron
f33f08a88c
Bug 716439; remove a check for rounded rects to enable the use of mask layers. r=roc
2012-02-08 11:26:46 +13:00
Aryeh Gregor
874f428261
Bug 702948 - Make Range.detach() a no-op; r=smaug
2012-04-25 15:03:48 +03:00
Masayuki Nakano
e089b336f8
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Timothy Nikkel
b9a7468478
Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc
2012-04-24 13:52:35 -05:00
Jonathan Kew
e2b45d2173
bug 744357 - implement mappings from Unicode's SpecialCasing.txt for text-transform. r=smontagu
2012-04-24 18:53:39 +01:00
Robert O'Callahan
3e0ac701ac
Bug 749075. Part 1: Refactor the nsDisplayItem API for testing whether the item needs to be rendered to a transparent surface. r=mattwoodrow
...
Currently we return an extra out parameter on GetOpaqueRegion. This is ugly and it's also going to be inefficient
because in a followup patch I'm going to avoid calls to GetOpaqueRegion, but we still need to know whether the item
needs a transparent surface. So this patch removes that out parameter. Instead, we rely on the fact that only
Windows' glass-window-background display item needs to force a transparent surface, and there can only be one
of those per window. So we store a reference to it in the nsDisplayListBuilder if there is one, and then we can
efficiently tell if any leaf display item is the one that forces a transparent surface. For display items that
wrap a list, we continue to store whether they need to force a transparent surface in a boolean in the list.
2012-05-03 16:29:05 +12:00
Jeff Muizelaar
4c6a9736de
Bug 745864. Add SAMPLE_LABELs to layout code. r=roc, a=joe
...
--HG--
extra : rebase_source : d826780c34692d333442b6bf563791b53bf3aa3d
2012-04-16 14:37:59 -04:00
Joe Drew
3019e4b61c
Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
...
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
Timothy Nikkel
e472248f52
Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc
2012-04-19 20:54:54 -05:00
Robert O'Callahan
d80b8c7095
Bug 745934. Update bounds of nsDisplayOpacity after we've mutated its list. r=mattwoodrow,a=blocking-fennec
2012-04-19 14:40:43 +12:00
Ehsan Akhgari
b7a2142579
Backout changeset 0b25ccd32a49 (bug 745934) for reftest failures; a=bustage
2012-04-18 23:52:59 -04:00
Robert O'Callahan
54470c0981
Bug 745934. Update bounds of nsDisplayOpacity after we've mutated its list. r=mattwoodrow,a=blocking-fennec
2012-04-19 14:40:43 +12:00
Robert O'Callahan
e2b8881b6e
Bug 735898. Part 7: Remove expensive nsIFrame::HasBorder checks, just check style instead. r=dbaron,a=blocking-fennec
2012-04-18 17:14:31 +12:00
Robert O'Callahan
709a687eeb
Bug 735898. Part 6: Avoid nsIFrame::GetOffsetTo calls by caching a frame/offset pair in nsDisplayListBuilder, using the cache from nsDisplayListBuilder::ToReferenceFrame, and having BuildDisplayListForChild efficiently update the cached frame from parent to child when possible. Also, use display items' precalculated ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame where possible. r=mattwoodrow,a=blocking-fennec
2012-04-18 17:14:14 +12:00
Wes Johnston
9ab687a09a
Bug 745936 - Display port should not override dirtyRect during hit detection r=roc
2012-04-17 08:08:29 -04:00
L. David Baron
903cd57ef8
Build font data structure by walking the necessary text. (Bug 706193, patch 3) r=roc
...
Compute the amount of text in the scope of an nsFontInflationData
object. This walks the text that's inside of the block formatting
context at which this object is rooted, excluding the text that's inside
any nested BFC. Using the amount of text, the font sizes of the text,
and the line threshold preference, we compute whether to enable font
size inflation within that block formatting context.
2012-04-16 15:32:12 -07:00
L. David Baron
1984592c22
Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
...
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text. Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous. Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
Robert O'Callahan
0f27ac69fa
Bug 735898. Part 5: Simple tweaks to avoid wrapping empty lists and to reorder boolean tests. r=mattwoodrow
2012-04-16 17:43:47 +12:00
Robert O'Callahan
c205a2f3ae
Bug 735898. Part 4: Create Inner/Outer box-shadow items only if we actually have inset/outset shadows. r=mattwoodrow
2012-04-16 17:43:33 +12:00
Jonathan Kew
fe06ef8bbd
bug 740120 - implement context-sensitive mapping for Greek sigma in text-transform:lowercase. r=smontagu
2012-04-15 15:52:47 +01:00
Jonathan Kew
1a6e23b12d
bug 745454 - don't lose line-break flag when merging case-transformed characters in text run. r=smontagu
2012-04-15 15:52:47 +01:00
Mats Palmgren
7c5f8ba182
Bug 740743 - Implement CSS overflow for <legend>. r=bz
2012-04-13 17:52:13 +02:00
Robert O'Callahan
52ce726c72
Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
...
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-13 23:44:06 +12:00
Mark Capella
1839be84c0
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Robert O'Callahan
540be00480
Backing out changesets ef599d7f3f11, 70ef464f50e3 and 1a204c38918e (bug 735898) due to test failures.
2012-04-12 00:34:23 +12:00
Robert O'Callahan
a66d3252b3
Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
...
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-11 16:49:34 +12:00
Robert O'Callahan
57fba60009
Bug 735898. Part 2: When nsOverflowClipWrapper is asked to clip a display item that is entirely inside the clip rect, don't bother wrapping the item. r=mattwoodrow
2012-04-11 16:48:56 +12:00
Robert O'Callahan
833e8a244f
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Steven Michaud
cedac03a1d
Bug 730066 - Crash at mozilla::layers::ImageContainer::GetCurrentSize on printing http://www.mozilla.org/projects/firefox/prerelease.html . r=roc
2012-04-09 14:17:19 -05:00
Wes Johnston
d605226018
Backed out changeset f5d6cc2e4726
2012-04-09 10:44:32 -07:00
Wes Johnston
19dd5922a5
Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr
2012-04-09 10:08:37 -07:00
Kyle Huey
b9156a7e34
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
803a05ad74
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-04-07 08:58:41 -07:00
Mats Palmgren
657915ceea
Bug 724352 - Decrement assertion counts for some layout crashtests. r=roc
2012-04-05 16:30:21 +02:00
Mats Palmgren
d8ca75ff27
Bug 724352 - Don't add vertical margin to scrollable overflow here, it's already done during reflow and we don't need it for UpdateOverflow yet (and we need to account for margin-collapsing when we do). r=roc
2012-04-05 16:30:21 +02:00
Nicholas Nethercote
ba5600fd65
Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
...
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Jared Wein
3e7213669a
Backed out changeset 3b8a666e351e (bug 702463)
2012-04-03 16:50:25 -07:00
Avi Halachmi (:avih)
393c935eba
Bug 702463: Smooth scroll - Use refresh observer instead of a timer. r=roc
2012-03-31 16:08:00 +03:00
Jared Wein
4ef699b55b
Backed out changeset 4e515b6a5a41 (bug 702463)
2012-04-03 16:22:49 -07:00
Avi Halachmi (:avih)
22084dbd86
Bug 702463: Part 1 v8 - Smooth scroll - Use refresh observer instead of a timer
2012-03-31 16:08:00 +03:00
Ms2ger
cad388b68f
Bug 741048: Remove gfxAtoms. r=roc
2012-03-30 23:08:46 -07:00
Dave Townsend
68dc1b47ec
Backing out changeset 432c4be058b5 which landed with no bug.
2012-03-30 22:23:24 -07:00
Jonathan Kew
600c7d5313
bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu
2012-03-30 17:37:46 -07:00
Ehsan Akhgari
0fb9dbfc9e
Bug 740857 - Remove dead code from nsFrame::BoxReflow; r=dbaron
2012-03-30 10:27:51 -07:00
Ms2ger
0884370d9c
No bug - Remove gfxAtoms; r=roc
2012-03-29 23:08:43 +02:00
Avi Halachmi (:avih)
11eac7e423
Bug 737758: part 3: Cleanups and semantic consistency [r=roc]
2012-03-26 11:53:45 +02:00
Avi Halachmi (:avih)
d705a99716
Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc]
2012-03-26 11:50:30 +02:00
Jonathan Kew
f1875ed381
bug 231162 - support custom casing behavior for Turkish and similar writing systems. r=smontagu
2012-03-27 08:49:03 -07:00
Scott Johnson
10f76a2526
Bug 708187: Disable caching of font inflation inside of BuildTextRunsScanner to prevent bleeding of bad values. [r=dbaron]
2012-03-26 22:37:16 -07:00
Scott Johnson
ca42c77ba8
Bug 733640: Add crashtest for bug 718516. [r=ehsan]
...
--HG--
extra : rebase_source : 45e73bc4a7e36da12630c368040b152b83005664
2012-03-26 12:43:22 -07:00
Daniel Holbert
228f265c51
backing out 56664e0e2f2 (bug 718516) due to wrong commit message
2012-03-26 11:35:16 -07:00
Matt Woodrow
a6d077a2c0
Bug 729955 - Invalidate destroyed out-of-flow frames before unregistering the placeholder frame. r=bz
2012-03-26 11:27:37 -07:00
Scott Johnson
443073b61b
Bug 718516: Remove call to FinishReflowWithAbsoluteFrames until nsColumnSetFrame is fully implemented as an absolute container. [r=ehsan]
2012-03-26 10:29:59 -07:00
Ehsan Akhgari
cbd5bcd53c
Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc
...
--HG--
extra : rebase_source : 3e5d2fafc028edb2940bef07302161670692d5a1
2012-03-26 09:09:38 -07:00
Ehren Metcalfe
7ae994745c
Bug 738957 - Remove the nsMathMLForeignFrameWrapper class and related files. r=karlt
2012-03-26 09:59:54 +02:00
Henri Sivonen
38758ad038
Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky.
2012-03-23 17:21:44 +02:00
Scott Johnson
c84e7535e0
Bug 711418 - Enable font inflation for body and html elements with fixed heights. [r=dbaron]
2012-03-23 22:47:43 -05:00
Edwin Flores
03b3f7b1f7
Bug 738392 - Fix plugins not rendering inside CSS transform on Mac OSX r=roc
2012-03-23 11:21:57 -07:00
Daniel Holbert
d55f55d9fe
Bug 738705: Remove dead helper-class CompareByContentOrderComparator. r=bz
2012-03-23 11:17:33 -07:00
Jonathan Kew
78c0e24c84
bug 736210 - fix bug in nsCaseTransformTextRunFactory surrogate handling. r=smontagu
2012-03-23 17:48:11 +00:00
Nicholas Nethercote
616b0f275a
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
256772d52e
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Robert O'Callahan
72ab0aac14
Bug 737784. Create mInnerView eagerly to ensure that its bounds will always be correctly set in Reflow. r=tnikkel
2012-03-22 16:15:19 +13:00
Nicholas Nethercote
1859bc3ea6
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
Aryeh Gregor
2d2e408435
Bug 668716 - Change test_bug632379.xul failure on Mac to a todo(); r=orange
2012-03-21 15:41:35 -04:00
Aryeh Gregor
94d5ff735b
Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz
2012-03-16 16:07:09 -04:00
Daniel Holbert
8e81617ab4
Bug 737313: Make nsCSSFrameConstructor::ConstructInline more robust when one of its child frames fails to construct. r=bz
2012-03-20 10:23:03 -07:00
Jonathan Watt
e30bc57157
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Adam Dane [:hobophobe]
3c986b3780
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Simon Montagu
8ea4557aa9
Add a mParagraphDepth member to BidiParagraphData and cache it on frames to track nested bidi-isolated paragraphs. Use mParagraphDepth (* 2 + isRTL in order to keep LTR even and RTL odd) as the initial paragraph embedding level instead of pushing a stack of embedding codes. Pass the <bdi> frame instead of its first-child to BidiParagraphData::Reset and save a call to GetParent(). Split inline ancestors before and after bidi-isolated paragraphs, in the same way that we currently do between runs in different directions. This required also adding code to SplitInlineAncestors to handle situations where the parent frame is being split before its first child or after its last child. In JoinInlineAncestors, prevent frames that belong to paragraphs isolated from one another from being rejoined. Bug 712600, r=ehsan, roc
2012-01-11 21:26:02 +02:00
Boris Zbarsky
98a2048efb
Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley
2012-03-19 18:22:02 -04:00
Dão Gottwald
6a83ce299e
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
1157561543
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-18 14:42:25 -05:00
Jonathan Watt
8edc89f81d
Bug 379709 - Avoid reflowing SVG twice during page load due to initially assuming we'll need space for a vertical scrollbar when the nsSVGOuterSVGFrame can tell us we won't. r=bz.
2012-03-19 08:34:19 +00:00
Aryeh Gregor
57af16cb02
Bug 719523 - Selection.selectAllChildren() on a Document always produces end offset of 1; r=ehsan
2012-03-16 12:56:54 -04:00
Daniel Holbert
ce6dc9863d
Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron
2012-03-16 11:01:05 -07:00
Aryeh Gregor
3f835dac68
Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan
2012-03-15 14:26:32 -04:00
Marco Bonardo
312ed3ed80
Merge inbound and central
2012-03-16 13:42:16 +01:00
Cameron McCormack
96242ad44d
Bug 736326 - Fix nscoord/nscolor typo. r=dbaron
2012-03-16 11:53:50 +11:00
Ed Morley
b4dda70351
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-15 12:42:01 +00:00
Kyle Huey
e8ed17fbad
Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst
2012-03-14 13:14:02 -07:00
James Willcox
a0db3488b7
Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
...
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Ali Juma
ebf4e4d87a
Bug 725095 - Address Layout review comments. r=mats
2012-03-13 12:57:31 -04:00
Benoit Girard
32745d1cc3
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Boris Zbarsky
dbcab961d0
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
47dd3c842e
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
23a4ff3a52
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Ehsan Akhgari
5097691ede
Backout changeset d2340d74fc19 because of bug 735076
2012-03-12 18:51:44 -04:00
James Willcox
02313468a0
Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
...
--HG--
extra : rebase_source : f7a9eb9dab84cb35ba17fb1551051dae2e744d00
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
12d4a57946
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Daniel Holbert
33cd7e3326
Backout f667f6c22bed (Bug 732988) for linux Cipc orange
2012-03-11 16:41:39 -07:00
Bas Schouten
f5a32fbb86
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-11 22:33:23 +00:00
Avi Halachmi
569c1017ce
Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi
2012-03-11 13:55:00 -07:00
Bas Schouten
d9bb5a52c4
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-13 01:41:34 +00:00
Mats Palmgren
b0ca471a79
Bug 730769 - Make nsLineBox use a frame hash table for lines with many frames. part=2/2 r=bz
2012-03-11 03:32:27 +01:00
Mats Palmgren
86f1c718ff
Bug 730769 - Add NewLineBox/FreeLineBox methods to nsBlockFrame. part=1/2 r=bz
2012-03-11 03:32:27 +01:00
Mats Palmgren
111242deaa
Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz
2012-03-11 03:32:27 +01:00
Benoit Girard
1b3be902c1
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Mats Palmgren
bc861fa127
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
bd31652ea8
Bug 728911 - Remove the nsBlockFrame::mBullet member and store it in a frame property instead (as needed). For an outside bullet, store it as a nsFrameList* to support GetChildList(kBulletList). part 2/2 r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
4a726bcaef
Bug 728911 - Add a HasPushedFloat() method and move the PushedFloatProperty declaration to the .cpp file. part 1/2 r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
e446a70a30
Bug 728908 - Make nsLineBox::LastChild() DEBUG-only, since it's not used anymore to find the last frame of a line. part 2/2 r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
95f1774653
Bug 728908 - Make the Overflow lines property have both a nsLineList and a nsFrameList for fast access to the last frame, eliminate SetNextSibling calls, and to support GetChildList(kOverflowList). part 1/2 r=bz
2012-03-08 02:57:37 +01:00
Benoit Girard
392ef78337
Merge latest green changeset from mozilla-central to maple
...
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
18b1521f00
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
b24e1949c2
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
77a9a7b782
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Josh Aas
b3efd8f2b1
Bug 723523: Plugin crash fix, nsPluginInstanceOwner::CreateWidget. r=jmathies
2012-03-07 11:48:30 -05:00
Benoit Girard
08f33710af
Merge mc->maple
2012-03-01 10:44:44 -05:00
Kartikaya Gupta
134e9fec76
Merge m-c
2012-02-27 15:06:35 -05:00
Doug Turner
df4f53ea90
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Jonathan Kew
9e665aa5d9
bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu
2012-02-24 10:15:46 +00:00
Doug Turner
0aea58f84d
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Rob Campbell
7fc1e05e22
merge fx-team to m-c
2012-02-22 12:47:22 -04:00
Mats Palmgren
4986c8d89f
Bug 638937 - For text frames that are a child a floating first-letter frame, use the parent of the associated placeholder as the line-container to search. r=roc
2012-02-22 00:50:16 +01:00
Ali Juma
03d84bc9ee
Only try to scroll scrollable layers, and force Gecko to generate a scrollable layer even for smaller pages.
2012-02-20 11:30:05 -05:00
Chris Lord
2113b596a4
Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=roc
...
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Chris Lord
3c965d3f24
Backout scroll-clamp stuff again
...
I hope this makes it easier to merge and I'm not just wasting time...
2012-02-19 09:26:52 +00:00
Brad Lassey
9e55996669
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Chris Lord
faa21ca506
Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=
...
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Chris Lord
d3e2a70ed1
Backout 87134:1c1c22bd0291 and 87135:a4af71f1bc1f
...
Realised I made a mistake with the nsIFrameLoaderOwner.clampScrollPosition
patch and I want this to go in as a single commit and not break building of
Maple.
2012-02-18 00:46:23 +00:00
Chris Lord
4d8ab995ff
Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=
...
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
--HG--
extra : rebase_source : db24645ff2fb04bb0ffa5ffb01a8d35a79274126
2012-02-17 23:41:13 +00:00
Doug Turner
b66a0f8126
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Matt Woodrow
8281079024
Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
914010d2c8
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Daniel Holbert
c743f28bca
Bug 733875: If you're a nsFrame inside a box, be sure to reflow your absolute children after box layout gives you your size. r=bz
2012-03-10 14:50:51 -08:00
Benoit Girard
b18a77e427
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Jared Wein
43f524eb6a
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Patrick Walton
9bab740a07
Force the creation of an nsDisplayScrollLayer if a displayport was set on a scroll frame
2012-02-07 22:32:21 -08:00
Ehsan Akhgari
9475dfbd3e
Merge mozilla-central into mozilla-inbound
2012-03-14 13:40:34 -04:00
Jonathan Kew
a62728835c
bug 605021 - handle surrogates in text-run transformations. r=smontagu
2012-03-14 06:45:11 +00:00