bzbarsky%mit.edu
9a57ab48b5
Invalidate things correctly when the caption or inner table is resized. Bug
...
424465, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@248971 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 21:53:19 +00:00
dbaron%dbaron.org
bff9315f70
Compute the shrink-wrapping size of table outer frames correctly. b=363402 r+sr=roc a1.9b4=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@246742 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 17:55:04 +00:00
dbaron%dbaron.org
19d1951a0e
Fix horizontal positions of top and bottom captions in the presence of non-left-aligned tables. b=363248,386704 r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@246605 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:03:11 +00:00
dbaron%dbaron.org
61730063ca
Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@246602 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:02:21 +00:00
dbaron%dbaron.org
58cc40a2f1
Split nsTableOuterFrame::OuterReflowChild. b=363248,386704 r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@246601 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:01:33 +00:00
fantasai.cvs%inkedblade.net
573c3c24fb
switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
...
git-svn-id: svn://10.0.0.236/trunk@246042 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:08:56 +00:00
surkov.alexander%gmail.com
c03bdde50c
Bug 410052 - bustage fix on windows
...
git-svn-id: svn://10.0.0.236/trunk@245105 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 07:23:00 +00:00
surkov.alexander%gmail.com
cfdaa9365d
Bug 410052 â Fix our nsHTMLAccessibleTable class so GetIndexAt and GetRowAtIndex and GetColumnAtIndex behave consistently, patch=me, marcoz, r=marcoz, me, bernd, sr=roc, blocking1.9+=dsicore
...
git-svn-id: svn://10.0.0.236/trunk@245101 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 07:03:26 +00:00
bmlk%gmx.de
6180c19ce9
remove dead code, bug 282009 r/sr=roc a=mtschrep
...
git-svn-id: svn://10.0.0.236/trunk@243591 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 06:34:03 +00:00
roc+%cs.cmu.edu
1f43788478
Bug 408749. Reflow captions with unconstrained height, because we have no logic to reflow their continuations. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@241881 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 03:25:36 +00:00
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