Commit Graph

716 Commits

Author SHA1 Message Date
mats.palmgren@bredband.net
8a34355d8d Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
dbaron@dbaron.org
d21cb374bd Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
masayuki@d-toybox.com
8777fe22ee Bug 301149 :hover is processed in Print Preview mode r+sr=roc 2006-11-01 13:56:48 +00:00
roc+@cs.cmu.edu
d9807fd270 Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
roc+@cs.cmu.edu
220cb21f8e Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron 2006-09-19 22:05:33 +00:00
mats.palmgren@bredband.net
7ad743157e Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part) 2006-07-06 10:43:51 +00:00
roc+@cs.cmu.edu
ae8b9b80de Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
roc+@cs.cmu.edu
dfd4958a43 Bug 341695. Never look at the mRect coordinates of SVG foreignobject frames, SVG uses them for other things. r+sr=tor 2006-06-19 22:06:41 +00:00
roc+@cs.cmu.edu
5b00e4d266 Bug 334765. Fix XUL boxobject coordinates to not take scrolling into account. Second try, with a patch that hopefully won't regress Tp. r+sr=bzbarsky 2006-06-16 02:40:29 +00:00
tor@cs.brown.edu
4f5881060b Bug 341021 - Remove nsISVGOuterSVGFrame interface. r+sr=roc 2006-06-15 19:10:28 +00:00
bzbarsky@mit.edu
bafb642569 Make sure to actually return something. Bug 341465, patch by Ryan VanderMeulen
<ryanvm@gmail.com>, r+sr=bzbarsky
2006-06-15 03:45:40 +00:00
roc+@cs.cmu.edu
f8aef6bd08 Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
roc+@cs.cmu.edu
c9c588ba77 Bug 334765. Testing backout to see if it was responsible for btek's Tp change. 2006-06-07 02:35:57 +00:00
roc+@cs.cmu.edu
f029fedf44 Bug 334765. Don't include scroll offsets in DOM element offset calculations. r+sr=bzbarsky 2006-06-06 22:31:17 +00:00
cvshook@sicking.cc
b60e5a2ad4 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 15:50:47 +00:00
roc+@cs.cmu.edu
633d130def Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap 2006-04-27 02:45:03 +00:00
mrbkap@gmail.com
bcd931fd57 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
dbaron@dbaron.org
96634178f2 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron@dbaron.org
ecb6783788 Fix asymmetry so things are the same with scrollbars on the left. b=330732 r+sr=roc 2006-03-23 00:11:01 +00:00
roc+@cs.cmu.edu
1967e0fe6e Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
roc+@cs.cmu.edu
6addca7b87 Fix build bustage on non-SVG builds 2006-02-21 01:24:42 +00:00
roc+@cs.cmu.edu
4832d6344b Fix build bustage on non-SVG builds 2006-02-21 01:07:59 +00:00
roc+@cs.cmu.edu
12f12413da Bug 326966. Reenable SVG <foreignobject> for cairo-gfx builds. r+sr=tor 2006-02-21 00:33:27 +00:00
roc+@cs.cmu.edu
c1cf5afb06 Bug 324896. Always paint some kind of background when we're asked to paint, for non-translucent windows. r+sr=dbaron 2006-02-06 20:38:47 +00:00
roc+@cs.cmu.edu
07a1c6d91d Bug 324883. Be sure to initialize variables! Fix some cases where we weren't scrolling with bitblit when we could be. r+sr=dbaron 2006-02-06 02:41:51 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
roc+@cs.cmu.edu
358bfc2241 Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc 2005-12-12 23:53:06 +00:00
roc+@cs.cmu.edu
ebe59dacbe Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
dbaron@dbaron.org
31b3b26723 Fix event coordinate regression when views don't line up with widgets. b=308521 Patch from Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-09-18 18:03:06 +00:00
roc+@cs.cmu.edu
66a090d153 Bug 305825. Bulletproof event handling so we don't crash when the presentation goes away that the event is based on. r+sr=roc, patch by Eli Friedman 2005-09-15 04:03:07 +00:00
roc+@cs.cmu.edu
3ce3467504 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
roc+@cs.cmu.edu
a5c9431513 Bug 296000. Get rid of some unnecessary code. r+sr=roc,a=asa,patch by Martijn Wargers 2005-06-26 22:22:40 +00:00
roc+@cs.cmu.edu
fb15791811 Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver 2005-06-02 09:00:48 +00:00
bzbarsky@mit.edu
d2d558b095 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan
2005-04-14 15:30:35 +00:00
roc+@cs.cmu.edu
47dfcd9b72 Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron 2005-04-03 21:00:41 +00:00
dbaron@dbaron.org
c7fad4aada Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime. 2005-03-31 18:04:50 +00:00
roc+@cs.cmu.edu
1191e43f13 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
roc+@cs.cmu.edu
e7a9ada311 Bug 262403. Don't do a line break just because a float was broken across pages. Also, squash some assertions while printing. r+sr=dbaron 2005-03-24 01:15:07 +00:00
bzbarsky@mit.edu
fd8f624595 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc
2005-02-18 06:06:47 +00:00
roc+@cs.cmu.edu
03c9b8cc74 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
roc+@cs.cmu.edu
b9ae93961a Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron 2004-11-25 14:51:00 +00:00
neil@parkwaycc.co.uk
954ec4a8a9 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
aaronleventhal@moonset.net
8345127d1d Bug 265940. Textfield doesn't scroll horizontally to left after backspace or left arrow. r=mats, sr=roc, a=asa 2004-11-19 03:49:20 +00:00
roc+@cs.cmu.edu
5dd4d413e4 Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner 2004-11-03 02:52:16 +00:00
aaronleventhal@moonset.net
e0371835c9 Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc 2004-10-19 02:24:27 +00:00
dbaron@dbaron.org
c120531740 Fix bustage. b=259615 (and 258521) 2004-09-21 05:04:01 +00:00
dbaron@dbaron.org
1b13fcd284 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
roc+@cs.cmu.edu
f6d4272f10 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
roc+@cs.cmu.edu
7c22672fe5 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
mats.palmgren@bredband.net
c17e7d41df Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00