mats.palmgren%bredband.net
cc5e9a94a8
Use async version of Invalidate() to avoid flushing pending notifications. Also, document this aspect of the Invalidate() API. b=402198 r+sr=roc a=mtschrep
...
git-svn-id: svn://10.0.0.236/trunk@239115 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-10 00:51:03 +00:00
reed%reedloden.com
fa6b15d097
Bug 391584 - Pass around a context string so we can detect word breaks at the beginning or end of frames [p=roc r=smontagu a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@238953 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:33:28 +00:00
roc+%cs.cmu.edu
151722d42f
Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
tglek%mozilla.com
1b2f5bc689
Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +00:00
roc+%cs.cmu.edu
b6d8f8d678
Bug 385607. Ensure that whitespace is collapsed across text-run boundaries across incremental updates like adding/removing frames in the middle of the textrun. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@236189 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 03:00:16 +00:00
roc+%cs.cmu.edu
3f11928d52
Bug 389421. Rework word selection, in particular so that layout.word_select.stop_at_punctuation is applied to boundaries between punctuation and non-punctuation, and all Unicode punctuation is treated as punctuation.
...
git-svn-id: svn://10.0.0.236/trunk@233374 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 03:10:19 +00:00
philringnalda%gmail.com
a10e4df6c0
Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@232249 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 03:43:01 +00:00
roc+%cs.cmu.edu
330537f74c
Backing out fix for bug 385607 due to bustage and Tp regressions
...
git-svn-id: svn://10.0.0.236/trunk@231780 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 04:41:00 +00:00
roc+%cs.cmu.edu
1aee7e382d
Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added.
...
git-svn-id: svn://10.0.0.236/trunk@231777 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 02:49:28 +00:00
aaronleventhal%moonset.net
8b9d8c0a2a
bug 348901. Remove extra whitespace from source when exposing accessible text. r+sr=roc, r=surkov. a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@231465 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 01:12:25 +00:00
roc+%cs.cmu.edu
cb8c6e3a11
Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
...
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
asqueella%gmail.com
e3a8e85fdf
fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
...
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@230686 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 23:31:12 +00:00
jwalden%mit.edu
3f7e80ca28
Rename one of the bits on frames with a meaningful name, rs/r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@230405 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 00:34:36 +00:00
jwalden%mit.edu
b1cf38cd32
Bug 386142 - fix up some comments on nsIFrame::Init. Patchby fantasai <fantasai.bugs@inkedblade.net>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@230375 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 19:00:36 +00:00
neil%parkwaycc.co.uk
998c53a562
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
...
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +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
sharparrow1%yahoo.com
e8da7b7a3f
Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@229283 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:11:29 +00:00
dbaron%dbaron.org
cd6e9c2d37
Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
jwalden%mit.edu
f42533923d
C++ and/or gcc sucks for not allowing commas at the end of enums; this compiled in Visual Studio.
...
git-svn-id: svn://10.0.0.236/trunk@228364 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 05:24:09 +00:00
jwalden%mit.edu
d6e7fed8d4
Move frame bit #defines into an anonymous enum, to aid debuggers in determining their values, since the two I've used can't do so, at least not with the default build options. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@228360 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 05:12:35 +00:00
dbaron%dbaron.org
875b2f29f1
Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@227882 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:27:28 +00:00
dbaron%dbaron.org
4c4eee1f57
Don't propagate line layout in reflow state when we're not in the line. b=320502 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226608 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:04:04 +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
roc+%cs.cmu.edu
63377a1ac7
Bug 370439 (sort of). GetAbsPosClipRect needs to take the new frame size as a parameter, because the current frame size may be invalid when we are called by FinishAndStoreOverflow. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224391 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-11 05:04:10 +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
sharparrow1%yahoo.com
783659454a
Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00
roc+%cs.cmu.edu
7dd2fd3ff9
Bug 372237. Never set TRUNCATED reflow status if the available height is unconstrained, even if the height happens to exceed the constant we use to indicate unconstrained height. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@221756 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 20:34:15 +00:00
dbaron%dbaron.org
32d54152c9
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu
dfd5107281
Removing space that should not have been there. Bug 243370
...
git-svn-id: svn://10.0.0.236/trunk@220748 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 18:35:34 +00:00
bzbarsky%mit.edu
dfad41fa5a
deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
...
GetVAlign(), GetHAlign(). Remove GetInset(). Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220744 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 18:05:14 +00:00
Olli.Pettay%helsinki.fi
ba610d02ec
Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219259 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 16:02:42 +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
bzbarsky%mit.edu
9e56e89a01
deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
...
by Andreas Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +00:00
dbaron%dbaron.org
a6fe0f6902
Fix incorrect comments. b=363807 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217712 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 04:27:36 +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
mats.palmgren%bredband.net
14e7266121
Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217227 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:52:34 +00:00
dbaron%dbaron.org
9332796f42
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
mats.palmgren%bredband.net
34a45a87f6
Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:06:42 +00:00
dbaron%dbaron.org
56a1a43b54
Forgot to rev IID. b=332922
...
git-svn-id: svn://10.0.0.236/trunk@216978 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 08:00:53 +00:00
dbaron%dbaron.org
866a194991
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
bzbarsky%mit.edu
11427fca97
Make the GetStyle* getters not go through GetStyleData() so they can be
...
faster. Bug 360870, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216883 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:44:45 +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
Olli.Pettay%helsinki.fi
f8115d25d5
Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@215421 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 06:38:15 +00:00
benjamin%smedbergs.us
5d1671cd01
Fix extraneous semicolon
...
git-svn-id: svn://10.0.0.236/trunk@215286 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:18:51 +00:00
jwatt%jwatt.org
132641cabd
Replace aDesiredSize in comment with aReflowMetrics to make it match the parameter name (no bug)
...
git-svn-id: svn://10.0.0.236/trunk@213584 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 13:47:19 +00:00
Olli.Pettay%helsinki.fi
49abd2076b
Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@213305 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 14:15:02 +00:00
aaronleventhal%moonset.net
5d90ded709
Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@213008 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 19:33:49 +00:00
roc+%cs.cmu.edu
4339568eee
Update nsIFrame IID
...
git-svn-id: svn://10.0.0.236/trunk@212036 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 23:54:28 +00:00
roc+%cs.cmu.edu
8d851a39b2
Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@212018 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:04:06 +00:00
aaronleventhal%moonset.net
a91bbb546f
Bug 349519. Crash and incorrect results for getOffsetAtPoint. r=ginn.chen, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@211996 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 17:29:10 +00:00