Commit Graph

4701 Commits

Author SHA1 Message Date
bryner%brianryner.com
076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
cbiesinger%web.de
e21c6632f7 bug 36322 patch by Masayuki Nakano <masayuki@d-toybox.com> r+sr=roc
Japanese text justification
2004-12-12 16:14:43 +00:00
tor%cs.brown.edu
b64db91538 Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.
2004-12-09 23:51:25 +00:00
tor%cs.brown.edu
b3e2c4245d Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
dbaron%dbaron.org
3b62b736d5 Bug 272151: reorganize files within layout, r+sr=roc: cvs removing obsolete files 2004-12-08 19:55:19 +00:00
dbaron%dbaron.org
f70d9a3c2f Bug 272151: reorganize files within layout, r+sr=roc: cvs removing files that were copied to new locations in the repository 2004-12-08 19:45:40 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
dbaron%dbaron.org
69a2452703 Remove long-unused nsIMutableStyleContext. b=272151 2004-12-07 06:50:11 +00:00
roc+%cs.cmu.edu
4aabdbcc0b Bug 266890. Remove nsScrollPortFrame since it's the only subclass of nsScrollBoxFrame, just merge everything up to nsScrollBoxFrame. r+sr=bryner 2004-12-07 03:42:00 +00:00
dbaron%dbaron.org
468d2b70e8 Remove unneeded include. b=272151 2004-12-07 02:28:38 +00:00
dbaron%dbaron.org
9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
bmlk%gmx.de
3afdea9ca5 switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky 2004-12-01 18:47:34 +00:00
bzbarsky%mit.edu
5d84790d77 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc
2004-12-01 03:28:44 +00:00
smontagu%smontagu.org
52ff1c323f Prevent the right-to-left directional hook from overlapping the caret and make both directions thinner. Bug 264903, r=mkaply, aaronleventhal, sr=rbs. 2004-11-30 19:28:00 +00:00
smontagu%smontagu.org
5bff65e904 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc. 2004-11-29 20:28:46 +00:00
mats.palmgren%bredband.net
f98dac5a17 Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron 2004-11-26 20:39:30 +00:00
roc+%cs.cmu.edu
c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
roc+%cs.cmu.edu
13a6502805 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
bzbarsky%mit.edu
17ca54b983 Fixing build bustage. Bug 263374 2004-11-25 02:58:01 +00:00
bzbarsky%mit.edu
1cb3693088 Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
neil%parkwaycc.co.uk
a45fb5a046 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
bzbarsky%mit.edu
9e94a3b521 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
tor%cs.brown.edu
53255669fd Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc. 2004-11-23 13:51:57 +00:00
bzbarsky%mit.edu
7028f44696 Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa
2004-11-22 02:59:19 +00:00
aaronleventhal%moonset.net
fa8a4835aa 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
jshin%mailaps.org
7f32280119 get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry) 2004-11-19 03:32:28 +00:00
jshin%mailaps.org
0bce7f2fcb bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc) 2004-11-19 03:21:12 +00:00
bryner%brianryner.com
b8230b567b Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky 2004-11-16 18:07:13 +00:00
bryner%brianryner.com
40d10075b6 Testing whether this QI is responsible for the Tp increase on btek. 2004-11-16 08:28:26 +00:00
bryner%brianryner.com
4d7fcaaa94 Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally. 2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
8f7bf9d9b8 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron
2004-11-16 02:20:37 +00:00
roc+%cs.cmu.edu
b7dfbedd1f Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in. 2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
fbb67978a5 Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp) 2004-11-14 20:22:58 +00:00
aaronleventhal%moonset.net
add2b7a5d7 Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner 2004-11-12 21:58:12 +00:00
timeless%mozdev.org
fb483e6b15 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
scott%scott-macgregor.org
903bd845ea Try landing the fix for infamous Bug #98564 again -->
caret overlaps the last character in textfield (if positioned after the last char)

r=smontagu
sr=sfraser

