Commit Graph

1586 Commits

Author SHA1 Message Date
Michael Ventnor
6b82353959 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-04 14:24:26 +02:00
Christian Biesinger
c39efe899d bug 513451 remove nsPresShell::EnumeratePlugins, it's been unused since bug 480819
r+sr=roc
2009-09-03 12:37:56 +02:00
Karl Tomlinson
aaa7227840 b=513807 comparison of unsigned expression >= 0 is always true when constructing nsGenConNodes r=dbaron
--HG--
extra : rebase_source : b4d995793272279136753949181b6c2793b111bf
2009-09-03 08:45:43 +12:00
Daniel Holbert
12ac4739b6 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
Timothy Nikkel
3ee08e2969 Bug 445765. In getting the device context from a docshell don't go through nsIBaseWindow::GetMainWidget because that always returns the device context for the primary screen when called on toplevel docshell. r=dbaron 2009-09-01 12:40:49 -04:00
fantasai
d5c48032c3 Bug 492627 - Remove Placeholder Continuations [Part V: Reimplement float splitting without placeholder continuations] r=roc 2009-08-31 11:25:36 -07:00
Jeff Walden
75a36235ad Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc
--HG--
extra : rebase_source : e4dc7f9f8e5647512524dcaa0e48dd5f68fe64a0
2009-08-06 00:36:54 -07:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Jonathan Watt
ed42a30cb8 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Robert O'Callahan
02bbe8dd79 Bug 507926. Make sure CreateWindowEx doesn't fail when we're creating an invisible window. r=jmathies 2009-08-25 12:00:46 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
Boris Zbarsky
04e56ca248 Backed out changeset 59ae87416f96 (bug 488249 followup) to fix test orange.
--HG--
extra : rebase_source : 0108b501163d0114ef96a9059023fad69accd9e1
2009-08-24 20:50:52 -04:00
Boris Zbarsky
f17e0c5b7c Bug 488249 build bustage fix. 2009-08-24 16:28:21 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
a58a91a479 Bug 510465 - Initial zoom level of print preview depends on the zoom level of galley presentation, r=roc 2009-08-24 12:55:28 +03:00
L. David Baron
b2e8bbda9d Backed out changeset 6b686281f9ac (Bug 445765) for causing a 3% Txul (Twinopen) regression on Linux. 2009-08-23 08:06:58 -07:00
Timothy Nikkel
b6e9e162b8 Bug 445765. In getting the device context from a docshell don't go through nsIBaseWindow::GetMainWidget because that always returns the device context for the primary screen when called on toplevel docshell. r=dbaron 2009-08-23 08:16:52 +02:00
Michael Ventnor
959e56fd9a Use the correct area for computing the gradient image for 'background-position: fixed' gradients. (Bug 509681) r=roc 2009-08-22 10:10:12 -07:00
Mats Palmgren
96372404b6 Don't call CalculateContentBottom inside PR_MAX(), which evaluates its arguments twice. (Bug 511482) r=dbaron 2009-08-22 10:10:11 -07:00
Ryo Kawaguchi
54bb0a0d80 Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
219a2fe88e Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky 2009-08-20 14:52:47 -07:00
Mats Palmgren
ad55d4621d Backout bug 506349 since it caused a test failure. 2009-08-19 04:24:29 +02:00
Mats Palmgren
5619fdf1b7 Flush the sink before zooming (restyle processing). b=506349 r=bzbarsky 2009-08-19 03:10:07 +02:00
Timothy Nikkel
68367486ce Bug 503791. Make sure that the device context has a widget so that it can determine what screen it is on. r=dbaron 2009-08-17 20:21:07 -07:00
Zack Weinberg
cc794998ac Bug 497495 (frame poisoning) part 2: Introduce nsIPresShell::AllocateMisc/FreeMisc functions; add an as-yet-unused "code" parameter to AllocateFrame/FreeFrame; fix up nsFrame to match; use AllocateMisc/FreeMisc for all non-frame pres arena objects; move clearing of frame objects from nsFrame::operator new to AllocateFrame. r=roc sr=dbaron 2009-08-17 20:21:06 -07:00
Zack Weinberg
f1502249fc Bug 497495 (frame poisoning) part 1: Move the frame arena code to its own file and rename the class to nsPresArena. r=roc 2009-08-17 20:21:06 -07:00
Olli Pettay
7748742e49 Bug 473805 - Prevent resize event loops, r=dbaron
--HG--
extra : rebase_source : e0476c7c1b390ebe194e508c3c728d517483989b
2009-08-15 11:49:20 +03:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Robert O'Callahan
9f2ae1a715 Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Robert O'Callahan
14c9b93519 Bug 507334, part 1: Remove nsDisplaySummary optimization, since it introduces extra display items that would disable the optimizations in part 2. r=dbaron 2009-08-13 19:09:50 -07:00
Markus Stange
04d8aa170a Bug 510149 - Changes to nsLayoutUtils::GetFrameTransparency. r=roc
--HG--
extra : rebase_source : 024d18340b423827524eb725d961d0907b90338d
2009-08-14 10:08:13 +12:00
Felipe Gomes
972bf3dc41 Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Olli Pettay
40ba45524e Bug 508373 - Generated content may cause reference loops, r=roc 2009-08-13 22:29:42 +03:00
Timothy Nikkel
42e3d17d27 Bug 508927. Assuming that the binding parent of the listboxbody content is the listbox content (and hence parent of listitems) is just wrong. Use ChildIterator instead to access the XBL nodes of the listboxbody content and get the frame constructor to pass the listboxbody frame the right container. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:22 -04:00
Olli Pettay
0dbb7cf7b8 Bug 503639 - [Mac OS X] Right-click on menu from folder from bookmark bar triggers context menu, r=enn
--HG--
extra : rebase_source : 8d7d4a2ae4a5cf9fca6f7b4961b9ebd5ba79255f
2009-08-13 12:11:42 +03:00
Timothy Nikkel
6cc6cdf024 Bug 500063. "ASSERTION: Already have an undisplayed context entry for aContent" while running leak tests. r=bzbarsky 2009-08-12 18:35:28 -04:00
Markus Stange
86545547c8 Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Frédéric Wang
95d98aa305 b=297467 menclose r=karlt rs=roc 2009-05-29 13:08:35 +02:00
Boris Zbarsky
0dfb4b8059 Bug 508900. Fix assertion due to us not unsetting all the bits we should unset. r=dbaron 2009-08-10 10:54:21 -04:00
Timothy Nikkel
312cc0762c Bug 497519 part 2. Only do special handling for legends whose content parnt is an HTML fieldset. bzbarsky 2009-08-07 15:51:25 -04:00
Timothy Nikkel
bb8491a3fd Bug 497519 part 1. Clear the undisplayed map correctly in the presence of XBL. r=dbaron,bzbarsky 2009-08-07 15:51:25 -04:00
Masayuki Nakano
f9802cc670 Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc 2009-08-08 00:11:17 +09:00
Robert O'Callahan
cba39f15c7 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Boris Zbarsky
e2f39a9eac Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
Boris Zbarsky
bc219716a8 Backed out changeset 25462849adcc (bug 502288) to get some talos cycles for the tracemonkey merge without this patch in.
--HG--
extra : rebase_source : bff86f8ab792af6109b1862d601e2ba560dc4ba1
2009-08-03 15:10:09 -04:00
Boris Zbarsky
ff75d6817f Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 13:38:42 -04:00
liucougar@gmail.com
db643902e8 Bug 438840. Page-up/page-down in editable content should scroll the innermost scrollable region containing the caret, not the root. r=roc
--HG--
extra : rebase_source : 096868b13160a3c197387cf5e44fb7892b3b23ca
2009-08-03 14:18:57 +12:00
Timothy Nikkel
cfb5f9002b Bug 494546. Make all containing block reconstruction async. r=dbaron
--HG--
extra : rebase_source : 4b28a43808c1ab6b64bff848f03ac5a0354bff51
2009-08-03 14:18:31 +12:00
Robert O'Callahan
942fad5d31 Bug 504311. Test.
--HG--
extra : rebase_source : 3df96915b133a9926310757ed0415beaefd635a3
2009-08-03 13:59:18 +12:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
Dão Gottwald
bf4108370b Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2 Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Boris Zbarsky
f2936464e5 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Alexander Surkov
bfc59d9a35 Bug 452564 - can't create accessibles for table children when visibility style of table is changed, r=ginn.chen, sr=roc 2009-07-30 15:55:51 +08:00
Jeff Walden
a24a25ba2e Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Timothy Nikkel
24844a2db3 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Timothy Nikkel
6788e65ce3 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Boris Zbarsky
209e31bf48 Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.
--HG--
extra : rebase_source : 593d43b5c229e077e4454d848dba59265dee6b58
2009-07-29 08:53:27 -04:00
Boris Zbarsky
b4eb9b7084 Backed out changeset 622a29736f33 to see whether bug 496823 causes the WinXP Txul regression.
--HG--
extra : rebase_source : 450a2a83442a2326e303f97ad82d8213fbe11490
2009-07-28 14:35:28 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
9d47a166af Bug 504221 part 11. Switch the {ib}-split list munging to nsFrameList. r=fantasai,roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
cddaf1831c Bug 504221 part 10. Switch the first-line frame list munging to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
dca83c78dc Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
c749fe8981 Bug 504221 part 8. Make CreateAnonymousColFrames saner. r=bernd, sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
b5d9390d06 Bug 504221 part 7. Make nsFrameItems inherit from nsFrameList. rfantasai, r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
a345d5a408 Bug 504221 part 4. Switch MarkFramesForDisplayList to nsFrameList. r+sr=roc 2009-07-28 08:51:09 -04:00
Ryo Kawaguchi
f8f1c8c15b Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc 2009-07-27 16:48:13 -07:00
Timothy Nikkel
7d61af065e Bug 506602. fix "warning: recurring into frame construction" when there isn't anything wrong. r=bzbarsky 2009-07-27 13:19:58 -04:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Boris Zbarsky
34df7918a4 Bug 496823. Blocks can implement GetLastChild() much faster than by just getting first child and iterating its siblings. r=roc 2009-07-26 21:27:32 -04:00
L. David Baron
e6a3698129 Destroy frame properties right after destroying the frame tree so they're destroyed before the style set. (Bug 399994) r=roc 2009-07-23 07:40:18 -04:00
Boris Zbarsky
97359757b6 Bug 502447. Make sure to recompute the viewport scrollbar flags early enough during root frame setup. r=roc 2009-07-22 21:31:44 -04:00
Robert O'Callahan
edefa6fb61 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Robert O'Callahan
d520aa9f3f Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
b613384451 Bug 352093. Part 9: make context menu event coordinates be relative to the widget for the widget for the top of the view hierarchy. r=dbaron 2009-07-22 12:45:08 +12:00
Robert O'Callahan
10c5d8e3f1 Bug 352093. Part 8: Fix view returned for eToplevelWindowCoordinates. r=bzbarsky 2009-07-22 12:45:07 +12:00
Robert O'Callahan
243774fd17 Bug 352093. Part 4: IME code should use GetRootWidget so it works with documents that don't have their own widgets. r=masayuki 2009-07-22 12:45:05 +12:00
Robert O'Callahan
25b5199778 Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
41b0dc9d84 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan
b4be2a9744 Bug 352093. Part 1: Add view parameter to nsViewManager::DispatchEvent so we can target view system events to widget-less documents. r=bzbarsky 2009-07-22 12:44:59 +12:00
Robert O'Callahan
d523d1c325 Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron 2009-07-22 12:44:57 +12:00
Robert O'Callahan
40f66f6506 Bug 339548. Part 7: Create nsLayoutUtils::IsAncestorFrameCrossDoc. r=dbaron 2009-07-22 12:44:56 +12:00
Robert O'Callahan
3e0557fef1 Bug 339548. Part 5: Support an accurate mode for display lists computing visible regions. r=dbaron 2009-07-22 12:44:56 +12:00
Robert O'Callahan
0d1716c268 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Robert O'Callahan
6da4194f20 Bug 339548. Part 1: Factor out FindContainerView. 2009-07-22 12:44:53 +12:00
Robert O'Callahan
522a58f4ec Bug 505186. Don't add useless nsDisplayReflowCount items to display lists in debug builds. r=bzbarsky 2009-07-22 12:44:52 +12:00
Robert O'Callahan
ff9e9e2aea Bug 505184. Remove unused aBorder parameter to PaintBackgroundLayout. r=dbaron 2009-07-22 12:44:50 +12:00
Olli Pettay
0226273416 bug 501900, r+sr=roc 2009-07-21 14:59:46 +03:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Jonathan Kew
227f047f17 add margin to avoid overflow due to antialiasing, fixing test breakage for bug 476927 and 475968 2009-07-10 14:02:59 +12:00
Boris Zbarsky
9046d1bc03 Bug 503364. Make GetAbsoluteContainingBlock work correctly for abs pos table ancestors again. r+sr=roc 2009-07-09 15:13:58 -07:00
Timothy Nikkel
6cea3d5dca Bug 502424 - Window transparency does not work. r+sr=roc 2009-07-09 11:16:11 +02:00
Boris Zbarsky
b7e8beed7e Bug 502941. Don't bother appending if we already know our correct prevsibling. r+sr=roc 2009-07-07 22:23:24 -07:00
Kyle Huey
b5252a4e2a Bug 492205. Remove IsRootElementFrame. r=roc 2009-07-04 22:00:10 +12:00
Robert O'Callahan
d939ea97ff Bug 501878. Don't suppress whitespace-only SVG text frames. r+sr=bzbarsky 2009-07-04 21:56:20 +12:00
Robert O'Callahan
56699ae2e0 Bug 501100. Convert print preview tests to chrome tests. r=martijn
--HG--
rename : layout/base/tests/test_bug396024.html => layout/base/tests/chrome/bug396024_helper.xul
rename : layout/base/tests/test_bug482976.html => layout/base/tests/chrome/bug482976_helper.xul
rename : layout/base/tests/test_printpreview.html => layout/base/tests/chrome/printpreview_helper.xul
2009-07-04 21:50:43 +12:00
Timothy Nikkel
b21de22a53 Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Mats Palmgren
0fe634a951 Fix build error when MOZ_MEDIA isn't defined. b=500988 r=roc 2009-07-02 11:57:35 +02:00
Simon Montagu
827d9111b2 Make fluid continuations between adjacent text frames with the same directionality. Bug 499538, r+sr=roc 2009-07-01 00:16:26 -07:00
Masayuki Nakano
adfdc27a90 Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
Olli Pettay
6041f8abed Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Boris Zbarsky
5637179ce2 Fixing some formatting issues with the test 2009-06-29 21:40:17 -04:00
Boris Zbarsky
32197e16c7 Bug 500905. Don't try to create text frames for textnodes that don't have frames if their parent frame's parent type is not block. That way we won't reconstruct the row, for example, if a cell is reframed and has whitespace next to it. Also fix WipeContainingBlock to not reframe in that case anyway. r+sr=roc 2009-06-29 21:39:55 -04:00
Robert O'Callahan
62129c7d37 Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky
--HG--
extra : rebase_source : 580aed3273c16e8402434a6f32d18dca542f29c0
2009-06-29 10:48:24 +12:00
Olli Pettay
7e463f0741 Bug 482578, r=bz, sr=jonas 2009-06-28 23:04:35 +03:00
Boris Zbarsky
b01c2285d2 Adding crashtest 2009-06-26 00:19:09 -04:00
Boris Zbarsky
1c73bfb395 Bug 500467. When removing table rows/rowgroups/cells, don't try to create frames for their adjacent whitespace. We don't need it. r+sr=roc 2009-06-25 18:12:51 -04:00
Vladimir Vukicevic
ce0b21af22 b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Robert O'Callahan
001a8ce4ef Bug 500124. Fix regression from bug 495385 by initializing text items correctly. Also avoid reframing text nodes in ContentRemoved when we know the text node doesn't need to be unsuppressed. r+sr=bzbarsky
--HG--
extra : rebase_source : 292265bb6af2e53eba713a11d91754e8bab2f5df
2009-06-24 20:46:04 +12:00
Olli Pettay
f1f141152f Bug 496000 - Remove nsBeforePageUnloadEvent, r+sr=jst
--HG--
extra : rebase_source : 0288c06ade3ef23641bb2fe9a33143e865d90217
2009-06-24 11:42:00 +03:00
Robert O'Callahan
b345a70a9e Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
--HG--
extra : rebase_source : 2cd0b9d4bdfb47d8757efe0ca9983cbbcfca423c
2009-06-13 21:16:34 +12:00
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
5d266c5155 Bug 496102 - Remove nsNotifyPaintEvent, r+sr=roc 2009-06-23 12:09:05 +03:00
Olli Pettay
902d73cc87 Bug 483218 - mochitest-plain: test_bug450930.xhtml intermittently fails, r=roc 2009-06-23 11:14:09 +03:00
Olli Pettay
00d5274b20 Backout Bug 496102
--HG--
extra : rebase_source : f33905aff8d759480277d9f13908035382c026c6
2009-06-22 16:35:15 +03:00
Olli Pettay
ecc0350c75 Bug 496102 - Remove nsNotifyPaintEvent, r+sr=roc 2009-06-22 14:07:46 +03:00
Peter Van der Beken
58e796a645 Fix for bug 308736 (Caret is invisible when entering an empty designmode field.). r/sr=roc.
--HG--
extra : rebase_source : ef79a8ef7cb96c0efcdccc967370fcdf8f07eba4
2009-06-19 18:31:49 +02:00
Daniel Brooks
deacc87633 Bug 495002 - nsPresContext ought to have CSSPixelsToDevPixels and DevPixelsToCSSPixels methods
r=bz, sr=roc
2009-06-18 03:35:11 -05:00
Boris Zbarsky
f51e72add0 Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron 2009-06-16 15:05:12 -07:00
Boris Zbarsky
03a827f6f5 Bug 498530. Don't try to remove array elements that might not be in the array. r+sr=smaug 2009-06-16 11:46:24 -07:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Boris Zbarsky
fb5e52f5be Disable this test for now, due to random orange. See bug 492575 2009-06-15 16:06:21 -07:00
Robert O'Callahan
338a814be0 Backed out changeset 69c6dbdfd179 2009-06-14 00:18:06 +12:00
Robert O'Callahan
9ffe56c833 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
--HG--
extra : rebase_source : 544ae2157803cf075a50d2a451c6179525ebbc36
2009-06-13 21:16:34 +12:00
Timothy Nikkel
358f2be59b Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky 2009-06-12 21:28:41 -04:00
Robert O'Callahan
a956c259fc Bug 496840. Make dynamic insertion and removal of legends work in the presence of multiple legends. r+sr=bzbarsky
--HG--
extra : rebase_source : c11c9ac211575f01ac810eac7c1feb684ed76d7a
2009-06-12 14:01:05 +12:00
Robert O'Callahan
7042d53d8b Bug 496032. Buttons should should lay out their contents using IsBlockInside not IsBlockOutside. r+sr=bzbarsky
--HG--
extra : rebase_source : bd35093b32239a2803868ab8d684f56db318fbeb
2009-06-12 13:48:07 +12:00
Boris Zbarsky
6a3d690372 Better build bustage fix for bug 495728 2009-06-11 15:30:24 -04:00
Boris Zbarsky
72176d8e67 Backing out part of bug 495728 to fix Windows test build bustage 2009-06-11 15:08:33 -04:00
Boris Zbarsky
5c39512d9e Bug 495350. Do a better job of keeping track of our line participant count. r+sr=roc 2009-06-11 13:09:35 -04:00
Timothy Nikkel
647a1b6542 Bug 496020 - "nsCSSFrameConstructor::BeginUpdate is called when scripts are not blocked." r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Timothy Nikkel
5b29e448a0 Bug 495728 - "###!!! ASSERTION: destroy called on frame while scripts not blocked: '!nsContentUtils::IsSafeToRunScript()', file /Users/bzbarsky/mozilla/vanilla/mozilla/layout/generic/nsFrame.cpp, line 446." r+sr=bzbarsky 2009-06-11 13:09:33 -04:00
Jonathan Watt
c6553d47fd Bug 488460. Invalidation cleanup. r=longsonr 2009-06-11 17:23:43 +02:00
Markus Stange
f9eb685a64 Bug 495920 - nsThebesDeviceContext shouldn't have a reference to a native widget. r=masayuki, sr=roc 2009-06-11 11:24:41 +02:00
Arpad Borsos
be212f351c Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Simon Montagu
4c680e3efc Empty inlines can get misplaced during incremental reflow in bidi pages. Bug 496006, r+sr=roc (regression from bug 332655) 2009-06-08 01:59:39 -07:00
Boris Zbarsky
12e038e30d Another attempt to fix bug 492575. 2009-06-02 11:59:27 -04:00
Boris Zbarsky
60fc72e742 Bug 495648. Work around yet more listbox suckage: it'll randomly create frames for content it hasn't included in its row count! r=enn, sr=roc pending 2009-06-01 12:46:31 -04:00
Robert O'Callahan
8c7da0cfb7 Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00
Jesse Ruderman
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00
Karl Tomlinson
1b9df1cee4 b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Olli Pettay
f9fa7407e7 Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst 2009-05-18 12:17:45 +03:00
Robert O'Callahan
8d23e695a3 Bug 493202. Add a layout.css.devPixelsPerPx hidden pref to control that ratio if desired. r=vlad 2009-05-18 10:09:53 +12:00
Timothy Nikkel
25b4c43458 Bug 492014. Wrap the display list for a subdocument in a wrapper which associates it all with the subdocument's owning element, so sorting-by-content doesn't try to reorder it. r=roc 2009-05-15 15:11:59 +12:00
Timothy Nikkel
13f0179fd9 Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc 2009-05-15 15:08:41 +12:00
Boris Zbarsky
a3a9f40918 Bug 493025. Don't assert if we happen to do bitblit scroll analysis on some frames that are dirty because a reflow got interrupted. r+sr=roc 2009-05-14 21:40:29 -04:00
Boris Zbarsky
a63e049e91 Bug 492760. Don't try to do a best-effort scroll to never-been-laid-out frames. r+sr=roc 2009-05-14 21:40:28 -04:00
Boris Zbarsky
bc66ab1170 Bug 492163, bug 492112, and bug 483604. Stop putting the style contexts of textnodes and CSS generated content in the undisplayed map, and make sure to properly unbind generated content if we don't plan to actually create a frame construction item for it. r+sr=dbaron 2009-05-14 21:40:26 -04:00
Masayuki Nakano
feee8b464b Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Arpad Borsos
5b33bf7a38 Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron 2009-05-13 10:26:48 +02:00
Robert O'Callahan
f34b7ae2c5 Bug 492480. Unregister placeholder relationship when we destroy out-of-flow frames, instead of trying to do it earlier in many places and not always doing it right. r+sr=dbaron
--HG--
extra : rebase_source : c9bedc1d7482b9c7ccf2878caded9320b92eb652
2009-05-14 09:35:02 +12:00
Michael Ventnor
22d3e3c5b8 Bug 483533. Don't change shadow shape due to spread. r=roc
--HG--
extra : rebase_source : 0eabcf6676a970c16b97cbd1999c824a6e501e46
2009-05-13 21:42:39 +12:00
Boris Zbarsky
31ccc9cace Bug 492575. Trying to eliminate random orange from this test 2009-05-12 22:37:05 -04:00
Boris Zbarsky
11f21755ed Bug 488057. Be more careful when we unsuppress painting. r+sr=roc 2009-05-12 15:07:08 -04:00
Daniel Holbert
0947631c3a Bug 490909: Remove old layout debugging code, patch #2: remove 'VerifyTree' & related code. r+sr=dbaron 2009-05-12 12:03:09 -07:00
Boris Zbarsky
70c31886f4 Bug 480452. Make {ib} splits behave the same way with regard to margins, borders, and padding as inline frames that just have a line-break happening inside them do. r+sr=dbaron 2009-05-11 22:04:58 -04:00
Boris Zbarsky
e6259a26ac Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc 2009-05-11 22:04:58 -04:00
Boris Zbarsky
d294c4b67f Bug 491842. Check for suppressed scroll before doing the layout flush, so that we don't end up scrolling during the flush when scroll is suppressed. r+sr=dbaron 2009-05-09 22:57:53 -05:00
Ryo Onodera
5e72993bff Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Robert O'Callahan
d827a42b82 Bug 488901. When an element's size changes and it has borders, we don't necessarily need to invalidate the entire border-box --- if there is no right or bottom border, and other conditions are met. r+sr=dbaron
--HG--
extra : rebase_source : 24306ec844dab873cc9b580f32a383f0ccb769a5
2009-05-08 13:52:22 +12:00
Robert O'Callahan
0d7d241faf Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Jesse Ruderman
e4630c2392 Add crashtest for bug 457362 2009-05-07 17:41:08 -07:00
Robert Longson
983f8abcf2 Bug 484176 - Support allowReorder for switch. r=jwatt,sr=roc 2009-05-07 20:37:33 +01:00
Boris Zbarsky
fc728b8197 Bug 490173. Switching display from -moz-popup to block in an HTML document doesn't trigger a frame reconstruct. r+sr=dbaron 2009-05-07 15:21:54 -04:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Daniel Holbert
c59da27043 Bug 450340 trivial follow-up: flip constructor's initialization order to fix a build warning. r=roc 2009-05-04 11:08:36 -07:00
Phil Ringnalda
621dae24da Bug 489122 - MOZ_REFLOW_PERF not AC_DEFINED by --enable-reflow-perf since it's misspelled _PREF in configure.in, r+sr=roc 2009-05-03 18:35:33 -07:00
Simon Montagu
66916d4c11 Clear previous continuation's text run when destroying a continuation text frame. Bug 490747, r+sr=roc 2009-04-30 23:55:59 -07:00
tn
7afdd11636 Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc 2009-04-30 12:07:18 +02:00
Ehsan Akhgari
25ee93c2f6 Fix the test bustage from changeset edbe350e1d81 2009-04-30 10:42:12 +04:30
Ehsan Akhgari
6f5fdce31e Bug 488553 - Random Failure of test_bug467672-4.html; r+sr=roc 2009-04-29 18:32:31 +04:30
Simon Montagu
47400bfd9e Set baseLevel and paraLevel properties on empty frames. Bug 489887, r+sr=roc 2009-04-28 02:23:53 -07:00
Boris Zbarsky
215627f0fb Bug 490220. Make sure to skip over whitespace when looking for a following pseudo-sibling for a frame being removed. r+sr=roc 2009-04-27 14:20:08 -07:00
Jesse Ruderman
431af365ff Add tests 2009-04-26 23:32:41 -07:00
tn
eb440cb520 Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc
--HG--
extra : rebase_source : fd455bec928d342c184089dfba6c75191c4ea28d
2009-04-25 20:19:23 +12:00
Bob Clary
3755ce6189 bug 394014 - crash tests by Martijn Wargers. 2009-04-24 10:08:21 -07:00
Bob Clary
009030e1d2 bug 393326 - crash tests by Martijn Wargers. 2009-04-24 10:08:21 -07:00
Bob Clary
ddc615dce6 bug 384344 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
Bob Clary
52878a8964 bug 383129 - crash test by Martijn Wargers. 2009-04-24 10:08:19 -07:00
Bob Clary
62a23a54e3 bug 378325 - crash test by Martijn Wargers. 2009-04-24 10:08:18 -07:00
Bob Clary
f02787112c bug 356325 - crash test by Martijn Wargers. 2009-04-24 10:08:16 -07:00
Bob Clary
9bfff2c92c bug 354133 - crash test by Martijn Wargers. 2009-04-24 10:08:16 -07:00
Bob Clary
9ba0c76fc7 bug 350267 - crash test by Gavin Sharp. 2009-04-24 10:08:15 -07:00
Bob Clary
7ccc6456ea bug 348729 - crash test by Martijn Wargers. 2009-04-24 10:08:15 -07:00
Bob Clary
2cec0a1646 bug 348126 - crash test by Martijn Wargers. 2009-04-24 10:08:15 -07:00
Bob Clary
4fe75a8b3a bug 344300 - crash test by Martijn Wargers. 2009-04-24 10:08:14 -07:00
Bob Clary
056d6f6271 bug 344064 - crash test by Martijn Wargers, Mats Palmgren. 2009-04-24 10:08:14 -07:00
Bob Clary
52ca7b7131 bug 344047 - crash test by Martijn Wargers. 2009-04-24 10:08:14 -07:00
Bob Clary
50dd26eb41 bug 343293 - crash tests by Martijn Wargers, Boris Zbarsky. 2009-04-24 10:08:13 -07:00