Kyle Huey
460af847e2
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
3ca57187dd
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
0e369cf4b3
Bug 725095 - Address Layout review comments. r=mats
2012-03-13 12:57:31 -04:00
Benoit Girard
dc6ea71b7e
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Boris Zbarsky
89ca391782
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
ef5d0d917f
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
2f999a9a1f
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Ehsan Akhgari
2ce281889f
Backout changeset d2340d74fc19 because of bug 735076
2012-03-12 18:51:44 -04:00
James Willcox
3ee8cea2e9
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
60f5962bb6
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Daniel Holbert
e4efb8b1ed
Backout f667f6c22bed (Bug 732988) for linux Cipc orange
2012-03-11 16:41:39 -07:00
Bas Schouten
cd06b68bc6
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-11 22:33:23 +00:00
Avi Halachmi
fe8181c26f
Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi
2012-03-11 13:55:00 -07:00
Bas Schouten
3cc5b4dd46
Bug 732988 - Part 2: Use ScaleToSize API for plugin drawing. r=roc
2012-03-13 01:41:34 +00:00
Mats Palmgren
7213c84c26
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
170ef239c4
Bug 730769 - Add NewLineBox/FreeLineBox methods to nsBlockFrame. part=1/2 r=bz
2012-03-11 03:32:27 +01:00
Mats Palmgren
5a6c96f815
Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz
2012-03-11 03:32:27 +01:00
Benoit Girard
13f16e0444
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Mats Palmgren
39a7d31397
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
c1f99b666b
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
de36d93afa
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
f3eb936aa8
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
f2b543f7d7
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
997a81e71b
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
73a287f0ea
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
a4a3883264
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
7e6f558d70
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Josh Aas
20c073de7e
Bug 723523: Plugin crash fix, nsPluginInstanceOwner::CreateWidget. r=jmathies
2012-03-07 11:48:30 -05:00
Benoit Girard
76425a9557
Merge mc->maple
2012-03-01 10:44:44 -05:00
Kartikaya Gupta
45668a01d2
Merge m-c
2012-02-27 15:06:35 -05:00
Doug Turner
809efed1a1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Jonathan Kew
27d7fed0f6
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
754c5d2cbb
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Rob Campbell
ab1e048072
merge fx-team to m-c
2012-02-22 12:47:22 -04:00
Mats Palmgren
32a0b16990
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
61e759042c
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
468bb3d933
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
6765c25533
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
e5e9a2b04c
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Chris Lord
a737e6fe48
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
2c6eb0985e
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
9bba93a97c
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
3f133bfdd1
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Matt Woodrow
8230830d11
Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
bf3a5c2649
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Daniel Holbert
dc233c5ab7
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
2fd24c9367
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Jared Wein
bcbb16588c
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Patrick Walton
b1e4904187
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
2a6c344efd
Merge mozilla-central into mozilla-inbound
2012-03-14 13:40:34 -04:00
Jonathan Kew
f5315343c3
bug 605021 - handle surrogates in text-run transformations. r=smontagu
2012-03-14 06:45:11 +00:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Bas Schouten
b798e874b1
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Matt Woodrow
72f481f48f
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Matt Woodrow
63d5bd1d56
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
c9433228bb
Use GetGeneralCategory in IsPunctuationMark instead of the precompiled ccmap. Bug 731222, r=jfkthame
2012-03-01 00:17:27 -08:00
Tim Taubert
3b3f03f5ef
merge m-c to fx-team
2012-01-31 14:45:13 +01:00
Jared Wein
b0d8201898
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
e18485abb6
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
643dbd2e39
Bug 722510: Remove unused argument from nsBlockFrame::DrainOverflowLines. r=roc
2012-01-30 15:35:03 -08:00
Phil Ringnalda
b6aa88fd9e
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
24159c1296
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
c496441d30
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
b9dc078740
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
e9f5626ad7
Bug 719518 - Selection.extend() with no ranges should throw standard exception type; r=ehsan
2012-03-14 14:27:30 -04:00
Jonathan Kew
58ed975449
bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett
2012-03-15 09:03:51 +00:00
Boris Zbarsky
d370ac193f
Bug 729143. Don't treat table rows as containing blocks. r=dbaron
2012-02-23 23:35:19 -05:00
Aryeh Gregor
82315b5bd1
Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan
2012-02-22 10:38:25 -05:00
Ed Morley
26fe274d1d
Merge mozilla-central to mozilla-inbound
2012-02-23 01:03:16 +00:00
Mats Palmgren
4b422a4e42
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
b295527033
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
0cfc477464
Bug 728255 - Replace nsLineBox::LastChild() calls with O(1) equivalents where possible. r=bz
2012-02-18 02:34:20 +01:00
Alexander Surkov
80dadf5e63
Bug 677154 - fix a typo
2012-02-18 02:51:29 +09:00
Alexander Surkov
ae14569a5a
Bug 677154 - Detached document accessibility tree, r=bz, marcoz
2012-02-18 02:38:43 +09:00
Josh Aas
4cd4c19f07
Bug 724717: Fix crash at nsPluginInstanceOwner::CARefresh. r=benwa
2012-02-16 21:27:37 -05:00
Aryeh Gregor
ff16c1a5f2
Bug 722463 - Transforms should not work on non-replaced inline elements. r=roc
2012-02-14 15:33:06 -05:00
Nathan Froyd
d113a69bc5
Bug 700659 - Slay nsHashSets in layout. r=dbaron
2011-11-08 15:24:37 -05:00
Simon Montagu
a4f1d6d3ac
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
f4f67ef82f
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
ac85800ea7
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
40b9db3b9b
Backout 9062b3e04318 (bug 718516) for reftest failures
2012-02-08 00:56:56 +00:00
Scott Johnson
4155a31b8c
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
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
4701befff3
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
d5cf359729
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
de7fb15ff4
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
23b4c79224
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
0b6372c3aa
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
f18119e87a
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
94eb7fc6c5
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
acba036fdb
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
d4a1d88221
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
6bc1759abb
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
de8dc36651
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
L. David Baron
29156f69d6
Add a frame state bit for whether a frame is a container for font size inflation (Bug 706609, patch 1) r=roc
...
This moves the logic currently in
nsLayoutUtils::IsContainerForFontSizeInflation into frame initialization
so that we can (later, for bug 706193) make that logic more complicated.
2012-01-24 17:21:28 -08:00
Jonathan Watt
f36738d918
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Phil Ringnalda
c848efe9b6
Bug 718564 - adjust crashtest assertion ranges to reflect reality part two, the forgetting of one
2012-01-18 22:47:08 -08:00
Phil Ringnalda
90ef8490af
Bug 718564 - adjust crashtest assertion ranges to reflect reality
...
--HG--
extra : rebase_source : 3ae657663239f3382d5163170c0a098e0c78ed69
2012-01-18 21:52:43 -08:00
Jeff Muizelaar
19d31dec25
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Timothy Nikkel
29578a4ba9
Bug 675015. Wait until scrolling is complete to dispatch synthetic mouse moves. r=roc
2012-01-18 22:13:02 -06:00