Commit Graph

2410 Commits

Author SHA1 Message Date
troy%netscape.com
a7875d7a01 Changed slightly the check for whether the vertical scrollbar will be hidden.
This way it works better for XML documents that have an initial value for the
overflow property


git-svn-id: svn://10.0.0.236/trunk@14494 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 03:56:57 +00:00
vidur%netscape.com
118281d675 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
git-svn-id: svn://10.0.0.236/trunk@14467 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:06:16 +00:00
troy%netscape.com
cc9970fac0 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame


git-svn-id: svn://10.0.0.236/trunk@14413 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:43:13 +00:00
kipp%netscape.com
30c4a39a11 Added a sleazy implementation of css2's run-in display type
git-svn-id: svn://10.0.0.236/trunk@14408 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:55:55 +00:00
kipp%netscape.com
5124efc774 Added a method to support propogation of the mRunInFrame info down into the reflow of a block
git-svn-id: svn://10.0.0.236/trunk@14407 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:55:23 +00:00
kipp%netscape.com
d66db3ecf6 Added run-in and compact display types to the TreatFrameAsBlockFrame method
git-svn-id: svn://10.0.0.236/trunk@14406 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:54:47 +00:00
kipp%netscape.com
ce5cc1fa2e Added mRunInFrame to the html reflow state so that run-in frame handling can be forwarded from a parent block to a child block
git-svn-id: svn://10.0.0.236/trunk@14405 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:54:15 +00:00
cls%seawood.org
0a35e79928 Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs.
git-svn-id: svn://10.0.0.236/trunk@14392 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:53:49 +00:00
kipp%netscape.com
05f22fe6ea Fixed AddFrame method hiding
git-svn-id: svn://10.0.0.236/trunk@14359 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 19:20:53 +00:00
kipp%netscape.com
4186fefce1 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@14358 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 19:16:32 +00:00
kipp%netscape.com
5c3856a3cc Use lineLayout object to pass on floater to the containing block
git-svn-id: svn://10.0.0.236/trunk@14348 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:04:34 +00:00
kipp%netscape.com
fd3e20c111 Added InitFloater
git-svn-id: svn://10.0.0.236/trunk@14347 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:04:19 +00:00
kipp%netscape.com
cd6050f965 Use geometric parent to get containing block of the floater
git-svn-id: svn://10.0.0.236/trunk@14346 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:04:10 +00:00
kipp%netscape.com
39bf131805 Removed obsolete IIDs
git-svn-id: svn://10.0.0.236/trunk@14345 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:53 +00:00
kipp%netscape.com
74e3541265 Removed GetReflowMetrics
git-svn-id: svn://10.0.0.236/trunk@14344 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:42 +00:00
kipp%netscape.com
c3a39b9634 Tidy up by removing some old junky code
git-svn-id: svn://10.0.0.236/trunk@14343 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:29 +00:00
kipp%netscape.com
93bd8372b4 nuked
git-svn-id: svn://10.0.0.236/trunk@14342 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:02:20 +00:00
troy%netscape.com
1c0da71da3 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list


git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +00:00
troy%netscape.com
3b217d91c6 Added GetChildListName() member function
git-svn-id: svn://10.0.0.236/trunk@14329 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:31:02 +00:00
joki%netscape.com
332786d692 Stop dual event flow through both frames kids and view kids. Now flows through views.
git-svn-id: svn://10.0.0.236/trunk@14318 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 00:35:30 +00:00
karnaze%netscape.com
c723661f91 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.


git-svn-id: svn://10.0.0.236/trunk@14312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:30:16 +00:00
troy%netscape.com
113c5409bc Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime


git-svn-id: svn://10.0.0.236/trunk@14290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:59:33 +00:00
troy%netscape.com
cdf69643a6 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.


git-svn-id: svn://10.0.0.236/trunk@14289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:40:27 +00:00
kipp%netscape.com
fddf21d369 Disabled some more dubious br/margin code
git-svn-id: svn://10.0.0.236/trunk@14285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:54:37 +00:00
troy%netscape.com
433ac3b15e Added a hack to make sure that the floated frame gets a DidReflow notification
git-svn-id: svn://10.0.0.236/trunk@14216 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 00:03:45 +00:00
troy%netscape.com
222a7c54b8 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow


