2168 Commits

Author SHA1 Message Date
kipp%netscape.com
d2b528951f Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly
git-svn-id: svn://10.0.0.236/trunk@16411 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:20:54 +00:00
kipp%netscape.com
2ce3039b2f Print out state bits in hex too
git-svn-id: svn://10.0.0.236/trunk@16387 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:32 +00:00
kipp%netscape.com
a7b5b1756b #ifdef'd out the outside-children state methods
git-svn-id: svn://10.0.0.236/trunk@16386 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:21 +00:00
kipp%netscape.com
24118eb742 Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight
git-svn-id: svn://10.0.0.236/trunk@16385 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:00 +00:00
kipp%netscape.com
d37bc79ff0 Removed CalcLineHeightFor
git-svn-id: svn://10.0.0.236/trunk@16384 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:15:11 +00:00
kipp%netscape.com
6d68b31e76 Added CalcLineHeight and store it in mLineHeight
git-svn-id: svn://10.0.0.236/trunk@16383 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:56 +00:00
kipp%netscape.com
4e857157a0 Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height
git-svn-id: svn://10.0.0.236/trunk@16382 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:36 +00:00
kipp%netscape.com
c2218cb81a Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
git-svn-id: svn://10.0.0.236/trunk@16380 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:09 +00:00
mjudge%netscape.com
e19079121c adding in selection
git-svn-id: svn://10.0.0.236/trunk@16347 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:14 +00:00
troy%netscape.com
0e65aac3d0 Tables now clear the isTopOfPage when appropriate
git-svn-id: svn://10.0.0.236/trunk@16343 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 01:24:11 +00:00
av%netscape.com
e8905988f4 Making object tag to display alternative context
git-svn-id: svn://10.0.0.236/trunk@16338 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:44:55 +00:00
kipp%netscape.com
21b1837275 When verify-reflow-all is enabled, update the display after each reflow and pause for a while
git-svn-id: svn://10.0.0.236/trunk@16323 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:21:05 +00:00
kipp%netscape.com
c8a7ca5e0b Factored out whitespace trimming from horizontal alignment
git-svn-id: svn://10.0.0.236/trunk@16322 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:35 +00:00
kipp%netscape.com
79aff1475c Made ListTag more usable for all frame types, not just derivations of nsFrame
git-svn-id: svn://10.0.0.236/trunk@16321 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:10 +00:00
kipp%netscape.com
82c8bb51be Moved a #if 0 to get rid of a compiler warning
git-svn-id: svn://10.0.0.236/trunk@16320 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:48 +00:00
kipp%netscape.com
85576f2757 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
kipp%netscape.com
23fbf960e6 Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
git-svn-id: svn://10.0.0.236/trunk@16318 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:18:28 +00:00
kipp%netscape.com
ac10ae1a6e Revised ClearFloaters to loop so that all appropriate floaters are cleared
git-svn-id: svn://10.0.0.236/trunk@16317 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:17:58 +00:00
troy%netscape.com
0f21502444 Changed comments to conform to CSS2 guidelines for C-style comments
git-svn-id: svn://10.0.0.236/trunk@16316 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:07:38 +00:00
troy%netscape.com
6d649a1f27 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true


