Commit Graph

540 Commits

Author SHA1 Message Date
L. David Baron
2aa2ccaca4 Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
927e7f0297 Back out 71032d21e8b1e6955baa996d9555624252700c6e due to mac startup failures. 2008-11-25 15:08:51 -08:00
L. David Baron
49d3fcc1ac Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
L. David Baron
9b86daea26 Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky 2008-11-02 11:44:55 -08:00
Benjamin Smedberg
9696613a50 Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren 2008-10-30 12:17:59 -07:00
Daniel
4b653f7ab0 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc 2008-10-29 06:11:40 +01:00
Chris Double
b9fbf2e7c2 Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc 2008-10-29 07:48:39 +13:00
Benjamin Smedberg
4214b72dd5 Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212 2008-10-28 02:49:14 -04:00
Benjamin Smedberg
dd4c950cff Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!

r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
Gavin Sharp
7ed4660fab Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc 2008-10-27 16:16:23 -04:00
Theppitak Karoonboonyanan
018ec4b25f Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc 2008-10-16 20:44:32 +13:00
Vladimir Vukicevic
e3c6205bcf let's use the right #ifdef here so this actually works; mobile fix, r=stuart 2008-10-10 15:30:52 -07:00
Boris Zbarsky
d0177423c2 Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking 2008-10-10 13:44:43 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Neil Rashbrook
87def3185e Bug 365467 Focus contollers initial window and element can get out of sync r+sr=jst
Reordering tests to see if that can make the change stick

