Commit Graph

1540 Commits

Author SHA1 Message Date
hyatt%netscape.com
fdbd904ab4 Fixing duplicate style resolution problem in trees. r=ben 2000-07-27 09:10:52 +00:00
hyatt%netscape.com
c25a01be6a Fix to reparent XBL style contexts. needed for attinasi's style context
reduction landing. r=ben
2000-07-27 06:20:13 +00:00
waterson%netscape.com
f2b9667dd2 Doh! Botched patch application. Sorry! 2000-07-19 05:23:09 +00:00
waterson%netscape.com
9665015156 Bug 21456. Support for 'alt=' attribute on applet frames. Patch submitted by edburns@acm.org, r=waterson, nisheeth, a=waterson. 2000-07-19 05:06:55 +00:00
attinasi%netscape.com
b7d2737337 Checkin for timeless@bemail.org: Fixed rounding error making LARGER work for font sizes less than 9px. b=12461, r=attinasi@netscape.com,disttsc@bart.nl a=brendan@mozilla.org 2000-07-18 21:48:51 +00:00
jst%netscape.com
db7e921f3e Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com 2000-07-12 02:15:27 +00:00
ericb%neoplanet.com
ed3ff3ad8b resizers and titlebars r:hyatt a:hyatt 2000-07-11 23:34:44 +00:00
evaughan%netscape.com
7e980a707b disable gfx scrollbars #44576
grid fixes for tree bugs