git-svn-id: svn://10.0.0.236/trunk@14197 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 16:16:01 +00:00
kipp%netscape.com
87999ea1e6 Fixed nowrap support by computing max-element-size better
git-svn-id: svn://10.0.0.236/trunk@14186 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:09:21 +00:00
peterl%netscape.com
bdb4c727fb turned bilnking off when the attribute goes away
git-svn-id: svn://10.0.0.236/trunk@14172 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:50:27 +00:00
troy%netscape.com
80f3b31cc4 Changed BODY frame to create a continuing block frame during Init() if
the body has a prev-in-flow


git-svn-id: svn://10.0.0.236/trunk@14162 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:41:12 +00:00
kipp%netscape.com
ba1490b848 Temporary fix to get rid of the green text
git-svn-id: svn://10.0.0.236/trunk@14154 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:38:32 +00:00
kipp%netscape.com
d5112be2e6 Fixed a few more floater bugs; fixed incremental reflow bug with regards to BR tags (clear=all for example); support :first-line properly; work in progress on :first-letter
git-svn-id: svn://10.0.0.236/trunk@14153 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:33:01 +00:00
kipp%netscape.com
73f0843257 Make sure overflow lists get ReResolved too
git-svn-id: svn://10.0.0.236/trunk@14152 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:31:59 +00:00
kipp%netscape.com
a3ee06369b Added UpdateStyleContexts for support change-out of style contexts
git-svn-id: svn://10.0.0.236/trunk@14151 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:31:39 +00:00
kipp%netscape.com
57ec0437e6 Added code to repair the style-contexts when pushing/pulling frames for support of :first-line and :first-letter (and so on!)
git-svn-id: svn://10.0.0.236/trunk@14150 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:31:16 +00:00
kipp%netscape.com
0a19dd88ba Added GetAvailWidth
git-svn-id: svn://10.0.0.236/trunk@14149 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:30:45 +00:00
kipp%netscape.com
119559064d Added some first-letter support
git-svn-id: svn://10.0.0.236/trunk@14148 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:30:31 +00:00
kipp%netscape.com
040c3e3f0e Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support
git-svn-id: svn://10.0.0.236/trunk@14147 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:27:42 +00:00
troy%netscape.com
bc3d710f3f Changed frame construction code to create a simple page sequence frame
when paginated


git-svn-id: svn://10.0.0.236/trunk@14135 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:13:55 +00:00
troy%netscape.com
12070e6983 Updated to work with new frame construction code
git-svn-id: svn://10.0.0.236/trunk@14134 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:12:57 +00:00
troy%netscape.com
a76e7f64d4 Added simple page sequence formatting object
git-svn-id: svn://10.0.0.236/trunk@14113 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:21:50 +00:00
troy%netscape.com
9c9fd15257 Removed code for RootContentFrame class which is no longer used
git-svn-id: svn://10.0.0.236/trunk@14100 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:02:32 +00:00
buster%netscape.com
45096aedf8 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.


git-svn-id: svn://10.0.0.236/trunk@14094 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:26:25 +00:00
troy%netscape.com
01c1aa106c Added some temporary code to GetContainingBlock() to make sure we return
a frame that supports the nsIAbsoluteItems interface


git-svn-id: svn://10.0.0.236/trunk@14040 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:35:33 +00:00
michaelp%netscape.com
43acfe6cc5 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.


git-svn-id: svn://10.0.0.236/trunk@14036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 04:14:10 +00:00
kipp%netscape.com
23fc9f0716 Added an assertion
git-svn-id: svn://10.0.0.236/trunk@14023 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:39 +00:00
kipp%netscape.com
eee480656d Removed my style-changed work-around from last time (because it breaks incremental reflow badly); revised QueryInterface to use the revised way of casting
git-svn-id: svn://10.0.0.236/trunk@14022 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:17 +00:00
peterl%netscape.com
3dd636321e made parent context no longer be optional on re-resolve style context method
git-svn-id: svn://10.0.0.236/trunk@14012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 21:29:14 +00:00
peterl%netscape.com
93d3fcc553 sync to style resolution api changes
git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:43 +00:00
peterl%netscape.com
536bb5fb69 sync to style resolution api changes
added reresolve support


git-svn-id: svn://10.0.0.236/trunk@14005 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:23:15 +00:00
michaelp%netscape.com
fd21a37d46 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.


git-svn-id: svn://10.0.0.236/trunk@13955 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:36:36 +00:00