roc+%cs.cmu.edu
37965e7fdd
Bug 346405. Handle reparenting of empty float lists. r+sr=dbaron
2007-07-19 04:32:08 +00:00
jwalden%mit.edu
ef68fcf595
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
5a0917c43a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-04 02:15:35 +00:00
dbaron%dbaron.org
0027ac7911
Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
2007-05-11 06:02:31 +00:00
dbaron%dbaron.org
258d225da1
Remove special handling of empty continuations, which should no longer be needed. b=238473 Based on patch by Hideo Saito <saito@densan.co.jp>. r=dbaron sr=roc
2007-05-05 17:06:04 +00:00
bzbarsky%mit.edu
6bfe4d1b01
Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
2007-05-05 06:09:50 +00:00
roc+%cs.cmu.edu
91567bbb8f
Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron
2007-04-21 00:42:58 +00:00
bzbarsky%mit.edu
6dd3c7166e
Make sure to handle creation of a new continuation of the first-letter frame
...
even if we pulled the first-letter frame from our next-in-flow. Bug 372553,
r+sr=roc.
2007-03-05 00:15:46 +00:00
dbaron%dbaron.org
b985c7a438
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
2007-02-24 18:33:33 +00:00
asqueella%gmail.com
3be3ebf36a
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
2007-02-18 17:34:09 +00:00
cvshook%sicking.cc
0c24c4a4c3
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
6e48038aa3
Combine the code that tests inlines for dependence on the containing block width in order to disable resize reflow optimizations, and add to that code things that shrink wrap (inline-block, inline-table, buttons, fieldsets). Also move the percentage-height tests out, and into InitResizeFlags. b=163504 r+sr=bzbarsky
2007-01-27 18:40:26 +00:00
dbaron%dbaron.org
47f4966b12
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
c125b03406
Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
2235524e9e
Backout of nsLineLayout changes; trying to fix luna orange
2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
4f18bb6292
Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
c25e8e22df
Backing out text landing.
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
2d7079a79a
Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
2007-01-16 20:51:52 +00:00
timeless%mozdev.org
abc256e3da
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
uriber%gmail.com
54d991dc88
Pull InsertFrames, AppendFrames, and RemoveFrames up from nsInlineFrame to nsContainerFrame. bug=198928 r+sr=dbaron
2006-12-25 18:53:52 +00:00
roc+%cs.cmu.edu
5ed8439693
Bug 363813. Always reset parent pointers when pulling an inline frame's overflow back into its main child list. r+sr=dbaron
2006-12-21 19:59:30 +00:00
dbaron%dbaron.org
116da6be23
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
a7cac46f4a
Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
2006-10-19 01:47:47 +00:00
uriber%gmail.com
58e29c5cff
Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc
2006-09-11 20:43:01 +00:00
uriber%gmail.com
63dc4e2947
Backing out bug 300131 until I figure out how to deal with the bustage.
2006-09-11 08:03:28 +00:00
uriber%gmail.com
1b4975fbeb
Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc
2006-09-11 06:39:56 +00:00
uriber%gmail.com
6534466e54
Create bidi embedding only around inline containers (with a specified direction), not around inline replaced elements. bug=169139 r+sr=bzbarsky
2006-08-07 07:40:28 +00:00
mats.palmgren%bredband.net
8936a2975f
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
2006-06-29 02:32:36 +00:00
uriber%gmail.com
df7ead955d
Bug 328168: Horizontal paddings, borders and margins on multi-frame bidi inlines appear in the wrong places. Patch by Haamed Gheibi <gheibi@gmail.com>. r=roc+uriber, sr=roc.
2006-06-15 08:16:23 +00:00
cvshook%sicking.cc
36f352636c
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
aaronleventhal%moonset.net
b6b5a66325
Bug 326090. Expose <hr> as ROLE_SEPARATOR. Patch by Ming (Mike) Gao. r=aaronlev, sr=roc
2006-04-27 16:23:09 +00:00
roc+%cs.cmu.edu
211581d5a4
Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap
2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu
64bd04b75c
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
42db31dfcc
Single line comments to describe files (helpful in LXR)
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
dba51376ea
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
bzbarsky%mit.edu
c50f975dda
Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
2006-03-16 01:30:38 +00:00
pavlov%pavlov.net
f33ad65b06
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
f4d2e578db
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
d0abdc1385
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
uriber%gmail.com
c3e489445d
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
5451e97878
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
0f489187a0
Bug 321294: Remove unused ReplaceFrame codepaths.
...
r/sr=roc
2006-01-10 22:58:37 +00:00
timeless%mozdev.org
b20620f6ab
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
c4070dec03
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
aaronleventhal%moonset.net
dd83900f20
Bug 308517. Crash when browse with images off and screen reader running. r+sr=bryner
2005-09-15 21:13:00 +00:00
dbaron%dbaron.org
f81582d101
Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg
2005-08-02 20:15:27 +00:00
bzbarsky%mit.edu
83d892d31c
Use the padding-edge as the absolute containing block when the containing block
...
is established by a relatively positioned inline. CSS2.1 is being changed
accordingly. Bug 300816, r+sr=dbaron, a=asa
2005-07-25 20:15:31 +00:00
bzbarsky%mit.edu
0076d95201
Actually address the review comments on bug 290377... r+sr=dbaron, a=asa
2005-04-30 05:16:21 +00:00
bzbarsky%mit.edu
0597971698
Fix border width inheritance by keeping track of both the border width we'd
...
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
2182005118
Bug 262403. Don't do a line break just because a float was broken across pages. Also, squash some assertions while printing. r+sr=dbaron
2005-03-24 01:15:07 +00:00
roc+%cs.cmu.edu
30604288b9
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
b626abc29c
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
roc+%cs.cmu.edu
9d0a9b302b
Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
8c7ac60ba1
Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
2004-11-14 20:22:58 +00:00
roc+%cs.cmu.edu
6146e49d29
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu
a179d11a59
Bug 252771. Recompute an inline frame's overflow area nearly from scratch in RelativePositionFrames, so we don't try to maintain it (and fail) during inline frame alignment. r+sr=dbaron
2004-08-25 13:03:28 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
1ebd6baf37
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-16 16:56:21 +00:00
aaronleventhal%moonset.net
ccbc55e0d0
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
aaronleventhal%moonset.net
78fcf72fc2
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
bzbarsky%mit.edu
74c687f2ca
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
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
0c56075a10
Backing out my checkin from yesterday. b=199673
2004-03-10 17:13:39 +00:00
dbaron%dbaron.org
fc8f3eda8e
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
602e5214cc
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
745944525d
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
0ea3c127ae
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
bryner%brianryner.com
fd6fed0d82
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
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
jst%mozilla.jstenback.com
6380d7fd12
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
8b1b76c827
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
c3c15dce0c
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
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
0b02fcbd98
My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc
2003-09-20 21:31:18 +00:00
roc+%cs.cmu.edu
c335a13e1b
Ongoing deCOMtamination. r+sr=dbaron
2003-06-30 10:46:59 +00:00
caillon%returnzero.com
ba75de772b
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
smontagu%netscape.com
e1480aa37e
Bug 170547 Caret is in the wrong place after deleting <LI>'s. r+sr=kin.
2003-04-23 00:24:24 +00:00
aaronl%netscape.com
a24f59a714
Bug 194977. Support <label> elements as ROLE_STATICTEXT like IE does, fix use of label name for controls when no form element. r=kyle, sr=henry
2003-03-06 18:50:39 +00:00
sfraser%netscape.com
e53fa3798f
Remove non-const kInlineFrameCID. r/sr=alecf. Bug 74803
2003-02-26 01:16:40 +00:00
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
caillon%returnzero.com
099f831482
comment fixes r+sr=bzbarsky
2003-01-22 08:01:37 +00:00
karnaze%netscape.com
a8596de177
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
2003-01-20 18:04:34 +00:00
dbaron%dbaron.org
a5fcfea19e
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
818581d1d9
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
2002-12-23 22:05:47 +00:00
roc+%cs.cmu.edu
e48869f9a2
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
035d850bf9
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
2002-12-21 23:25:38 +00:00
dbaron%fas.harvard.edu
2c8a506a47
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
roc+%cs.cmu.edu
93e5b50e9f
Backing out fix for bug 170330 due to Tp regression
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
f5a2455464
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
2002-12-05 22:29:08 +00:00
karnaze%netscape.com
d6801ac37b
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
2002-12-04 00:58:52 +00:00
dbaron%fas.harvard.edu
e319c955e3
Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
2002-11-28 19:29:28 +00:00
dbaron%fas.harvard.edu
b2f992acb9
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
5f0c6d63b3
Fix ReplaceChild() on positioned inlines to delegate to
...
nsAbsoluteContainingBlock.h. Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
kyle.yuan%sun.com
23c30adeaa
Bug 177451 [Active Accessibility] implement support for <toolbar>
...
r=aaronl, sr=jst
Bug 177453 [Active Accessibility] implement support for <hr>
r=aaronl, sr=jst
Bug 177646 [Active Accessibility] implement support for <tooltip>
r=aaronl, sr=jst
2002-11-06 01:29:58 +00:00
karnaze%netscape.com
eb6da2987d
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
2002-10-30 15:33:36 +00:00
karnaze%netscape.com
09a75283de
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
karnaze%netscape.com
f7277122ea
bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron
2002-09-24 21:02:20 +00:00