Commit graph

1420 commits

Author SHA1 Message Date
bzbarsky%mit.edu
71e963c9c7 Invalidate the canvas correctly when <body> and root nodes are added to or
removed from documents.  Bug 321751, r+sr=roc
2006-01-11 02:41:50 +00:00
bmlk%gmx.de
d2000fb2ba don't apply xul display types to tags that would normally cause tag based frame creation, bug 322185, r/sr = bzbarsky 2006-01-07 15:09:24 +00:00
mrbkap%gmail.com
4bad6f49dc bug 315752: Crashes and assertions happening in DoDeletingFrameSubtree when <select>s are in the air. The fix is to make DoCleanupFrameReferences clean up additional child lists. Patch by bzbarsky. r=roc/mats/mrbkap sr=roc 2005-12-20 02:06:14 +00:00
roc+%cs.cmu.edu
18647b7ec2 Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc 2005-12-16 02:56:36 +00:00
roc+%cs.cmu.edu
10d78ffbbe Bug 307419. Remove mPresContext from XUL frames. patch by Vidar Harr, r+sr=roc 2005-12-15 03:30:17 +00:00
bzbarsky%mit.edu
c2387fa022 Fix bug 306533 -- the first-letter can be in anonymous content. r+sr=roc 2005-12-12 15:48:37 +00:00
bzbarsky%mit.edu
4d079d9ac9 Handle XUL popups gracefully in non-XUL documents. Bug 306940, r+sr=roc 2005-12-08 22:04:06 +00:00
bzbarsky%mit.edu
92812b89e9 Use the right parent for floating first-letter frames. Bug 306534, r+sr=roc 2005-12-08 21:57:19 +00:00
bmlk%gmx.de
5663eeaaaa Do not prevent the creation of multiple captions, but display only the first one, bug 309322 r/sr=bzbarsky 2005-12-03 15:13:08 +00:00
bzbarsky%mit.edu
17a57ffafb Recover letter frames even if we didn't construct anything new. Bug 317961, r+sr=dbaron 2005-11-28 22:18:23 +00:00
bzbarsky%mit.edu
3d4cb98475 Get the right parent frame up front when dealing with :after content. Bug
317934, r+sr=roc
2005-11-28 22:09:08 +00:00
bzbarsky%mit.edu
349918dc42 Make sure to not process counter/quote changes during a restyle. Bug 317948,
r+sr=dbaron
2005-11-27 22:20:09 +00:00
timeless%mozdev.org
0e509aba60 Bug 106386 Correct misspellings in source code
r=dbaron rs=brendan
2005-11-23 05:22:38 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
28cfb5adfc Bug 313817. DeCOMtaminate SVG and MathML NS_New*Frame functions. r+sr=roc, patch by Marc Liddell. 2005-11-11 02:36:29 +00:00
bzbarsky%mit.edu
2b7fc1f0c9 Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron
2005-11-06 18:01:17 +00:00
bzbarsky%mit.edu
f64003e9da Consolidate the out-of-flow handling in ContentRemoved, using
GetChildListNameFor.  Also, replace various checks for display and floating
with a check for out-of-flow where relevant.  Bug 313181, r=roc, sr=dbaron
2005-11-04 23:56:54 +00:00
bzbarsky%mit.edu
213eab3d98 Change WipeContainingBlock to have a better definition of what it means for a
parent frame to be "inline", and remove checks for <select> around places that
called WipeContainingBlock.  Bug 314878, r+sr=dbaron
2005-11-04 23:43:01 +00:00
bzbarsky%mit.edu
27c439cb3c Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
neil%parkwaycc.co.uk
0eb7427fc2 Get default tooltip text more reliably b=147670 r=timeless sr=jst 2005-11-02 23:53:56 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
83bd8eee0c Don't try to reframe generated content for image state changes on it. Bug
313656, r=biesi, sr=dbaron
2005-11-02 00:00:20 +00:00
roc+%cs.cmu.edu
a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
680ffaad50 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
roc+%cs.cmu.edu
4ee1e637be Bug 313086. Fall-back path to delete absolute and floating frames if they're not found in the usual child list ... they may have been placed in the normal child list because no container was found. r+sr=bzbarsky 2005-10-20 19:20:34 +00:00
bzbarsky%mit.edu
0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
3a58eba127 Fix bug 311615 -- don't reframe the containing block if a current inline is
being reframed.  r+sr=roc
2005-10-16 15:25:36 +00:00
bzbarsky%mit.edu
432cc819a8 Fix WipeContainingBlock() to work in more cases. Bug 291902, bug 296086, bug
285964, bug 310933, r+sr=dbaron
2005-10-16 15:21:05 +00:00
dbaron%dbaron.org
28fed71fa8 Make captions process children normally so that whitespace-only text frames get constructed. b=311822 r=bernd sr=roc 2005-10-15 05:19:30 +00:00
bmlk%gmx.de
aa98fada26 Table foreign frames need to be wrapped into pseudo frames reagrdless of their namespace. bug 311661 r/sr=bzbarsky 2005-10-12 13:35:17 +00:00
bzbarsky%mit.edu
33125a0a6f Do nothing if styles are flushed when we have no pending restyles. Bug 311546,
r+sr=dbaron
2005-10-09 18:24:50 +00:00
bzbarsky%mit.edu
1e877334ed Make IsSpecialHTMLContent happier with images and objects. Bug 310662, r=bernd, sr=dbaron 2005-10-04 23:56:14 +00:00
bzbarsky%mit.edu
79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu
9a19c5a42d Bug 307076. Don't use any table-related frame as an abs-pos containing block. r+sr=bzbarsky 2005-09-30 21:43:55 +00:00
bzbarsky%mit.edu
6555099b06 Keep quote and counter recalculation from reentering itself. Bug 310006, r+sr=dbaron 2005-09-26 14:35:23 +00:00
bzbarsky%mit.edu
bdd0e13912 Make sure to flush out the content model before processing restyles; otherwise
we can end up with odd content duplication.  Bug 309986, r+sr=dbaron
2005-09-26 01:27:42 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu
b2c9978aed Fix nsCSSFrameConstructor::ContentRemoved to properly deal with out-of-flows
whose placeholders are in an insertion point.  Bug 288790, r+sr=dbaron
2005-09-23 14:48:08 +00:00
bzbarsky%mit.edu
83ee9724b1 Remove an extra view update batch that's not needed. Bug 309114, r+sr=roc 2005-09-23 14:45:36 +00:00
cbiesinger%web.de
7002686d0d bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
mats.palmgren%bredband.net
e185cf6234 Move the floats we reparent in AdjustFloatParentPtrs() to the "inner" state so that they end up in the right containing block. b=307277 r+sr=bzbarsky 2005-09-20 23:00:27 +00:00
dbaron%dbaron.org
85b6b17628 Attempt to follow the SVG spec rules on where SVG elements should be ignored. b=306915 r=tor sr=bzbarsky 2005-09-19 19:55:31 +00:00
bzbarsky%mit.edu
608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
scootermorris%comcast.net
31c2f50383 Bug 294517 -- implement SVG Patterns
r=tor
2005-09-13 22:38:36 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
bzbarsky%mit.edu
cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
tor%cs.brown.edu
36c76bbadd Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
roc+%cs.cmu.edu
f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
0cfd6a71ca Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc
2005-09-06 02:14:36 +00:00
tor%cs.brown.edu
b69ab62c9b Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa
2005-09-05 20:41:57 +00:00
bzbarsky%mit.edu
e9f389b855 Fix assertion bug 303006, r+sr=dbaron 2005-08-30 02:36:47 +00:00
bmlk%gmx.de
6ac1df1e9e code share GetCaptionAdjustedParent between AdjustCaptionParentFrame, bug 289936 r/sr=bzbarsky 2005-08-27 18:30:36 +00:00
tor%cs.brown.edu
ec5069804e Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
the gdi+ text highlighting code.  r=afri
2005-08-26 02:49:52 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu
5f5a889ef5 Bug 286491. Recreate the entire IB-split complex if the child of an IB-special frame is recreated, because the structure of the IB split may be changing. r+sr=bzbarsky 2005-08-21 23:56:40 +00:00
bzbarsky%mit.edu
8e208eced1 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
roc+%cs.cmu.edu
1928c9208a Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky 2005-08-16 21:35:58 +00:00
bzbarsky%mit.edu
effc480bfc Fix counter numbering when counters are set on the inline in an {ib} split.
Bug 296083, r+sr=dbaron, a=asa
2005-07-07 17:12:31 +00:00
tor%cs.brown.edu
b393f00121 Bug 296626 - handle SVG glyph frames being constructed in invalid
context.  r=dbaron, sr=roc, a=brendan.
2005-07-01 06:11:07 +00:00
mats.palmgren%bredband.net
4c0c7f56ae Make GetFieldSetAreaFrame() handle a null first child. b=299188 r+sr=dbaron a=benjamin 2005-06-30 20:31:40 +00:00
roc+%cs.cmu.edu
41bf2924b1 Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc 2005-06-29 03:51:44 +00:00
mats.palmgren%bredband.net
83fbd87d2d Add GetFieldSetAreaFrame() for accessing the area frame child of a fieldset frame. b=294717 r+sr=dbaron a=chofmann 2005-06-28 21:21:03 +00:00
roc+%cs.cmu.edu
26ce4cd8a3 Bug 297537. Line layout should not set an available-height constraint on the inline frames, because they can't break vertically ... and it certainly shouldn't set the constraint based on the band dimensions. Fixes Gmail rich text toolbar layout issue. r+sr=dbaron,a=asa 2005-06-17 02:46:36 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
mrbkap%gmail.com
4b10c6a10c bug 152329: inserting a text node in a textarea displays the text twice. r+sr=bzbarsky a=asa 2005-06-14 17:19:53 +00:00
aaronleventhal%moonset.net
d8ef241ada Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa 2005-06-10 13:57:27 +00:00
bzbarsky%mit.edu
22027022a4 Use the right parent when appending to a frame with in-flows that has :after
generated content.  Bug 292116, r+sr=roc, a=chofmann
2005-06-09 15:37:56 +00:00
Olli.Pettay%helsinki.fi
c5a59f46b5 Bug 291026, Allow XBL to bind to XTF elements, r=alex, sr=bryner, a=mkaply 2005-06-01 19:19:33 +00:00
bzbarsky%mit.edu
bd0936e6b4 Process some more menu-related attribute changes synchronously for now. Bug
262031, r+sr=roc, a=asa
2005-05-19 16:01:25 +00:00
bzbarsky%mit.edu
3bfa5db241 Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
vladimir%pobox.com
63a34084c8 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +00:00
vladimir%pobox.com
de01b09320 b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
aaronleventhal%moonset.net
9f07374e92 Fixing bustage 2005-05-03 04:16:50 +00:00
aaronleventhal%moonset.net
abd3646f41 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa 2005-05-03 03:46:51 +00:00
bmlk%gmx.de
94055d0f57 table captions are float containing blocks, bug 291520 r/sr=bzbarsky a=asa 2005-04-29 04:11:31 +00:00
roc+%cs.cmu.edu
301b411013 Bug 290752. Don't create unnecessary level of style contexts for scrolled frames. r+sr=bzbarsky,a=asa 2005-04-28 22:14:16 +00:00
bmlk%gmx.de
aaa9c943c7 pseudoframes need to be processed before the frame state is reset bug 282175 r/sr=bzbarsky a=asa 2005-04-27 04:25:57 +00:00
tor%cs.brown.edu
977dfa358d Bug 256624 - <switch> should operate over "real" content children only.
Patch by scootermorris@comcast.net, r+sr=bz, a=asa.
2005-04-26 00:10:17 +00:00
tor%cs.brown.edu
06cd00bf46 Bug 291339 - foreignObject crash in debug builds. r+sr=bzbarsky, a=asa 2005-04-21 21:39:13 +00:00
bmlk%gmx.de
86ee3651be do the granparent lookup for captions only when the parent is a inner table frame, bug286137 r/sr=bzbarsky a=asa 2005-04-20 03:53:01 +00:00
vladimir%pobox.com
057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
128854aeb8 Make repaints needed for widget state changes follow the same codepath as
repaints needed for style changes.  Bug 287616, r+sr=roc, a=asa
2005-04-15 01:32:27 +00:00
bzbarsky%mit.edu
7f0d146903 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
bmlk%gmx.de
5cd515dbd2 cleanup for named childlists on outer table frames, bring ContentInserted in sync with ContentAppended, bug 286137 r/sr=bzbarsky a=asa 2005-04-11 17:35:11 +00:00
roc+%cs.cmu.edu
61fc68579f Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa. 2005-04-07 23:54:28 +00:00
bzbarsky%mit.edu
6ed3b531b2 Fix silly error that caused no scrollbars in non-SVG builds. Bug 289248, r+sr+a=shaver 2005-04-06 15:55:00 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
pedemont%us.ibm.com
a3484a6565 Bug 210204 - Only use Mac system menu for root chrome shell XUL menus. Display all other XUL menus as on other platforms. r=bz, sr=roc 2005-04-05 22:58:29 +00:00
roc+%cs.cmu.edu
21c3eddde8 Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky 2005-04-05 22:46:56 +00:00
roc+%cs.cmu.edu
fb05d807b2 Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron 2005-04-03 21:02:47 +00:00
roc+%cs.cmu.edu
20d333fbf6 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
da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
bzbarsky%mit.edu
821ec9f30c Wrap a view update batch around all restyle processing and switch
ApplyRenderingChangeToTree to use a NO_SYNC view batch, since we now flush
reflows before painting.  Bug 288365, r+sr=roc
2005-04-01 18:14:18 +00:00
dbaron%dbaron.org
36107f5980 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
f93b035647 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
bzbarsky%mit.edu
c08736436c Don't walk through placeholders to out-of-flows that are our descendants when
we destroy a frame subtree.  Bug 271151, r=rbs, sr=dbaron
2005-03-29 22:36:06 +00:00
roc+%cs.cmu.edu
f48a672891 Bug 287352. Use wrappedFrame not frame, stupid. r+sr=bzarsky 2005-03-23 21:27:51 +00:00
roc+%cs.cmu.edu
745e51aeeb Bug 287127. Avoid using GetContentInsertionFrame when the frame hierarchy is not hooked up. r+sr=bzbarsky 2005-03-23 03:39:32 +00:00
roc+%cs.cmu.edu
c9feb5cc3c Bug 282754. When laying out absolute children, use the computed width/height of the primary frame as the container metrics if they're available. r+sr=dbaron 2005-03-21 21:43:01 +00:00
bzbarsky%mit.edu
f03bac09cc Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc
2005-03-18 04:13:05 +00:00
bmlk%gmx.de
6a7760f016 Add some debug code for table pseudo frames. The code can be activated by: set GECKO_FRAMECTOR_DEBUG_FLAGS=table-pseudo, bug 280217 r/sr=bzbarsky 2005-03-12 10:46:53 +00:00
bmlk%gmx.de
72bbdcb739 revert caption parent frame lookup logic as tags with display: table-caption are not allways just below a table tag bug 284575 r/sr=bzbarsky 2005-03-11 19:21:23 +00:00
bmlk%gmx.de
7c229a9e64 - decouple xul iframes from the browser.frames.enabled preference, so that one can open mozilla if that preference is set to false bug 107911
- avoid mutating style inside frame constructor for noframes bug 240129, this fixes crashes like bug 281333 and  bug 266222
- ConstructFrame does not append children if it fails, thats good enough for tables, so don't care about foreign children if they fail, this prevents tables from going into panic mode. bug 283147
- a display: table-caption behaves like a block for other table frames created below. bug 281527
r/sr= bzbarsky
2005-03-03 18:04:38 +00:00
bzbarsky%mit.edu
31d9018f20 Don't crash oif someone sets "display: -moz-grid" on something that has an XBL
base tag.  Just make it a grid.  Bug 283140, r=neil, sr=roc
2005-02-28 02:32:57 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
bmlk%gmx.de
17d07a07c8 input type="hidden" is not a special HTML content as we don't create a frame for it in the constructhtmlframe routine, bug 280217, r/sr=bzbarsky 2005-02-23 05:14:55 +00:00
tor%cs.brown.edu
bfa5544410 Bug 258511 - preference to disable native SVG support. r=bzbarsky, sr=roc 2005-02-21 18:11:18 +00:00
bryner%brianryner.com
708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
bzbarsky%mit.edu
d062676ab0 Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
e812ede3f7 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc
2005-02-18 06:06:47 +00:00
bmlk%gmx.de
c89a7d6ce9 allow only columns as colgroup children, and prevent column children bug=280618 r/sr=bzbarsky a=asa 2005-02-13 07:43:22 +00:00
roc+%cs.cmu.edu
465537e4b9 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
bzbarsky%mit.edu
e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
54d585f2af Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
bzbarsky%mit.edu
fcd583fe2e Move pseudo-frame handling into CreateAnonymousFrames, sort of like what we
have in ProcessChildren.  Bug 280708, r=bernd, sr=roc
2005-02-03 18:40:01 +00:00
bzbarsky%mit.edu
ac28e607a7 Fix frame tree mangling when a combobox is inside a pseudo-cell. Bug 275746,
r=bernd, sr=roc
2005-02-01 21:01:31 +00:00
bzbarsky%mit.edu
90f4604981 Fix insertion of content into blocks with first-letter styles to put the frames
in the right place.  Bug 277686, r+sr=dbaron
2005-02-01 18:46:35 +00:00
bzbarsky%mit.edu
ab21bfff5a Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc
2005-01-27 21:17:08 +00:00
roc+%cs.cmu.edu
86e95f1475 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky 2005-01-27 20:49:47 +00:00
roc+%cs.cmu.edu
71dae651a2 Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky 2005-01-25 22:17:59 +00:00
bzbarsky%mit.edu
a20d9d1582 Fixing some bustage from bug 269566 -- I got the order of args to
nsINodeInfo::Equals() wrong. r=sicking
2005-01-25 21:15:21 +00:00
tor%cs.brown.edu
0ee1400807 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
bzbarsky%mit.edu
edaea1cda5 Hoist pseudo-frame handling up so it happens for all frames. Fixes crashes bug
269566 and bug 275625.  r=bernd, sr=dbaron
2005-01-24 22:51:20 +00:00
mrbkap%gmail.com
59af451e8f bug 71191: Cannot apply bindings on the root element in a document. r+sr=bzbarsky 2005-01-21 04:42:30 +00:00
bzbarsky%mit.edu
382d4f4c86 Fix crash if insertion point has display:none. Bug 277523, r+sr=bryner 2005-01-20 19:54:06 +00:00
tor%cs.brown.edu
850c148d4c Bug 277034 - Large SVG documents don't display scrollbars. r+sr=roc. 2005-01-19 16:11:03 +00:00
neil%parkwaycc.co.uk
a3392e7e6c Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
mats.palmgren%bredband.net
bacfc09a21 Don't create page breaks when 'display:none'. b=277035 r+sr=dbaron 2005-01-16 15:30:37 +00:00
bryner%brianryner.com
cf6382ba15 Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron. 2005-01-14 23:12:20 +00:00
bryner%brianryner.com
a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
tor%cs.brown.edu
fcc6992879 Bug 277034 - large svg documents don't display scrollbars. r+sr=bzbarsky 2005-01-05 05:49:35 +00:00
bzbarsky%mit.edu
8246413d48 Remove incorrect code that unnecessarily pushes pseudo-frame state and causes
frames to be lost.  Bug 271422, r=bernd, sr=roc
2005-01-03 23:39:38 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mats.palmgren%bredband.net
6c587f43e6 Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky 2005-01-02 14:30:24 +00:00
bugzilla%arlen.demon.co.uk
3d7261604c Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
fbf5e17933 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz
2004-12-28 13:48:25 +00:00
bmlk%gmx.de
56da8513d7 dont take colgroup pseudoframes into account when creating row- or rowgroup pseudo frames bug 267725 p=basic@mozillanews.org r=bernd sr=bzbarsky 2004-12-24 07:35:33 +00:00
dbaron%dbaron.org
1a43dc79c0 Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv 2004-12-19 21:45:51 +00:00
tor%cs.brown.edu
9fd7c6b3b7 Bug 216568 - <svg:image> implementation. r=pavlov 2004-12-17 23:45:30 +00:00
dbaron%dbaron.org
972b29f4a1 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
bryner%brianryner.com
076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
roc+%cs.cmu.edu
6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
cb5add0739 Land bug 72747 in pieces: Implement scrolling='yes' (and equivalents) on frames and iframes. b=72747 r+sr=roc 2004-09-04 23:03:04 +00:00
dbaron%dbaron.org
9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
9378451dc3 Land bug 72747 in pieces: Clean up PropagateScrollToViewport and ensure it doesn't set a viewport override of NS_STYLE_OVERFLOW_CLIP. b=72747 r+sr=roc 2004-09-04 00:01:12 +00:00
dbaron%dbaron.org
8b8587dcc0 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
jst%mozilla.jstenback.com
08c3d6cd16 Fixing bug 257690. Make sure to mark the content created for generated content as anonymous content to get the content nodes to do their proper cleanup on document teardown. r+sr=bzbarsky@mit.edu 2004-09-03 05:00:40 +00:00
dbaron%dbaron.org
aa758fc43b Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:37:02 +00:00
bryner%brianryner.com
dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
neil%parkwaycc.co.uk
ee7cfef31f Bug 257276 ConstructDocElementFrame and ConstructFrameInternal need to update their display style cache after reresolving style for XBL r+sr=dbaron 2004-08-29 09:49:31 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
dbaron%dbaron.org
6897ffa2e4 Clean up excessive copy-and-paste of scrollframe building code in ConstructXULFrame. b=256910 r+sr=roc 2004-08-26 08:34:40 +00:00
roc+%cs.cmu.edu
dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
dbaron%dbaron.org
3e41286516 Convert tabs to spaces. 2004-08-25 22:06:32 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
tor%cs.brown.edu
0c326e84e7 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
vladimir%pobox.com
cfcb233cb8 Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan 2004-08-14 01:01:16 +00:00
peterv%propagandism.org
8d23023aab Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
peterv%propagandism.org
45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
bzbarsky%mit.edu
b09ea9029d Make sure to not call ProcessRestyledFrames if we have a non-reframe hint and
no frame.  Followup to bug 230170.
2004-08-10 04:44:10 +00:00
bzbarsky%mit.edu
94990b951c Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
alex%croczilla.com
d28fba9776 Bug #252637: Implement inner <svg> elements. r=tor, sr=dbaron for nsCSSFrameConstructor changes. SVG only - not part of default builds. 2004-08-05 09:01:13 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu
f3fe4fa48c Bug 240276. Make <scrollbox> be implemented as a regular scrollframe rathern than a scrollboxframe. This will help us remove scrollboxframe. r+sr=dbaron 2004-07-28 03:27:02 +00:00
roc+%cs.cmu.edu
006e44e216 Bug 251032. Make nsComboBoxControlFrames have their own space manager, because they don't care about floats in their parent. r+sr=dbaron 2004-07-18 12:16:15 +00:00
roc+%cs.cmu.edu
b751c53c83 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
dbaron%dbaron.org
314bd956d2 Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky 2004-07-17 18:21:41 +00:00
dbaron%dbaron.org
4847dc9d90 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky 2004-07-14 22:19:22 +00:00
alex%croczilla.com
2db676e5c9 Bug#245408: 'position' shouldn't apply to SVG elements other than outermost <svg/> element. SVG only - not part of default builds. r/sr=dbaron. 2004-07-05 06:45:51 +00:00
bmlk%gmx.de
6e737cd1b0 fix a crash in table pseudo frame handling, where colgroups need a special handling as they hold only columns and and can not be parents of other frames , bug 239294 r/sr=dbaron 2004-07-03 09:42:51 +00:00
peterv%propagandism.org
a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
tor%cs.brown.edu
7e261217c0 Bug 246857 - implement <svg:defs>. r=afri. Not in default build. 2004-06-23 18:14:04 +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
dbaron%dbaron.org
f452f41f60 Make WipeContainingBlock walk up further when the containing block is the block part of an inline that contains a block. b=244454 r+sr=roc 2004-06-17 18:51:17 +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
bzbarsky%mit.edu
f5001de117 Check that the generated content URL is non-null (which can happen when it's an
invalid URI).  Bug 244490, r+sr=dbaron
2004-06-08 01:16:25 +00:00
bryner%brianryner.com
69a52557c0 fix typo in bug number 2004-05-26 18:32:26 +00:00
neil%parkwaycc.co.uk
796efc7376 Bug 240542 Fix crash when inserting a listitem whose parent isn't a listbox r/sr=bz 2004-05-21 08:39:39 +00:00
roc+%cs.cmu.edu
d62b94b7ed Fix bustage, accidental checkin of work in progress :-( 2004-05-17 17:16:17 +00:00
roc+%cs.cmu.edu
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
bzbarsky%mit.edu
1156a05b85 Make sure to use the right parent style context (null) when reresolving style
for a root node with an XBL binding that includes scoped stylesheets.  Bug
243019, r+sr=roc
2004-05-15 05:11:53 +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
957f8ac62f Make table cell frame construction handle errors from children without
crashing.  Bug 237760, r+sr=roc
2004-05-07 19:45:41 +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
a438e873b5 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:41:19 +00:00
bryner%brianryner.com
7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +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
neil%parkwaycc.co.uk
90bb4e0093 Bug 241151 nsSpringFrame was a useless subclass of nsLeafBoxFrame r/sr=roc 2004-04-24 21:27:11 +00:00
roc+%cs.cmu.edu
6d1679954c Bug 234851. Minor performance optimization to make sure we only try overflow propagation for HTML BODY elements, not BODY elements from any XML namespace. r+sr=bzbarsky 2004-04-24 17:02:34 +00:00
bzbarsky%mit.edu
409de81840 When we push a pseudo cell frame, the block inside it needs to become the float
containing block.  Otherwise, floats inside this cellframe get very confused.
Bug 233094 and various dependencies, r+sr=dbaron
2004-04-24 16:00:46 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
d82f0f7484 Forgot to initialize mQuotesDirty in constructor. b=24861 rs=tor 2004-04-16 19:06:51 +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
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
dbaron%dbaron.org
2981d39de1 Fix crashes by making CreateContinuingFrame able to deal with a frame that already has a next-in-flow. b=140948 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=chofmann 2004-04-02 00:09:57 +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
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
alex.fritze%crocodile-clips.com
1ccb810e48 Remove unused includes. SVG only - not part of default build. 2004-03-09 09:53:40 +00:00
bzbarsky%mit.edu
4f498d0537 Make sure to fire XBL constructors on bindings attached to display:none nodes.
Bug 188496, r+sr=dbaron
2004-03-07 20:33:56 +00:00
bryner%brianryner.com
ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +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
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
bzbarsky%mit.edu
44d7372cf8 Make fieldset splitting work so fieldsets taller than a page print. Bug
234015, r+sr=dbaron
2004-02-19 22:00:52 +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
bzbarsky%mit.edu
9513d305ed Make sure to retarget events when they leave native anonymous content. Also
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target).  Bug
233286, r+sr=bryner, a=dveditz
2004-02-15 04:45:18 +00:00
dbaron%dbaron.org
4b1b971ac8 Make sure proper computed values for root element display fixups end up in the style data so that other code looking at the style data doesn't break. b=233480 r+sr=bzbarsky 2004-02-09 06:56:24 +00:00
dbaron%dbaron.org
952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
alex.fritze%crocodile-clips.com
5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
bmlk%gmx.de
cbc9e79487 col frames should not have child frames. bug 230138 r=dbaron sr=bzbarsky 2004-02-06 05:27:57 +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
bzbarsky%mit.edu
d262adc092 Make sure file control frames always have a space manager. Bug 232017, r+sr=dbaron 2004-02-01 04:07:17 +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
bzbarsky%mit.edu
fe7960ecb6 Fix XBL extension of XHTML namespaced nodes. Bug 176606, patch by hyatt,
r=jst, sr=bzbarsky
2004-01-31 19:09:47 +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
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
bzbarsky%mit.edu
88734d1060 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
dbaron%dbaron.org
de731a8671 Reduce randomness in indentation and line wrapping. Whitespace changes only. 2004-01-22 21:58:28 +00:00
dbaron%dbaron.org
f3af1a7aef Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +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
dbaron%dbaron.org
c63fa8e7ea Refactor code that calls ComputeStyleChangeFor and handles the result. b=231027 r+sr=bzbarsky 2004-01-17 22:43:14 +00:00
dbaron%dbaron.org
61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
dbaron%dbaron.org
d33950dfac Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +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
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +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
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
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
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
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
bzbarsky%mit.edu
30d7e97120 Fix crash in DoCleanupFrameReferences. Bug 224091, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky, sr=dbaron
2003-11-05 04:40:52 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu
3e12d6bae8 Fix hang bug 218512. We don't want to be putting a frame into a framelist
twice, since that gives us a nice loop in the frame tree.  r+sr+a=dbaron
2003-10-27 05:58:23 +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
bzbarsky%mit.edu
bde936f884 Fix crash when an SVG <foreignobject> suddenly needs a space manager. Bug
220165, r=alex@croczilla.com, sr=roc
2003-10-18 03:19:33 +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
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
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
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
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
bryner%brianryner.com
9d11b3c424 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
caillon%returnzero.com
3092768ca0 214844 relatively positioned block w/ overflow:auto should be absolute pos. containing block
Patch by Mats Palmgren <mats.palmgren@bredband.net>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
2003-08-15 04:43:09 +00:00
caillon%returnzero.com
6bf3f88997 Bug 215842 - JavaScript resets fieldset absolute positioning.
Patch by Boris Zbarsky <bzbarsky@mit.edu>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
2003-08-15 00:04:40 +00:00
bzbarsky%mit.edu
05ebd8bdc1 Backing out last checkin, since a= is needed. 2003-08-09 22:19:49 +00:00
bzbarsky%mit.edu
ea62a4c557 Fix bug 214844 -- rel pos blocks with overflow set should be containing blocks
for abs pos elements.  Patch by mats.palmgren@bredband.net (Mats Palmgren),
r+sr=dbaron
2003-08-09 21:41:39 +00:00