Aryeh Gregor
a18cf6032d
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
7dcfb057c4
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
fd8dd0c5de
Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan
2012-03-15 14:26:32 -04:00
Marco Bonardo
ff249f47c5
Merge inbound and central
2012-03-16 13:42:16 +01:00
Cameron McCormack
3562694c55
Bug 736326 - Fix nscoord/nscolor typo. r=dbaron
2012-03-16 11:53:50 +11:00
Ed Morley
efdc9a5382
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-15 12:42:01 +00:00
Kyle Huey
fd1ce47377
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
fb9607dbb7
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
62fb2dc162
Bug 725095 - Address Layout review comments. r=mats
2012-03-13 12:57:31 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Boris Zbarsky
5de63bd68d
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
b1d1a41987
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
8469637d0c
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Ehsan Akhgari
39bfe969ec
Backout changeset d2340d74fc19 because of bug 735076
2012-03-12 18:51:44 -04:00
James Willcox
2edc6422b3
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
137c73d9f6
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Daniel Holbert
aaff4a9f4a
Backout f667f6c22bed (Bug 732988) for linux Cipc orange
2012-03-11 16:41:39 -07:00
Bas Schouten
e99a373cb6
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-11 22:33:23 +00:00
Avi Halachmi
3c59129fb9
Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi
2012-03-11 13:55:00 -07:00
Bas Schouten
49606a96fc
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-13 01:41:34 +00:00
Mats Palmgren
23f14c3023
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
86aed91a8e
Bug 730769 - Add NewLineBox/FreeLineBox methods to nsBlockFrame. part=1/2 r=bz
2012-03-11 03:32:27 +01:00
Mats Palmgren
38a55345e3
Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz
2012-03-11 03:32:27 +01:00
Benoit Girard
6d13bb7ab3
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Mats Palmgren
6fca6aec5e
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
d2745bc51c
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
6b007e5ce3
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
59caec5782
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
66e9a4a3fe
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
d3dd25a616
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
6345ad9c43
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
02e577f6ff
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Josh Aas
9dbad6aafb
Bug 723523: Plugin crash fix, nsPluginInstanceOwner::CreateWidget. r=jmathies
2012-03-07 11:48:30 -05:00
Benoit Girard
3daa99ec38
Merge mc->maple
2012-03-01 10:44:44 -05:00
Kartikaya Gupta
bb76282045
Merge m-c
2012-02-27 15:06:35 -05:00
Doug Turner
63f2081ca1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Jonathan Kew
7ff00e8673
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
476b362925
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Rob Campbell
eb749cad65
merge fx-team to m-c
2012-02-22 12:47:22 -04:00
Mats Palmgren
b52eae45eb
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
926f982ccc
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
cfb5872a5b
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
93986b5c67
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
34aa551009
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Chris Lord
c436bcb3c1
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
b7a97d4f18
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
02fd6d6c24
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
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Matt Woodrow
cca8fbcca8
Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
6905e450dd
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Daniel Holbert
7772f86486
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
beb2ae7df8
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Jared Wein
1c58f1711c
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Patrick Walton
380bcbc803
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
50c889808a
Merge mozilla-central into mozilla-inbound
2012-03-14 13:40:34 -04:00
Jonathan Kew
2a175b1c96
bug 605021 - handle surrogates in text-run transformations. r=smontagu
2012-03-14 06:45:11 +00:00
Nathan Froyd
72e8d1d540
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Bas Schouten
87964f395c
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Matt Woodrow
bf3005c3f4
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Matt Woodrow
702ae83148
Bug 731858 - Add index numbers to nsDisplayTextOverflow so that they are unique for a given frame. r=mats
2012-03-01 21:26:09 +13:00
Simon Montagu
585e0608f5
Use GetGeneralCategory in IsPunctuationMark instead of the precompiled ccmap. Bug 731222, r=jfkthame
2012-03-01 00:17:27 -08:00
Tim Taubert
b07eb6fddb
merge m-c to fx-team
2012-01-31 14:45:13 +01:00
Jared Wein
1c062f7770
Bug 710373 - Pressing the vertical slider down arrow should move three lines instead of one. r=roc
2012-01-31 12:04:35 +01:00
Robert O'Callahan
01d0e1b487
Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
2012-01-30 18:16:54 +13:00
Daniel Holbert
e579af5a86
Bug 722510: Remove unused argument from nsBlockFrame::DrainOverflowLines. r=roc
2012-01-30 15:35:03 -08:00
Phil Ringnalda
124120bf61
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
e7fe111cd2
Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
...
--HG--
extra : rebase_source : 113647a8bf8101b7c4d7058bd205be734f38125d
2012-01-28 16:36:49 +13:00
Mats Palmgren
530ea96a92
Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc
2012-01-28 04:35:59 +01:00
Alexander Surkov
5fe5777d40
Bug 732389 - image map accessible tree is not updated when image map is changed, r=bz, tbsaunde
2012-03-15 16:16:02 -04:00
Aryeh Gregor
d0cb80ca7b
Bug 719518 - Selection.extend() with no ranges should throw standard exception type; r=ehsan
2012-03-14 14:27:30 -04:00
Jonathan Kew
f58d29af3c
bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett
2012-03-15 09:03:51 +00:00
Boris Zbarsky
4f3e9ef6dc
Bug 729143. Don't treat table rows as containing blocks. r=dbaron
2012-02-23 23:35:19 -05:00
Aryeh Gregor
0afeab2129
Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan
2012-02-22 10:38:25 -05:00
Ed Morley
ef395cb269
Merge mozilla-central to mozilla-inbound
2012-02-23 01:03:16 +00:00
Mats Palmgren
4ac8d2dffb
Bug 726258 - Don't suppress the scrollbar because of a too small size in the scollbar minor direction. r=bz
2012-02-22 17:23:47 +01:00
Mats Palmgren
9e2989826f
Bug 725376 - Don't do column balancing deeper than 2 nested levels to avoid hang. r=roc
2012-02-18 02:34:21 +01:00
Mats Palmgren
9962f6b70f
Bug 728255 - Replace nsLineBox::LastChild() calls with O(1) equivalents where possible. r=bz
2012-02-18 02:34:20 +01:00
Alexander Surkov
b34485ff9f
Bug 677154 - fix a typo
2012-02-18 02:51:29 +09:00
Alexander Surkov
b79d3bc706
Bug 677154 - Detached document accessibility tree, r=bz, marcoz
2012-02-18 02:38:43 +09:00
Josh Aas
5fbfe94a5b
Bug 724717: Fix crash at nsPluginInstanceOwner::CARefresh. r=benwa
2012-02-16 21:27:37 -05:00
Aryeh Gregor
3e409df529
Bug 722463 - Transforms should not work on non-replaced inline elements. r=roc
2012-02-14 15:33:06 -05:00
Nathan Froyd
f91f1654b1
Bug 700659 - Slay nsHashSets in layout. r=dbaron
2011-11-08 15:24:37 -05:00
Simon Montagu
7c322ee91d
Mark the last line in the block dirty when text-align-last resolves to something other than left. Bug 726392, r=dbaron
2012-02-20 08:49:44 -08:00
Jonathan Watt
8178523710
Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron.
2012-01-25 23:52:26 +00:00
Chris Lord
5215455da7
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
Ed Morley
b9befea8b7
Backout 9062b3e04318 (bug 718516) for reftest failures
2012-02-08 00:56:56 +00:00
Scott Johnson
644bab262b
Bug 718516: Remove call to FinishReflowWithAbsoluteFrames until nsColumnSetFrame is fully implemented as an absolute container. [r=ehsan]
2012-02-07 17:21:48 -06:00
Nicholas Nethercote
a7ad4ef70e
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9
Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc
2012-01-26 13:11:18 +01:00
Jonathan Watt
2034ac9bbc
Bug 731959 - Display list support for the 'clip' property in SVG means referring to "AbsPos" clip is misleading. r=bz.
2012-03-02 08:28:56 +00:00
Matt Woodrow
49bb21ce6d
Bug 731777 - Correctly recompute overflow areas for frames with transform perspective applied. r=roc
2012-03-12 15:04:25 +13:00
L. David Baron
c7ac84126f
Make selects and things inside them not be containers for font size inflation, so that font inflation inflate selects appropriately along with what surrounds them. (Bug 706609, patch 8) r=roc
2012-01-24 17:21:29 -08:00
L. David Baron
9e76faa89f
Apply font size inflation to 'line-height: normal' by using the metrics of the inflated font rather than multiplying the inflation by the result for the uninflated font. (Bug 706609, patch 7) r=roc
...
This matters primarily because it makes font inflation easier to test by
avoiding rounding differences. It fixes two existing tests that were
disabled and also makes it possible to test font inflation of selects
(since options have line-height: normal ! important in the UA style
sheet).
2012-01-24 17:21:29 -08:00
L. David Baron
21e38c2e03
Honor inflation during intrinsic width computation when needed. (Bug 706609, patch 6) r=roc
...
This is the second of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
5eb8920348
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
a7425ba7e8
Set inflation container to null during ComputeSize calls for inflation containers, when we should not have inflation applied. (Bug 706609, patch 4.5) r=roc
2012-01-24 17:21:29 -08:00
L. David Baron
185e4fa106
Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
...
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
235614aca3
Make floating :first-letter frames not be containers for font size inflation, to avoid triggering assertions. (Bug 706609, patch 3.5) r=roc
2012-01-24 17:21:28 -08:00
L. David Baron
77cffa9ed9
Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
...
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00