bzbarsky%mit.edu
f53f98f7f3
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
8fb537acb7
Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@164830 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:52:16 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
4ece7e1998
Make the frame constructor state and save state automatically handle inserting
...
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers. Bug 264914, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
9c030d6519
Assert if someone calls frame->SetNextSibling(frame), since that creates a
...
looped linked list. Bug 266332, patch by timeless, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164675 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:37:35 +00:00
bzbarsky%mit.edu
c9f51a3a10
Add loop-detection to the various methods that can change an nsFrameList. This
...
will assert if a loop is detected. Bug 266332, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164674 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:35:53 +00:00
bzbarsky%mit.edu
f8122fc136
Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
...
trigger an assert. Bug 266321, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164673 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:27:40 +00:00
aaronleventhal%moonset.net
928aa93531
Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@164599 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 13:40:25 +00:00
bugzilla%arlen.demon.co.uk
fecf3858a6
Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
...
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164598 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 12:28:19 +00:00
bzbarsky%mit.edu
874f1be4cf
Factor out the code to insert a frame into the right childlist (used for
...
handling out-of-flows) into a function on the frame constructor state. Enforce
some invariants via !important rules in html.css instead of hacking them into
the code. Bug 263406, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
4faa08a83c
Make sure to clear the event queue before processing restyles, in case that
...
tries to post reflow events. Bug 266171, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@164465 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 21:42:37 +00:00
aaronleventhal%moonset.net
53a4f4090a
Bug 251498. Implement outline-offset. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
bmlk%gmx.de
b90139c45c
prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky
...
git-svn-id: svn://10.0.0.236/trunk@164356 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 12:31:02 +00:00
bzbarsky%mit.edu
a87e96e598
Make sure to insert the floating items as children of their parent before
...
clobbering the float items in the constructor state when a table cell is
floated. Bug 263846, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164303 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 22:03:49 +00:00
bzbarsky%mit.edu
8ad598b075
DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
...
<jlurz24@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org
c28c38ca0e
Remove from primary frame map at the end of frame destruction, in case it got re-added. b=265404 r=bzbarsky sr=brendan a=asa
...
git-svn-id: svn://10.0.0.236/trunk@164230 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-23 02:50:26 +00:00
silver%warwickcompsoc.co.uk
f6bb37b6fa
Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
...
r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)
git-svn-id: svn://10.0.0.236/trunk@164094 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 16:45:38 +00:00
aaronleventhal%moonset.net
2654e96340
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
...
git-svn-id: svn://10.0.0.236/trunk@164004 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 02:24:27 +00:00
bzbarsky%mit.edu
b8ac5fb4b6
Put back missing QI. Bug 264987, patch by Bernard Alleysson
...
<balleysson@bigfoot.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163993 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 00:35:46 +00:00
tor%cs.brown.edu
c10cf6e314
Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
...
r=sicking,afri,tor,jwatt. Shared mozilla code sr=tor,dbaron.
git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +00:00
dbaron%dbaron.org
9d38a27e2e
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.)
...
git-svn-id: svn://10.0.0.236/trunk@163767 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
acff620604
Back out 227361 to fix pageload time regression.
...
git-svn-id: svn://10.0.0.236/trunk@163716 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
cfcacefff2
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163685 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:37:32 +00:00
dbaron%dbaron.org
82b0955d8d
Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163676 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 21:59:26 +00:00
aaronleventhal%moonset.net
ddfefbb3fc
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@163643 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 02:24:38 +00:00
aaronleventhal%moonset.net
2ed5e7dde3
Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
roc+%cs.cmu.edu
8ff367d401
Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
bzbarsky%mit.edu
fa206da134
Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
...
r+sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@163530 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu
73c05f1b81
Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
...
Bug 263569, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163526 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 15:34:45 +00:00
bmlk%gmx.de
b11f6f0e87
reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163467 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:04:52 +00:00
roc+%cs.cmu.edu
6f2ffd8d55
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163457 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 02:02:04 +00:00
roc+%cs.cmu.edu
1df6a398e4
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
alex%croczilla.com
371ae9555f
Use GetGeometricParent() to determine geometric parent of XTF frames - see bug #253225 , comment#30. r+sr=bzbarsky. Affects XTF-enabled builds only.
...
git-svn-id: svn://10.0.0.236/trunk@163419 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 14:58:00 +00:00
roc+%cs.cmu.edu
22e0ff6cb8
Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
alex%croczilla.com
4613694ca0
Let presshell track anonymous xtf content to prevent shutdown crashes. Affects XTF-enabled builds only.
...
git-svn-id: svn://10.0.0.236/trunk@163415 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 11:36:14 +00:00
alex%croczilla.com
049fc5de75
Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
...
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
b96eb6877f
Fix crash on reconstructing a frame tree in which fixed pos frames contain
...
placeholders for other fixed pos frames. Bug 256108, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163270 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:29:14 +00:00
bzbarsky%mit.edu
15618cb256
Fix absolute positioning of tables. Bug 262898, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163224 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-05 04:20:32 +00:00
bzbarsky%mit.edu
09bf6e10e5
Create a GetGeometricParent() function and make people use it instead of
...
(incorrectly, usually) rolling their own. Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +00:00
bzbarsky%mit.edu
76625d8613
Remove parsing of play-during property, since we don't support it anyway and
...
it's gone from CSS2.1 and CSS3. Bug 258079, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163043 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:32:28 +00:00
bryner%brianryner.com
8a83898990
Fix nsBoxFrame::RelayoutChildAtOrdinal to not clobber the first child in the list. Remove no-op nsIFrame::SetNextBox(). Thanks to darin for help with the patch, and r+sr=roc. Bug 262054.
...
git-svn-id: svn://10.0.0.236/trunk@162984 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 00:18:49 +00:00
bryner%brianryner.com
4b0757d87f
Attempt to fix perf regression from bug 258513 by fixing users of obsolete nsIBoxToBlockAdaptor interface. Also, removing this interface like I intended to do. r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@162920 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 00:28:13 +00:00
aaronleventhal%moonset.net
df1a357353
bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@162879 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:41:15 +00:00
bryner%brianryner.com
d80f327086
Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
jst%mozilla.jstenback.com
8daad17357
Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@162730 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-23 23:39:16 +00:00
dbaron%dbaron.org
3d0e577f40
Fix bustage. b=259615 (and 258521)
...
git-svn-id: svn://10.0.0.236/trunk@162581 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 05:04:01 +00:00
dbaron%dbaron.org
cdd43406c9
Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:08 +00:00
neil%parkwaycc.co.uk
7903ea1651
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
mats.palmgren%bredband.net
3b5f384b21
Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
roc+%cs.cmu.edu
0c4ce3d86f
Bug 257612. Fix dynamic margin changes by 1) Propagate IsPreviousMarginDirty through empty lines 2) Reflow any line whose previous margin is dirty. 3) If a reflowed line could have been tested in a subsequent line's ShouldApplyTopMargin both before and after reflow, and might have been empty before or after reflow, then make the next line's previous margin dirty. 4) If reflowing a block changes its carried-out margin, then mark the next line's previous margin dirty. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162521 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-18 14:39:07 +00:00