Commit Graph

396 Commits

Author SHA1 Message Date
2c797744ca Only do special height reflows for percentage-height children of table cells when there is a specified height on the table, row group, row, or cell in the row. b=370525 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron 2007-06-25 13:34:35 -07:00
fdc8696cf4 Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc 2007-06-18 16:19:39 -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
dbaron@dbaron.org
11f081d8dc Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc 2007-02-22 20:22:12 +00:00
bzbarsky@mit.edu
7b7d0976bf Fix bug 370586. r=bernd, sr=roc 2007-02-19 01:10:28 +00:00
sharparrow1@yahoo.com
376b32f2e8 Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +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
5e1785510c Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc 2007-01-27 22:22:24 +00:00
dbaron@dbaron.org
7e9453b3ea Address review comment on bug 9458 that depends on bug 367247 by making nsFrame::IsContainingBlock not check display type, but making it purely frame-class-based. 2007-01-27 18:45:35 +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
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky@mit.edu
c858d49b46 Remove some unused table code. Bug 359139, r=bernd, sr=roc 2006-12-18 03:04:25 +00:00
mats.palmgren@bredband.net
8a34355d8d Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
dbaron@dbaron.org
13db671d0b Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
dbaron@dbaron.org
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
bzbarsky@mit.edu
8ec0a3ab15 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
roc+@cs.cmu.edu
5e0300fa5c Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
dbaron@dbaron.org
96634178f2 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
bmlk@gmx.de
05f463ccd4 don't rely on the inner cell frame but catch events on the cell frame itself bug 326308 r/sr=roc 2006-03-29 04:33:34 +00:00
roc+@cs.cmu.edu
54d3415318 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
roc+@cs.cmu.edu
1967e0fe6e Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
roc+@cs.cmu.edu
79c7894a78 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
bmlk@gmx.de
c7b4ceaaab Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc 2006-03-04 05:26:57 +00:00
timeless@mozdev.org
c95a9608ea Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
uriber@gmail.com
a77901b79e Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
bzbarsky@mit.edu
af01a391cf Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
bmlk@gmx.de
3f3760cf08 use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc 2006-01-21 09:54:07 +00:00
timeless@mozdev.org
71ed8bc863 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
roc+@cs.cmu.edu
2a82ee651e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+@cs.cmu.edu
5d1b988569 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky@mit.edu
e96e8a3c36 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
bmlk@gmx.de
21f6a47658 limit pctHeightObserver to quirks mode bug 305975 r/sr=bzbarsky 2005-08-30 16:14:53 +00:00
bzbarsky@mit.edu
9d506b60da 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
dbaron@dbaron.org
2c9284cd03 Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan 2005-04-07 18:04:38 +00:00
dbaron@dbaron.org
9de069648a Make overflow area for border-collapse table cells include the whole border (and maybe a pixel more) so that style change invalidation of border-collapse table cells will invalidate what got changed. b=271755 r=bernd sr=roc 2005-03-18 02:15:44 +00:00
bmlk@gmx.de
6a770321c5 limit the nowrap + width hack to quirks mode bug 277232 r/sr=bzbarsky 2005-03-06 18:33:12 +00:00
bzbarsky@mit.edu
9e69ad849c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
cvshook@sicking.cc
0215f40fbf Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
bryner@brianryner.com
c4c10dcf35 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
neil@parkwaycc.co.uk
ab8be2367d Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bugzilla@arlen.demon.co.uk
3238ab2753 Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
bugzilla@arlen.demon.co.uk
94031ab99a Bug 113580 switch uses of getAttribute to hasAttributeValue whenever possible
p=bugmail@q1n.org r=dbaron sr=bzbarsky
2004-12-31 00:41:58 +00:00
bmlk@gmx.de
f40ef13c32 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
dbaron@dbaron.org
98f1c72982 Do size adjustments for empty cells only when 'empty-cells' says empty cells don't have borders. b=271955 r=bernd sr=roc 2004-12-01 03:50:03 +00:00
roc+@cs.cmu.edu
f8a402e79b Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
bmlk@gmx.de
3e3c2225a4 update the block overflow area if we shorten a cell in fixed layout, bug 266868 r/sr=roc 2004-11-14 14:47:59 +00:00
aaronleventhal@moonset.net
c2cc498217 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc 2004-11-11 15:07:22 +00:00
bmlk@gmx.de
5c3f4f3f85 during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky 2004-11-06 07:07:43 +00:00