bzbarsky%mit.edu
9104cb9303
Make frames know whether they're leaves or not from the frame construction
...
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +00:00
roc+%cs.cmu.edu
d37e04c2ca
Bug 296377. Frames that use -moz-appearance may be transparent even if their background color is set, because the background color is not painted. r+sr=dbaron,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@174964 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:53:10 +00:00
mats.palmgren%bredband.net
3326af6fcd
Don't apply z-index to non-positioned elements. b=297425 r+sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174604 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 23:53:56 +00:00
mconnor%steelgryphon.com
848e85a2b2
bug 294324 - scrolling performance regression, patch by roc, r+sr=bz, a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173542 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 14:02:20 +00:00
bzbarsky%mit.edu
3f6088524e
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
git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
131435cb9a
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
b5213df298
Bug 290432. Add push/pop translation functions to nsIRenderingContext so cairo can override them. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172456 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 22:58:33 +00:00
bzbarsky%mit.edu
2ed6c9fac8
Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
...
BindToTree and UnbindFromTree methods. Bug 286000, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
roc+%cs.cmu.edu
7021bee02b
Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
f7e591cd27
Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
...
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
a8e2e85779
Bug 288117. Fix up function name as dbaron requested.
...
git-svn-id: svn://10.0.0.236/trunk@171420 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu
edd9381478
Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
roc+%cs.cmu.edu
8236d1c5c5
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@170324 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 22:12:53 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c
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
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
bzbarsky%mit.edu
e3efa23663
Overflowing inlines have transparent content in the view even if they have
...
non-visible overflow set, since overflow does not apply to inlines. Bug
277200, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168680 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 00:29:43 +00:00
roc+%cs.cmu.edu
19c46ac733
Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
adcb976e59
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
e547c59f49
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
smontagu%smontagu.org
d4954c0fc8
Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@165260 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:48:09 +00:00
bzbarsky%mit.edu
f53f98f7f3
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
dbaron%dbaron.org
f2f184adff
Treat 'visibility: collapse' the same as 'visibility: hidden'. b=264072 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163654 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 15:12:14 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
bbe291225f
The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162195 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 05:39:27 +00:00
dbaron%dbaron.org
d078282226
Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
565357f6d2
Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
d82b9d3db0
Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
bryner%brianryner.com
ff2bc0b69e
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
...
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
roc+%cs.cmu.edu
d7e985e5cb
Bug 253977 backout because of possible Tp regression on btek.
...
git-svn-id: svn://10.0.0.236/trunk@161114 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu
34b5eca02a
Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161113 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 03:00:46 +00:00
bryner%brianryner.com
03c6a8279c
Backing out bug 253888 until I can figure out how to fix the crash
...
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
bzbarsky%mit.edu
420b97695b
Make sure that GetFrameForPoint checks all layers of each float before moving
...
on to the next one. Bug 253572, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160632 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 22:24:00 +00:00
dbaron%dbaron.org
dda1e6cda9
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
smontagu%smontagu.org
d1a1c12261
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
roc+%cs.cmu.edu
92e59ef827
Backing out 233441.
...
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
bzbarsky%mit.edu
811e223ae1
Let generated content content nodes know when their frames go away. Bug
...
237975, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155241 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 19:20:16 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
722bca28f8
Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@154348 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
1b122ed826
Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
...
git-svn-id: svn://10.0.0.236/trunk@153080 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-22 03:31:30 +00:00