13427 Commits

Author SHA1 Message Date
rods%netscape.com
221670b5c2 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114923 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:49:27 +00:00
rbs%maths.uq.edu.au
ee6ecf963a Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114903 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:30:58 +00:00
rbs%maths.uq.edu.au
2cf5c952c3 Add entry for the official Unicode minus sign
git-svn-id: svn://10.0.0.236/trunk@114902 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:24:19 +00:00
bzbarsky%mit.edu
d9113378ce Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114872 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:27:38 +00:00
dbaron%fas.harvard.edu
84d82a83f8 Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114868 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:11:57 +00:00
dbaron%fas.harvard.edu
1cc61e485b Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114867 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:09:06 +00:00
akkana%netscape.com
1623070ca0 80805: old patch, should have been checked in earlier. r=cmanske sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114866 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:06:41 +00:00
rbs%maths.uq.edu.au
612caf8375 bug 124619: initializations to silence the compiler
git-svn-id: svn://10.0.0.236/trunk@114829 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:16:33 +00:00
timeless%mac.com
c0e0ef41ce Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:54:15 +00:00
rbs%maths.uq.edu.au
9c3fae6fd7 Fixup to make sure that recursive child chars are initialized with mOperator from their parent. Also added bogus initializations requested in bug 124619 to silence the compiler
git-svn-id: svn://10.0.0.236/trunk@114817 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:52:15 +00:00
karnaze%netscape.com
14130fefa0 bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@114804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:57:19 +00:00
tor%cs.brown.edu
98278b1663 Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:31:24 +00:00
bryner%netscape.com
d09b3a5ffb bug 125859 - GetCellWidth() doesn't take into account indentation if we haven't painted yet. r=pavlov, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114722 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 05:56:48 +00:00
dbaron%fas.harvard.edu
0feda16c3c Fix one more comment that uses "inherit" incorrectly.
git-svn-id: svn://10.0.0.236/trunk@114716 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 02:03:07 +00:00
dbaron%fas.harvard.edu
5ef0589c9c Restore optimization of getting data from parent context only when there is actually inheritance (except correctly this time), to prevent unnecessary struct computation and creation. Rename nsRuleNode::mInheritBits to mDependentBits. Use none bits (and thus prevent struct recomputation and copying) in the case where explicit inheritance overrides a non-inherited specified value, but still only for inherited structs. Other minor cleanup. b=113098 sr=hyatt r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@114714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:53:40 +00:00
dbaron%fas.harvard.edu
5ed6553b0d Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114697 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:50:45 +00:00
dbaron%fas.harvard.edu
152311587f Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114695 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:31:49 +00:00
dbaron%fas.harvard.edu
d5b6a2cebe Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114694 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:24:25 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
cbiesinger%web.de
ffe7bd2072 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property


git-svn-id: svn://10.0.0.236/trunk@114691 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 13:16:10 +00:00
bernd.mielke%snafu.de
6fc51fa7e7 adding regression test not part of the build
git-svn-id: svn://10.0.0.236/trunk@114687 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:30:57 +00:00
bernd.mielke%snafu.de
26bd706ce7 wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114671 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 06:03:36 +00:00
peterlubczynski%netscape.com
f5a0f630c6 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114669 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 05:12:45 +00:00
aaronl%netscape.com
d9575605b1 Fixing bustage. --disable-accessibility is broken
git-svn-id: svn://10.0.0.236/trunk@114660 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:23:18 +00:00
rbs%maths.uq.edu.au
d7f37a4594 Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114653 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:48:10 +00:00
aaronl%netscape.com
1a47678bfb Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114634 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:35:09 +00:00
aaronl%netscape.com
424f513e6a Active Accessibility: support HTML tags <fieldset> and <legend>. r=jgaunt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114631 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:34:42 +00:00
dcone%netscape.com
8944f478a1 b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
rbs%maths.uq.edu.au
a490d83518 [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced>
git-svn-id: svn://10.0.0.236/trunk@114595 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:39:50 +00:00
roc+%cs.cmu.edu
61724752a4 Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114590 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 13:15:45 +00:00
jshin%mailaps.org
9965dab7c4 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114578 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 09:21:08 +00:00
dean_tessman%hotmail.com
2db802dff3 Bug 53029 - Menu highlight by ALT key should be cleared by next key event
Windows-specific changes to match behavior when a key is pressed that is not a valid access key.
r=pink, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114570 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:53:26 +00:00
rbs%maths.uq.edu.au
7476da1396 Extend the support of MathML styling attributes to the root <math> element itself
git-svn-id: svn://10.0.0.236/trunk@114565 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 02:44:53 +00:00
timeless%mac.com
18aaee49b0 Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +00:00
pavlov%netscape.com
1fe130f902 Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it
git-svn-id: svn://10.0.0.236/trunk@114539 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:31:54 +00:00
rods%netscape.com
1d1f95e7c0 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:09 +00:00
karnaze%netscape.com
055c809419 bug 125426 - terminate xul style data when writing regression data. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@114507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 14:54:06 +00:00
rbs%maths.uq.edu.au
27e6f13d75 Add support for MathML styling attributes (e.g., color, fontsize, etc) by creating an internal attribute stylesheet on the fly, and populating it by mapping attributes to CSS rules as frames get created. This is a work-around to bug 69409 which is is not scheduled to be addressed by the Gecko team anytime soon. Also Cleaned-up the debug rules in mathml.css and removed the (in)famous red color of <mi>
git-svn-id: svn://10.0.0.236/trunk@114503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 12:26:43 +00:00
stephend%netscape.com
a8b401eb33 Bug 109500. Memory leak of 52 bytes in grid code. Patch by Brian Ryner (bryner@netscape.com). r=bryner@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114500 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:44:17 +00:00
bryner%netscape.com
c309e98277 bug 122036 - make space and ctrl+space work as expected. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114499 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:29:00 +00:00
bryner%netscape.com
05857104bf Bug 124258 - radio buttons and checkboxes not sizing wide enough for their labels. Make sure the pref size we return for the image isn't smaller than the min size specified in CSS. r=pinkerton, rs=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114484 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 05:51:47 +00:00
attinasi%netscape.com
773c19b934 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822
git-svn-id: svn://10.0.0.236/trunk@114451 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:15:40 +00:00
bryner%netscape.com
f16c8107c5 Bug 124963 - Table becomes excessively wide with XBL checkboxes. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:08:08 +00:00
mjudge%netscape.com
09b2352881 check for null to not crash is good. 115350 thanks to Shataro
git-svn-id: svn://10.0.0.236/trunk@114432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:40:46 +00:00
bernd.mielke%snafu.de
f7c0d9ae76 avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114417 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:01:42 +00:00
rods%netscape.com
1a9f705818 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114389 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 13:58:41 +00:00
bryner%netscape.com
79bcc86bfa Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 10:47:18 +00:00
dean_tessman%hotmail.com
37652babe4 Bug 12201 - Access keys on commands don't work in submenus
r=varga sr=blake


git-svn-id: svn://10.0.0.236/trunk@114376 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:14:26 +00:00
karnaze%netscape.com
39bb012a64 Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@114288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:57:49 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00