Commit Graph

3793 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
jim_nance%yahoo.com
824a6d1d0c Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc 2004-07-15 17:50:34 +00:00
bzbarsky%mit.edu
0d96d79660 Use the direction of the abs pos box, not its containing block, when deciding
which offset to use the static position for.  Bug 247287, r+sr=dbaron
2004-07-15 06:10:53 +00:00
bzbarsky%mit.edu
91e6373bba Testing backout of bug 236889 to see effect on performance. a=#mozilla 2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
8722abfd09 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
aaronleventhal%moonset.net
be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
aaronleventhal%moonset.net
1f6e33dc7a Bug 171366. Support tabindex for all elements. r=bryner, sr=jst 2004-07-07 00:58:57 +00:00
dbaron%dbaron.org
c1436f25c4 Fix scaling of images in response to {min,max}-{width,height}. b=234686 r+sr=bzbarsky 2004-07-05 00:17:11 +00:00
roc+%cs.cmu.edu
e0411e3552 Bug 244017. Hack invalidation of block children of blocks to avoid answering the question of whether we're supposed to invalidate the difference in frame bounds or the difference in overflow areas. r+sr=dbaron 2004-06-29 12:46:46 +00:00
roc+%cs.cmu.edu
5d17e16f0a Bug 185357. Collect out-of-flow frames for overflowing placeholders even if the placeholders are indirect (inline) children of the line. r+sr=dbaron 2004-06-27 02:01:06 +00:00
peterv%propagandism.org
64806ee8ce Trying to fix minimo bustage 2004-06-25 16:38:43 +00:00
peterv%propagandism.org
a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
pkw%us.ibm.com
e3a048be75 Bug 248216 - Mismatched new[]/delete in nsTextFrame.cpp.
r/sr=dbaron@dbaron.org
2004-06-23 16:38:38 +00:00
bryner%brianryner.com
1370052e19 deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc. 2004-06-22 02:55:04 +00:00
smontagu%smontagu.org
e1cc6b919a Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron. 2004-06-20 09:51:10 +00:00
bryner%brianryner.com
f87933eeda Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844. 2004-06-19 09:07:47 +00:00
neil%parkwaycc.co.uk
8d5141f6df Bug 205235 Fix floats to work in RTL spans p=mozilla-bugzilla@future.shiny.co.il (Ilya Konstantinov) r/sr=dbaron 2004-06-18 23:41:17 +00:00
neil%parkwaycc.co.uk
06023de33b XUL frame elements should not have the preferred size that HTML iframes do b=217477 r/sr=roc 2004-06-18 23:34:22 +00:00
roc+%cs.cmu.edu
c81d937cfe Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron 2004-06-18 02:08:19 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bryner%brianryner.com
97a65f9548 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron. 2004-06-08 23:53:59 +00:00
dbaron%dbaron.org
be338c15ee Move clearing from nsBlockBandData to nsSpaceManager so that 'clear' works even when the floats to be cleared don't overlap the block's border-box. b=148994 Patch by Blake Kaplan <mrbkap@rice.edu>. r+sr=dbaron 2004-06-08 19:18:30 +00:00
jim_nance%yahoo.com
b7b7c52bc2 Fix bug #242044 - Reduce number of allocations by nsSpaceManager::PushState 2004-06-06 18:45:02 +00:00
aaronleventhal%moonset.net
13c281b176 Fixing bustage 2004-06-04 21:08:05 +00:00
aaronleventhal%moonset.net
092ea261a2 Bug 242594. Expose list and list item objects, and bullet text. r=Louie.Zhao, sr=jst/dbaron 2004-06-04 19:28:36 +00:00
roc+%cs.cmu.edu
e671fd534b Bug 240903. Add image input to the list of elements that can't be dragged. r+sr=roc, patch by Serge Gautherie 2004-06-02 02:25:18 +00:00
roc+%cs.cmu.edu
626c4c26f5 Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst 2004-06-02 00:25:00 +00:00
smontagu%smontagu.org
82d48e1672 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
sspitzer%mozilla.org
38719e4c60 remove unnecessary imgURI check, thanks to biesi for catching it. 2004-05-31 22:56:42 +00:00
sspitzer%mozilla.org
b2aa2dad88 fix for bug #188955
[CSS list item images are loaded even if image loading is blocked or disabled]

