Граф коммитов

363 Коммитов

Автор SHA1 Сообщение Дата
roc+@cs.cmu.edu f2b87e6c9a Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
roc+@cs.cmu.edu 76c404a4e8 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 11:39:38 -07:00
roc+@cs.cmu.edu 28f1f19b47 Backing out 2007-08-15 09:20:46 -07:00
roc+@cs.cmu.edu 7c626fa17b Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 09:04:17 -07:00
roc+@cs.cmu.edu 595643049e Backing out patches for bug 385270 (mostly --- due to other checkins in the meantime, the GetContent*() helper functions need to stay) to fix regressions. a=schrep 2007-07-30 16:56:14 -07:00
roc+@cs.cmu.edu b10b4dcb58 Bug 385270. Remove unnecessary (hopefully) bidi offset adjustment; the offsets will get fixed by a later reflow. r+sr=dbaron 2007-07-23 20:48:10 -07:00
jwalden@mit.edu 6d7584839a 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
sharparrow1@yahoo.com a010d5b126 Bug 285608: hangs when page with float printed. r+sr=roc. 2007-06-27 09:35:31 -07:00
roc+@cs.cmu.edu 5fe6149b7e Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
mats.palmgren@bredband.net c0cd16b1b8 Check LL_GOTLINEBOX before using mLineBox. b=382396 r+sr=dbaron 2007-05-30 08:08:50 -07:00
sharparrow1@yahoo.com 3fb1602073 Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc. 2007-05-21 02:55:27 -07:00
roc+@cs.cmu.edu af01fb8e0e Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron 2007-05-20 20:44:26 -07:00
dbaron@dbaron.org 1865808f7c Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
bzbarsky@mit.edu 20e95343df Twiddle parentheses a little bit. Bug 311415 followup, r+sr=dbaron 2007-05-09 19:55:15 -07:00
bzbarsky@mit.edu 1b5f6b30b6 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
bzbarsky@mit.edu 073d7a78a6 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
bzbarsky@mit.edu 9cd2a580d0 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
dbaron@dbaron.org ace3611ec9 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky%mit.edu 7bf5f8b7a1 Make the display frame resize correctly when the <select>'s width changes. Bug
370422, r+sr=dbaron
2007-02-28 03:04:38 +00:00
roc+%cs.cmu.edu 5ea42c0e18 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
sharparrow1%yahoo.com d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
mats.palmgren%bredband.net 1b49d48664 Check LL_GOTLINEBOX before using mLineBox. b=368461 r+sr=dbaron 2007-02-08 13:53:51 +00:00
cvshook%sicking.cc a39ff30284 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 0e9e52586a 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
dbaron%dbaron.org 5cb78b8e99 Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
dbaron%dbaron.org f6245f0ed9 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 7790a961e0 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 49502dd9e1 Backout of nsLineLayout changes; trying to fix luna orange 2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu e8d2197c1a 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
roc+%cs.cmu.edu 7268a1957b Backing out text landing. 2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu e6bad38abe 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
bzbarsky%mit.edu 6fda51c888 Compare maxY to the right thing when deciding whether to clamp it to the
baselineY.  Bug 366667, r+sr=dbaron
2007-01-11 18:10:47 +00:00
timeless%mozdev.org 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org c6c8f9b6d3 Correctly align a line with no justification opportunities (a single word) for RTL justified text. Patch originally from Uri Bernstein <uriber@gmail.com>, modified by smontagu and me. b=102019 r=dbaron/smontagu 2006-12-12 18:28:37 +00:00
dbaron%dbaron.org 31f1898810 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
timeless%mozdev.org 46d2b15871 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
roc+%cs.cmu.edu 899128e82a 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
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber%gmail.com ab53025882 Bug 328168: Horizontal paddings, borders and margins on multi-frame bidi inlines appear in the wrong places. Patch by Haamed Gheibi <gheibi@gmail.com>. r=roc+uriber, sr=roc. 2006-06-15 08:16:23 +00:00
uriber%gmail.com 9bfd13e9f1 When sliding frames to the left to account for trimmed trailing whitespace, update the frame rectangle itself if necessary. bug=333560 r+sr=roc 2006-05-03 10:28:58 +00:00
bzbarsky%mit.edu 5c3e8ea185 Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561 relanding, r+sr=dbaron
2006-04-21 01:31:35 +00:00
bzbarsky%mit.edu 9a725b0dff Make line boxes have the right width when justifying. Bug 309761, r+sr=roc 2006-04-12 01:07:01 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
uriber%gmail.com d5df8654d1 Bug 318116: Overflowing inlines in fixed-width RTL blocks overflow to the right instead of to the left. r=dbaron sr=roc 2006-03-15 17:10:35 +00:00
uriber%gmail.com c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
mats.palmgren%bredband.net 377c6c9a64 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron 2005-08-30 22:46:45 +00:00
dbaron%dbaron.org 8271626e99 Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg 2005-08-02 20:15:27 +00:00
roc+%cs.cmu.edu 26ce4cd8a3 Bug 297537. Line layout should not set an available-height constraint on the inline frames, because they can't break vertically ... and it certainly shouldn't set the constraint based on the band dimensions. Fixes Gmail rich text toolbar layout issue. r+sr=dbaron,a=asa 2005-06-17 02:46:36 +00:00
dbaron%dbaron.org f00b4902e7 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa 2005-06-15 23:45:06 +00:00
bmlk%gmx.de 67fbb9fdec add only fixed margins to the MEW, bug 292690 r/sr=dbaron a=chofmann 2005-05-22 15:47:49 +00:00
bzbarsky%mit.edu e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu 8361439ea6 Removing noisy printf. 2005-03-23 20:01:39 +00:00
dbaron%dbaron.org d0b201ef3e Make the printf that roc just checked in #ifdef DEBUG_roc. 2005-03-23 09:30:54 +00:00
roc+%cs.cmu.edu 87c224f2cb Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
jshin%mailaps.org 729785e7e8 bug 275672 : Right-most character (that means end of line) should not have extra space for justification patch by masayuki@d-toybox.com, r+sr=roc 2005-01-13 19:21:18 +00:00
bmlk%gmx.de ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
dbaron%dbaron.org 0bb526779c Add comment. 2004-12-16 01:20:57 +00:00
cbiesinger%web.de e21c6632f7 bug 36322 patch by Masayuki Nakano <masayuki@d-toybox.com> r+sr=roc
Japanese text justification
2004-12-12 16:14:43 +00:00
mats.palmgren%bredband.net 2ea386e9aa Fix margin-right for ::first-letter. b=60289 r=rbs sr=dbaron 2004-11-28 02:17:42 +00:00
jshin%mailaps.org 7f32280119 get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry) 2004-11-19 03:32:28 +00:00
jshin%mailaps.org 0bce7f2fcb bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc) 2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au 2013840a25 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky 2004-11-17 04:12:02 +00:00
dbaron%dbaron.org fc211528b0 Revert part of the changes from bug 140611. Patch partly from Sander <svl_bmo@juima.org>. b=259683 r+sr=roc a=asa 2004-10-23 23:23:43 +00:00
rbs%maths.uq.edu.au 919273859a Improves linebreak behavior at inter-tag boundaries, patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs 2004-10-19 07:12:55 +00:00
rbs%maths.uq.edu.au 24c89150ae Text Zoom leaves misaligned overlapping text, b=128405, r=roc, sr=bz 2004-10-12 03:04:47 +00:00
roc+%cs.cmu.edu b2c88b56ed Bug 260896. When a floating first-letter frame reports FRAME_IS_NOT_COMPLETE after reflow, (then unlike blocks) that does NOT mean that it needs to continue on the next page! It just means it has an inline continuation. So correct its reflow status early in ReflowFloat so that we don't confuse the heck out of block reflow. r+sr=dbaron 2004-09-29 02:18:25 +00:00
roc+%cs.cmu.edu 44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu 3a3ac38479 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
roc+%cs.cmu.edu 51ea58fa47 Bug 252771. Recompute an inline frame's overflow area nearly from scratch in RelativePositionFrames, so we don't try to maintain it (and fail) during inline frame alignment. r+sr=dbaron 2004-08-25 13:03:28 +00:00
bryner%brianryner.com b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net 910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net 692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
jim_nance%yahoo.com 824a6d1d0c Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc 2004-07-15 17:50:34 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
smontagu%smontagu.org e1cc6b919a Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron. 2004-06-20 09:51:10 +00:00
neil%parkwaycc.co.uk 8d5141f6df Bug 205235 Fix floats to work in RTL spans p=mozilla-bugzilla@future.shiny.co.il (Ilya Konstantinov) r/sr=dbaron 2004-06-18 23:41:17 +00:00
smontagu%smontagu.org 82d48e1672 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu eacf86253c The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
bug is 241833
2004-05-05 01:46:15 +00:00
dbaron%dbaron.org 86700877bf Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs 2004-05-04 23:56:25 +00:00
bzbarsky%mit.edu d44c8e2932 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
bryner%brianryner.com 0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
roc+%cs.cmu.edu caec22bc62 Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification. 2004-03-16 06:58:01 +00:00
dbaron%dbaron.org 2a10660d41 Backing out my checkin from yesterday. b=199673 2004-03-10 17:13:39 +00:00
dbaron%dbaron.org 2ecaa27129 In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky 2004-03-10 00:28:17 +00:00
scott%scott-macgregor.org 3d4524453c Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
(See Bug #235223).

a=brendan
2004-03-02 01:23:13 +00:00
roc+%cs.cmu.edu b9b0fca290 Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron 2004-02-28 02:55:58 +00:00
bryner%brianryner.com 5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu a0b34c7ff7 Fix comment. Bug 132561, r+sr=dbaron 2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu 172b44ad4e Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561, r+sr=dbaron
2004-02-19 22:12:38 +00:00
bzbarsky%mit.edu 9d18d90270 Collapse trailing whitespace even if there is a placeholder after it. Bug
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
dbaron%dbaron.org f3fb5dea45 Fix percentage widths on inlines within inlines. b=97695 r+sr=roc 2003-12-19 05:41:35 +00:00
dbaron%dbaron.org a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00