--HG--
rename : browser/base/content/test/browser_autodiscovery.js => browser/base/content/test/browser_discovery.js
rename : browser/base/content/test/autodiscovery.html => browser/base/content/test/discovery.html
2008-10-10 10:36:41 +01:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Brad Lassey
add313bab4 Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc 2008-10-08 19:28:31 -04:00
Ted Mielczarek
ecd6b2666b Backed out changeset 893b2c3b521f (Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst) 2008-10-08 12:33:52 -04:00
Neil Rashbrook
3d8ed29e1c Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst 2008-10-08 13:24:58 +01:00
Gavin Sharp
31508f4ffc Bug 454324: Handle error from SelectNode to fix crash when selection-less items are dragged (including, recently, tabs). r+sr=bzbarsky 2008-10-05 20:30:09 -07:00
L. David Baron
4c2a55f0ee Backed out changeset 6f3797124c84: Relanding: Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc 2008-10-01 20:11:44 -07:00
L. David Baron
7c8c7d48e3 Back out bug 114169 (changeset 8110e3bae4bf) and change the test (changeset 8f53fcb8bde5) to todos, to see if it was repsonsible for the regression in bug 458065. 2008-10-01 10:36:54 -07:00
Jonathan Watt
ec710d7a39 Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc 2008-09-29 15:57:38 -07:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Arpad Borsos
d0e70a51bf Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
Robert O'Callahan
f79290bb0e Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Robert O'Callahan
34d5a63301 Bug 454004 - Ctrl+Home / Ctrl+End don't work in Mail Compose window; r+sr=mats.palmgren 2008-09-18 01:28:17 +02:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
L. David Baron
fa9533f8cf Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky 2008-09-09 06:43:10 -07:00
timeless@mozdev.org
b0c349250f Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos
1f62482141 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Arpad Borsos
4b171f9d59 Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
Neil Deakin
5b84dc9285 Bug 439565, crash with drag image not in document 2008-08-27 10:46:29 -04:00
Martijn Wargers
f0b88f7d3d Bug 449653. Make drawWindow work even inside an onload handler (so before we've unsuppressed painting), r+sr=roc 2008-08-18 15:09:17 -04:00
Rob Arnold
f6bda8fda0 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
addab50588 Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky 2008-07-22 21:50:20 -07:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Boris Zbarsky
f98d5014e5 Bug 431770. Make sure to start/end a frame constructor update when reconstructing frames. r+sr=dbaron 2008-07-11 17:15:11 -04:00
Robert O'Callahan
cf7c906882 Fixing bustage 2008-07-09 20:56:02 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
3c3ddb020f Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats 2008-06-26 10:41:04 +12:00
L. David Baron
0f7580e2bf Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky 2008-06-10 17:26:59 -07:00
gavin@gavinsharp.com
1a44673b56 Back out patch for bug 144000 (backout patch by jst@mozilla.org, r=uriber, sr=peterv, a=beltzner) 2008-04-22 13:48:37 -07:00
jonas@sicking.cc
ea7b3dfeb2 Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner 2008-04-18 10:20:11 -07:00
roc+@cs.cmu.edu
0608964380 Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron 2008-04-18 02:21:21 -07:00
roc+@cs.cmu.edu
f674174858 Bug 428156 backout 2008-04-17 04:52:32 -07:00
roc+@cs.cmu.edu
25d4009a17 Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner 2008-04-17 01:15:14 -07:00
Olli.Pettay@helsinki.fi
ec05b75347 backout Bug 424377, a=beltzner 2008-04-15 11:02:22 -07:00
dbaron@dbaron.org
72f25cf7a0 Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons 2008-04-14 18:04:18 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
reed@reedloden.com
daf0485896 Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-08 11:52:48 -07:00
mats.palmgren@bredband.net
6132a1f02e Disconnect the frame selection object from the pres shell earlier. b=421083 r+sr=roc a1.9=beltzner 2008-04-02 19:42:20 -07:00
Olli.Pettay@helsinki.fi
aca9d2e936 Bug 424377, r=jst, sr=roc 2008-04-01 03:37:28 -07:00
aaronleventhal@moonset.net
14247d2b05 Bug 423681. Accessible text events broken. r=sicking, sr=bz, a=schrep 2008-03-18 18:37:09 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
dbaron@dbaron.org
4f711db346 Don't let the pres context's visible area get permanently set to an unconstrained height when we call ResizeReflow with an unconstrained height during SizeToContent. b=371508 r+sr=roc a=blocking1.9+ 2008-03-12 15:04:45 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
masayuki@d-toybox.com
3dcfbbf7fc Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner 2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com
f6e10b8d70 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
22b844e897 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
roc+@cs.cmu.edu
a3b0d9b560 Bug 317189. Do the second-scroll-to-anchor on onload (i.e. subresources have loaded), not just when the document has finished loading. Also, don't do it at all if the user has scrolled manually between the first anchor scroll and the second. r+sr=dbaron 2008-02-27 02:01:17 -08:00
roc+@cs.cmu.edu
705c2058b7 Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron 2008-02-27 01:46:22 -08:00
roc+@cs.cmu.edu
f19a84e63b Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep 2008-02-21 18:24:04 -08:00
reed@reedloden.com
8980f8d4ec Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures. 2008-02-20 03:10:16 -08:00
reed@reedloden.com
a82ed7e493 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep] 2008-02-20 02:19:31 -08:00
masayuki@d-toybox.com
a4cda6d294 Bug 417315 Cannot use IME menus during IME transaction #1 r=josh+roc, sr=roc, a1.9=beltzner 2008-02-19 23:16:06 -08:00
dbaron@dbaron.org
cafaf208a1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
reed@reedloden.com
017aad07f5 Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745). 2008-02-15 12:20:55 -08:00
reed@reedloden.com
0aa97a6838 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner] 2008-02-14 21:30:34 -08:00
bzbarsky@mit.edu
147c7b397d Give the prefs stylesheet a .href. Bug 416896, r+sr=dbaron, a=schrep 2008-02-13 13:47:22 -08:00
jonas@sicking.cc
ea52237748 Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron 2008-01-29 20:53:46 -08:00
aaronleventhal@moonset.net
aa49d6c295 Bug 414654. Accessibles not hidden for visibility:hidden w/ position:absolute. r+sr=roc, a=beltzner 2008-01-29 20:17:57 -08:00
bzbarsky@mit.edu
35a78c727b Speed up page zoom by skipping the unnecessary resize reflow when we tell the viewmanager about its new size, since we plan to go ahead and do a full dirty reflow right after that. Bug 403660, patch by Daniel Brooks <db48x@yahoo.com>, r=bzbarsky, sr=roc 2008-01-28 20:10:59 -08:00
roc+@cs.cmu.edu
04ea5b16d9 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky 2008-01-26 15:59:50 -08:00
reed@reedloden.com
0a63d0913d Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) / chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+] 2008-01-21 23:39:06 -08:00
bzbarsky@mit.edu
a0a4bcad25 Add an internal security-check-less method for adding rules to stylesheets to fix bug 386939. r+sr=dbaron 2008-01-17 21:23:44 -08:00
hwaara@gmail.com
9fc1c6a41c bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons 2007-12-19 11:40:18 -08:00
reed@reedloden.com
98141f6d9e Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+] 2007-11-30 23:22:44 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
Olli.Pettay@helsinki.fi
cb300c549e Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-22 07:08:13 -08:00
Olli.Pettay@helsinki.fi
022f68b3c4 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-20 14:30:27 -08:00
Olli.Pettay@helsinki.fi
7181683a48 Bug 401528, backing out, because of crashes 2007-11-15 00:49:35 -08:00
Olli.Pettay@helsinki.fi
0ea4e7e78b backout Bug 373344, the assertion is still there :( 2007-11-13 02:54:01 -08:00
Olli.Pettay@helsinki.fi
d4a4211345 Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-13 02:29:29 -08:00
peterv@propagandism.org
1c227b78cc Fix for bug 394264 (Ctrl+Home doesn't work, in the body of a message being composed). r=Neil, sr=jst. 2007-11-12 06:46:13 -08:00
Olli.Pettay@helsinki.fi
788a7e1a07 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-12 04:20:41 -08:00
Olli.Pettay@helsinki.fi
0519bd5e7b back out Bug 373344 2007-11-09 01:40:45 -08:00
Olli.Pettay@helsinki.fi
d1e49614f0 Bug 373344, r+sr=roc, a=beltzner 2007-11-09 01:27:49 -08:00
reed@reedloden.com
585bdc919b Bug 401361 - Draw correctly when drawWindow is called on a window using fullZoom [p=roc r+sr=vlad a=blocking1.9+] 2007-11-07 20:43:36 -08:00
reed@reedloden.com
36828cf90a Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:39:02 -08:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
bzbarsky@mit.edu
a027b56a4f Don't run XBL constructors during frame construction, ever. Bug 398006, r=sicking, sr=roc 2007-10-18 20:51:15 -07:00
bzbarsky@mit.edu
7facde4eac Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
mrbkap@gmail.com
51598ca325 Restore the right caret in all cases. bug 395888, r+sr+a=roc 2007-09-22 14:06:58 -07:00
bzbarsky@mit.edu
e400c6fe35 Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc 2007-09-20 19:47:19 -07:00
bzbarsky@mit.edu
d042521385 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
47f2b7dfa5 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
b2fb733cfc Resize the subdocument off a post-reflow callback so that we don't run script during reflow, and a few related checks to make sure we can deal with script in reflow callbacks better. Bug 396587, r+sr+a=roc. 2007-09-19 19:46:28 -07:00
bzbarsky@mit.edu
65e44633c8 Fix bug 396286. r+sr+a=roc 2007-09-17 18:16:39 -07:00
bzbarsky@mit.edu
97c97d8a5f Process XBL constructors after processing style reresolves. In particular, this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc 2007-09-14 12:15:44 -07:00
surkov.alexander@gmail.com
017060dc17 Bug 388927 - getChildAtPoint fails for scrolled content, r=evan.yan, roc, sr=roc, a=dsicore 2007-09-05 01:00:40 -07:00
bzbarsky@mit.edu
b0d2800c3f Make sure content is up to date before we start processing restyles. Bug 393801, r+sr+a=roc 2007-09-04 01:31:01 -07:00
martijn.martijn@gmail.com
dd8687a04c Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray, patch by Alfred Kayser, r+sr=roc, a=dbaron 2007-08-30 08:29:06 -07:00
gijskruitbosch@gmail.com
b0138c1358 Backing out fix for bug 92543 due to build bustage 2007-08-28 02:10:22 -07:00
gijskruitbosch@gmail.com
b095022a82 Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr=roc@ocallahan.org (Robert O'Callahan) a=dbaron@mozilla.com (David Baron) 2007-08-28 01:53:33 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
9d5ecb58f1 Fix Windows build bustage 2007-08-21 20:16:18 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
Olli.Pettay@helsinki.fi
d023c05d44 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
bzbarsky@mit.edu
f75c135498 Followup for bug 390423: remove a now-unused variable. Patch by Ben Karel <web+moz@eschew.org>, r+sr+a=bzbarsky 2007-08-17 23:13:10 -07:00
philringnalda@gmail.com
48c8d7714f Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
4c1685120f Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc 2007-08-10 18:44:44 -07:00
bzbarsky@mit.edu
6b5d9a0732 Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
bzbarsky@mit.edu
e1604f73ea Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
dbaron@dbaron.org
fc5d9ad4ab Relanding patch for bug 387884 that I accidentally reverted while relanding bug 66619 (a=DEBUG-only): Patch by jwatt@jwatt.org: Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-08-02 17:09:18 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
sharparrow1@yahoo.com
fb3a8889db Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
peterv@propagandism.org
b5220dfda1 Fix for bug 386300 (Caret disappears when pressing UP at the top of a contenteditable region). r/sr=jst. 2007-07-19 02:47:49 -07:00
enndeakin@sympatico.ca
d871c755b7 Bug 388064, remove extra active popup list from presshell, since popup manager now tracks popups, and does so for all popups, r+sr=roc 2007-07-16 07:53:32 -07:00
dbaron@dbaron.org
855e6829f6 Don't drop empty rectangles on the floor. b=388019 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:55:04 -07:00
dbaron@dbaron.org
7c3a033999 Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:53:19 -07:00
dbaron@dbaron.org
67b7eda534 Back out bug 66619 until I get review on bug 388019. 2007-07-13 22:18:09 -07:00
jwatt@jwatt.org
aceedd0816 Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-07-13 04:03:48 -07:00
dbaron@dbaron.org
1a03b72c9c Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-12 16:48:37 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jruderman@hmc.edu
777ecef0f6 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky. 2007-07-07 16:52:59 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
sharparrow1@yahoo.com
c42eac0192 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
sharparrow1@yahoo.com
2dfa401cab Bug 385862: View usage cleanups. r+sr=roc 2007-06-27 09:37:50 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
bzbarsky@mit.edu
b689f46a37 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron
2007-06-15 22:12:58 -07:00
sharparrow1@yahoo.com
2c7439459f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
mats.palmgren@bredband.net
242b3deec7 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir 2007-05-17 03:14:35 -07:00
dbaron@dbaron.org
8d20e3f29b Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
bzbarsky@mit.edu
63661ce0ab Make sure FrameNeedsReflow() is not called during reflow, and remove thewasDirty asserts and O(N^2) check for existing reflow root in the list. Bug379904, r=roc, sr=dbaron 2007-05-15 20:22:45 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
mats.palmgren@bredband.net
ba05ce501d Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
bzbarsky@mit.edu
2464dea33d Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc 2007-05-07 21:46:55 -07:00
bzbarsky@mit.edu
56618fc0ac Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
sharparrow1@yahoo.com
7b9d18d3fe Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
2d01bfcf6a Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz 2007-05-04 11:09:02 -07:00
aaronleventhal@moonset.net
76c30e6edf Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 19:19:18 -07:00
aaronleventhal@moonset.net
7385300b31 Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6b2f0681ff Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 12:22:24 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
bzbarsky@mit.edu
8416080bd2 Fix build bustage 2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
05d5e6a371 Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
2172c60660 Make sure to flush out reflows before firing onload instead of (imperfectly)blocking onload on reflow events. This makes sure that we are in fact fullyreflowed before onload fires. Bug 379093, r+sr=roc 2007-04-29 20:09:55 -07:00
bzbarsky@mit.edu
e0ed942e8a Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
a5e93e2e05 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
789ffd0e73 Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle. 2007-04-26 15:46:05 -07:00
bzbarsky@mit.edu
b7a4fc60e7 Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc 2007-04-25 19:33:02 -07:00
sharparrow1@yahoo.com
59eeb27c4d Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
860a7a4ebd Remove the root from mDirtyRoots if we resize-reflow it, so that we don't getassertions about frame state not matching with whether the frame is inmDirtyRoots. Bug 374167, r+sr=dbaron 2007-04-25 17:17:50 -07:00
sharparrow1@yahoo.com
5885215d03 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
sharparrow1@yahoo.com
add7264218 Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
13e6ddd1c4 Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron 2007-04-25 01:22:28 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
bzbarsky@mit.edu
2491d0c723 Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
1e5e8e3c76 Trying something to see its effect on Tp2. Will back out in the morning.Followup to bug 84582, no reviews yet. 2007-04-23 02:36:40 -07:00
Olli.Pettay@helsinki.fi
e53440116d Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
enndeakin@sympatico.ca
9e554b3e8b Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
bzbarsky@mit.edu
357c10a896 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
uriber@gmail.com
ac620263e8 For caret browsing, initialize the caret position to the top of the page (if there isn't already a selection). bug=144000 r+sr=bzbarsky 2007-04-14 09:51:20 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
enndeakin@sympatico.ca
1a17f18934 Bug 375684, assertion when source of a drag is the root element, r+sr=roc 2007-03-29 16:58:59 -07:00
enndeakin@sympatico.ca
d8627a0a9d Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
sharparrow1@yahoo.com
bdebedc073 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc 2007-03-25 18:12:49 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00