r/sr=bz
2004-05-31 22:32:37 +00:00
roc+%cs.cmu.edu
50d0ec0813 Bug 239201. Anonymous views (views without frames) should inherit their visibility from their parent. Then visibility:hidden IFRAMEs will hide their widgets. r+sr=dbaron 2004-05-31 20:01:58 +00:00
dbaron%dbaron.org
10ca6a86ec When we do two passes on an incremental reflow in order to update maximum width, do max-element-width calculation on the second pass too so that floats have their max-element-width cached for state recovery. b=217527 r+sr=roc 2004-05-31 17:41:50 +00:00
bzbarsky%mit.edu
96703a485e Remove unnecessary memsets. Bug 244876, patch by Rene Pronk
<r.pronk@its.tudelft.nl>, r+sr=bzbarsky
2004-05-31 16:38:47 +00:00
roc+%cs.cmu.edu
e1107f17c6 Bug 232913. Let nsIScrollbarMediator support multiple scrollbars. Patch by Nate Nielsen, r+sr=roc. 2004-05-29 00:09:05 +00:00
bryner%brianryner.com
5e26c9b228 Reduce the amount of style data we fetch in nsTextFrame::Reflow. Bug 244651, r+sr=bzbarsky. 2004-05-25 18:29:04 +00:00
aaronleventhal%moonset.net
ee7a038786 Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc 2004-05-20 03:14:41 +00:00
roc+%cs.cmu.edu
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
mvl%exedo.nl
fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
roc+%cs.cmu.edu
d2612a545a Bug 107518 and others... Make CreateViewForFrame reparent any views on frame descendants to the new view. This ensures that the view hierarchy stays in sync with the frame hierarchy. r+sr=dbaron 2004-05-13 15:33:18 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu
6b4e2ab093 Don't show the content viewer if it's not ours -- that means that we're
actually about to be torn down.  Bug 242282, r+sr=jst
2004-05-06 21:15:33 +00:00
roc+%cs.cmu.edu
e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
roc+%cs.cmu.edu
a21a136a03 Try to fix gcc 3.4 bustage. If this fixes it, it totally lied about the line number 2004-05-05 04:38:12 +00:00
roc+%cs.cmu.edu
a6dd695671 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
44b2bd59f6 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList 2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu
eacf86253c The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
bug is 241833
2004-05-05 01:46:15 +00:00
dbaron%dbaron.org
86700877bf Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs 2004-05-04 23:56:25 +00:00
cbiesinger%web.de
4516d769aa move nsFrame::XMLQuote to #ifdef DEBUG, like its only caller
r+sr=dbaron
2004-05-04 16:27:40 +00:00
aaronleventhal%moonset.net
97fc90cefe Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc 2004-05-04 12:39:42 +00:00
caillon%redhat.com
4a50b6abeb Bug 241140
Consolidate DrawImage and DrawScaledImage
r=biesi sr=tor
2004-05-04 01:32:26 +00:00
bryner%brianryner.com
7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu
68ad4ee1c7 Properly remove the context menu listener when we don't have a plugin. Bug
185714, r+sr=jst
2004-05-03 21:32:54 +00:00
bzbarsky%mit.edu
bc736139f8 Don't do bizarre sizing stuff to the root element's frame. Bug 241694; also
fixes bug 15405 and bug 57906.  r+sr=dbaron
2004-05-01 06:24:06 +00:00
roc+%cs.cmu.edu
d1170ac0a9 Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com
679d42aa2f Fixing mac bustage. 2004-04-30 00:57:06 +00:00
jst%mozilla.jstenback.com
77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu
aaea444448 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
kyle.yuan%sun.com
da65e3a121 Bug 240665 Can't navigate through some page lines using left or right arrow
r=aaronleventhal, sr=henry.jia
Patch by ginn.chen@sun.com
2004-04-26 09:40:21 +00:00
bzbarsky%mit.edu
4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bzbarsky%mit.edu
d44c8e2932 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
neil%parkwaycc.co.uk
5232fbfb19 Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron 2004-04-24 13:30:23 +00:00
dbaron%dbaron.org
c44a7a67dd Only call SetLineWrapped when line doesn't end in BR. b=238472 r+sr=roc 2004-04-23 19:27:14 +00:00
tor%cs.brown.edu
868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
dbaron%dbaron.org
937fee0a01 Fix windows bustage. b=241304 2004-04-22 20:58:32 +00:00
bzbarsky%mit.edu
baffa51486 Fix bug 241304 (overflow broken on fixed-pos elements). Patch by roc,
r+sr=bzbarsky.
2004-04-22 19:33:56 +00:00
bzbarsky%mit.edu
93e07d24dc Let generated content content nodes know when their frames go away. Bug
237975, r+sr=dbaron
2004-04-20 19:20:16 +00:00
neil%parkwaycc.co.uk
c4dc4f8221 Bug 142120 Ctrl+Right Arrow in space-only mode should not stop again after crossing spaces p=vdvo@vdvo.net r=roc sr=jst hopefully also fixing bug 236172 2004-04-19 15:33:33 +00:00
bzbarsky%mit.edu
241afa342c Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron
2004-04-18 20:10:09 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bmlk%gmx.de
a3082a360e table frames that dont wrap their content with scrollframes hide the overflow if NS_STYLE_OVERFLOW_SCROLLBARS_NONE is specified bug 233438 r/sr=dbaron 2004-04-14 06:28:25 +00:00
jst%mozilla.jstenback.com
0d6ecc9cc7 Changing comment style for consistency with other similar code in this file. 2004-04-13 03:57:12 +00:00
roc+%cs.cmu.edu
849071b421 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron 2004-04-13 02:56:03 +00:00
jst%mozilla.jstenback.com
27c94a9268 Fixing bug 240340. Make key events in plugins work correctly again on the Mac. r+sr=bryner@brianryner.com 2004-04-13 01:51:00 +00:00
bzbarsky%mit.edu
e38521cd65 When appending frames to a block after a <br>, just put them into a new line
right away instead of waiting for reflow to come about and fix it up.  This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron
2004-04-13 01:45:57 +00:00
bzbarsky%mit.edu
b5aa006eb5 Fix dirty reflows of bullets to deal with an empty first line (whitespace
followed by block) in the parent block.  Bug 206602, r+sr=dbaron
2004-04-13 01:38:10 +00:00
bryner%brianryner.com
0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
sicking%bigfoot.com
386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
fcaa82359f Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
jst%mozilla.jstenback.com
5eff83672a Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu
4e6a04a143 Don't do a O(N) walk over all lines when painting floats, since we already have
a nice sorted list of floats about.  Bug 52005, r+sr=dbaron, a=brendan
2004-04-09 21:08:09 +00:00
bzbarsky%mit.edu
04b19c480d Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu
78ea158028 Don't look for the primary frame unless we have to on broken images. Bug
239262, r+sr=dbaron, a=chofmann
2004-04-02 03:07:39 +00:00
bzbarsky%mit.edu
f3f61bcd2f Make sure to not end up with a bogus padding when we have a list-style-image.
Bug 187419, r+sr=dbaron, a=chofmann
2004-04-01 19:48:55 +00:00
bzbarsky%mit.edu
809c099e33 Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
roc+%cs.cmu.edu
54c1157975 Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman 2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
73f0030896 Bug 235558. We don't really want to consider computed maximum widths after all. r+sr=dbaron,a=asa 2004-03-27 02:44:26 +00:00
roc+%cs.cmu.edu
e5a30a4682 Bug 231264. Set IFRAME minimum width properly. r+sr=dbaron,a=choffman 2004-03-21 22:34:58 +00:00
roc+%cs.cmu.edu
caec22bc62 Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification. 2004-03-16 06:58:01 +00:00
bzbarsky%mit.edu
8c5ece8e6f Clear the line cursor when child frames are added or removed. Bug 236947,
r+sr=roc, a=chofmann
2004-03-14 18:19:24 +00:00
roc+%cs.cmu.edu
23c8e177ab Bug 235558. Make scrollframes take CSS max-width/max-height into account when they compute their preferred size (by reflowing their scrolled block to width max-width, if appropriate). r+sr=dbaron,a=choffman 2004-03-13 02:51:16 +00:00
dbaron%dbaron.org
41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
6a2881e43a Bug 232838. Remove unnecessary assertions on minsizes that we don't use. r+sr=dbaron, a=choffman 2004-03-12 03:35:53 +00:00
roc+%cs.cmu.edu
a9157501c2 Bug 232838. Properly relayout scrollbars if we need to hide one because there's no room. Prefer to hide the horizontal scrollbar if we have to choose between them. r+sr=dbaron,a=choffman 2004-03-10 23:52:01 +00:00
dbaron%dbaron.org
2a10660d41 Backing out my checkin from yesterday. b=199673 2004-03-10 17:13:39 +00:00
bzbarsky%mit.edu
345e15c6ca Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron
2004-03-10 04:43:59 +00:00
roc+%cs.cmu.edu
8397ac8d8f Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
dbaron%dbaron.org
2ecaa27129 In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky 2004-03-10 00:28:17 +00:00
roc+%cs.cmu.edu
2ab13be9a5 Fixing bustage, hopefully, THIS TIME 2004-03-07 19:23:53 +00:00
roc+%cs.cmu.edu
78909d3266 Fixing bustage, hopefully 2004-03-07 18:50:11 +00:00
roc+%cs.cmu.edu
c7e522958e Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky 2004-03-07 18:04:24 +00:00
sicking%bigfoot.com
fc084e0c73 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com
ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
scott%scott-macgregor.org
3d4524453c Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
(See Bug #235223).

a=brendan
2004-03-02 01:23:13 +00:00
cbiesinger%web.de
421a192a85 Bug 188288 caret movement erratic with CTL enabled
patch by prabhat.hegde@sun.com r=roland.mainz@nrubsig.org sr=roc
2004-03-01 21:36:35 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
roc+%cs.cmu.edu
b9b0fca290 Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron 2004-02-28 02:55:58 +00:00
bryner%brianryner.com
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu
c7378c41cc Make sure to pass <embed> attributes to plugins in the source order. Bug
234675, r=peterlubczynski, sr=jst
2004-02-24 02:44:33 +00:00
bzbarsky%mit.edu
aab1a1e87e Apply the bug 200568 fix to types derived from the "data" attribute too. Bug
235053, r=biesi, sr=jst
2004-02-23 22:41:15 +00:00
bryner%brianryner.com
225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
8e85f2ae12 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position. 2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
5b6ae6e571 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
sicking%bigfoot.com
b20f53fefb Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
bryner%brianryner.com
5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
a0b34c7ff7 Fix comment. Bug 132561, r+sr=dbaron 2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu
172b44ad4e Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561, r+sr=dbaron
2004-02-19 22:12:38 +00:00
cbiesinger%web.de
e073bfa038 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org
d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
neil%parkwaycc.co.uk
bf3e577efc (on bsmedberg's advice) third time lucky? 2004-02-19 13:20:57 +00:00
neil%parkwaycc.co.uk
0b48b027be Trying to fix bustage again... 2004-02-19 12:38:16 +00:00
neil%parkwaycc.co.uk
bdd1447211 Trying to fix beast build bustage 2004-02-19 12:12:06 +00:00
neil%parkwaycc.co.uk
ea2c9ac613 Bug 232321 Make layout.word_select.stop_at_punctuation work as a user preference r/sr=bz 2004-02-19 11:10:31 +00:00
bzbarsky%mit.edu
d012f44916 Fix bug 231280 (printing not honoring OS date format). Patch by Constantine
A. Murenin <cnst.bmo@bugmail.mojo.ru>, r=jshin, sr=roc, a=chofmann
2004-02-16 05:31:25 +00:00
bryner%brianryner.com
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
d5a23a72e6 Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
cbiesinger%web.de
383f0ecbe1 move debug-only function into #ifdef DEBUG. r+sr=bzbarsky 2004-02-10 23:06:23 +00:00
cbiesinger%web.de
f0051dc721 Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
r+sr=bzbarsky
2004-02-10 16:57:00 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
cbiesinger%web.de
1aa68fd152 fixing bustage 2004-02-09 17:52:48 +00:00
cbiesinger%web.de
e91170c526 Bug 233457 nsObjectFrame cleanup
r+sr=bz
2004-02-09 17:33:45 +00:00
dbaron%dbaron.org
952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
6669920416 A little cleanup. b=229654 r+sr=bzbarsky 2004-02-09 05:22:58 +00:00
dbaron%dbaron.org
cf234f479e Don't handle auto margins when the container has an unconstrained width. (This still doesn't handle max-width computation with a constrained reflow.) b=229654 r+sr=bzbarsky 2004-02-09 05:22:23 +00:00
bzbarsky%mit.edu
9d18d90270 Collapse trailing whitespace even if there is a placeholder after it. Bug
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
dbaron%dbaron.org
9e5fb4244d Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc 2004-02-06 23:11:46 +00:00
dbaron%dbaron.org
410855b9a6 Change the way we handle auto margins on blocks with outer width (excluding auto margins) wider than their containing block. Use rules equivalent to overconstraint handling (margins non-auto) so that we depend on 'direction' rather than on which margins are 'auto'. b=185411 r=roc sr=bzbarsky 2004-02-04 05:18:37 +00:00
dbaron%dbaron.org
e04ab52cda Clean up code related to broken / loading image icons and make it observe pref changes. b=180620 r+sr=bzbarsky 2004-02-03 20:30:02 +00:00
dbaron%dbaron.org
b4a8733213 Uncomment a call to SetColor that is needed. b=181336 r+sr=bzbarsky 2004-02-03 18:27:11 +00:00
dbaron%dbaron.org
72ef0c2cb4 Allow PushLines to push the first line. b=185357 r+sr=roc 2004-02-03 18:19:42 +00:00
bzbarsky%mit.edu
e792da8eeb Remove code that munges block widths inside table cells. Bug 232754,
r+sr=dbaron
2004-02-03 16:49:38 +00:00
bryner%brianryner.com
4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com
42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com
08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
roc+%cs.cmu.edu
ee86ab45fb Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
dbaron%dbaron.org
96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
bryner%brianryner.com
bc74f0b352 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
dbaron%dbaron.org
b94360f0f4 Clean up ComputeShrinkwrapMargins. b=217369 r+sr=bzbarsky 2004-01-27 06:46:33 +00:00
dbaron%dbaron.org
139e92501a Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc 2004-01-27 05:47:55 +00:00
dbaron%dbaron.org
f785bbdd29 Change name of variable so this code makes sense. 2004-01-24 20:21:32 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
cbiesinger%web.de
3eef6608c2 Bug 231372
GetCombinedArea could be faster/better
make it return an nsRect as return value instead of out parameter.
r=dbaron sr=bzbarsky
2004-01-22 15:06:25 +00:00
dbaron%dbaron.org
cd5b87a264 Use |const|. DEBUG-only. 2004-01-21 23:08:51 +00:00
bryner%brianryner.com
23ecb8ff4e DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com
ef5c330583 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
roc+%cs.cmu.edu
0113914771 Bug 229052. Treat pre-formatted newlines like BRs, preserving the break type in nsBlockFrame::ReflowInlineFrame. r+sr=dbaron 2004-01-18 19:35:19 +00:00
bzbarsky%mit.edu
787faefa9e Back out accidentally committed code. Bug 230852, r+sr=roc 2004-01-18 18:20:57 +00:00
peterv%propagandism.org
a75063695e Doh. Fixing bustage. 2004-01-18 15:20:00 +00:00
peterv%propagandism.org
8f4e566b42 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
peterv%propagandism.org
629972988f Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 10:22:22 +00:00
dbaron%dbaron.org
249be1bc15 Remove unneeded casts and extra shadowing variable. 2004-01-18 07:13:40 +00:00
dbaron%dbaron.org
c5034ca1d8 Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky 2004-01-18 06:06:13 +00:00
caillon%returnzero.com
3b526b4352 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org
9c4c615847 Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky 2004-01-13 01:18:51 +00:00
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
dbaron%dbaron.org
99665b6c2c Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky 2004-01-11 04:29:09 +00:00
bryner%brianryner.com
cd870d2172 attempting to fix HP-UX/AIX/IRIX bustage (bug 228378) 2004-01-11 00:24:37 +00:00
roc+%cs.cmu.edu
e1d625af68 Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc 2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu
9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
3bfe589ac4 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bzbarsky%mit.edu
c9dd4109c2 Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bzbarsky%mit.edu
bde7ac0a33 Make sure to not compute negative widths for blocks. Bug 230249, r+sr=dbaron 2004-01-08 03:38:25 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
caillon%returnzero.com
319d92fa7d Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu
bba32c2126 Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu
a5fa5ddc71 Fix restoration of horizontal scroll state. Bug 226534, r+sr=roc 2004-01-05 23:56:00 +00:00
bzbarsky%mit.edu
bd6e613fb1 Calculate the relative offsets after we've done whatever corrections we need to
do to the CB height (eg in quirks mode).  Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +00:00
bryner%brianryner.com
080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
timeless%mozdev.org
b6f838611c Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
r=roc sr=roc
2003-12-21 04:04:09 +00:00
neil%parkwaycc.co.uk
ebb7ab977c Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
bmlk%gmx.de
167fbf7a95 show reflow targets in reflow logs bug 218961 r/sr=bzbarsky 2003-12-20 12:04:31 +00:00
dbaron%dbaron.org
f3fb5dea45 Fix percentage widths on inlines within inlines. b=97695 r+sr=roc 2003-12-19 05:41:35 +00:00
dbaron%dbaron.org
352509b071 Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan 2003-12-18 06:06:00 +00:00
jshin%mailaps.org
e4edf3ff44 bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron 2003-12-15 00:32:16 +00:00
roc+%cs.cmu.edu
bb2d3795de Bug 227458. Make scrollports without scrollbars NOT use a native widget; they probably won't be scrolled anyway. r+sr=bz,a=dbaron 2003-12-10 03:43:39 +00:00
dbaron%dbaron.org
e7ddb04af2 Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan 2003-11-24 19:48:25 +00:00
dbaron%dbaron.org
a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
roc+%cs.cmu.edu
8ab11f1a38 Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa 2003-11-21 10:45:24 +00:00
bzbarsky%mit.edu
03359fa12a Fix printing of plugins in absolutely positioned divs to use the right
coordinates.  Bug 225832, r+sr=roc
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
neil%parkwaycc.co.uk
917932cb34 Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz 2003-11-17 19:26:24 +00:00
dbaron%dbaron.org
e852c24b41 Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky 2003-11-17 00:35:17 +00:00
dbaron%dbaron.org
02b14dd0ce Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902 2003-11-16 21:12:17 +00:00
dbaron%dbaron.org
2e72ac7775 Add comments connecting two quirks. 2003-11-16 18:49:00 +00:00
bzbarsky%mit.edu
852fbd43f7 Be a little smarter about handling the mess that is broken images. Only look
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload.  Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
blizzard%redhat.com
f01bca0a21 Bug #225357. Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc 2003-11-13 16:33:52 +00:00
bzbarsky%mit.edu
625796c41e Clarify when ReParentStyleContext should be called and remove more bogus style
parentage warnings.  Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
dbaron%dbaron.org
b743b23ea2 Removed unused LineIsEmpty function. 2003-11-11 19:25:49 +00:00
dbaron%dbaron.org
1457f87876 Remove BRS_NOWRAP. b=191699 r+sr=roc 2003-11-11 19:24:01 +00:00
dbaron%dbaron.org
0cf3066822 Comment was backwards (thanks bz). b=191699 2003-11-10 23:55:53 +00:00
dbaron%dbaron.org
8856db0238 Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc 2003-11-10 23:36:06 +00:00
bzbarsky%mit.edu
9269dd2002 Bail out early if we have no area to invalidate anyway. Bug 224871, r+sr=roc 2003-11-07 03:00:30 +00:00
bzbarsky%mit.edu
6b9af2f572 Only paint the image if its computed width or height is nonzero. Otherwise, we
may divide by zero when computing the transform matrix.  Bug 221975, r+sr=roc
2003-11-06 16:03:34 +00:00
bryner%brianryner.com
78f1cb532a Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
tor%cs.brown.edu
7a1a7ec1d4 Bug 224628 - backout part of 212366 so that scrolling=no works. r+sr=roc 2003-11-04 15:50:09 +00:00
uid502
91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502
2de14973bc Bug 212366. Make nsFrameInnerFrame be a moz-anonymous-box pseudoelement. This stops style on an IFRAME from being applied to both the outerframe and the innerframe. r+sr=dbaron 2003-11-01 01:34:06 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu
99faa8a63a Fix regression bug 223394 -- percent-height replaced inlines that only have
auto-height ancestors should get intrinsic height instead of 0, even in quirks
mode.  r+sr=roc, a=asa
2003-10-24 07:31:50 +00:00
bzbarsky%mit.edu
b07d633d7d Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky 2003-10-22 07:01:35 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com
66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
af287cfe97 Remove limiting of the quirk containing block search to only one level. Bug
222730, also fixes bug 88035, r+sr=dbaron
2003-10-18 20:22:22 +00:00
bzbarsky%mit.edu
e62eff588a Line up the hypothetical box for positioned frames with the _top_ of the line
box if there is nothing in the line before the positioned frame's placeholder.
When that happens, it means that the positioned frame's content actually came
before whatever content lives in the line box and thus the frame should not be
lined up with the line box's bottom.  Bug 94468, r+sr=roc
2003-10-18 08:04:37 +00:00
bzbarsky%mit.edu
cf629db257 Undoing last change now that I have perf data. 2003-10-18 07:13:30 +00:00
bzbarsky%mit.edu
88517f3ebd Test performance impact of not limiting to the first level now that bug 222730
is fixed.  r=dbaron
2003-10-18 06:08:39 +00:00
bzbarsky%mit.edu
2cb729ce47 Only calc a quirk containing block if we have a percentage height. Bug 222730,
r+sr=dbaron
2003-10-18 05:09:42 +00:00
bzbarsky%mit.edu
c9d4d38519 Stop walking up the tree looking for something to size against if we hit a
positioned frame.  Bug 221784, r+sr=roc
2003-10-18 00:24:28 +00:00
uid502
d521946094 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
f384166efa Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
uid502
2b19fe5b64 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
dbaron%dbaron.org
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
uid502
7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu
dc2a9b8f46 Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron
2003-10-10 01:12:55 +00:00
dbaron%dbaron.org
269402178c Add comments. 2003-10-08 20:04:20 +00:00
bzbarsky%mit.edu
3bfbfe8dce Relanding fix for bug Bug 219693, r+sr=dbaron 2003-10-06 13:13:37 +00:00
bzbarsky%mit.edu
556fd116db Backing out for now, till fallout from tree redness settles. 2003-10-06 04:23:56 +00:00
bzbarsky%mit.edu
666475ba65 Make quirks %-heights on kids of scrolling parents work the same way as for
non-scrolling parents.  Bug 219693, r+sr=dbaron
2003-10-06 02:58:19 +00:00
dbaron%dbaron.org
7cbbfcd12f Remove duplication at the end of a comment. 2003-10-03 20:12:53 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
dbaron%dbaron.org
693a674a5b Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc 2003-09-28 22:56:08 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
dc0b10f8fd Remove bogus 1px adjustment that harkens back to imagelib1. Bug 220174,
r=pavlov, sr=tor
2003-09-26 16:43:19 +00:00
dbaron%dbaron.org
7861160d62 Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky 2003-09-25 03:55:04 +00:00
uid502
1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org
41c29367c7 Bug 219908 Remove some layout warnings
r=bz sr=dbaron
2003-09-22 21:40:12 +00:00
dbaron%dbaron.org
03e89d6c99 My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc 2003-09-20 21:31:18 +00:00
bmlk%gmx.de
ca2e57a80b Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron 2003-09-20 11:35:29 +00:00
uid502
d0615f9350 Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron 2003-09-19 15:20:00 +00:00