Commit Graph
1525 Commits
Author SHA1 Message Date
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 <[email protected]>, 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
[email protected] a458b6ba80 Fix bullet position of floating direction:rtl list items. b=332360 Patch by Hideo Saito <[email protected]>. r+sr=dbaron (with modifications) 2007-03-08 00:27:16 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 0f5b13f950 Bug 369236: Move IsBidiFormControl from nsHTMLReflowState to nsBlockFrame. r+sr=roc 2007-02-11 07:19:09 +00:00
[email protected] 2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
[email protected] e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 41a5176429 Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron 2007-01-18 01:20:09 +00:00
[email protected] f48088ffda Fixing luna bustage, hopefully 2007-01-17 22:11:01 +00:00
[email protected] a72065716c Reland conversion of HaveForcedBreakPosition check to assertion. See if this busts luna. r+sr=dbaron 2007-01-17 20:31:13 +00:00
[email protected] 278c20fcd5 Relanding changes to replace local helpers with new nsLayoutUtils versions. r+sr=dbaron 2007-01-17 08:11:32 +00:00
[email protected] f610a4faf0 Backout of nsLineLayout changes; trying to fix luna orange 2007-01-17 06:27:01 +00:00
[email protected] 8ec6bf1a3e Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron 2007-01-17 03:59:32 +00:00
[email protected] 9d3ff4b973 Backing out text landing. 2007-01-16 22:25:20 +00:00
[email protected] 8b03653c52 Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts 2007-01-16 20:51:52 +00:00
[email protected] 880de75632 Use the right percentage base for figuring out text-indent when drawing the
text-decoration.  Bug 364862, r+sr=dbaron
2006-12-30 05:56:25 +00:00
[email protected] f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
[email protected] 1be7d32ec6 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
[email protected] 8ee681529c Bug 359371. Calculate correct available content-height when a float has border or padding. r+sr=dbaron 2006-12-15 01:52:53 +00:00
[email protected] c4094aacd6 Bug 359371. Don't leak overflowing frames if a bug occurs and we still have overflowing frames in an unconstrained reflow situation. r+sr=dbaron 2006-12-12 01:06:23 +00:00
[email protected] d21cb374bd 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. 2006-12-08 05:38:33 +00:00
[email protected] a223c518a7 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
[email protected] 9b0001a75c Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
[email protected] d9807fd270 Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
[email protected] 71d0cd1d0b Bug 350137. Don't forget to apply BR-clearance when the BR is on the last line of a block. r+sr=dbaron 2006-09-22 01:53:13 +00:00
[email protected] 5df7027d46 If we have to do a second pass because we found clearance on the first pass,
invalidate the entire area we're being moved to.  Otherwise invalidates from
the first pass will be lost.  Bug 352417, r+sr=roc
2006-09-19 00:15:15 +00:00
[email protected] 608f37f93b Don't iterate past the beginning line (crash fix). b=350370 r+sr=bzbarsky 2006-08-28 07:30:01 +00:00
[email protected] c9895adfe6 Don't steal floats from descendant float containing blocks. b=348887 (patch B) r+sr=roc 2006-08-25 04:17:41 +00:00
[email protected] 43a8b27bb7 Don't steal floats from descendant float containing blocks. b=348887 r+sr=roc 2006-08-22 03:04:18 +00:00
[email protected] 115fd200a3 Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc 2006-08-17 13:15:26 +00:00
[email protected] 7cd055a359 Don't propagate the NS_BLOCK_FRAME_HAS_OUTSIDE_BULLET flag from a prev-in-flow. b=337412 r+sr=roc 2006-08-06 03:27:00 +00:00
[email protected] f7e1aff336 Don't make a frame on the overflow line list a sibling to a frame on the principal line list. b=344557 r+sr=roc 2006-07-29 09:38:35 +00:00
[email protected] de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
[email protected] ccdf9ba007 Bug 342035. Create accessibles for all block level elements so that ATs can determine line spacing. r=ginn.chen, sr=neil, sr=roc 2006-07-11 22:14:09 +00:00
[email protected] c543d48c5c Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky 2006-06-29 02:32:36 +00:00
[email protected] 4186b95e02 relanding fix for bug 317278 :-( 2006-06-29 01:19:48 +00:00
[email protected] ae8b9b80de Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
[email protected] 8d84c7e13c Make conditions that cause additional pass for shrink wrap case less restrictive so that we do the additional pass inside a shrink-wrap scrollframe. b=325680 r+sr=roc 2006-06-20 00:46:32 +00:00
[email protected] 82d39021c1 Bug 317278. Reland patch that reflows lines again if we detect some already-placed floats need to move to the next line. This time, with changes to nsSpaceManager's PushState/PopState infrastructure so that dynamic allocations are never required; the saved state is always stack-allocated by callers. r+sr=dbaron 2006-06-19 23:06:59 +00:00