-r Hyatt
2000-07-10 20:10:27 +00:00
evaughan%netscape.com
a17ec2746d Fixed body resizing bug #35681
-r pinkerton
2000-07-07 22:24:06 +00:00
waterson%netscape.com
feb9226f40 Bug 22037. Detect when CantRenderReplacedElement() is inserting a block frame into an inline. When this happens, 'split' the frame model to the nearest containing block. Re-arranged some of ConstructInline()'s support routines to share code with new method SplitToContainingBlock(). r=nisheeth 2000-07-06 04:31:33 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
hyatt%netscape.com
0e9eac5b3d Fix for dogfood bug#43169. r=pink 2000-06-29 23:34:46 +00:00
evaughan%netscape.com
41a59e67cd Fixes for gfx scrollbars and absolute/fixed positioning.
40494
28505
41294
36211
41763
23806
2000-06-28 22:19:54 +00:00
evaughan%netscape.com
969d067559 Autoscrolling menus feature landing #32730
-r hyatt, saari
2000-06-23 05:15:04 +00:00
hyatt%netscape.com
02029c5425 Remove error-checking for bad XUL. 2000-06-22 19:34:29 +00:00
attinasi%netscape.com
411b3bcaaf Reversed the order of testing for link-elements so that the most common (anchors) are tested first. Update to earlier checkin. 2000-06-22 00:41:25 +00:00
hyatt%netscape.com
031447a319 XBL groundwork for 41145. r=ben 2000-06-22 00:36:19 +00:00
attinasi%netscape.com
67e47d2765 Fixed bug 6306: AREA and LINK elements are now treated like links when it comes to matching selectors. Cleaned up SelectorMatches as well by moving link-logic into new method. r=kmcclusk@netscape.com b=6306 2000-06-21 23:48:21 +00:00
waterson%netscape.com
49d2e6f519 Bugs 22413, 27211, 39211. On nsCSSFrameConstructor::ContentRemoved(), check the *child* instead of the parent to see if we need to reframe. r=nisheeth 2000-06-21 02:35:28 +00:00
beard%netscape.com
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
waterson%netscape.com
0abe95456d Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi 2000-06-20 05:45:07 +00:00
hyatt%netscape.com
efcf6eb2ca Turning on the new tree widget. Bug#30511, r=evaughan 2000-06-19 22:57:39 +00:00
vidur%netscape.com
0a4cbc9ddb Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:46:58 +00:00
rods%netscape.com
182e19bcce input type=image need to create their "alt" text
b=24778 r=kmcclusk
2000-06-16 12:57:44 +00:00
pierre%netscape.com
e2194f4f34 #42139 "background-position misinterpreted with fixed backgrounds". Fixed a regression introduced during the last checkin. r=attinasi. 2000-06-16 00:50:56 +00:00
dbaron%fas.harvard.edu
f0115afa13 Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com 2000-06-15 02:15:36 +00:00
jst%netscape.com
eb6d78edaf Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt 2000-06-14 00:06:36 +00:00
evaughan%netscape.com
02070c889c Fixes for tree on grid work. #30511
-r hyatt
2000-06-12 23:23:00 +00:00
mjudge%netscape.com
a94a571f51 turning on ender-lite. bug=34896 2000-06-09 09:17:18 +00:00
attinasi%netscape.com
48511a3494 Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk 2000-06-07 23:07:57 +00:00
attinasi%netscape.com
235a64963f Fixed crash when a textarea control has fixed-backgrounfd attachment. b=40118 r=kmcclusk 2000-06-07 23:06:41 +00:00
waterson%netscape.com
a721679b5c Bugs 35935, 34862, 41521. Make sure to make 'special' frames blocks inside of relatively-positioned inlines; be sure to destroy special siblings, and crawl to outermost 'normal' frame when reframing containing block; handle 'special' frames in StyleChangeReflow(). r=buster 2000-06-07 06:58:45 +00:00
hyatt%netscape.com
3436a2400c Tree/grid work. 30511. r=danm 2000-06-06 23:13:49 +00:00
pierre%netscape.com
12f2fe1056 Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618) 2000-06-06 09:36:12 +00:00
pierre%netscape.com
e549491b3e Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618. 2000-06-06 06:50:21 +00:00
mkaply%us.ibm.com
ad3cf0ff6a # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:15:32 +00:00
dcone%netscape.com
50de329936 Fixed background color under border. b=13934. R=Attinasi 2000-06-05 13:58:05 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
waterson%netscape.com
a965de089e Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi. 2000-06-02 22:54:35 +00:00
attinasi%netscape.com
c115636333 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze 2000-06-02 21:45:06 +00:00
hyatt%netscape.com
b088efb508 Tree/grid foundation work. 2000-06-02 08:13:29 +00:00
waterson%netscape.com
a35fa496f6 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi 2000-06-02 04:27:47 +00:00
mstoltz%netscape.com
e0c61ab51a Fix for 16858 w/o breaking directory browser. r=waterson a=beard 2000-06-01 23:57:48 +00:00
attinasi%netscape.com
99c115a7e6 Floated elements now get their display type set to a block, in compliance with the CSS1 specification. Also, positioned elements get their float property cleared. b=32200 r=karnaze a=karnaze 2000-06-01 23:31:00 +00:00
shaver%mozilla.org
6c56f39224 properly handle updating of class or id, #39642, r=attinasi, a=waterson 2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com
960c583bb7 # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)
2000-05-31 14:09:34 +00:00
hyatt%netscape.com
44dfce67d3 Turning on XBL tree event bindings. Patching table frame construction to deal with anonymous content. 2000-05-31 08:32:45 +00:00
hyatt%netscape.com
2b183fdc30 More whackage. 2000-05-30 08:44:40 +00:00
hyatt%netscape.com
2c7cbb6032 Removing obsolete frame code. 2000-05-30 08:41:39 +00:00
waterson%netscape.com
9d7267c466 #if-0 out mstoltz's changes to fix tinderbox. 2000-05-27 05:22:39 +00:00
mstoltz%netscape.com
40dc18d415 Fixed bug in DOM security checks, fixes bug 37907, 23516. Added security check for htmlelement.innerhtml, fixes 39083. Added location check to BASE HREF=, fixes 35859. r=vidur. Added check to style= tag, fixes 16858, r=pierre. 2000-05-26 23:28:40 +00:00
hyatt%netscape.com
430af5709b Adding anonymous content getter. r=waterson, a=waterson 2000-05-26 22:45:26 +00:00
evaughan%netscape.com
55816643f1 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
waterson%netscape.com
b71b209ac7 Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster 2000-05-25 19:58:51 +00:00
buster%netscape.com
e0fdaba6a7 fixed bug 40577
r=rickg
a=leaf
2000-05-25 19:26:27 +00:00
buster%netscape.com
43161761bd partial fix for bug 40211. This fixes the layout assertions loading the page.
the problem was dynamic creation of positioned elements wasn't properly handled
r=nisheeth@netscape.com
2000-05-24 23:28:20 +00:00
hyatt%netscape.com
f12eb301af xbl fix r=ben 2000-05-24 08:27:29 +00:00
hyatt%netscape.com
481e0fdf9a XBL Fixes r=ben 2000-05-24 08:19:10 +00:00
hyatt%netscape.com
a08562a971 support for dynamic multiple insertion points r=ben 2000-05-22 09:15:54 +00:00
hyatt%netscape.com
f4b0b08faf support for multiple insertion points r=ben 2000-05-22 08:23:46 +00:00
hyatt%netscape.com
02387dd97c ifdef tree code. not part of build. 2000-05-21 07:00:35 +00:00
hyatt%netscape.com
21e5ef59a2 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
carl.wong%intel.com
76a6d4348a Fixed bug#39134 (reference count leak in SheetLoadData). r=attinasi@netscape.com a=leaf@netscape.com 2000-05-17 18:29:30 +00:00
jst%netscape.com
7a7661f01b Make this a bit safer to use. 2000-05-17 06:26:23 +00:00
jst%netscape.com
11724ca7b8 Hook up new property and fix a crasher. 2000-05-17 06:13:43 +00:00
jst%netscape.com
becea1f607 Adding computed style implementation to the build, and make it compile on windows. 2000-05-17 04:57:50 +00:00
akkana%netscape.com
0f8537dc64 Build ender-lite files if MOZ_ENDER_LITE is defined 2000-05-17 03:05:11 +00:00
sfraser%netscape.com
280b9c7ce9 Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown. 2000-05-17 02:23:59 +00:00
mjudge%netscape.com
651d129dca loading the gun for the switch to ender-lite 2000-05-17 02:04:57 +00:00
mjudge%netscape.com
b36beb3a69 replacing one ifdef with another. no change to tree 2000-05-17 01:59:47 +00:00
dbaron%fas.harvard.edu
82ea818eba Fix MathML build (patch also pointed out by mielke@licel.com). r=sfraser@netscape.com a=leaf@mozilla.org Not part of default build. 2000-05-16 19:29:44 +00:00
mjudge%netscape.com
6c96b883c7 textareas are also special cases where some data is added in create anonymous frames 2000-05-16 03:40:02 +00:00
shaver%mozilla.org
2da0ab457d 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
attinasi%netscape.com
14623c747b Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron 2000-05-15 22:30:27 +00:00
sfraser%netscape.com
af4865ebb9 Make XBL work for HTML elements. r=hyatt 2000-05-15 20:25:02 +00:00
dcone%netscape.com
999da07458 Fixed double drawing lines for buttons 2000-05-15 04:55:49 +00:00
jst%netscape.com
1ecefec3cc More WIP on getComputedStyle(), not part of the build yet. 2000-05-15 01:59:05 +00:00
jst%netscape.com
b9c54d8a6a Adding a very primitive readonly implementation of CSSPrimitiveValue. Not part of the build yet. 2000-05-15 01:58:26 +00:00
jst%netscape.com
3ef6dbd214 WIP for getComputedStyle(). 2000-05-15 01:33:27 +00:00
scc%netscape.com
db4332e617 string fixes 2000-05-14 23:06:18 +00:00
jst%netscape.com
e0f24c4de8 In stead of throwing an exception when the user asks for the owner rule of style sheet we return null. 2000-05-13 18:10:24 +00:00
scc%netscape.com
383fdc142e string backsliding. r=mjudge 2000-05-12 07:53:02 +00:00
bryner%uiuc.edu
e5c3adbd79 New and improved background tiling code for GTK. We take an offset into
the image as a parameter so we avoid drawing the whole tile if it's not
all needed.  Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server.  Fixes several background rendering
problems.  Also fix a signedness problem in the compositing code
(r=tor).  r=pavlov.
2000-05-12 06:29:37 +00:00
dcone%netscape.com
8365299e18 Fixed the curve drawing to use floating point.. corrects rounding problems 2000-05-11 03:59:43 +00:00
attinasi%netscape.com
bade3fb598 Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster 2000-05-10 23:24:08 +00:00
jst%netscape.com
ee4b181034 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. 2000-05-10 13:13:39 +00:00
attinasi%netscape.com
078bea04fa 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
hyatt%netscape.com
334e31b473 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
buster%netscape.com
c1c9bfa09b effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
attinasi%netscape.com
16403a2e19 Fixed a problem where background images on the BODY were not getting painted properly the first time they were loaded. b=36811 r=kmcklusk@netscape.com 2000-05-09 00:53:51 +00:00
michael.lowe%bigfoot.com
468689c637 Implement CSS3 cursors on Windows 2000-05-07 05:14:43 +00:00
attinasi%netscape.com
0923311589 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
attinasi%netscape.com
c862485d34 Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838 2000-05-04 21:41:02 +00:00
attinasi%netscape.com
78953ce816 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com 2000-05-04 21:36:49 +00:00
karnaze%netscape.com
4d98b01382 bug 34538 - allow more types of non table content inside table content get frames. 2000-05-04 14:53:59 +00:00
jst%netscape.com
5f7ae78da1 New files needed for getComputedStyle(). Not part of the build yet. 2000-05-04 00:07:33 +00:00
attinasi%netscape.com
9a31e62375 Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800. 2000-05-03 22:12:58 +00:00
jst%netscape.com
ef8e746fdd WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre. 2000-05-03 21:42:00 +00:00
waterson%netscape.com
47909284f5 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi 2000-05-03 21:21:30 +00:00
mjudge%netscape.com
aa573bbbd7 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
mkaply%us.ibm.com
23620fb329 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
rods%netscape.com
6085bab443 adding back in changes that got removed with the checkin 1.425 2000-05-02 14:34:24 +00:00
jst%netscape.com
800ac9c0bd The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name. 2000-05-02 00:24:45 +00:00
jst%netscape.com
c1edfd2e87 Fix for bug #30492 and last part of #9876. Setting a style property to an empty string through the DOM now removes the property. 2000-05-01 22:59:54 +00:00
karnaze%netscape.com
65511dc8d6 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
pierre%netscape.com
ef1931a1f8 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node. 2000-04-28 10:02:12 +00:00
pierre%netscape.com
a8dbb57e7f 9876. Implemented CSSStyleDeclaration removeProperty. r=jst. 2000-04-28 08:35:40 +00:00
scc%netscape.com
4e1b0eaca0 making string conversions explicit 2000-04-27 20:38:50 +00:00
hyatt%netscape.com
b7dff2e252 XBL Change 2000-04-27 02:11:41 +00:00
attinasi%netscape.com
3bc70b17e4 Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208 2000-04-27 00:51:06 +00:00
dbaron%fas.harvard.edu
2ac24b8966 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com 2000-04-27 00:12:25 +00:00
dbaron%fas.harvard.edu
9c16f212b1 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com 2000-04-27 00:07:12 +00:00
attinasi%netscape.com
aaef34704e Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre 2000-04-26 23:36:45 +00:00
jst%netscape.com
70304a6c16 Initialize mRefCnt in the constructor, duh! 2000-04-26 23:24:30 +00:00
jst%netscape.com
0c513b7385 Fix crash when modifying a stylesheet through the DOM before the document is displayed. 2000-04-26 23:22:06 +00:00
jst%netscape.com
af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
mjudge%netscape.com
2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
evaughan%netscape.com
3e33f5b852 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com
6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
e25d9a73e7 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:21:56 +00:00
dcone%netscape.com
da4105b736 Put in the Tiling call from the RenderingContextImpl. 2000-04-24 04:36:05 +00:00
attinasi%netscape.com
af2c4a7c11 Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
scc%netscape.com
1177150f2e making string conversions explicit 2000-04-23 19:04:37 +00:00
attinasi%netscape.com
31410d2cca Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500 2000-04-23 02:01:40 +00:00
troy%netscape.com
9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
dbaron%fas.harvard.edu
ed9c5e00ef Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com 2000-04-22 00:47:18 +00:00
hyatt%netscape.com
4a0414c6e1 Tree performance improvements. 2000-04-21 08:12:13 +00:00
pierre%netscape.com
0a1b7cc547 Implemented i18n list-style-types. Thanks to bakibon@yahoo.com. 2000-04-21 08:05:29 +00:00
jst%netscape.com
75c2e94a05 Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes. 2000-04-20 16:22:10 +00:00
dcone%netscape.com
630efa09d1 Turned on the Fast Background Rendering. 2000-04-20 14:00:22 +00:00
jst%netscape.com
65686de7fb Updating the DOM interface CSSStyleDeclaration to DOM Level 2. 2000-04-20 13:50:56 +00:00
jst%netscape.com
8515630b3f Adding GetIID() to nsICSSDeclaration. 2000-04-20 13:00:08 +00:00
rods%netscape.com
47329d0362 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
troy%netscape.com
cbf21dc468 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
troy%netscape.com
efc3b016a8 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
pavlov%netscape.com
8f2b015e61 remove creation code for colorpicker 2000-04-18 23:07:43 +00:00
syd%netscape.com
76a839c993 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
waterson%netscape.com
548a65c864 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
scc%netscape.com
b4caf7e667 making string conversions explicit 2000-04-16 11:19:26 +00:00
braddr%puremagic.com
857f0905f7 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc%netscape.com
52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com
0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
pierre%netscape.com
614a9a491c 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set. 2000-04-15 10:38:13 +00:00
mstoltz%netscape.com
6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
pinkerton%netscape.com
d56c55a93c 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
waterson%netscape.com
a06a8ee723 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre 2000-04-13 19:55:47 +00:00
ducarroz%netscape.com
245059c4ee 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
karnaze%netscape.com
4e31ba4a93 bug 35099 - create form frame when inside table related element. a=leaf 2000-04-10 04:00:37 +00:00
evaughan%netscape.com
6a2ad59407 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget
2000-04-05 00:19:00 +00:00
pnunn%netscape.com
d7030dd86b bug#34444: blocker bug. Backing out changes for dcone. pnunn. 2000-04-04 20:04:40 +00:00
dcone%netscape.com
77701e6a5b Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
the option of tiling.. and optimizing for speed.  Windows will now be very fast for small tiles that are transparent.
2000-04-04 13:38:36 +00:00
hyatt%netscape.com
220a5faae0 Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
karnaze%netscape.com
38ae2db033 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
karnaze%netscape.com
509f652995 bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux 2000-04-04 01:28:15 +00:00
scc%netscape.com
c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
rods%netscape.com
59adfb766c Initial checkin of SVG prototype code for Dean Jackson (ifdef'ed) 2000-04-01 22:31:45 +00:00
rods%netscape.com
13d86b3341 Initial checkin of SVG prototype code for Dean Jackson (if def'ed) 2000-04-01 22:26:38 +00:00
troy%netscape.com
c02e95f57e b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks
2000-04-01 18:47:09 +00:00
nisheeth%netscape.com
e9badbf920 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
rickg%netscape.com
e43487c306 fixed silly string usage error 2000-03-31 10:45:55 +00:00
attinasi%netscape.com
1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
evaughan%netscape.com
53b00e50f0 box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
attinasi%netscape.com
431a24ae53 Fixed warning from Mac compiler: no prototype for local static function. 2000-03-30 07:20:16 +00:00
attinasi%netscape.com
d012c2b572 Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524 2000-03-30 06:27:32 +00:00
jim_nance%yahoo.com
dc0e139673 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
2000-03-30 03:21:26 +00:00
pierre%netscape.com
bdf9e8f750 #33557 (background-color: inherit on html:input type="text" only appears to check for background color on parent node). MapDeclarationColorInto() should inherit the parent's color on "background: transparent". 2000-03-29 06:55:15 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
rbs%maths.uq.edu.au
217bec402a [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Update a MathML hook for <mtable> 2000-03-28 09:32:54 +00:00
hyatt%netscape.com
ed33c7beb6 Fix for 33526 2000-03-28 00:41:33 +00:00
rods%netscape.com
9c19444a41 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
scc%netscape.com
0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
pierre%netscape.com
a367200997 Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser. 2000-03-25 21:26:14 +00:00
pierre%netscape.com
924dd819c1 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed. 2000-03-25 18:54:36 +00:00
pierre%netscape.com
96aa05bdae Related to #18136. Enable the IE-compatible font size table in strict mode. It required to pass the nsFontSizeType to FindNextSmaller/LargerFontSize. 2000-03-25 13:48:50 +00:00
hyatt%netscape.com
92b95abb62 Adding support for the <children/> element to XBL. 2000-03-25 02:18:55 +00:00
rods%netscape.com
b96d5f84ab 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
pollmann%netscape.com
7b81038eb7 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth 2000-03-24 03:37:03 +00:00
nisheeth%netscape.com
a89fa8ead5 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
troy%netscape.com
d82789f57c Added generated content iterator 2000-03-23 21:05:23 +00:00
pierre%netscape.com
ae30bfa13f Bugs 2055, 2056, 14983 and 15432. Display:marker/run-in/compact are not supported. The CSS parser drops any declaration that contains one of these display types. 2000-03-23 14:45:04 +00:00
troy%netscape.com
1449387194 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
dbaron%fas.harvard.edu
e10bf39827 Fix leak of style contexts. r=pollmann@netscape.com 2000-03-22 02:54:26 +00:00
rods%netscape.com
865fc222e1 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
attinasi%netscape.com
11934b336b Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze 2000-03-20 22:49:42 +00:00
dbaron%fas.harvard.edu
b5f3961347 Fix leak of style contexts. r=karnaze@netscape.com 2000-03-18 21:26:13 +00:00
rods%netscape.com
3e11ee0c01 Added aIsOutline to arg to RenderSize so it can do the right thing when
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone
2000-03-18 14:41:00 +00:00
rods%netscape.com
270b0ca8dd 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
troy%netscape.com
7242ae3451 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
pierre%netscape.com
9b423612d8 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided. 2000-03-16 11:44:00 +00:00
dbaron%fas.harvard.edu
c046415a7a Fix a leak of a device context. r=dcone@netscape.com 2000-03-16 01:21:58 +00:00
rods%netscape.com
f40f5bbc3f 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
troy%netscape.com
512f105fbf b=21903. Fixes a crash when absolutely positioning a form element. The
problem was no space manager was getting created for the form's frame
2000-03-15 04:38:08 +00:00
hyatt%netscape.com
1c02f1ca09 Landing new progressmeter. 2000-03-15 03:16:43 +00:00
rods%netscape.com
7166b97e2c preparing for GFX listboxes and dropdowns. This ifdefs the creation code so I
can turn them on and off.
b=18895
2000-03-14 12:03:21 +00:00
hyatt%netscape.com
f136d13288 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button. 2000-03-14 11:09:46 +00:00
pierre%netscape.com
b8fda14b1b #30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face. 2000-03-14 07:30:29 +00:00
troy%netscape.com
c5f8fdbf16 b=24125. For INPUT elements we use value of NAME attribute as fallback
for alternate text
2000-03-14 05:30:00 +00:00
troy%netscape.com
9eb066a4eb b=29893. Pollmann had added code to keep us from crashing. I made sure
that the correct tiling behavior happened in the case where the viewport
isn't scrollable
2000-03-14 04:55:42 +00:00
buster%netscape.com
abab9db3f2 bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy
a=rickg
2000-03-13 02:40:18 +00:00
rickg%netscape.com
194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com
69f36f72eb more WIP to remove nsStr references 2000-03-12 10:07:57 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
hyatt%netscape.com
6ead515970 Improving XBL support. 2000-03-11 10:38:36 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
buster%netscape.com
d8df80eb99 bug 28553
r=troy
a=rickg
2000-03-10 01:10:44 +00:00
pollmann%netscape.com
5622a49a33 Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg 2000-03-09 05:54:58 +00:00
pierre%netscape.com
7674bfdbfa 29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar. 2000-03-09 04:37:01 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
rods%netscape.com
cf53860ce3 add call to combobox for setting the frame constructor
b=28593, r=evaughan a=jar
2000-03-03 04:30:32 +00:00
hyatt%netscape.com
a84f152eec Fixing a merge conflict. Fallout from same checkin. r=travis,a=jar 2000-03-02 10:47:58 +00:00
hyatt%netscape.com
d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
tbogard%aol.net
4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
karnaze%netscape.com
fb8782b61f PDT+ bug 28341 - Destroy caption frame when outer table frame is destroyed. Add caption to outer frame rather than inner frame. r=troy, a=rickg 2000-03-02 06:09:37 +00:00
evaughan%netscape.com
cf0d42fc25 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
pollmann%netscape.com
54c57adf37 Bug 28670: Move scroll methods from webshell to docshell and XUL scrollbar removal from XULDocument to here r=travis a=rickg 2000-02-29 06:51:04 +00:00
erik%netscape.com
281e53e9b1 bug 18136; new table of font sizes for HTML sizes 1-7, based on testing
Nav4's fixed width fonts; r=pierre; a=rickg
2000-02-25 23:02:46 +00:00
hyatt%netscape.com
5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
erik%netscape.com
28f23d520d bug 18136; added new font size table, but currently #if'ed out; r=pierre;
a=rickg
2000-02-25 04:00:53 +00:00
pierre%netscape.com
6875bf641b Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
pollmann%netscape.com
9a177eff73 Bug 28691/16999: Removing obsoleted code. r=harishd a=rickg 2000-02-23 21:36:29 +00:00
pollmann%netscape.com
be7e4d3f51 Bug 28691: As penance, I'll fix these leaks too. r=harishd a=rickg 2000-02-23 21:32:23 +00:00
pollmann%netscape.com
90d9b37641 Bug 28691: Fix existing leak that my fix for bug 16999 hilighted. r=harishd a=rickg 2000-02-23 21:24:07 +00:00
troy%netscape.com
2cab23cc6c b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated
2000-02-23 15:45:43 +00:00
dbaron%fas.harvard.edu
8438b1f02d Bug 28555: fix large leak of StyleContextImpl's. r=karnaze@netscape.com a=jar@netscape.com 2000-02-20 15:18:04 +00:00
jdunn%netscape.com
080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
evaughan%netscape.com
c7ba739a87 Box performance fix.
-r jevering
2000-02-16 23:00:52 +00:00
buster%netscape.com
4539431ae8 bug 24411
r=troy
changed the frame constructor call for <form> to pass 0 as the flags arg.
2000-02-16 05:09:57 +00:00
pierre%netscape.com
731ac166e2 Bug 24390 "html:input styles in global.css are ignored". In SelectorMatches(), make string comparisons case-insensitive for HTML content. 2000-02-16 01:09:36 +00:00
karnaze%netscape.com
c75793821e bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
hyatt%netscape.com
6359374cc8 Converting trees to XBL. Boosts tree scrolling performance. 2000-02-15 09:28:28 +00:00
evaughan%netscape.com
5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
hyatt%netscape.com
dca01601be Making inner tree cell a box frame. Seems to fix about 10 bugs. :) 2000-02-13 09:28:51 +00:00
hyatt%netscape.com
a9b8708a2c Moving previous 9701 fix out of frame constructor and into presshell. r=troy 2000-02-13 06:07:38 +00:00
hyatt%netscape.com
34add8f294 Fix for PDT+ bug #9701. Also fixes the crasher holding the tree closed. r=saari 2000-02-12 03:10:01 +00:00
attinasi%netscape.com
4d3cf88979 added default argument to FindNonTransparentBackground to tell it to start at the context's parent (for QuirkMode emulation). r=karnaze b=8524 2000-02-11 01:24:05 +00:00
attinasi%netscape.com
d29d823f98 Updated the code to use the nsIScrollableFrame interface instead of assuming the FirstChild is the scrolled-frame. r=evaughan 2000-02-11 01:23:36 +00:00
attinasi%netscape.com
1ddf942ed0 PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-11 01:23:04 +00:00
attinasi%netscape.com
0722a164fa font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461 2000-02-11 01:22:47 +00:00
troy%netscape.com
f15ca67f0e b=26282 r=vidur@netscape.com Now when using the alternate content for an
image that can't be rendered we ignore everything after one of: ; # ?
2000-02-11 01:00:17 +00:00
hyatt%netscape.com
c9071b6195 Fixes for bugs 24969 and 27109. 2000-02-11 00:56:41 +00:00
evaughan%netscape.com
c1c4f7681f 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com
88e4dcfccf turning off Gfx scrollbars for listboxes
b 27253 r=evaughan
2000-02-10 21:13:44 +00:00
attinasi%netscape.com
22e7312184 backout of accidental checkin... 2000-02-10 20:21:29 +00:00
attinasi%netscape.com
b57e81919a PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-10 19:22:00 +00:00
mjudge%netscape.com
5201749c56 this was preliminary checkin for later feature. removing offensive line of code for linux. adding back the way it was. I will continue to add this content however but it will be released when not used by nsCOMPtr 2000-02-10 05:20:55 +00:00
mjudge%netscape.com
b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
evaughan%netscape.com
b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com
cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
rods%netscape.com
aa15488556 fixes memory leak.
b 26795 r=beard
2000-02-08 13:17:50 +00:00