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

523 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 2ca99d3bc9 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com 50bb86b809 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com af64fd8bd9 Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp%netscape.com 9088d3fb1e Use new flag defines 1999-01-12 16:42:03 +00:00
kipp%netscape.com 668422fbe7 Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
karnaze%netscape.com ec97d3900b dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com 310d08ec36 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com 03289c176b Fix for bug #2040. Changed BODY to use margin and not padding now that #2054 is fixed 1999-01-08 02:51:07 +00:00
troy%netscape.com 1078080415 Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property
1999-01-08 01:14:59 +00:00
troy%netscape.com 4141e3d219 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
harishd%netscape.com 4527f1559a Added code to take care of CSS properties
that wouldn't allow negative values.
1999-01-06 19:25:25 +00:00
brade%netscape.com f8115e6d64 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com 7c8dc5d0fc added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
troy%netscape.com fabb2fd184 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com 6f4ce8e972 Fixe for test8 hitting an assert 1999-01-03 00:15:56 +00:00
troy%netscape.com f66cd3a00a Added :CELL-CONTENT rule for the area-frame that's inside the table cell.
Sets the 'display' property to 'block' to override the default value of
'inline'
1999-01-02 21:01:37 +00:00
troy%netscape.com 8646017faa Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com 2d45b350be Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com 4982bfd126 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com 900f469395 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com 5dfe5e9429 remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
peterl%netscape.com 28380a8dea fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
peterl%netscape.com 916e05c252 fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com 4db65df9b0 fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
troy%netscape.com c9dedf070c Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com aef6ec508e attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com 67228dac8d implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com b915e52038 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com 3a2e8fa776 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
peterl%netscape.com 3e5db19bb3 fix background flags initial value
tweak table inheritance quirk
1998-12-20 01:11:36 +00:00
peterl%netscape.com 40a4d86e38 made get strength const 1998-12-20 01:08:31 +00:00
kipp%netscape.com 12fb04dd78 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
troy%netscape.com 441ef12d7d Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com 60363a423b Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
scc%netscape.com 2513a5445e Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
buster%netscape.com 309914d87f oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rods%netscape.com d83afe9d4d Added Pseudo-element styles for the scrollbar "look" 1998-12-15 19:11:57 +00:00
av%netscape.com 0fa0a7f9d5 Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
troy%netscape.com 0ebec27d11 Changed comments to conform to CSS2 guidelines for C-style comments 1998-12-12 19:07:38 +00:00
kipp%netscape.com 419f982169 Futzed with list item handling a bit 1998-12-11 22:22:29 +00:00
peterl%netscape.com e0ce171455 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com 846697e4a9 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com fc358231ab added case sensativity switch 1998-12-11 02:48:40 +00:00
peterl%netscape.com 0132c761a8 backed out prevoius change (not ready for it) 1998-12-11 02:45:25 +00:00
peterl%netscape.com 7c66e30085 fixed default value of vertical align 1998-12-11 02:33:03 +00:00
nisheeth%netscape.com 3985eb30bb Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
buster%netscape.com 9873d0f394 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
buster%netscape.com a8d87b8305 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.
1998-12-09 06:24:27 +00:00
buster%netscape.com ab6e5d8e3e fixed default cellspacing and cellpadding 1998-12-08 00:59:15 +00:00
harishd%netscape.com 545162f28e Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com 39820e34d1 changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing
1998-12-07 18:51:26 +00:00
troy%netscape.com e7be4256f2 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
troy%netscape.com 1fcf20d0f3 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
troy%netscape.com 55f632387d Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com bd58bde76d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com 80545a3bd4 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com 36f4bf7247 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
waterson%netscape.com 989c4fbe60 A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com 8ca32ffd70 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com 07920c6756 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
buster%netscape.com 0259b3f134 added table pseudo-style contenxts 1998-12-03 18:03:28 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com 6491194ab0 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com b724dddfbc changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com 36202d8d46 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com 62f19b11dc added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com 4f5e330093 changed medium type to atom 1998-12-02 00:36:00 +00:00
peterl%netscape.com f9df2b0fc3 fixed decoration style of del 1998-12-02 00:35:26 +00:00
peterl%netscape.com 6d6e66b873 added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com 009f5dbd89 changed medium type to atom 1998-12-02 00:29:16 +00:00
vidur%netscape.com e2547a120e Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
kipp%netscape.com d04dbf19bd Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com 19549c35a8 made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com 96c289a47a removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com 33c08ec108 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com 7edd98cfcb deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com 1ec6fad39c handle whitespace in url() better 1998-11-26 01:30:51 +00:00
peterl%netscape.com 1bfec862ce added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com daab147c00 added style sheet properties 1998-11-26 01:24:32 +00:00
kipp%netscape.com ed15bc1725 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
kipp%netscape.com 5e7b2ca7ab Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
buster%netscape.com 199d61519b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
troy%netscape.com 21e1f648b1 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
kipp%netscape.com 23b5a4de99 Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly 1998-11-20 22:21:38 +00:00
buster%netscape.com 074583f502 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com aa0ff99ae0 put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com 9fe1e3b039 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
buster%netscape.com cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com 239ca35fcd cursor style cleanup 1998-11-18 02:23:39 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
peterl%netscape.com 819ac307fd cleaned up cursor handling 1998-11-18 02:10:45 +00:00
vidur%netscape.com 4ca363e17b Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy%netscape.com 8550f707c1 Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
buster%netscape.com 655121b757 added storage in styleTable for a column's width contribution from cells that
have colspan>1.
1998-11-16 06:47:24 +00:00
kipp%netscape.com 01ab7c46e5 Cleaned up OL/UL margins 1998-11-15 01:13:00 +00:00
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
joki%netscape.com a8b6fbcdee Modify cursor types from default to inherit (they're the same internally right now) 1998-11-14 00:00:03 +00:00
troy%netscape.com 9b21f39f54 Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com e21c76703a Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com 632a979901 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +00:00
troy%netscape.com 2b86b49c95 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
buster%netscape.com 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com 9b8264930f col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
vidur%netscape.com c068c96a00 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
buster%netscape.com baaa18677b fix for default cell padding and cell spacing 1998-11-11 19:54:23 +00:00
troy%netscape.com bdd1ad3abf Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com b208618ab6 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
1998-11-11 04:43:13 +00:00
kipp%netscape.com 03015215fe Added a reminder to the ua.css 1998-11-10 18:00:46 +00:00
troy%netscape.com fd34820203 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp%netscape.com 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com 44b5b9e670 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com 02915d3677 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.
1998-11-09 19:40:27 +00:00
troy%netscape.com 1ef01c4b61 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
troy%netscape.com 70b4af0366 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
1998-11-06 16:16:01 +00:00
peterl%netscape.com fa0074c6e2 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com 077d785b93 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com 2cdbac2a3e added table-layout
added mix/max width/height
made text-decoration not be cumulative
1998-11-06 00:58:23 +00:00
peterl%netscape.com 96a9c7b186 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com 582d848efb sync to declaration api change 1998-11-06 00:52:30 +00:00
peterl%netscape.com 9bcd308ff6 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
peterl%netscape.com 35b4b23fb3 added min/max width/height
made table inheritance block be conditional on compatibility mode
1998-11-06 00:49:04 +00:00
troy%netscape.com cc8a206808 Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com 1b3ee90d82 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com e3cd00d3b0 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com 69ad11bff6 sync to style resolution api changes
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
peterl%netscape.com 9d15cc0b80 changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
peterl%netscape.com d20c2aa1e1 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
peterl%netscape.com a184103f85 removed context hashtable code
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com c8a8304961 added pseudo tag support
removed backstop rule count
removed reparent
1998-11-03 20:18:40 +00:00
peterl%netscape.com 8069fc8bda decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com 9155526492 Removed bogus line-height that caused lots of tables to look wrong (bug #636) 1998-10-31 00:23:52 +00:00
buster%netscape.com e82356e5d9 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked
1998-10-30 23:06:14 +00:00
buster%netscape.com d8ae00b810 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com 37c1eb59c2 Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com 76945822e1 Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00
kipp%netscape.com 86b7edb580 Implement opacity methods 1998-10-28 02:04:27 +00:00
kipp%netscape.com 262d020083 Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl%netscape.com c88c131fe6 added the first Nav Quirk, when on, we now interpret numbers without units as pixel units 1998-10-28 01:12:38 +00:00
peterl%netscape.com d10c5c6553 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com c5b842e239 added reparent method 1998-10-27 03:03:02 +00:00