Matt Woodrow
87bf3b4e98
Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc
2011-11-08 16:57:55 +13:00
Robert O'Callahan
a1a72c9ec7
Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats
2011-11-08 13:09:39 +13:00
Robert O'Callahan
f924f9d9bb
Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats
2011-11-08 13:09:39 +13:00
Boris Zbarsky
d2943d1fbf
Merge backout of bug 641341.
2011-11-07 00:27:17 -05:00
Boris Zbarsky
2cd4ac232f
Backed out changeset 0cd9ed297f73 (bug 641341) to fix bug 696175. r=roc
2011-11-07 00:25:56 -05:00
Ed Morley
7bc582f20f
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Mats Palmgren
8fe06b1d7b
Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc
2011-11-04 19:05:35 +01:00
Marco Bonardo
a9a0608213
Merge mozilla-central to mozilla-inbound
2011-11-03 10:46:56 +01:00
Justin Lebar
b2816b9b65
Merge backout
2011-11-02 20:11:25 -04:00
Justin Lebar
0f63342314
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Kyle Huey
74ca38166a
Merge m-i to m-c.
2011-11-02 08:24:41 -04:00
Josh Aas
f1269e3c00
Bug 562442: Plugin crash fix (parent process). r=jmathies
2011-11-01 14:52:20 -04:00
Scott Johnson
e055c256d3
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
6ce9c5bbde
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-01 11:06:53 -04:00
Olli Pettay
b67e20d19d
Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats
2011-10-30 21:51:19 +02:00
Olli Pettay
45e86aeaaf
Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz
2011-10-29 13:44:50 +03:00
Matthew Gregan
e92038d86e
Bug 697647 - VideoFrame's visible region should use the pre-transform size rather than the raw video buffer size. r=roc
2011-11-02 18:44:49 +13:00
Boris Zbarsky
5159a4843a
Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc
2011-10-04 23:47:08 -04:00
Matt Woodrow
97e680e837
Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc
2011-10-04 14:23:04 +13:00
Jonathan Watt
71a67640b1
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Josh Aas
89192a393d
Bug 649079: Plugin crash fix (parent process). r=bz
2011-10-27 16:00:49 -04:00
Timothy Nikkel
c2a4df613d
Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
d78828a5dd
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Robert O'Callahan
fdc852ac3b
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Matt Woodrow
7fbe271e00
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-26 16:24:58 +13:00
Matt Woodrow
4fec733686
Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc
2011-10-26 16:23:26 +13:00
Ehsan Akhgari
dbe53002d5
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Neil Deakin
5548813f50
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Robert O'Callahan
cc2117d268
Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz
2011-10-25 16:52:52 +13:00
Jesse Ruderman
d2371a1d0e
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Daniel Holbert
ff21c39197
Bug 693801: Remove redundant initialization for nsHTMLReflowState::mFlags.mIsTopOfPage. r=dbaron
2011-10-21 13:41:12 -07:00
Timothy Nikkel
d9c707d348
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-21 12:45:32 -05:00
Marco Bonardo
5eb5a7a0aa
Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange.
2011-10-21 14:19:22 +02:00
Timothy Nikkel
0d0f09e5f7
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Robert O'Callahan
ae259582e2
Bug 681867. text-overflow only needs to affect the scrolling behavior of the block container with text-overflow. r=mats
2011-10-21 14:41:36 +13:00
Matt Woodrow
7722ff274a
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-21 14:22:19 +13:00
Matt Woodrow
19882a2aeb
Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc
2011-10-21 14:21:40 +13:00
Timothy Nikkel
aaa796727a
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-20 12:44:28 -05:00
Ehsan Akhgari
fddd9ce5af
Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc
...
--HG--
extra : rebase_source : a98568046ab5e4b4382e380f0fd2d03be481edaa
2011-05-16 13:27:24 -04:00
Scott Johnson
90549abb9c
Bug 666446, Part 6/18 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
e317548311
Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-10-03 13:39:05 -07:00
Matt Woodrow
da4a9cda9a
Bug 691106 - Merge sequential nsDisplayTransforms and give them unique frame keys. r=roc
2011-10-03 17:02:25 +13:00
Josh Aas
6f07f0eace
Bug 690834: Replace PR_TRUE and PR_FALSE with true and false in in plugin code outside of dom/plugins. r=roc
2011-10-01 11:43:07 -04:00
Ehsan Akhgari
f696794a6c
Merge the last green changeset of mozilla-inbound into mozilla-central
2011-09-30 10:13:25 -04:00
Ehsan Akhgari
7674b8fc55
Crashtest for bug 512749; r=roc
2011-09-30 10:11:51 -04:00
Ehsan Akhgari
1f69470a2f
Crashtest for bug 655462; r=roc
2011-09-30 10:11:39 -04:00
Matt Woodrow
0b23a6bac7
Bug 689501 - Remove invalid assertion with 3d transforms. r=roc
2011-09-30 14:07:04 +13:00
Ehsan Akhgari
5ed6e406a3
Crashtest for bug 660451; r=roc
2011-06-28 17:10:27 -04:00
Ehsan Akhgari
ba66014efb
Crashtest for bug 665853; r=bzbarsky
2011-06-22 20:50:50 -04:00
Ehsan Akhgari
9bfcb2d100
Bug 659828 - Part 2: Avoid calling nsIFrame::GetType needlessly in nsHTMLReflowState; r=roc
2011-06-10 19:02:14 -04:00
Ehsan Akhgari
bdc5c5427c
Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
...
Outer table frames act as CSS2.1 table wrapper boxes. We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width. This breaks horizontal positioning of
absolutely positioned kids of a table frame.
The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame. This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.
In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that. Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too. nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.
Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides. This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame. The
427129-table-caption reftest has been modified to match this new behavior.
Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
05594ddcf6
Bug 656130 - Part 2: More crashtests; r=roc
2011-06-28 17:10:29 -04:00
Ehsan Akhgari
82c43f09d4
Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky
2011-05-11 19:53:34 -04:00
Ehsan Akhgari
c15d8c0733
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Ehsan Akhgari
ef73506d4d
Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc
2011-05-09 20:36:10 -04:00
Ehsan Akhgari
b273fc68d8
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Ehsan Akhgari
47d44b9dc3
Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc
2011-04-27 19:41:43 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe]
35dfe378d7
bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug
2011-09-26 15:55:04 -05:00
Atul Aggarwal
e8bda8ae4b
Bug 653295 - Fixing warning of comparision between signed and unsigned integer expressions in nsFrameSetFrame.cpp. r=bz
2011-09-26 01:47:43 +05:30
Mats Palmgren
5ff1123dee
Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug
2011-09-24 02:56:38 +02:00
Ehsan Akhgari
85e673bce7
Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions
2011-09-22 18:09:44 -04:00
Ehsan Akhgari
317cb20a80
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).
--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
David Bolter
85f31c2f98
Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
...
We now bail in GetRenderedText when we encounter dirty text frames. This should be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache. (relanding)
2011-10-19 09:05:18 -04:00
Marco Bonardo
b46efe643e
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Timothy Nikkel
ab16fdd5c9
Backout 8db8c9ce92c5 (bug 694213).
2011-10-18 00:41:10 -05:00
Timothy Nikkel
5b00acba12
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-17 19:56:03 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
David Bolter
8c39619ba5
Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
...
We now bail in GetRenderedText when we encounter dirty text frames. This shouldm be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache.
2011-10-17 10:30:33 -04:00
David Bolter
bce255bc7d
Backout 783daf190579 (Bug 680085). Could be causing talos deviation.
2011-10-18 15:04:46 -04:00
L. David Baron
8573702a37
Make NOISY_VERTICAL_ALIGN compile again. Not part of the build. No review.
2011-10-18 10:44:43 -07:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
091dcad0ea
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-15 12:19:29 +01:00
Ms2ger
cd715d9c9b
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Matt Woodrow
d7e185cd24
Bug 691864 - Recompute preserve-3d children overflow areas after all needed sizes are available. r=roc
2011-10-15 09:43:38 +13:00
Neil Deakin
731458c274
Bug 694224, remove appshell argument from various widget creation methods, r=roc
2011-10-14 09:06:39 -04:00
Jonathan Kew
36c1dc9fbe
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Ehsan Akhgari
9de41d906d
Bug 692919 - Need to check to make sure that the list returned from GetChildLists doesn't have duplicates; r=mats
2011-10-07 18:26:16 -04:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Mats Palmgren
a18f12af45
Bug 684266 - Suppress ellipsing when scrolling further isn't possible in that direction. r=roc
2011-10-12 18:20:46 +02:00
Mats Palmgren
9b7d613762
Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc
2011-10-12 18:20:46 +02:00
Mats Palmgren
c33b59cc27
Bug 688996 - "ASSERTION: Wrong root". r=smaug
2011-10-12 18:20:45 +02:00
Matt Woodrow
3345b1be69
Bug 693519 - Don't call GetHitDepthAtPoint if we didn't hit anything. r=roc
2011-10-12 16:16:05 +13:00
Simon Montagu
2538e9f8cd
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Jonathan Kew
bf22ca29e7
Bug 692752 - paint text-shadow after selection highlight background. r=roc
2011-10-08 17:27:14 +01:00
Scott Johnson
d7adce1370
Backout cset 9d3ac2d3da11 from bug 666446 while we sort out regressions
2011-10-07 00:25:36 -07:00
Scott Johnson
f6b4eda7fc
Backout cset 6cd4f2d8c2f9 from bug 666446 while we sort out regressions
2011-10-07 00:25:11 -07:00
Matt Woodrow
bae1be5757
Bug 684759 - Part 1 - Flatten out nsDisplayWrapLists when we are preserving 3d. r=roc
2011-10-07 10:21:44 +13:00
Ehsan Akhgari
ec2d83e852
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
848e923aa5
Merge last green changeset on mozilla-central to mozilla-inbound
2011-09-19 12:27:35 +01:00
Oleg Romashin
5446af8efb
Bug 687392 - Use nearest filter for mobile video/plugin rendering. r=roc
2011-09-19 12:12:16 +01:00
Ed Morley
14281d90d0
Merge last green changeset on mozilla-inbound to mozilla-central
2011-09-18 20:23:17 +01:00
Ms2ger
21263e0741
Bug 687070 - Remove unused variable 'result' in nsDisplaySelectionOverlay::Paint; r=masayuki
2011-09-18 11:22:18 +02:00
Ms2ger
7b7048fda0
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Ed Morley
00e6fcf8b2
Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms
2011-09-17 00:27:55 +01:00
Doug Turner
fa4f75d7e3
Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh.
2011-09-16 14:34:31 -07:00
Doug Turner
0ef3efa1a5
Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh.
2011-09-16 14:34:31 -07:00