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

1604 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com e2d9c7adee part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt
2001-12-03 23:03:18 +00:00
dbaron%fas.harvard.edu ac05d3af87 Fix leak (and other) regression from previous checkin. b=111815 2001-12-02 04:07:17 +00:00
dbaron%fas.harvard.edu a2ee74f9f3 Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt 2001-12-02 00:44:45 +00:00
bzbarsky%mit.edu cedea67700 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst 2001-12-02 00:28:48 +00:00
jst%netscape.com 8cedb6d652 Whitespace changes. 2001-11-29 09:59:31 +00:00
rods%netscape.com 166b7fbd76 Give checkbox and radio face color on active
Bug 56585 r=bryner sr=attinasi
2001-11-29 09:54:38 +00:00
jst%netscape.com db54a5d2c2 Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com 2001-11-29 08:48:53 +00:00
dbaron%fas.harvard.edu 3645b0e30a Fix HP bustage by moving GetStyleData function templates from nsStyleStruct.h to nsIFrame.h and nsIStyleContext.h b=111883 2001-11-28 06:50:13 +00:00
dbaron%fas.harvard.edu 5720f35dba Add typesafe functions (global |GetStyleData|) for accessing style data. b=111883 r=pierre sr=hyatt 2001-11-28 05:04:23 +00:00
dbaron%fas.harvard.edu c05f76fc6b Consider the result of |mStyleRuleSupplier->UseDocumentRules| in FileRules to prevent incorrect application of document rules to scrollbars and some form controls. Patch from <fantasai@escape.com>. r=dbaron sr=hyatt b=109808 2001-11-28 04:54:05 +00:00
dbaron%fas.harvard.edu ed2b034b08 Fix crash and incorrect calculation of percentage line-height by computing relative to self's font-size rather than parent's font size. r=pierre sr=hyatt b=111405 2001-11-28 04:35:52 +00:00
alecf%netscape.com 8e1f300899 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
timeless%mac.com 185f31746d Bugzilla Bug 111606�Want black combo box arrow
by neil@parkwaycc.co.uk r=rods sr=attinasi
2001-11-27 15:48:16 +00:00
bzbarsky%mit.edu fff0f74e17 Make sure the <input type="hidden"> never takes up space by setting it
to use display:none (now that it'll submit fine with that setting).
Bug 109847, r=jkeiser, sr=attinasi
2001-11-27 15:36:33 +00:00
dbaron%fas.harvard.edu e4a26b13a2 Bug 109431: Speed up ID selector matching, mainly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. Bug 110815: Avoid an unneeded QI from nsICSSStyleRule to nsIStyleRule, which it inherits. r=jag sr=hyatt 2001-11-21 03:30:44 +00:00
bzbarsky%mit.edu 6331a770d6 Check the mimetype on the stylesheet channel and only
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au 20f5c3c7d0 bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst 2001-11-17 02:36:05 +00:00
hyatt%netscape.com 62e1620a29 MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix. 2001-11-15 07:31:13 +00:00
hyatt%netscape.com 257658ac62 Inline PeekStyleData for 109261. 2001-11-14 08:29:11 +00:00
hyatt%netscape.com cec98cc49a Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261 2001-11-14 08:19:13 +00:00
dbaron%fas.harvard.edu 88158430a4 Attempt to fix HP runtime bustage. b=83836 2001-11-11 20:46:42 +00:00
bzbarsky%mit.edu fbe8c76d57 Fixing bogus indentation that I missed (checked in old version of
patch). bug 84599 reprise, r=glazou, sr=attinasi (still).
2001-11-11 03:56:49 +00:00
dbaron%fas.harvard.edu 147c28fd22 Avoid applying all default rendering of HTML's table element to anonymous table objects. b=72358 r=hixie sr=attinasi 2001-11-11 01:35:25 +00:00
dbaron%fas.harvard.edu c25fe11d0f Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu c255aa1143 Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi
2001-11-10 17:29:04 +00:00
dbaron%fas.harvard.edu 080cfc9fdb Add omitted NS_INIT_ISUPPORTS. b=108750 a=blizzard 2001-11-08 02:17:43 +00:00
dbaron%fas.harvard.edu 8e721c4e39 Move nsDOMCSSAttributeDeclaration into its own file to progress towards moving all of the style system code back into the layout library. r=jst sr=hyatt b=108750 2001-11-07 07:06:31 +00:00
karnaze%netscape.com 1d522d115b bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre. 2001-11-06 22:52:59 +00:00
rods%netscape.com 1c57cc75d5 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-06 12:18:51 +00:00
pierre%netscape.com 3da4d257d9 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt. 2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu 01bf33644b Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt 2001-11-06 07:48:02 +00:00
karnaze%netscape.com 7b026a9471 bug 107857 - show backgrounds on empty cells in quirks mode. sr=attinasi,r=alexsavulov,hixie 2001-11-05 15:32:25 +00:00
rods%netscape.com 37a4501149 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
jst%netscape.com 144090f3bb Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com 2001-11-03 08:13:48 +00:00
jst%netscape.com 6d64ded4f2 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com 2001-11-02 07:40:01 +00:00
kin%netscape.com a46abef38f Backout glazman's fix for bug 107567, pending investigation
on why it causes the tinderbox Leak count to go up.

a=beard@netscape.com,jj@netscape.com
2001-10-31 19:03:46 +00:00
glazman%netscape.com 3b65896526 Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin 2001-10-31 15:53:25 +00:00
dbaron%fas.harvard.edu 978c81f4e8 Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt 2001-10-31 02:53:47 +00:00
dbaron%fas.harvard.edu c13d4f0b0c Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
bernd.mielke%snafu.de a5712df37d bug 97630 cut line-height inheritance for tables in quirks mode
r=hixie,karnaze sr=attinasi
2001-10-29 19:44:05 +00:00
jaggernaut%netscape.com cad0dc7095 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
alecf%netscape.com 743fc2884d other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu 02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
bzbarsky%mit.edu 27d3c2549e Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
ducarroz%netscape.com 72f5b3d1f1 Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt 2001-10-25 00:19:21 +00:00
dbaron%fas.harvard.edu 6095c74c92 My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here. 2001-10-24 09:03:46 +00:00
glazman%netscape.com 19436c0ab5 STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi 2001-10-24 08:08:30 +00:00
dbaron%fas.harvard.edu da56284412 Wild guess at fixing AIX and OS/2 bustage. 2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu 150e74f898 Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336 2001-10-24 06:25:08 +00:00
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
bryner%netscape.com 03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
rods%netscape.com ec608cec13 Make labels inline !important
Bug 100801 r=rods sr=attinasi
2001-10-22 10:39:35 +00:00
dougt%netscape.com d161575ba4 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com 2001-10-19 21:02:39 +00:00
dougt%netscape.com 942988df26 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu 21be92cac9 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu c13153fb53 Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
2001-10-19 13:50:30 +00:00
pierre%netscape.com 2e03c268a6 91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt 2001-10-17 00:25:26 +00:00
pierre%netscape.com e032fbb506 97052 "getComputedStyle returns default value for border width when there is no border". GetBorderWidthFor() now returns 0 if NS_STYLE_BORDER_STYLE_NONE. r=bzbarsky / sr=jst 2001-10-17 00:05:05 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
rods%netscape.com c8d6cf8c3a make it so the select's borders can't be changed by user's style
Bug 94387 r=kmcclusk sr=attinasi
2001-10-16 00:37:05 +00:00
alecf%netscape.com bd048504df convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
bzbarsky%mit.edu cca316e69b Make changes to clip property trigger a reflow change, not just a visual
change.  Bug 88653, r=pierre, sr=roc+moz
2001-10-10 00:21:02 +00:00
bzbarsky%mit.edu 4ec7dfc9b4 Fix parsing of negative (illegal) values of border-spacing, padding, and
others.  Bug 102344, r=dbaron, sr=attinasi
2001-10-06 15:13:23 +00:00
attinasi%netscape.com 66bda7bfb1 Outline for links are now 'invert' instead of 'WindowText' color. b=73884 r=kmcclusk sr=kin 2001-10-03 00:10:00 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
glazman%netscape.com 30ae8ab03f fixing erroneous DOM 2 name for bug 101925; rs=jst 2001-09-28 14:11:05 +00:00
glazman%netscape.com 7a79a87dce implements getComputedStyle() for float property + bad next-line argument indentation cleanup ; b=101925, r=bzbarsky, sr=jst 2001-09-28 07:39:41 +00:00
bzbarsky%mit.edu 7a6cc28476 Make setting element.style.foo just parse the value instead of creating
a property:value pair and parsing that.  Speeds up setting of
element.style.top by about 5%.  Bug 99797, r=attinasi, sr=jst
2001-09-28 01:38:36 +00:00
rbs%maths.uq.edu.au 7f1638d039 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com 2001-09-27 18:33:58 +00:00
hewitt%netscape.com 8c19fc069c 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 23:35:36 +00:00
hewitt%netscape.com 433ff11b78 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu ad1dbdf870 making the "Enabling quirk stylesheet" message only show up for some
people who care (even in debug builds).  bug 100983, r=dmose, sr=attinasi
2001-09-24 22:36:43 +00:00
rjesup%wgate.com 74a56c0ca5 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com a230194a5b Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
mkaply%us.ibm.com ef9e88c813 OS/2 bustage
PR_STATIC_CALLBACK is not needed here
2001-09-20 02:38:56 +00:00
bzbarsky%mit.edu 47b3292676 Implement the parentRule property of CSS rules. Bug 37470, r=pierre,
sr=jst
2001-09-19 14:16:34 +00:00
dbaron%fas.harvard.edu e5670937de Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi 2001-09-17 23:59:30 +00:00
dbaron%fas.harvard.edu e12dc421f6 Add all extension properties to nsIDOMNSCSS2Properties, rather than just a few. Clean up nsDOMCSSDeclaration implementation of nsIDOM{,NS}CSS2Properties and implement new attributes in nsIDOMNSCSS2Properties. r=hixie sr=jst b=98500 2001-09-17 00:57:46 +00:00
bzbarsky%mit.edu 39e131f2a5 Make insertRule() calls on a media rule which initially had no children
not fail.  Bug 98931, r=sicking, sr=jst
2001-09-15 01:27:49 +00:00
waterson%netscape.com d76d3fdf0d Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
dbaron%fas.harvard.edu dcd9a0a54f Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
dp%netscape.com 6ec83539f3 Fixing build bustage. 2001-09-08 22:01:22 +00:00
dp%netscape.com 006dc421cd bug# 98786 Eliminating url cloning r=gagan,sr=jst 2001-09-08 21:13:20 +00:00
rjesup%wgate.com f0b7d458d4 Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst
2001-09-07 03:44:33 +00:00
dbaron%fas.harvard.edu 06944cc30e Make getComputedStyle remove the extra default font that we add to the end of the font-family list so it returns the original computed value. b=94078 r=hyatt sr=jst 2001-09-07 02:28:10 +00:00
pierre%netscape.com c164042a1e Bug 93371 (WRMB: Treat classes case insensitively in quirks mode). Back out ianh's patch in nsCSSParser.cpp and nsHTMLAttributes.cpp. Treat classes and IDs case insensitively as described in Bug 35522. r=glazman (+dbaron/jst) sr=hyatt 2001-09-07 00:23:37 +00:00
rjesup%wgate.com f8b915228e Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst
2001-09-06 19:38:20 +00:00
rjesup%wgate.com 9192f1e9a5 Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
bzbarsky%mit.edu 268f16e017 Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst
2001-09-06 13:14:35 +00:00
glazman%netscape.com 7d3af61e67 getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt 2001-09-06 08:20:50 +00:00
attinasi%netscape.com 09b3ca9383 Two QuirkMode only fixes: 1) prevent bullets from getting resized with LI and 2) collapse margins for empty elements in BODY and table cells. b=97351 r=pierre sr=waterson b=97361 r=pierre sr=hyatt 2001-09-06 01:22:55 +00:00
rbs%maths.uq.edu.au 675465a9c2 Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst 2001-09-05 01:02:58 +00:00
bzbarsky%mit.edu a0c586aa4f Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
rods%netscape.com 42ad4852f4 the dropdown will have a top border now.
Bug 88399 r=dcone sr=attinasi a=dbaron
2001-08-28 19:40:02 +00:00
rods%netscape.com 401d90d28c Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630, Bug 97139 r=dcone sr=attinasi a=dbaron
2001-08-27 23:28:24 +00:00
dbaron%fas.harvard.edu 210b9f6437 Correct fix for 96414: the 'font' shorthand requires both size and face. r=rods sr=attinasi a=chofmann
Forgotten half of fix for 47149: make LABEL a normal inline element.  r=rods  sr=attinasi  a=asa
2001-08-27 20:56:12 +00:00
rods%netscape.com bf292d021e Refixing style for buttons for fix Bug 96630 2001-08-27 13:59:37 +00:00
rods%netscape.com 32ac2b3bc5 Using -moz-fixed for textareas, the size is not "hooked" to the browser's default fixed size now
but will be when fixed to -moz-fixed get put in for 0.9.5
Bug 96414 r=rbs sr=hyatt a=asa
2001-08-27 12:22:48 +00:00
rods%netscape.com 8d41999309 Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630 r=dcone sr=attinasi a=dbaron
2001-08-27 11:44:28 +00:00
rjesup%wgate.com 6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
hyatt%netscape.com 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
dcone%netscape.com 61c42e0de0 b=73884 r=peterl sr=attinasi invert mode support added 2001-08-21 22:37:17 +00:00
rods%netscape.com 70eac9d60f Oops, left in a rule I used for testing.
It's removed.
2001-08-21 15:12:45 +00:00
rods%netscape.com b8f1b52da9 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi
2001-08-21 14:01:55 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
cathleen%netscape.com be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
ian%hixie.ch 1796ba6b2b Treat classes case-insensitively in quirks mode. Bug 93371; r=pierre sr=attinasi 2001-08-16 07:42:15 +00:00
cls%seawood.org a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
dbaron%fas.harvard.edu 8441ffb1a9 Fix errors in my patch for bug 90791 that were causing a crash. b=93106 r=waterson, brendan, pierre sr=hyatt 2001-08-14 02:54:35 +00:00
jaggernaut%netscape.com 0bbed2bc43 Bug 92623: ``Adjust the nsCSSParser quirks'', patch by Hixie, r=pierre@netscape.com, sr=attinasi 2001-08-10 22:46:53 +00:00
karnaze%netscape.com 6f68b87da4 bug 94041 - hixie's patch to give backgrounds to empty cells in quirks mode. sr=attinasi, r=alexsavulov 2001-08-09 03:31:31 +00:00
pierre%netscape.com b594646982 bug 94248: uninitialized variable in nsCSSUserInterface::mCursor. fix from rjesup@wgate.com, r=pierre 2001-08-08 04:21:53 +00:00
harishd%netscape.com fcbaffa391 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
bzbarsky%mit.edu a353a4e9a0 Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
dbaron%fas.harvard.edu 7ae28c26a1 Fix crash bug 93270 by ensuring that the nsHTMLStyleSheetImpl always has a non-null mDocumentColorRule and mTableTHRule. r=pierre sr=hyatt 2001-08-04 02:43:05 +00:00
glazman%netscape.com 145fd781e4 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-02 14:34:55 +00:00
hyatt%netscape.com e1abe2c919 Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
glazman%netscape.com 9355372000 backing out fix for 88681 due to merge conflicts 2001-08-01 14:53:15 +00:00
glazman%netscape.com 47a195eda3 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-01 14:38:30 +00:00
hyatt%netscape.com 83c6db5ccf Fix for table color quirk bug. r=dbaron, sr=attinasi 2001-08-01 07:51:27 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
hyatt%netscape.com 84f1ff48ed Fix for 90081, r=dbaron, sr=attinasi 2001-07-25 06:33:06 +00:00
waterson%netscape.com 810f67dd7a Bug 91478. Don't incorporate mFlags when computing difference between two fonts. r=attinasi, sr=hyatt. 2001-07-22 22:49:52 +00:00
hyatt%netscape.com cbfec5d9f3 Backing out 90081 fix until I understand why opt builds only crash. 2001-07-19 19:43:51 +00:00
hyatt%netscape.com 1f794f1074 Fix for 90081, r/sr=waterson,attinasi 2001-07-18 22:48:35 +00:00
bzbarsky%mit.edu 49bedf870c Make CSSParserImpl::ParseAndAppendDeclaration keep parsing even when it
encounters an error. Bug 88421, r=pierre, sr=attinasi
2001-07-18 19:43:39 +00:00
jst%netscape.com 88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu c14a4b7581 Replace the mMediumCascadeTable nsHashtable with a linked list of rule cascades since searching a linked list of at most two elements (and usually just one) is *much* faster than doing a hashtable lookup. r=waterson sr=attinasi b=90791 2001-07-16 20:59:28 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dbaron%fas.harvard.edu e80f5a5eef Changing vertical alignment of some form controls from 'bottom' to 'text-bottom', which is a good thing in itself but also fixes one of the many conditions needed to trigger bug 78066. b=87981 r=attinasi sr=waterson 2001-07-13 05:19:34 +00:00
bernd.mielke%snafu.de 5c6efb8c13 Inherit color into the table elements in quirks mode
bug 46480 patch by fantasai@escape.com r=bernd sr=attinasi
2001-07-06 14:17:08 +00:00
dbaron%fas.harvard.edu 5c00ae3d05 Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574 2001-07-04 02:05:59 +00:00
attinasi%netscape.com 08bae81b8c Added rule to indent nested DL elements. b=8749 r=liv@duke.edu sr=waterson 2001-07-02 21:04:45 +00:00
bernd.mielke%snafu.de f2f47a832e Paint table background also in quirks mode. bug 46268, patch by fantasai@escape.com
r=bernd sr=attinasi
2001-07-01 16:40:56 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com c47e29468b Bug 87229. Replace giant switch statements with bit-ops and jump tables where appropriate. r=attinasi, sr=hyatt 2001-06-29 22:42:46 +00:00
dbaron%fas.harvard.edu f7dfb32406 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958 2001-06-29 03:15:58 +00:00
glazman%netscape.com 5fecca8a3f CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt 2001-06-27 10:41:49 +00:00
attinasi%netscape.com 6c90a145e2 Make floated tables non-floated so they print correctly (temporary hack). b=74738, r=kmcclusk sr=waterson a=waterson
Follow-Up bug to remove temporary hack is bug 85768
2001-06-22 06:42:57 +00:00
dbaron%fas.harvard.edu 9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
waterson%netscape.com e90560f4d0 Bug 81776. Give the hr frame some inline margins to bamboozle the code that tries to avoid marking lines dirty in PrepareResizeReflow(). Lame, but localized. r=dbaron, sr=attinasi, a=asa. 2001-06-20 00:54:39 +00:00
dbaron%fas.harvard.edu d825ec0bc7 Correct matching of dashmatch (|=) according to recent CSS WG discussions and fix :not() bugs with class selectors, id selectors, and $= and ^= attribute selectors. r=hixie sr=attinasi a=asa b=83616 2001-06-19 22:46:08 +00:00
dbaron%fas.harvard.edu 1e471a5e40 Fix bustage from scc's checkin for bug 85271. 2001-06-17 07:38:01 +00:00
blakeross%telocity.com 117d6592b3 Textarea scrollbars have wrong cursor (65540). r=kerz sr=hewitt a=asa 2001-06-13 21:33:19 +00:00
karnaze%netscape.com a09256e383 bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov 2001-06-13 02:32:26 +00:00
rods%netscape.com 7ebb9ec167 Backing change for Bug 82626, looks like round-off error in line height calculation 2001-06-11 19:29:14 +00:00
dbaron%fas.harvard.edu b659af71e9 Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847 2001-06-09 01:32:19 +00:00
rods%netscape.com 03abc1d1f3 setting line-height to 1em ! important, selects should not inherit the line height
nor should users be able to set it.
Bug 82626 r=kmcclusk sr=hyatt a=asa
2001-06-08 13:04:17 +00:00
attinasi%netscape.com 05d59e6b31 Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard 2001-06-06 23:34:17 +00:00
rods%netscape.com b935b2ac50 removed "! important" for input text so allows users to tailer border sizes
This reopens bug 25580, which I have marked won't fix
Fixes Bug 55336 r=kmcclusk sr=attinasi a=dbaron
2001-06-05 12:52:37 +00:00
dbaron%fas.harvard.edu d4918d0cb3 Miscellaneous performance fixes related to selector matching:
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
 * remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
 * avoid refcounting of atoms for stack-based hash keys (bug 83511)
 * add logging (turned off, except for me) to evaluate effectiveness of RuleHash
 * add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
 * avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
 * remove an unneeded variable in the beginning of SelectorMatches
 * fix one case in CSS error reporting (bug 65469), not part of default build
