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

6853 Коммитов

Автор SHA1 Сообщение Дата
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