We think this patch can land again because the regression it introduced was fixed by
Bug #216101 which does a better job of clearing out caret fragments.
2004-11-10 07:14:08 +00:00
bmlk%gmx.de
2eda0dd986 during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky 2004-11-06 07:07:43 +00:00
bzbarsky%mit.edu
b1ffcf0672 Fix parent frame determination for tables so that positioned tables end up with
the placeholder in the right place.  Bug 266850, r=mats.palmgren, sr=roc
2004-11-04 18:53:05 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
7fd8feb31d 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
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
82d2fed87b 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
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
fa86106a4d 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
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
60e2f8a8ed Assert if someone calls frame->SetNextSibling(frame), since that creates a
looped linked list.  Bug 266332, patch by timeless, r+sr=bzbarsky
2004-10-30 18:37:35 +00:00
bzbarsky%mit.edu
630c5022f7 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
2004-10-30 18:35:53 +00:00
bzbarsky%mit.edu
cf0cf99c31 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc
2004-10-30 18:27:40 +00:00
aaronleventhal%moonset.net
0eaecc5f33 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner 2004-10-29 13:40:25 +00:00
bugzilla%arlen.demon.co.uk
e88339585d Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky
2004-10-29 12:28:19 +00:00
bzbarsky%mit.edu
4ea1df8397 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
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
f4e1dbcf2e Make sure to clear the event queue before processing restyles, in case that
tries to post reflow events. Bug 266171, r+sr=dbaron
2004-10-26 21:42:37 +00:00
aaronleventhal%moonset.net
99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
bmlk%gmx.de
d630cce6b0 prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky 2004-10-25 12:31:02 +00:00
bzbarsky%mit.edu
31412e926b 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
2004-10-24 22:03:49 +00:00
bzbarsky%mit.edu
2895167f89 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org
98e05b892d 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 2004-10-23 02:49:34 +00:00
silver%warwickcompsoc.co.uk
60f70552b3 Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)
2004-10-20 16:45:38 +00:00
aaronleventhal%moonset.net
e9feb9853d 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
bzbarsky%mit.edu
3a3639f706 Put back missing QI. Bug 264987, patch by Bernard Alleysson
<balleysson@bigfoot.com>, r+sr=bzbarsky
2004-10-19 00:35:46 +00:00
tor%cs.brown.edu
1d8fcac4c6 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
dbaron%dbaron.org
2dc1b399ee 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.) 2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
124d559e16 Back out 227361 to fix pageload time regression. 2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
c0a432e619 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 2004-10-13 22:37:32 +00:00
dbaron%dbaron.org
dc1efc09e8 Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc 2004-10-13 21:59:26 +00:00
aaronleventhal%moonset.net
cd89107e7e Fixing bustage 2004-10-13 02:24:38 +00:00
aaronleventhal%moonset.net
ca0cd1c767 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
roc+%cs.cmu.edu
cc07de278b Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky 2004-10-11 20:35:51 +00:00
bzbarsky%mit.edu
204153db3a Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu
89ae6d1ad4 Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc
2004-10-11 15:34:45 +00:00
bmlk%gmx.de
dc7f3d55d0 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 2004-10-09 12:04:52 +00:00
roc+%cs.cmu.edu
c4105c2b87 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 2004-10-09 02:02:04 +00:00
roc+%cs.cmu.edu
6c4ebb2c18 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 2004-10-09 01:39:21 +00:00
alex%croczilla.com
52024b5f77 Use GetGeometricParent() to determine geometric parent of XTF frames - see bug #253225, comment#30. r+sr=bzbarsky. Affects XTF-enabled builds only. 2004-10-08 14:58:00 +00:00
roc+%cs.cmu.edu
c237520c89 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
alex%croczilla.com
7e1837f886 Let presshell track anonymous xtf content to prevent shutdown crashes. Affects XTF-enabled builds only. 2004-10-08 11:36:14 +00:00
alex%croczilla.com
1fce2c4058 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).
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
a16a390c65 Fix crash on reconstructing a frame tree in which fixed pos frames contain
placeholders for other fixed pos frames.  Bug 256108, r+sr=dbaron
2004-10-06 00:29:14 +00:00
bzbarsky%mit.edu
8c04b33f56 Fix absolute positioning of tables. Bug 262898, r+sr=roc 2004-10-05 04:20:32 +00:00
bzbarsky%mit.edu
c4ff2082ae 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
2004-09-30 22:39:28 +00:00
bzbarsky%mit.edu
b44e807062 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
2004-09-30 22:32:28 +00:00
bryner%brianryner.com
aed8386f51 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. 2004-09-30 00:18:49 +00:00
bryner%brianryner.com
dc62f4d4e5 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. 2004-09-29 00:28:13 +00:00
aaronleventhal%moonset.net
54b43dfb52 bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner 2004-09-28 18:41:15 +00:00
bryner%brianryner.com
f67d250152 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. 2004-09-28 18:37:50 +00:00
jst%mozilla.jstenback.com
03052a2f27 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2004-09-23 23:39:16 +00:00
dbaron%dbaron.org
985f6ba949 Fix bustage. b=259615 (and 258521) 2004-09-21 05:04:01 +00:00
dbaron%dbaron.org
feb3d9aee8 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
neil%parkwaycc.co.uk
6a4f37de6b Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
mats.palmgren%bredband.net
0b0506f06b Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron 2004-09-19 19:49:29 +00:00
roc+%cs.cmu.edu
c9f4947a85 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 2004-09-18 14:39:07 +00:00
kyle.yuan%sun.com
faef6bd540 Bug 238854 [gtk2] Changing GNOME2 theme doesn't apply until restarting Mozilla
r=bryner, sr=dbaron, patch=ginn.chen@sun.com
2004-09-17 06:27:01 +00:00
cbiesinger%web.de
f3e06d119c Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc
2004-09-16 13:02:54 +00:00
dbaron%dbaron.org
a0bf92722f Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
roc+%cs.cmu.edu
44a2fd5b52 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
656cdc98f5 Fixing bustage 2004-09-13 15:24:11 +00:00
roc+%cs.cmu.edu
3a3ac38479 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
bzbarsky%mit.edu
7f286e3000 Fix crash due to text inputs flushing pending restyles while we're in text
control frame code.  Bug 257818, r+sr=dbaron
2004-09-13 04:19:58 +00:00
bzbarsky%mit.edu
0fe0345b40 Make sure not to add entries to the pending restyle hashtable while enumerating
it.   Bug 257694 (also fixes bug 256242, bug 258101).  r+sr=dbaron
2004-09-13 04:08:14 +00:00
dbaron%dbaron.org
19532676d4 Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst 2004-09-13 03:22:46 +00:00
roc+%cs.cmu.edu
2a8936b1a7 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00