Граф коммитов

7050 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan da0b2fce24 Bug 506615. XUL decks should not have wididgets. r=dbaron
--HG--
extra : rebase_source : 5d6728b11a121565f828f27e8abed5e0172aa069
2009-07-30 14:54:42 +12:00
Robert O'Callahan 660fb71019 Bug 467914. GetOverflowRectRelativeToSelf shouldn't always expect a preEffectsBBox. r=dbaron
--HG--
extra : rebase_source : cc6cd0bf3f4b11785b85baeaf74bd9ef7725c42f
2009-07-30 14:48:13 +12:00
Timothy Nikkel 8520ce4482 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Boris Zbarsky 650edb130c 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 580ce6607a 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 19e7320d34 Followup for bug 504221 to fix debug orange. Have to hold on to an object, not a reference, if the thing passed in might be a temporary. 2009-07-28 11:04:45 -04:00
Boris Zbarsky 3c6d3c4cf7 Bug 504972. Remove some redundant code. r=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky d69901f7d3 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky c7f0644cc7 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 f5275050df 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 a8499d8c4b Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky 066166ddd9 Bug 504221 part 7. Make nsFrameItems inherit from nsFrameList. rfantasai, r+sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky 05aa57522e Bug 504221 part 6. Switch nsBlockFrame::AddFrames to nsFrameList. r=fantasai,roc 2009-07-28 08:51:10 -04:00
Boris Zbarsky 061a1b80fc Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky 82b5b21530 Bug 504221 part 3. Switch overflowFrames storage to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky fccc6aa55c Bug 504221 part 2. Switch ReparentFrameViewList to nsFrameList. r+sr=roc 2009-07-28 08:51:09 -04:00
Boris Zbarsky c2e869a252 Bug 504221 part 1. Introduce framelist slice and enumerator classes and make the framelist versions of nsFrameList::AppendFrames/InsertFrames return a slice for the new frames. r=fantasai, r+sr=roc 2009-07-28 08:51:08 -04:00
Chris Pearce d7898df078 Backout bug 502259 2009-07-28 16:30:11 +12:00
liucougar@gmail.com 8c50682df5 Bug 502259 - Make delete at end of paragraph work r+cpearce,sr+peterv 2009-07-28 14:04:36 +12:00
Michael Kohler 1ebf35eba7 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Boris Zbarsky 5e527a136c 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
Robert O'Callahan 626f0549b2 Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky
--HG--
extra : rebase_source : 920c501f033e026709ec15792cadbb2f24462a0a
2009-07-27 10:06:30 +12:00
Robert O'Callahan 85aa792e8a Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Robert O'Callahan 6b4a99bfc8 Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan e86eceeca4 Bug 505743. Fix nsHTMLScrollFrame::InvalidateInternal to not take the 'invalidation in scrollbar' path when there is no scrollbar. r=dbaron
--HG--
extra : rebase_source : 8709cdba8ea6f9776b61ff935c1c850573caff3a
2009-07-27 09:29:01 +12:00
Robert O'Callahan 4ccaec272f Bug 505667. Don't need to check INVALIDATE_NOTIFY_ONLY in nsHTMLScrollFrame::InvalidateInternal. r=dbaron
--HG--
extra : rebase_source : fa04db29e722a9aea7aaf54c783d07c432d79cad
2009-07-27 09:27:54 +12:00
Robert O'Callahan 6ba57bbdf8 Bug 505912. Trust the widget visibility in UpdateWidgetArea. r=dbaron
--HG--
extra : rebase_source : 4c6e1b2366b430763cce546ab0e26576705a0ca3
2009-07-27 09:17:43 +12:00
Boris Zbarsky decc689d8b Bug 505482. Make sure to not leave frames on overflow lists when we interrupt reflow. Also fixes bug 478527 and bug 496742. r=roc 2009-07-24 09:32:32 -04:00
Zack Weinberg d72ab83441 Bug 486065. Hack nsCSSOffsetState::InitOffsets to zero out computed padding and borders when the scrollbar size is zero. r=dbaron
--HG--
extra : rebase_source : 92bcaee46ded00722e3fc86b4ca538e5f90f16ef
2009-07-30 15:43:22 +12:00
Robert O'Callahan 22e45a4c15 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Robert O'Callahan 95c44491cd Bug 506304. Walk all the way up to the nearest widget when computing event coordinates for windowless plugins. r=bz
--HG--
extra : rebase_source : be25ce5ffbae7c90cf0b211ae818046873b6e09a
2009-07-30 14:56:52 +12:00
Robert O'Callahan 8bed4833dc Remove accidentally commited .rej files 2009-07-22 17:06:12 +12:00
Robert O'Callahan ce06763437 Bug 339548. Part 15: test overlaying an opaque-background table over a plugin. 2009-07-22 12:45:16 +12:00
Robert O'Callahan 2c8eeba774 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 19983dc891 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan 2abcdf488a Bug 352093. Part 14: Make content IFRAMEs windowless. r=bzbarsky 2009-07-22 12:45:11 +12:00
Robert O'Callahan c4938e93f0 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 6fa7477be0 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 b6b99a0719 Bug 352093. Part 6: make GetScreenRect work when appunits-per-dev-pixel varies up the frame tree. r=dbaron 2009-07-22 12:45:06 +12:00
Robert O'Callahan d58b196c75 Bug 339548. Part 11: tests for complex plugin clipping. 2009-07-22 12:45:02 +12:00
Robert O'Callahan 598587160e 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 5876cbb693 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 3d7608a43a 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 da52afa9a8 Bug 505184. Expose nsFrame::DisplayBackgroundUnconditional so we can easily create an nsDisplayBackground elsewhere. r=dbaron 2009-07-22 12:44:51 +12:00
Robert O'Callahan e9c704403e Bug 500632. Suppress invalidation caused by parts inside collapsed scrollbars. r=dbaron 2009-07-22 12:44:49 +12:00
Joe Drew 9c23ca0770 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
Steven Michaud 91a134de7c [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Ehsan Akhgari ee06d54b25 Fix the build bustage from bug 499377 2009-07-15 12:10:26 +04:30
fantasai d3aa3e3ff9 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Peter Van der Beken 51e0e93326 Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
fantasai f9ee2e966c Bug 503183 - Use Overflow Containers for float continuations beyond end of containing block r=roc 2009-07-13 09:50:54 -07:00
Benjamin Smedberg 6b2ae89df2 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Simon Montagu 2b6feaa5f7 Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc 2009-07-12 06:32:48 -07:00
Josh Aas a790c00274 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan a0c7faf418 Bug 371839. Assertions that scan all continuations should bail out if the continuation chain is too long, so they don't add O(N) to algorithmic complexity. r=bzbarsky 2009-07-10 14:03:03 +12:00
Robert O'Callahan 70308cfd2b Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies 2009-07-10 14:03:00 +12:00
Josh Aas 52d340c441 Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
L. David Baron d688eee9b9 Turn assertion into warning since we can hit it in large coordinate cases. (Bug 494237) r+sr=roc 2009-07-08 18:10:29 -07:00
Chris Pearce 337e00937d Bug 501535 - Don't update poster attribute on <audio> elements, only on <video>. r+/sr+ roc. 2009-07-07 14:02:06 +12:00
fantasai f03f0ffb2e Bug 389462 - columns don't reflow on resize r=roc 2009-07-06 18:23:24 -07:00
Robert O'Callahan 7008c5ffd3 Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Timothy Nikkel d79ba77609 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
Graeme McCutcheon f803e9da7a Add a mochitest-based reftest and remove the previously disabled reftest for bug 263683. r=roc 2009-07-03 21:12:06 +01:00
Josh Aas f0487beaad Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Josh Aas a9126f5910 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Masayuki Nakano 247caf75bf Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
Josh Aas 35d3f49bc3 Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas 30bd0a7470 Windows bustage fix for bug 500889. 2009-06-29 15:38:09 -04:00
Josh Aas 03e8417745 Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
David Bolter f1798f3a4f Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Daniel Holbert 6c27a19a3f Bug 465651: Move ReflowOverflowContainerChildren earlier in nsBlockFrame::Reflow. r+sr=roc 2009-06-28 20:56:13 -07:00
Robert O'Callahan 60b99a5c69 Bug 500630. Clip Cocoa plugins to theheir bounds, so an errant plugin won't draw outside its bounds and leave artifacts. r=josh
--HG--
extra : rebase_source : 551f8124ba9afb8576106f38e7916cf8fd6f7111
2009-06-29 10:52:11 +12:00
Robert O'Callahan 9201670f7a 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
Josh Aas 871f98ac16 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Johnny Stenback 13a495c569 Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com 2009-06-26 07:57:26 -07:00
Josh Aas d3dd7b09b8 Bustage fix for bug 500593. 2009-06-26 10:54:51 -04:00
Chris Pearce ca56e0a631 Bug 449156 - Implement HTMLVideoElement.poster, with correct reftests. r+=doublec,jst, sr+=roc 2009-06-26 19:25:17 +12:00
Chris Pearce dfb74860fb Backout bug 449156 due to test-poster-9 failure. 2009-06-26 18:25:03 +12:00
Chris Pearce 661469daa7 Bug 449156 - Implement HTMLVideoElement.poster r+=doublec,jst sr+=roc 2009-06-26 16:23:14 +12:00
Josh Aas 3ff84ea250 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Timothy Nikkel 9e79588e44 Bug 458651. Text hidden with 'blink' should still receive events. r+sr=roc
--HG--
extra : rebase_source : cfde922d71be51795c3d3fa398faead1d00e2e55
2009-06-24 21:09:26 +12:00
Boris Zbarsky 155505ae7b Bug 478465. Don't clobber our NS_FRAME_IN_REFLOW flag by scrolling. r+sr=roc 2009-06-23 21:35:00 -04:00
Karl Tomlinson 5baa51ee45 b=495959 set NS_FRAME_CONTAINS_RELATIVE_HEIGHT for relative line-heights r=bz,dbaron 2009-06-20 13:39:40 +12:00
Josh Aas 655bac0769 Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Jesse Ruderman d6e1bab364 Add a bunch of -moz-column crashtests 2009-06-18 19:17:24 -07:00
Robert Longson cafd92f295 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Jesse Ruderman 5d154f2029 Add crashtest for bug 479938 2009-06-16 12:11:04 -07:00
L. David Baron 6730c2f7fd Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
L. David Baron 2f0c6a9e87 Don't reduce the height we're checking while we reflow for floats. (Bug 494332) r+sr=roc 2009-06-16 08:00:20 -07:00
Josh Aas cd996ad555 Fix some whitespace issues in nsObjectFrame.cpp. no bug, r/sr=sparky 2009-06-15 17:36:11 -04:00
Jesse Ruderman f0b1eb1771 Add crashtests 2009-06-12 19:21:09 -07:00
Timothy Nikkel 8152e3f539 Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky 2009-06-12 21:28:41 -04:00
Neil Rashbrook 2e9bc4f075 Bug 458231 Frame overflow plays havoc with size of <label> or <description> r+sr=roc r=dao for backout of workaround for bug 69710 2009-06-12 08:33:51 +01:00
Robert O'Callahan 6000a74a3d Bug 492837. If a scrollframe's reflow is interrupted, don't clamp the scroll position to the new size. r=bzbarsky
--HG--
extra : rebase_source : f0def3a670f208e5894cdbd650d395d991441c34
2009-06-12 13:46:33 +12:00
Boris Zbarsky c24eca108a Bug 493649. Make sure that we never end up incomplete when our available height is unconstrained. r+sr=roc 2009-06-11 13:09:35 -04:00
Boris Zbarsky bf368314b4 Bug 493863. We might have stopped the loop right after reflowing a column, so put off the CheckForInterrupt on the column-set until after the loop. r+sr=roc 2009-06-11 10:35:08 -04:00
Arpad Borsos edecaebd7a Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Neil Deakin c78cc06ad6 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
Henri Sivonen 5ce5655c12 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Ben Newman 957de28ac9 Bug 487750 - test_plugin_clipping.xhtml fails randomly. r+sr=bz 2009-06-04 14:46:13 -07:00
Robert O'Callahan d4bcb6458c 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 57691a473d Add crashtests 2009-05-26 11:53:12 -07:00
L. David Baron b58b309760 Fix bug 25888 for inline frames other than bullets: redo line reflow when the line's height pushes it into the way of other floats. (Bug 25888) r+sr=roc 2009-05-20 07:21:34 -04:00
L. David Baron 004efec3e9 Implement a method on the float manager to get the largest width available within a height (rather than just at a point). (Bug 25888) r+sr=roc 2009-05-20 07:21:34 -04:00
L. David Baron 7183372a99 Merge InitFloat into AddFloat (on nsLineLayout and nsBlockReflowState). (Bug 25888) r+sr=roc 2009-05-20 07:21:34 -04:00
Jonas Sicking 7bab1a2f04 Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap 2009-05-19 08:54:42 -07:00
Timothy Nikkel 18e24ea351 Bug 493702. Paint subdocuments across iframe boundaries in print presentations when we don't have docshells. r=roc
--HG--
extra : rebase_source : 742a62c9d4940267fee10f58ed7b1ce26909be2a
2009-05-19 21:57:31 +12:00
Karl Tomlinson 1a34a67e20 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
Joe Drew 1a7443c093 Bug 493240. r+sr=bzbarsky 2009-05-16 17:16:33 -04:00
Arpad Borsos 65006dab3a Bug 492937 - kill nsLineLayout::mPlacedFloats and related code; r+sr=roc 2009-05-14 11:31:35 +02:00
Timothy Nikkel bdb591ed97 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
Robert O'Callahan e613e82865 Bug 491960. Only reflow due to selection if we did or will have overflowing selection decorations. r=dbaron 2009-05-15 15:09:49 +12:00
Timothy Nikkel 96d0ce1fd5 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
Karl Tomlinson 0584afb21e b=491241 crash with windowless plugins when MOZ_COMPOSITED_PLUGINS is defined r=jrmuizel 2009-05-15 14:26:10 +12:00
Karl Tomlinson 57b97c5815 b=485125 reparent plugin widgets for delayed destruction. r=jst 2009-05-15 14:16:27 +12:00
Masayuki Nakano 0c80b13eaf Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Arpad Borsos 182558a8ba 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 bc3bb093a0 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
Boris Zbarsky 61f9910a3d Bug 492469. Better handling of end margins/borders/padding for frames that end up complete while having both fluid and fixed continuations. r+sr=dbaron 2009-05-13 12:38:58 -04:00
Arpad Borsos 746f18df96 Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc 2009-05-12 12:13:09 +02:00
Arpad Borsos 1b90a2a7a4 Bug 492510 - Optimize nsLineLayout for memory usage; r+sr=roc 2009-05-12 10:53:06 +02:00
Daniel Holbert 70e1c3c3f2 Bug 490909: Remove old layout debugging code, patch #2: remove 'VerifyTree' & related code. r+sr=dbaron 2009-05-12 12:03:09 -07:00
Simon Montagu 016f22b79f Fix warnings caused by the patch for bug 492231. r+sr=roc 2009-05-12 01:18:27 -07:00
Boris Zbarsky 82f814be2e 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 a91ccc9843 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
Simon Montagu 399cf4c86e Do bidi reordering for visual RTL frames in the same way as other bidi frames. Bug 492231, r+sr=roc 2009-05-11 03:36:01 -07:00
Boris Zbarsky e7c0dfdc96 Bug 491537. Make sure to set dirty buts all the way up the tree when interrupting inside an abs pos child or child of a columnset. r+sr=dbaron 2009-05-09 22:57:47 -05:00
Boris Zbarsky c4c2621f1e Bug 492080. More correct marking of dirty bits on floats when we interrupt. r+sr=dbaron 2009-05-09 22:51:34 -05:00
Graeme McCutcheon bf7adaa730 Bug 348681 follow-up comment fix. 2009-05-09 22:36:17 +01:00
Graeme McCutcheon 33ecafda07 Bug 348681 - Don't allow overlapping ranges in the selection. r+sr=roc 2009-05-09 22:30:19 +01:00
fantasai de3e25c889 Fix bug 399412 - don't reflow overflow containers that are pending re-placement. r+sr=roc 2009-05-08 18:53:44 -07:00
L. David Baron 2c831e271a Traverse and unlink selection listeners. (Bug 490071) r+sr=peterv 2009-05-08 21:59:26 -07:00
Ryo Onodera 83f6451dc7 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 4962cbd940 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
L. David Baron bd3965a189 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Vladimir Vukicevic f1f442b5ff b=488692; full page zoom broken with canvas; r=roc 2009-05-06 13:02:59 -07:00
Daniel Holbert f246fd4cb0 Bug 490909: Remove old debugging functions InLineList & InSiblingList, since they're not used by anything. r+sr=dbaron 2009-05-06 10:03:59 -07:00
Boris Zbarsky 929cebc7b9 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Boris Zbarsky 8cfb983d23 Bug 491415. Need to initialize this member so we don't report bogus ascents. r+sr=roc 2009-05-05 01:01:47 -04:00
Simon Montagu 2ddcc54f67 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 be5e21e8e3 Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc 2009-04-30 12:07:18 +02:00
Robert O'Callahan c36ab3ba33 Bug 384037. Eliminate nsFrameNavigator and switch XUL splitters to using nsFrameList instead. Also add a check so that we don't crash when a splitter's parent is not a XUL box. r+sr=dbaron
--HG--
extra : rebase_source : 2438d96782b0d3c976fe7adf4f8e167811d76e64
2009-04-25 20:33:32 +12:00
Robert O'Callahan b5ad245384 Bug 485121. Reenable test_plugin_position.xhtml
--HG--
extra : rebase_source : ba0d5f027b1990315a463452e8e7bbeb6a1bf28a
2009-04-10 13:16:53 +12:00
Robert O'Callahan 0236d67b35 Bug 485121. The screen coordinates for an element should be snapped to the nearest screen pixel, not rounded out, for consistency with the way we position native widgets and snap rectangle drawing. r=dbaron
--HG--
extra : rebase_source : 6fd7efc5516702118e5207b2ff8150dc1859c3e4
2009-04-10 13:15:47 +12:00
tn e7e7c0b9df 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
L. David Baron af336b7dcc Mark the tests that were just disabled more clearly in the makefiles. 2009-04-24 15:45:34 -07:00
Bob Clary 5bda60bcbe bug 421839 - disable test_bug421839-1.html. 2009-04-24 14:54:24 -07:00
Bob Clary 4d54549e11 bug 421839 - mochikit test by Martijn Wargers, Mats Palmgren. 2009-04-24 10:08:23 -07:00
Bob Clary 89a7231c72 bug 382745 - crash test by Martijn Wargers. 2009-04-24 10:08:19 -07:00
Bob Clary 72acccf994 bug 368863 - crash test by Martijn Wargers. 2009-04-24 10:08:16 -07:00
Bob Clary e0a242a063 bug 348887 - crash test by Martijn Wargers. 2009-04-24 10:08:15 -07:00
Bob Clary 0676c85b6a bug 289864 - crash test. 2009-04-24 10:08:08 -07:00
Daniel Holbert 5a1fc1d125 bug 431260: check in crashtests 2009-04-23 15:25:57 -07:00
Boris Zbarsky e1074232d5 Backed out changeset cad52cbe6537, since it still goes orange.
--HG--
extra : rebase_source : c9766eb6ec756b72753a562470216742bc3e6ce8
2009-04-23 15:36:55 -04:00
Boris Zbarsky 554038b465 Bug 489560. Trying to reenable the test for bug 488417 2009-04-23 13:53:44 -04:00
Simon Montagu 13b1729f61 Enable bidi when a frame has right-to-left direction during style post-processing instead of frame construction to catch dynamic changes to direction. Bug 489517, r+sr=dbaron 2009-04-23 09:09:47 +03:00
Masayuki Nakano 1f19ae399f Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc 2009-04-23 12:27:12 +09:00
L. David Baron a41abfb92e Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc 2009-04-22 10:13:48 -07:00
L. David Baron 69c05abf68 Fix miscellaneous typos in comments that I've had in my tree for ages. 2009-04-22 10:13:48 -07:00
Joe Drew 2b61f4589c Backed out - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent hangs in Tp. 2009-04-21 23:02:55 -04:00
Joe Drew f5e056815d Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky 21484dcdf0 Disabling test for bug 488417 because it seems to be making mochitest unhappy for later tests somehow. 2009-04-21 21:35:28 -04:00
Boris Zbarsky 29e86d8bc8 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Boris Zbarsky 518099c27c Trying to reenable test for bug 488417, with a test change to hopefully make the orange go away. 2009-04-21 19:53:13 -04:00
Boris Zbarsky 29771df1cf Disable test for bug 488417 because it seems to be making mochitest unhappy for later tests somehow. 2009-04-21 17:57:53 -04:00
Boris Zbarsky a3765c4791 Bug 488417. Need to hold strong refs to ranges across calling RemoveRange. r+sr=roc 2009-04-21 15:57:40 -04:00
Alexander Surkov c4b0c0a555 Bug 483573 - Expose HTML5 video and audio elements' embedded controls through accessibility APIs, r=davidb, r=MarcoZ, sr=roc 2009-04-20 09:09:21 +02:00
Dão Gottwald 76a9fcf39f merge 2009-04-18 10:53:57 +02:00
Dão Gottwald a5c6ac2812 Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
Bernd aa9c43e46b add some debug code to column reflow, bug 482106 r/sr=roc 2009-04-18 10:22:34 +02:00
tn 743967da8d Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
Boris Zbarsky 6ea80bb6fa Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00
Robert O'Callahan a1f0acac8f Back out GetScreenRect fix in bug 485121 in case it caused a test failure on Linux 2009-04-12 00:38:50 +12:00
Robert O'Callahan 06964d00de Backed out changeset b5f88bffb072 2009-04-12 00:38:16 +12:00
Robert O'Callahan 7c5d43cd91 Backing out enabling of test_plugin_position.xhtml while we back out the fix for that test 2009-04-12 00:37:40 +12:00
Robert O'Callahan 7b3c3b61b6 Backed out changeset 3dea9dc659dd 2009-04-12 00:37:09 +12:00
Robert O'Callahan 1f5c50e35e Bug 468491. When removing the continuations of a text frame, remove them starting at the end to avoid disrupting frame invariants by removing frames from the middle of the flow. r=dbaron
--HG--
extra : rebase_source : cc251f7dbc49568404aa2ebd7342e73b6d2fdf3a
2009-04-10 13:19:06 +12:00
Robert O'Callahan 459636ec0e Bug 485121. Reenable test_plugin_position.xhtml
--HG--
extra : rebase_source : c45e62e2f5d1e6dd975aa69edcd9e4b3cfe9c495
2009-04-10 13:16:53 +12:00
Robert O'Callahan f85352e2ac Bug 485121. The screen coordinates for an element should be snapped to the nearest screen pixel, not rounded out, for consistency with the way we position native widgets and snap rectangle drawing. r=dbaron
--HG--
extra : rebase_source : d76f8fa9b8b9096ad833708a913e9af05b22dcea
2009-04-10 13:15:47 +12:00
Boris Zbarsky bc70ba2da9 Bug 487844. No need to mark self as NS_FRAME_IS_DIRTY just because our child list changed. r+sr=dbaron 2009-04-10 16:42:29 -04:00
Zack Weinberg 16e7aa3b86 Bug 487831: Remove nsBox::(Get|Set)WasCollapsed, which are totally unused. r+sr=dbaron 2009-04-10 13:29:50 -07:00
Dão Gottwald 22c6682386 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2009-04-10 10:24:24 +02:00
Josh Aas 8eec087ad5 More OJI removal bustage fixes for static builds. b=485984 2009-04-10 00:30:44 -04:00
Josh Aas e1f29205b9 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
L. David Baron 226a2c9ef1 Use a struct containing a rectangle and a boolean for float available space rather than passing them around separately. (Bug 25888) r+sr=roc 2009-04-08 13:52:37 -07:00
L. David Baron 4d46ef30cc Complete switch away from nsBlockReflowState::mAvailSpaceRect by removing the old members. (Bug 25888) r+sr=roc 2009-04-08 13:52:37 -07:00
L. David Baron 4859c0df51 Switch away from nsBlockReflowState::mAvailSpaceRect in nsBlockFrame::PropagateFloatDamage. (Bug 25888) r+sr=roc 2009-04-08 13:52:37 -07:00
L. David Baron cc27e59c43 Switch away from nsBlockReflowState::mAvailSpaceRect for reflow of child blocks. (Bug 25888) r+sr=roc 2009-04-08 13:52:37 -07:00
L. David Baron 3c05d63708 Switch away from nsBlockReflowState::mAvailSpaceRect for inline reflow. (Bug 25888) r+sr=roc 2009-04-08 13:52:37 -07:00
L. David Baron 321d3bcfc1 Switch away from nsBlockReflowState::mAvailSpaceRect for reflow of child floats. (Bug 25888) r+sr=roc 2009-04-08 13:52:36 -07:00
L. David Baron 10ad6a7c4c Switch away from nsBlockReflowState::mAvailSpaceRect in bullet reflow, and simultaneously refix bug 427370 in a way that also fixes bug 428810. (Bug 25888) r+sr=roc 2009-04-08 13:52:36 -07:00
L. David Baron 6e64ed4b4a Switch away from nsBlockReflowState::mAvailSpaceRect in nsBlockReflowState::AddFloat. (Bug 25888) r+sr=roc 2009-04-08 13:52:36 -07:00
L. David Baron 4ff8795910 Begin removing mAvailSpaceRect and mBandHasFloats from nsBlockReflowState by converting the current state-mutation GetAvailableSpace to a getter GetFloatAvailableSpace to replace it, and reimplementing the state mutation in terms of the getter. (Bug 25888) r+sr=roc 2009-04-08 13:52:36 -07:00
Vladimir Vukicevic 20eb9356b1 b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc 2009-04-08 13:27:20 -07:00
Boris Zbarsky b818d2b5ff Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky ac3a8c320a Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
rename : layout/reftests/table-anonymous-boxes/white-space-1-ref.html => layout/reftests/table-anonymous-boxes/white-space-ref.html
2009-04-08 12:56:16 -04:00
Boris Zbarsky a40034464a Bug 486547. Fix build bustage on Windows 2009-04-06 14:39:02 -04:00
Boris Zbarsky 6ed75f9140 Bug 486547 part 7. Simplify some more of the table code in nsFrameSelection. r+sr=smaug 2009-04-06 13:21:30 -04:00
Boris Zbarsky ce74bb8580 Bug 486547 part 6. Simplify some cell-related code in nsFrameSelection. r+sr=smaug 2009-04-06 13:20:32 -04:00
Boris Zbarsky 2f22dc7db6 Bug 486547 part 5. Switch various table cell selection stuff off nsIDOMRange. r+sr=smaug 2009-04-06 13:20:30 -04:00