b=83482  r=attinasi@netscape.com  sr=waterson@netscape.com  a=asa@mozilla.org
2001-06-05 01:00:11 +00:00
hyatt%netscape.com 407949652d Fix for 83613. r=dbaron, sr=brendan, a=leaf 2001-06-01 21:04:23 +00:00
dbaron%fas.harvard.edu 478c463cd4 Adding newline to end of file to fix HP bustage. 2001-05-31 23:59:22 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
dbaron%fas.harvard.edu cfd9a7e6ca Fix build bustage within |#ifdef CSS_REPORT_PARSE_ERRORS| resulting from scc's string changes for bug 75220. Not part of default build. r=glazman a=tor 2001-05-23 14:18:38 +00:00
rods%netscape.com 2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
dbaron%fas.harvard.edu 9d5bc0637c Work around crash by using nsSupportsArray::Clone instead of the buggy (82133) nsSupportsArray::AppendElements. Patch from glazman@netscape.com, r=dbaron, sr=attinasi, b=80057 2001-05-22 20:53:00 +00:00
peterv%netscape.com ce83a7c5ff Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst. 2001-05-21 13:01:41 +00:00
jst%netscape.com d31549f8ea Removing #include... 2001-05-21 03:14:39 +00:00
mkaply%us.ibm.com a817d2f3f3 #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:44:05 +00:00
jst%netscape.com 77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
peterv%netscape.com d8dc78eb98 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
dbaron%fas.harvard.edu 60b2f736c0 Simplify implementation of quirk for DD not in DL using :not() to improve performance (since we handle |content: ""| differently from the default). b=77954 r=hixie sr=waterson 2001-05-18 23:09:54 +00:00
ftang%netscape.com 5938ccae19 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
harishd%netscape.com 1a5a83dc13 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
2001-05-15 22:32:26 +00:00
jst%netscape.com 892417cdfb Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst 2001-05-15 08:26:13 +00:00
glazman%netscape.com 7939bfee97 nsDOMCSSDeclaration::GetCssText not implemented; b=79722, r=harishd, sr=jst 2001-05-15 08:25:03 +00:00
nhotta%netscape.com f023e39b47 Changed to make string as array so sizeof returns number of characters instead of a size of a pointer,
this fixes a wrong offset problem for parsing charset, bug 80114, r=attinasi, sr=blizzard.
2001-05-15 03:03:19 +00:00
glazman%netscape.com 73eec2d7f9 ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst 2001-05-14 11:23:53 +00:00
anthonyd%netscape.com 77d91686d8 rechecking in fix for 59005
r=rods
sr=kin
2001-05-11 02:33:50 +00:00
harishd%netscape.com 50404b6290 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst
2001-05-09 03:29:09 +00:00
jst%netscape.com f7460d0269 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
mkaply%us.ibm.com bbb16707b2 #78728
r=pierre, sr=waterson
Change bool/true/false cases to PRBool/PR_TRUE/PR_FALSE
2001-05-08 14:19:01 +00:00
ftang%netscape.com 9501179328 fix #ifdef IBMBID bustage
change other.mUnicodeBidi to other->mUnicodeBidi
r=noone sr=onone
2001-05-08 08:13:12 +00:00
glazman%netscape.com 86e10e9db0 getComputedStyle was not implemented for text-align property; b=78709, r=harishd, sr=hyatt 2001-05-04 11:30:34 +00:00
pierre%netscape.com 74ffb14bf7 Fixed bloat metrics: added MOZ_COUNT_CTOR/MOZ_COUNT_DTOR to the style blobs. 2001-05-04 02:22:41 +00:00
jdunn%netscape.com 3866ca5116 Fixing tinderbox bustage
fixing per pierre's suggested patch on the n.p.m.b
r=pierre@netscape.com,jdunn@netscape.com
2001-05-03 20:37:06 +00:00
mkaply%us.ibm.com d55543cda7 OS/2 TB break - forgot a false 2001-05-03 18:05:27 +00:00
mkaply%us.ibm.com b4b92d9caf OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE 2001-05-03 16:09:42 +00:00
pierre%netscape.com 8c7ba4bba1 Changed 2 stray |bool|s to |PRBool| to make OS/2 happy. Thanks to dbaron. 2001-05-03 15:40:05 +00:00
pierre%netscape.com 08aac85e54 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson. 2001-05-03 13:20:48 +00:00
pierre%netscape.com 45e5ab78ac 78541 Typos in nsCSSStyleRule.cpp. Fix by sfraser, r=valeski. 2001-05-03 07:39:57 +00:00
pierre%netscape.com 2ae03292f4 74773 UMR in AccumulateCRC(). r=attinasi 2001-05-02 10:55:08 +00:00
pierre%netscape.com e9070a9f0a 14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie 2001-05-02 10:31:31 +00:00
pierre%netscape.com 8585a14bb1 66190 External style sheet with unrecognized charset is ignored / 63502 Content-Style-Type don't ignore parameters. r=attinasi/glazman 2001-05-02 10:24:33 +00:00
rbs%maths.uq.edu.au bce1ab71b4 Restore default fixed-font that was inadvertently changed b=76531 2001-05-02 07:40:37 +00:00
rbs%maths.uq.edu.au 651dbbfef2 Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst 2001-05-02 04:53:38 +00:00
blakeross%telocity.com bcb010be4c View source uses background from prefs and hardcoded text color (62678, patch by bzbarsky@mit.edu). r=dbaron sr=attinasi 2001-05-01 03:19:46 +00:00
dbaron%fas.harvard.edu 60db9f50dc Fix OS/2 bustage. |nsISupportsArrayEnumFunc| should not have |PR_CALLBACK|. 2001-04-28 04:30:42 +00:00
dbaron%fas.harvard.edu 33fd6335e4 Fix unneeded construction of |nsAutoString|s in |SelectorMatches| by pulling one out of a loop and rewriting matching of ^= and $= CSS3 selectors to remove the other. b=77063 r=glazman@netscape.com sr=attinasi@netscape.com
Fix O(N^2) cascading by replacing insertion into one large |nsISupportsArray| with appending into a hashtable (hashed by weight) of |nsISupportsArray| and then combining those arrays into the larger array.  b=77066  r=attinasi@netscape.com  sr=waterson@netscape.com
Reduce construction of |SelectorMatchesData| by retaining (so they can be used for matching other selectors) any new ones constructed in |SelectorMatchesTree| until the one originally passed to |SelectorMatchesTree| is destroyed.  b=77090  r=attinasi@netscape.com  sr=waterson@netscape.com
2001-04-28 02:16:16 +00:00
heikki%netscape.com 4095a51dde Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
disttsc%bart.nl 2bf96c5488 Bug 76531: "view source uses hard-coded pixel font size", author=Boris Zbarsky <bzbarsky@mit.edu>, r=rbs@maths.uq.edu.au, sr=attinasi 2001-04-26 10:09:06 +00:00
harishd%netscape.com d4272380d9 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
pierre%netscape.com 7e44a669bf #12386 "Matching of case sensitive attribute values should be case sensitive" sr=waterson 2001-04-18 04:36:52 +00:00
timeless%mac.com 074967ec72 fix Bugzilla Bug 75632 [FIX]Bad HTML <button> CSS causes jiggling when clicked
patch by bzbarsky@mit.edu r=rods, sr=attinasi
2001-04-18 02:56:12 +00:00