Commit Graph
2486 Commits
Author SHA1 Message Date
[email protected] c7f61aca9f Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
[email protected] f4437138c9 Make XBL work for HTML elements. r=hyatt 2000-05-15 20:25:02 +00:00
[email protected] 4954e31780 string backsliding. r=mjudge 2000-05-12 07:53:02 +00:00
[email protected] fa72f71714 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by [email protected] and the changes to mozilla/layout are reviewed by [email protected]. 2000-05-10 13:13:39 +00:00
[email protected] bae3a44eab Put back in the code to propagate the background to the canvas frame at frame construction time. b=38744 2000-05-10 03:31:43 +00:00
[email protected] c47613569d XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
[email protected] a6ecd9c854 effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
[email protected] ea8986b76e Added a check in AttributeChanged to notify the canvas frame when the background image or color changes. This causes the entire canvas to be invalidate and thus painted. Also removed code that was propagating the background up to the canvas frame; it was not needed and was insufficient as it did not handle the case where the DOM set the background, nor did it handle the background being cleared from the BODY. b=11491,37502 2000-05-06 06:04:08 +00:00
[email protected] 4b5b420b72 bug 34538 - allow more types of non table content inside table content get frames. 2000-05-04 14:53:59 +00:00
[email protected] 3f6e511074 r=hyatt. just because we have an XBL keybinding does not mean that we are generating content from XBL. if we have no children generated, then ask the frame to construct anonymous content 2000-05-03 06:17:49 +00:00
[email protected] 20795ace2a adding back in changes that got removed with the checkin 1.425 2000-05-02 14:34:24 +00:00
[email protected] 92f336c9ea new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
[email protected] c42a339012 XBL Change 2000-04-27 02:11:41 +00:00
[email protected] 406768920e Fix crash when modifying a stylesheet through the DOM before the document is displayed. 2000-04-26 23:22:06 +00:00
[email protected] a698384eec 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
[email protected] 49c380fffa Tree performance improvements. 2000-04-21 08:12:13 +00:00
[email protected] 8e274dcf4e Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515
2000-04-19 13:55:17 +00:00
[email protected] 007eb61708 b=26221 Fixed ConstructFrameByDisplayType() to pass in the correct parent
frame pointer when constructing a floated table
2000-04-19 04:44:16 +00:00
[email protected] e605916680 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas
2000-04-19 02:13:43 +00:00
[email protected] 99256c6a6a remove creation code for colorpicker 2000-04-18 23:07:43 +00:00
[email protected] cadfcd589f Fix for 36084, r=alecf,a=alecf. Put guard code around code that dereferences a context,
it was null, causing asserts, and eventually, a crash. Bug was a smoketest blocker.
2000-04-18 05:38:05 +00:00
[email protected] 6389c25d1d making string conversions explicit 2000-04-16 11:19:26 +00:00
[email protected] 0e7b9397d0 fix anonymous content child location to handle the case where a scroll frame may be in the way. r=hyatt. 2000-04-13 20:10:06 +00:00
[email protected] 5ea3684cc6 Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +00:00
[email protected] 67c0a5b3a4 bug 35099 - create form frame when inside table related element. a=leaf 2000-04-10 04:00:37 +00:00
[email protected] 831e399ffd 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget
2000-04-05 00:19:00 +00:00
[email protected] 60e2af1e48 Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
[email protected] 7d2b2c1617 prevent trees from constructing pseudo frames in some cases as did rev 1.407, due to a bug in TableIsValidCellContent. Fix the bug for mathml. 2000-04-04 04:57:08 +00:00
[email protected] a68c7b291b bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux 2000-04-04 01:28:15 +00:00
[email protected] ff5f784ad4 Initial checkin of SVG prototype code for Dean Jackson (if def'ed) 2000-04-01 22:26:38 +00:00
[email protected] 2a7935a02a b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks
2000-04-01 18:47:09 +00:00
[email protected] faa17e40f0 r=troy. Fix for bug 33422. The display style is set to block level for document element frames. The style was defaulting to inline for cases where an XML document did not set a block level display style on the root element. 2000-04-01 00:18:21 +00:00
[email protected] eecb166d46 fixed silly string usage error 2000-03-31 10:45:55 +00:00
[email protected] 74c65e34ee box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
[email protected] 112be9f648 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  [email protected]
2000-03-30 03:21:26 +00:00
[email protected] 05938718c7 [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Update a MathML hook for <mtable> 2000-03-28 09:32:54 +00:00
[email protected] 1353c4cbe2 Fix for 33526 2000-03-28 00:41:33 +00:00
[email protected] daf402ce98 Added space manaer flag to the creation of Labels.
b=33200
Reworked how and when the prefs are accessed for getting the Gfx Scrollbar prefs
they are got only once and then are cached. Potential preformance issue.
2000-03-27 22:12:42 +00:00
[email protected] a09a9c5b56 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
[email protected] 5ad8188813 Adding support for the <children/> element to XBL. 2000-03-25 02:18:55 +00:00
[email protected] dd7ff53424 Checkbox construction now gets the resolved moz-checkbox style on creation.
Fieldset's block frame now gets the flags with the spacemanager set if it is being absolutely positioned.
r=kmcclusk,dcone b=32949
2000-03-24 15:48:59 +00:00
[email protected] 911a9a324d Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth 2000-03-24 03:37:03 +00:00
[email protected] 73873f9289 r=buster. bug 31644. FindPrimaryFrameFor() now accounts for "special" frames created when blocks are encountered within inlines. 2000-03-23 23:18:56 +00:00
[email protected] 9a286bc1a3 Added generated content iterator 2000-03-23 21:05:23 +00:00
[email protected] 98d998d852 Work-in-progress that isn't being used. Added stub for returning a content
iterator for generated content
2000-03-22 05:53:32 +00:00
[email protected] 1f5d36d0fa Fix leak of style contexts. [email protected] 2000-03-22 02:54:26 +00:00
[email protected] 2e5dc66d21 the previous var wasn't being set so it went down the wrong code path when adjusting
the child list for creating the fieldset.
b=27151 r=kmcclusk
2000-03-21 21:40:23 +00:00
[email protected] 7bc713c189 Removed a lot of unneeded for for creating viewes for GfxList (experiment and ifdef'ed out)
Now uses GetOptionsContainer to get the frame container for adding options
needed for differences in List and GfxList
b=18895 r=kmcclusk
2000-03-18 14:25:02 +00:00
[email protected] 15d8176111 b=31451 Made sure we only set the NS_FRAME_OUT_OF_FLOW frame state bit
if the frame is actually out of the flow
2000-03-17 05:10:37 +00:00
[email protected] 9854644ca0 removed ifdef's and replaceed them with if/then/else for GFX Lists and Dropdowns,
now they can be turned on with a boolean instead. This will help with debugging later
r=dcone, b=18895
2000-03-15 15:45:29 +00:00