bzbarsky%mit.edu
618a61f7f2
If we moved but did not reflow either the caption or the inner table,
...
invalidate the relevant area. Bug 379353, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@238909 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:17:30 +00:00
bzbarsky%mit.edu
858861db17
Make sure to reflow the caption if it gets inserted into our table before
...
another caption. Bug 389924, r=bernd, sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231361 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:34:59 +00:00
bzbarsky%mit.edu
3524c6eee1
Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
...
update the resize flags properly. Bug 388084, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
aaronleventhal%moonset.net
79b1187f8f
Bug 377783. Fix crash and clean up table a11y. r=evan.yan
...
git-svn-id: svn://10.0.0.236/trunk@229355 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 15:39:30 +00:00
mats.palmgren%bredband.net
fd18364353
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
bzbarsky%mit.edu
2679c6fe46
Fix determination of the style context parent for the inner table frame of a
...
root table. Bug 379386, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226104 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 03:59:12 +00:00
bzbarsky%mit.edu
ba5badedcb
Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
...
the method, instead of setting them before calling the method. That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children. This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
a794c3824d
Fix bug 379229, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225246 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:17:03 +00:00
bzbarsky%mit.edu
d07baebc96
Give captions the right style context parent when dynamically restyling. Bug
...
378240, r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224852 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 19:15:25 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
191e1cf5c9
Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220757 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 20:22:12 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15
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
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372
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.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net
24f598ebe8
[Debug only] Add nsTableCaptionFrame::GetFrameName() returning "Caption". b=343386 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@203235 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 08:50:26 +00:00
mats.palmgren%bredband.net
1bbaeed419
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
140fbb3377
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
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
bmlk%gmx.de
c5a8baedf8
insist on an inner table frame, resistance to any other childlist, bug 329768, r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@192579 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-18 07:18:54 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
timeless%mozdev.org
faf573a28d
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
roc+%cs.cmu.edu
df8627e29b
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
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
ee493b4c1d
use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@187960 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 09:54:07 +00:00
bmlk%gmx.de
d800c5f869
Do not prevent the creation of multiple captions, but display only the first one, bug 309322 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185643 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:13:08 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
bmlk%gmx.de
212fccadfd
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@181584 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 15:47:21 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
dbaron%dbaron.org
f94ce77397
Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@171857 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
0cb4778ab7
build warnings (shadow + unused variables) bug 287097 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171163 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:02:59 +00:00
bmlk%gmx.de
dc30d31527
take vertical margins into account during height constrained situations like printing. bug 285006 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170920 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 17:59:11 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c
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
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
adcb976e59
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
3656f2a5e7
fix flawed reflow logic for empty table cells bug 226637 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164605 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:31:53 +00:00
bmlk%gmx.de
d48111b27d
query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163898 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 18:21:15 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
eb73ad615e
don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162132 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:08:53 +00:00
dbaron%dbaron.org
e8aae32dd7
Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bmlk%gmx.de
deb5280c1e
bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161544 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:57:06 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f
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
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
dbaron%dbaron.org
dda1e6cda9
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00