Commit Graph

953 Commits

Author SHA1 Message Date
27e41dcc94 Backing out fix for bug 385607 due to bustage and Tp regressions 2007-08-09 21:41:00 -07:00
9fc9748051 Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added. 2007-08-09 19:49:28 -07:00
f5d4190bff Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
8eea741376 only break if the height is really constrained, bug 380550 r/sr=dbaron a=1.9+ 2007-08-04 02:40:00 -07:00
094b31fdd0 Bug 386801 - nsAbsoluteContainingBlock doesn't need to store a child list name; this shaves four bytes off nsViewportFrame, nsBlockFrame, and nsPositionedInlineFrame. r+sr+a=dbaron 2007-08-02 15:44:36 -07:00
7d1630d10a Give bullet frames the right style context parent. Bug 387219, r+sr+a=dbaron 2007-08-02 15:07:52 -07:00
368c29ae32 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
b410bb5f8a Backout bug 320378 due to regression bug 389398 2007-07-26 15:03:57 -07:00
e3742c090c 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 2007-07-25 21:03:29 -07:00
2ecbd73cfe Add assertion. Bug 382199, r+sr=dbaron 2007-07-23 18:42:23 -07:00
3b19eeb479 Bug 320378: Fix rendering preformance for heavily nested pages with clearance. 2007-07-23 17:40:42 -07:00
974eeb109c 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
2007-07-23 16:31:11 -07:00
65d89c0fd7 Bug 386147: Don't cut off floats at the bottom of the page, part 2: make sure continuations have the right preferred width. r+sr=dbaron. 2007-07-23 14:40:10 -07:00
98de634631 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 00:08:04 -07:00
79eeaa32d0 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
571fce1f0d Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
c37641ed58 Bug 377204: Clearing multi-page floated elements works on screen but not when printing (fix for fixed-height case). r+sr=rpc. 2007-07-02 14:00:31 -07:00
76b5240bee Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
0c0511351a 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 2007-06-21 15:32:47 -07:00
0490a58e96 Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc. 2007-06-16 13:27:46 -07:00
12449ae2ce Do bidi resolution during GetPrefWidth() and GetMinWidth() as well as Reflow(). Bug 365130, r+sr=roc 2007-05-28 07:40:56 -07:00
bd16aac27e Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc 2007-05-21 03:06:08 -07:00
5969494ddd Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc. 2007-05-21 02:55:27 -07:00
ced9959fcd Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
cdb5b22b87 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
67490bd44a Fix assert to be more correct. Bug 379383, r+sr=dbaron 2007-05-02 13:32:17 -07:00
001b9a9c4a bug 378383. nsReflowStatus not always initialized in nsBlockFrame::ReflowInlineFrame. r+sr=bzbarsky 2007-04-22 13:57:54 -07:00
50bebcee64 Fix assertion to be more correct. No bug. 2007-04-20 20:57:40 -07:00
2aa4681377 Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron 2007-04-20 17:42:58 -07:00
6191bc62d4 Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc. 2007-04-20 16:51:12 -07:00
e57983fb6e Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron 2007-04-15 17:42:54 -07:00
718a183176 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 2007-04-10 22:04:09 -07:00
d836d82197 Make sure to update view positions if we move our block around verticallyduring reflow. Bug 365294, r+sr=dbaron 2007-04-05 15:47:38 -07:00
2437dbcc69 Not part of the build --- update GetPresContext to PresContext in a few not-built places. 2007-04-02 20:56:55 -07:00
e0f90db412 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
b0979bdaf3 No bug. Comment-only change to note a potential optimization opportunity. 2007-03-22 16:10:10 -07:00
dbaron@dbaron.org
a458b6ba80 Fix bullet position of floating direction:rtl list items. b=332360 Patch by Hideo Saito <saito@densan.co.jp>. r+sr=dbaron (with modifications) 2007-03-08 00:27:16 +00:00
roc+@cs.cmu.edu
bee8df55df Bug 369227. Record the first soft break beyond the available width, if there isn't one within the available width. r+sr=dbaron 2007-02-21 01:52:03 +00:00
bzbarsky@mit.edu
7228aea249 Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc
2007-02-18 23:53:25 +00:00
asqueella@gmail.com
49c82b0ca8 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
smontagu@smontagu.org
0f5b13f950 Bug 369236: Move IsBidiFormControl from nsHTMLReflowState to nsBlockFrame. r+sr=roc 2007-02-11 07:19:09 +00:00
sharparrow1@yahoo.com
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook@sicking.cc
e80f1dba4e 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
a7fc5bf5b3 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
bzbarsky@mit.edu
b09985c9eb Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron@dbaron.org
8648581bf7 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
41a5176429 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
f48088ffda Fixing luna bustage, hopefully 2007-01-17 22:11:01 +00:00
roc+@cs.cmu.edu
a72065716c Reland conversion of HaveForcedBreakPosition check to assertion. See if this busts luna. r+sr=dbaron 2007-01-17 20:31:13 +00:00
roc+@cs.cmu.edu
278c20fcd5 Relanding changes to replace local helpers with new nsLayoutUtils versions. r+sr=dbaron 2007-01-17 08:11:32 +00:00