git-svn-id: svn://10.0.0.236/trunk@16315 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:59:30 +00:00
troy%netscape.com
5b41f50a55 Changed Reflow() to set isTopOfPage in reflow state
git-svn-id: svn://10.0.0.236/trunk@16314 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:58:18 +00:00
kipp%netscape.com
4b719d4fb1 Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912)
git-svn-id: svn://10.0.0.236/trunk@16298 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:06:02 +00:00
kipp%netscape.com
2008c897f6 I disabled selection rendering until it works again
git-svn-id: svn://10.0.0.236/trunk@16297 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:05:24 +00:00
kipp%netscape.com
3c1b246951 Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin
git-svn-id: svn://10.0.0.236/trunk@16275 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:26:45 +00:00
kipp%netscape.com
a29aa1b885 When dealing with a percentage-width HR, don't let it impact the max-element-size.width inappropriately
git-svn-id: svn://10.0.0.236/trunk@16274 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:23:18 +00:00
kipp%netscape.com
02d3e99208 Futzed with list item handling a bit
git-svn-id: svn://10.0.0.236/trunk@16273 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:22:29 +00:00
buster%netscape.com
be457e5620 fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set
git-svn-id: svn://10.0.0.236/trunk@16268 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:54:58 +00:00
vidur%netscape.com
b0dbe3d498 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 17:02:37 +00:00
kipp%netscape.com
ab5cde8c0a Tweaked reflow status to be legible
git-svn-id: svn://10.0.0.236/trunk@16246 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:53:03 +00:00
kipp%netscape.com
bbdafa23dc Changed breaking behavior so that empty frames don't trigger a break even if the horizontal space is already over committed
git-svn-id: svn://10.0.0.236/trunk@16245 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:50:12 +00:00
kipp%netscape.com
d8afc6ef07 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!)
git-svn-id: svn://10.0.0.236/trunk@16244 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:49:07 +00:00
peterl%netscape.com
ab36157598 added css atoms
git-svn-id: svn://10.0.0.236/trunk@16220 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:51:05 +00:00
peterl%netscape.com
f336f79552 added support for CSS2 selector syntax
git-svn-id: svn://10.0.0.236/trunk@16219 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:50:43 +00:00
peterl%netscape.com
5e907ae2f2 support for CSS2 selector systax
git-svn-id: svn://10.0.0.236/trunk@16218 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:50:01 +00:00
peterl%netscape.com
f289f4b663 added case sensativity switch
git-svn-id: svn://10.0.0.236/trunk@16217 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:40 +00:00
peterl%netscape.com
1708b522be sync css selector output to new selector syntax
git-svn-id: svn://10.0.0.236/trunk@16215 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:00 +00:00
peterl%netscape.com
eaccb954c9 handle inline style sheet better
git-svn-id: svn://10.0.0.236/trunk@16214 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:47:25 +00:00
peterl%netscape.com
fed2ce07ee fixed base href for inline style sheets
set case sensativity in CSS parser


git-svn-id: svn://10.0.0.236/trunk@16213 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:46:25 +00:00
peterl%netscape.com
fe71a331fb added namespace support
git-svn-id: svn://10.0.0.236/trunk@16211 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:42:38 +00:00
peterl%netscape.com
59edc94473 removed pseudo class atoms (moved to css atoms)
git-svn-id: svn://10.0.0.236/trunk@16209 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:36:36 +00:00
nisheeth%netscape.com
bc46c631a2 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
git-svn-id: svn://10.0.0.236/trunk@16192 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:52:55 +00:00
nisheeth%netscape.com
51147256cd Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes.
git-svn-id: svn://10.0.0.236/trunk@16185 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:52:46 +00:00
nisheeth%netscape.com
fef1fc5b4d Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.


git-svn-id: svn://10.0.0.236/trunk@16184 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:49:13 +00:00
buster%netscape.com
0117f09401 support for CSS2 style property "empty-cells"
git-svn-id: svn://10.0.0.236/trunk@16177 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:57:42 +00:00
kmcclusk%netscape.com
7c89b4af6b Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.


git-svn-id: svn://10.0.0.236/trunk@16169 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:47:02 +00:00
rods%netscape.com
60fe4ee625 Added printing methods
git-svn-id: svn://10.0.0.236/trunk@16157 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:53:34 +00:00
kipp%netscape.com
f39da4fc73 Added some code to handle illegal color values more compatabibly
git-svn-id: svn://10.0.0.236/trunk@16156 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:43 +00:00
kipp%netscape.com
3d945293a9 Fixed border drawing to not draw zero sized borders
git-svn-id: svn://10.0.0.236/trunk@16155 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:11 +00:00
kmcclusk%netscape.com
4f4f08da7c Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.


git-svn-id: svn://10.0.0.236/trunk@16153 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:29:13 +00:00
karnaze%netscape.com
d4a59c0626 fixed bug 1806
git-svn-id: svn://10.0.0.236/trunk@16152 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:22:31 +00:00