mats.palmgren%bredband.net
73da1c964c
Keep track of the line container and forget the current line if it's for a different container. b=444027 r+sr=roc a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256336 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 23:39:03 +00:00
roc+%cs.cmu.edu
416ff08bef
Bug 455283. Remove unused virtual function that was screwing up nsIFrame users. r+sr=bz,a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@254245 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-16 21:47:39 +00:00
gavin%gavinsharp.com
e7488df68d
Bug 455283: RoboForm extension causes Firefox 3.0.2 to crash, patch by fantasai <fantasai.bugs@inkedblade.net>, r+sr=roc, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@254235 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-16 18:59:35 +00:00
bzbarsky%mit.edu
f9d965c3dd
Fix bug 449362. r+sr=roc, a=samuelsidler
...
git-svn-id: svn://10.0.0.236/trunk@253822 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-25 20:41:10 +00:00
roc+%cs.cmu.edu
a1b5121da7
Bug 422607. Fix rounding error in submenu positioning. Patch by Kai Liu, r=enndeakin,sr=roc,a=ss
...
git-svn-id: svn://10.0.0.236/trunk@253619 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 09:36:49 +00:00
roc+%cs.cmu.edu
d36937773d
Bug 398332. Merge reflow statuses from out-of-flow frames more carefully so that we don't lose information about the primary reflow. r=fantasai,r+sr=dbaron,a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@251877 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 13:39:41 +00:00
fantasai.cvs%inkedblade.net
f493b19190
consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250437 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 07:40:37 +00:00
roc+%cs.cmu.edu
bf8d1cd760
Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@246910 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 08:37:35 +00:00
dbaron%dbaron.org
8e179f4102
Prevent margin expansion from interfering with table caption position. Based on patch by Mats Palmgren. b=363248 r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@246603 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:02:50 +00:00
reed%reedloden.com
9e393157c2
Bug 391559 - "Incorrect ordered-list numbering within -moz-column-* (and/or numbering changes when clicked)" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=beltzner]
...
git-svn-id: svn://10.0.0.236/trunk@246395 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 07:31:30 +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
bzbarsky%mit.edu
b06d3d6b21
Fix bug 416073: invalidate more things as needed during table reflow to prevent
...
glitches. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@245203 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 09:36:32 +00:00
dbaron%dbaron.org
34753d1cd7
Push scrollframes, tables, and other blocks that don't participate in float formatting down when they don't fit next to floats. b=134706,349255 r+sr=roc a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@244318 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:41:28 +00:00
fantasai.cvs%inkedblade.net
faf43a02d0
handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@244135 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 08:13:21 +00:00
dwitte%stanford.edu
17637c1a37
get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@242851 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 20:56:50 +00:00
roc+%cs.cmu.edu
f21ce81f8b
Bug 404146. Advancing through nsContainerFrame next-in-flows can make our InlineData->line invalid, so just null it out if it might have become invalid. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@242790 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 03:18:44 +00:00
roc+%cs.cmu.edu
93254e36f5
Bug 405380. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240881 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 00:42:20 +00:00
roc+%cs.cmu.edu
967008ce95
Bug 407155. Backing out 392809 to fix regressions. a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240603 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 09:35:45 +00:00
roc+%cs.cmu.edu
da23161809
Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@240480 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:11:17 +00:00
roc+%cs.cmu.edu
c0a6fa787e
Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240211 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 09:24:25 +00:00
Olli.Pettay%helsinki.fi
e60089b398
Bug 368760, r=mats, sr=roc, a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@239843 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 20:47:35 +00:00
jwatt%jwatt.org
96b895330a
Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org
...
git-svn-id: svn://10.0.0.236/trunk@239599 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 12:09:09 +00:00
enndeakin%sympatico.ca
d2c28ca7f1
Bug 394600, address bz's additional popup reworking comments, add tests for removing popups, r+sr=bz,a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@239582 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-17 15:47:39 +00:00
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