487 Commits

Author SHA1 Message Date
mjudge%netscape.com
24fcf27eea textareas are also special cases where some data is added in create anonymous frames
git-svn-id: svn://10.0.0.236/trunk@69962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:40:02 +00:00
shaver%mozilla.org
f792546214 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_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
sfraser%netscape.com
5cee9b1889 Make XBL work for HTML elements. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:25:02 +00:00
scc%netscape.com
8d5a50fb63 string backsliding. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69402 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:53:02 +00:00
jst%netscape.com
0f0b4d6367 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 waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
attinasi%netscape.com
ce0f6c5fd1 Put back in the code to propagate the background to the canvas frame at frame construction time. b=38744
git-svn-id: svn://10.0.0.236/trunk@68980 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:31:43 +00:00
hyatt%netscape.com
c29836f8bc XBL now works with HTML, XUL, SVG, MathML, and XML!
git-svn-id: svn://10.0.0.236/trunk@68891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:42:40 +00:00
buster%netscape.com
4fb9226391 effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
attinasi%netscape.com
c26c81dc23 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
git-svn-id: svn://10.0.0.236/trunk@68508 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:04:08 +00:00
karnaze%netscape.com
5823c8dc5f bug 34538 - allow more types of non table content inside table content get frames.
git-svn-id: svn://10.0.0.236/trunk@68240 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:53:59 +00:00
mjudge%netscape.com
83062e04ad 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
git-svn-id: svn://10.0.0.236/trunk@68055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:17:49 +00:00
rods%netscape.com
191a691de3 adding back in changes that got removed with the checkin 1.425
git-svn-id: svn://10.0.0.236/trunk@67901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 14:34:24 +00:00
karnaze%netscape.com
47f205f65f 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.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
hyatt%netscape.com
494757a73f XBL Change
git-svn-id: svn://10.0.0.236/trunk@67362 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:11:41 +00:00
jst%netscape.com
9b4ef67be1 Fix crash when modifying a stylesheet through the DOM before the document is displayed.
git-svn-id: svn://10.0.0.236/trunk@67315 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:22:06 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
hyatt%netscape.com
7292453a7e Tree performance improvements.
git-svn-id: svn://10.0.0.236/trunk@66677 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:12:13 +00:00
rods%netscape.com
bbcb0f397d Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:17 +00:00
troy%netscape.com
512dca046c b=26221 Fixed ConstructFrameByDisplayType() to pass in the correct parent
frame pointer when constructing a floated table


git-svn-id: svn://10.0.0.236/trunk@66414 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:44:16 +00:00
troy%netscape.com
e68720f217 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas


git-svn-id: svn://10.0.0.236/trunk@66390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:13:43 +00:00
pavlov%netscape.com
c8b7b143d3 remove creation code for colorpicker
git-svn-id: svn://10.0.0.236/trunk@66352 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:07:43 +00:00
syd%netscape.com
540954b8a6 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.


git-svn-id: svn://10.0.0.236/trunk@66253 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:38:05 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
pinkerton%netscape.com
47908616f9 fix anonymous content child location to handle the case where a scroll frame may be in the way. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@65851 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:10:06 +00:00
ducarroz%netscape.com
36b9328d4b Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf.
git-svn-id: svn://10.0.0.236/trunk@65768 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:50:39 +00:00
karnaze%netscape.com
63fa8b6505 bug 35099 - create form frame when inside table related element. a=leaf
git-svn-id: svn://10.0.0.236/trunk@65546 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 04:00:37 +00:00
evaughan%netscape.com
faa007901c 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget


git-svn-id: svn://10.0.0.236/trunk@65239 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:19:00 +00:00
hyatt%netscape.com
4c50c0a82b Making <children> support dynamic.
git-svn-id: svn://10.0.0.236/trunk@65157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:29:20 +00:00
karnaze%netscape.com
4fcd1d85c4 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.
git-svn-id: svn://10.0.0.236/trunk@65147 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:57:08 +00:00
karnaze%netscape.com
64a5b717fe bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux
git-svn-id: svn://10.0.0.236/trunk@65114 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:28:15 +00:00
rods%netscape.com
196674549e Initial checkin of SVG prototype code for Dean Jackson (if def'ed)
git-svn-id: svn://10.0.0.236/trunk@64904 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:26:38 +00:00
troy%netscape.com
eda0fd14bb b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks


git-svn-id: svn://10.0.0.236/trunk@64889 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 18:47:09 +00:00
nisheeth%netscape.com
e49cdf0a25 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.
git-svn-id: svn://10.0.0.236/trunk@64811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:18:21 +00:00
rickg%netscape.com
2e3ff29319 fixed silly string usage error
git-svn-id: svn://10.0.0.236/trunk@64760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:45:55 +00:00
evaughan%netscape.com
82b44e2844 box skinnablility changes.
-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@64707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:02:06 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
rbs%maths.uq.edu.au
2a99fa3eec [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Update a MathML hook for <mtable>
git-svn-id: svn://10.0.0.236/trunk@64350 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:32:54 +00:00
hyatt%netscape.com
20928e2f2f Fix for 33526
git-svn-id: svn://10.0.0.236/trunk@64282 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:41:33 +00:00
rods%netscape.com
25cb4be46b 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.


git-svn-id: svn://10.0.0.236/trunk@64247 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:42 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
hyatt%netscape.com
bc3540ff1f Adding support for the <children/> element to XBL.
git-svn-id: svn://10.0.0.236/trunk@64092 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 02:18:55 +00:00
rods%netscape.com
12db48d604 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


git-svn-id: svn://10.0.0.236/trunk@64042 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:48:59 +00:00
pollmann%netscape.com
109ad2d952 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63983 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:37:03 +00:00
nisheeth%netscape.com
df55a6d2bc r=buster. bug 31644. FindPrimaryFrameFor() now accounts for "special" frames created when blocks are encountered within inlines.
git-svn-id: svn://10.0.0.236/trunk@63910 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:18:56 +00:00
troy%netscape.com
8ab2d40e28 Added generated content iterator
git-svn-id: svn://10.0.0.236/trunk@63871 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:05:23 +00:00
troy%netscape.com
d15b0ee243 Work-in-progress that isn't being used. Added stub for returning a content
iterator for generated content


git-svn-id: svn://10.0.0.236/trunk@63713 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:53:32 +00:00
dbaron%fas.harvard.edu
8102c58fcf Fix leak of style contexts. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:54:26 +00:00
rods%netscape.com
0dc31886a5 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


git-svn-id: svn://10.0.0.236/trunk@63616 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:40:23 +00:00
rods%netscape.com
82ece3a6a1 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


git-svn-id: svn://10.0.0.236/trunk@63396 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:25:02 +00:00
troy%netscape.com
c35e4c1e39 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


git-svn-id: svn://10.0.0.236/trunk@63253 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:10:37 +00:00