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

1837 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com f940144626 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu 8e8fb14ea0 Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa 2002-03-27 02:38:13 +00:00
sicking%bigfoot.com 058a33eded Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
kmcclusk%netscape.com 19f8d94b2c give an explicit height to <input type=file> elements when printing to prevent the input file control from expanding vertically to fill the entire page during printing and print preview bug 112156 r=rods sr=attinas a=asa 2002-03-26 21:36:22 +00:00
attinasi%netscape.com 23630d30e8 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
bryner%netscape.com 54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu e7a27b479e Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 01:08:17 +00:00
dbaron%fas.harvard.edu a68d8f9629 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:56:05 +00:00
caillon%returnzero.com 94df471169 Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa 2002-03-22 20:18:42 +00:00
dp%netscape.com aa74baaa2e bug 131249 Using arena for RuleHash r=dbaron@fas.harvard.edu,
sr=sfraser, a=asa
2002-03-22 06:28:16 +00:00
bryner%netscape.com 2a55a8bbfb Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase. 2002-03-21 07:33:51 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
bryner%netscape.com 65ba075a1d Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa. 2002-03-20 22:48:24 +00:00
bzbarsky%mit.edu e74dfd3b5a |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.
2002-03-19 22:38:08 +00:00
alecf%netscape.com 451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
dbaron%fas.harvard.edu 76bec44a9f Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.) 2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu 822db5374e Don't make the optimization of not calling the parent context's GetStyleData when there are 'em' or similar units for the 'font-size' property, where those units imply inheritance. b=131454 r=bzbarsky sr=hyatt a=asa 2002-03-19 01:32:16 +00:00
dbaron%fas.harvard.edu 21232a3675 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa 2002-03-19 01:29:20 +00:00
bzbarsky%mit.edu e18519e298 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa 2002-03-19 00:09:15 +00:00
bzbarsky%mit.edu 5965b731bf Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron
2002-03-18 05:08:23 +00:00
karnaze%netscape.com 773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
bzbarsky%mit.edu fafd4a486b "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron
2002-03-16 17:04:35 +00:00
dbaron%fas.harvard.edu 775467a042 Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739 2002-03-16 15:24:08 +00:00
bryner%netscape.com db8461403c Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan. 2002-03-13 10:12:33 +00:00
bzbarsky%mit.edu 28e6030278 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan
2002-03-13 02:33:09 +00:00
heikki%netscape.com bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +00:00
bryner%netscape.com a34c68fa0b Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa. 2002-03-12 21:49:23 +00:00
bzbarsky%mit.edu e5ff4dcaa4 Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa
2002-03-12 21:16:22 +00:00
karnaze%netscape.com 16016ee0cf bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov. 2002-03-12 15:35:52 +00:00
bzbarsky%mit.edu 5353b81526 Fix hang when style.cssText is set to an unrecognized value. Bug
129927, r=dbaron, sr=jst, a=roc+moz
2002-03-12 15:28:27 +00:00
mkaply%us.ibm.com 9353dc61cc #125432
r=pedemont, sr=blizzard, a=roc+moz
OS/2 only - use the web page font for entryfields, buttons, and lists since our chrome font is a bitmap font that can't be scaled.
2002-03-12 15:07:47 +00:00
bzbarsky%mit.edu 478aa74f47 Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
129469, r=caillon, sr=jst, a=roc+moz
2002-03-08 19:04:15 +00:00
dbaron%fas.harvard.edu b2a1159768 Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042. 2002-03-08 02:25:59 +00:00
dbaron%fas.harvard.edu e3bc7ee7fd Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa 2002-03-07 23:48:26 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu 1d0e067ff2 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz
2002-03-03 19:44:41 +00:00
dbaron%fas.harvard.edu 0db63d0d91 Fix typo in nsRuleNode::ClearCachedDataInSubtree so it only clears data associated with |aRule|. This fixes a crash since nsStyleContext::ClearStyleData didn't make the same mistake and clean up dangling pointers to the incorrectly deleted data. b=105619 r=bzbarsky sr=brendan a=shaver 2002-03-03 00:00:16 +00:00
bzbarsky%mit.edu 8ea594b9ba Make view-source a lot faster on bidi pages by breaking up the page into
multiple blocks.  Bug 86355, r=rbs, sr=jst, a=asa/shaver
2002-03-01 00:07:48 +00:00
rods%netscape.com 3b65bff5fb disable user-input for Print Preview
Bug 120745 r=dcone sr=attinasi a=asa
2002-02-26 03:30:51 +00:00
bzbarsky%mit.edu f6115a6997 Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver
2002-02-25 22:26:26 +00:00
cmanske%netscape.com a193d9c572 Fix selection of image on click, b=123727, r=brade, sr=kin, a=asa/drivers 2002-02-23 06:54:41 +00:00
timeless%mac.com 066b07bd71 Bug 126667 ../../../../dist/include/content/nsCSSDeclaration.h:657: warning: comparison is always true due to limited range of data type
r=bbaetz,pink sr=alecf a=roc+moz
2002-02-22 11:58:22 +00:00
bzbarsky%mit.edu 08d2ef88e2 Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz
2002-02-22 00:25:57 +00:00
bernd.mielke%snafu.de 5701a854e8 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz
2002-02-21 05:36:16 +00:00
dbaron%fas.harvard.edu 21048cb4cf Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc 2002-02-21 01:36:16 +00:00
alecf%netscape.com 66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
bryner%netscape.com 614ace3983 fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +00:00
smontagu%netscape.com 37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
bzbarsky%mit.edu b10874baee Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi
2002-02-19 02:27:38 +00:00
dbaron%fas.harvard.edu 977b087805 Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi 2002-02-19 02:11:57 +00:00
dbaron%fas.harvard.edu ae1eb32ae0 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 2002-02-19 02:09:06 +00:00
timeless%mac.com ded9284dcc Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi
2002-02-18 22:54:15 +00:00
dbaron%fas.harvard.edu ab05858951 Fix one more comment that uses "inherit" incorrectly. 2002-02-17 02:03:07 +00:00
dbaron%fas.harvard.edu 4459392c85 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 2002-02-17 01:53:40 +00:00
dbaron%fas.harvard.edu de5aace409 Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi 2002-02-16 16:50:45 +00:00
dbaron%fas.harvard.edu 8e0def5119 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 2002-02-16 16:24:25 +00:00
cbiesinger%web.de f9fef74165 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property
2002-02-16 13:16:10 +00:00
jshin%mailaps.org fffe4a1fb9 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
2002-02-15 09:21:08 +00:00
karnaze%netscape.com 860a0532c2 bug 125426 - terminate xul style data when writing regression data. sr=dbaron 2002-02-14 14:54:06 +00:00
bryner%netscape.com 88e7af4f86 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt. 2002-02-12 00:44:36 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 7fbffdf125 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
timeless%mac.com 7b1ab9998f Bug 33601�fixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf
2002-02-08 00:05:16 +00:00
pinkerton%netscape.com 52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
blakeross%telocity.com cd8e813edf 39070 - can't dnd images or <areas>. r=ben sr=hewitt 2002-02-03 00:06:12 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
pinkerton%netscape.com e6af3350ab twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser. 2002-01-29 21:10:57 +00:00
roc+%cs.cmu.edu c7b73c1a18 Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson 2002-01-27 07:53:27 +00:00
rods%netscape.com 00a2a4fa4d Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
hyatt%netscape.com 1966bb3a7e Remove debug hyatt code. r=danm, sr=brendan 2002-01-24 23:17:14 +00:00
bzbarsky%mit.edu 2b73f18d2a Make computed border-style and float be "none" by default. Bugs 120982
and 120965, patch by Christopher Aillon <caillon@returnzero.com>,
r=bzbarsky, sr=jst
2002-01-24 21:19:21 +00:00
blythe%netscape.com cf9003cb72 Fix bug 120422
r=dbaron,rs=hyatt
Do not delete ref counted object.
2002-01-24 18:28:25 +00:00
bzbarsky%mit.edu 149f8f7ffc computed list-style-image should be "none" if there is no image. Bug
120719, r=hixie, sr=attinasi
2002-01-24 04:22:59 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
waterson%netscape.com ec88e5c87e Bug 86276. Allow :-moz-anonymous-block and :cell-content to apply in all namespaces. r=dbaron, sr=attinasi, a=blizzard 2002-01-16 23:41:54 +00:00
dbaron%fas.harvard.edu 15d7523e7b Fix windows bustage. 2002-01-16 02:04:20 +00:00
dbaron%fas.harvard.edu 0260274dea Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration. 2002-01-16 01:34:47 +00:00
blythe%netscape.com 65cd19adda Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
pinkerton%netscape.com 82e94c147d nsITheme impl on mac. r=sfraser/sr=hyatt. bugs 115731, 115733, 115735, 115737, 115740, 115749, 115760, 115763 2002-01-15 14:59:21 +00:00
attinasi%netscape.com c4ce5b9e2e Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
bzbarsky%mit.edu 1f4fa08671 fix computed style values for background and border properties on
tables.  Bug 98159, r=karnaze, sr=attinasi
2002-01-14 19:43:59 +00:00
pierre%netscape.com d72aeca554 60325 "<hr> line-height problem caused by large font size". Set the HR font-size to -moz-initial r=glazman/sr=attinasi 2002-01-14 13:27:02 +00:00
bzbarsky%mit.edu 7ef1d1f644 Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst. 2002-01-13 04:03:52 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
bzbarsky%mit.edu 6d62f6f3cf Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052
2002-01-11 00:15:55 +00:00
bzbarsky%mit.edu 916ec2f493 Adding nsIDOMRect implementation to support computed clip. Not part of
build yet.  Bug 116032, r=peterv, sr=jst
2002-01-11 00:09:01 +00:00
brade%netscape.com 35e04c55c1 remove unused statics kCSSBreaksSID and kCSSPageSID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:08:36 +00:00
brade%netscape.com 7a12e1b006 remove unused static kISupportsIID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:07:59 +00:00
bzbarsky%mit.edu a37cc134f1 Fix assertions when getting computed -moz-outline-width and
-moz-marker-offset and enable these in Inspector.  Bug 114086, r=fabian,
sr=attinasi
2002-01-10 02:20:17 +00:00
rbs%maths.uq.edu.au 11695e8870 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson 2002-01-10 00:04:35 +00:00
jst%netscape.com d8a5eb795b Fixing bug 118202. Make <link href='http://...'> send a HTTP referrer to the server. r=bzbarsky@mit.edu, sr=darin@netscape.com 2002-01-09 05:56:43 +00:00
hyatt%netscape.com fea61336ed Fix for hover/active feedback on radio/checkbox/menulist in WinXP theme. r=hewitt, sr=ben 2002-01-09 01:26:16 +00:00
dbaron%fas.harvard.edu c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
hyatt%netscape.com 03e7fc057f Fixing 115750, support for tabpanels and tabs in WinXP, r=bryner, sr=blake 2002-01-06 00:22:24 +00:00
hyatt%netscape.com a9a8f30db3 Fix for 115750, WinXP tab support. r=bryner, sr=blake 2002-01-05 23:44:39 +00:00
hyatt%netscape.com d749d59e46 Fix for 115748, r=bryner, sr=sspitzer 2002-01-05 00:15:48 +00:00
hyatt%netscape.com e3f61bf44f Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2002-01-04 00:28:01 +00:00
hwaara%chello.se 99af556ca2 #117050, fix bustage for embeddors who turn XUL off.
r=dbaron, sr=blake
2001-12-29 22:07:54 +00:00
rbs%maths.uq.edu.au 2b509887f6 Whitespace to correct the bug number in my earlier checkin comments: should be 105297 (instead of 105219) 2001-12-21 22:42:46 +00:00
rbs%maths.uq.edu.au 75c5e158b8 Make unchecking `Allow documents to use other fonts' to work in a simpler way, b=105219, r=dbaron, sr=attinasi 2001-12-21 22:25:58 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
glazman%netscape.com c83cc0fa11 oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst 2001-12-20 11:21:01 +00:00
glazman%netscape.com be01b45922 computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst 2001-12-20 11:15:32 +00:00
hewitt%netscape.com 6e97fb640d 115804 - nsStyleBorder::CalcDifference not accounting for mBorderColors, r=ben, sr=hyatt 2001-12-19 11:59:31 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
bzbarsky%mit.edu 0eca2e97bc Implement (turn on, really) SetCssText for style declarations. Bug
91370, r=peterv, sr=jst
2001-12-15 04:33:11 +00:00
sfraser%netscape.com 169c79e50d Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:10:42 +00:00
sfraser%netscape.com 24653793a6 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:07:43 +00:00
peterlubczynski%netscape.com 38bb699d49 Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan 2001-12-14 03:47:02 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
karnaze%netscape.com 11af6aef5c bug 60365 - have caption inherit margin-left, margin-right, align=center from table. sr=attinasi, r=alexsavulov 2001-12-11 21:28:47 +00:00
hewitt%netscape.com 9f8c29037d 114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt 2001-12-11 11:13:53 +00:00
hewitt%netscape.com c580303351 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
hewitt%netscape.com 12a8133f1a 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt 2001-12-11 11:11:09 +00:00
shanjian%netscape.com fdf39e6da8 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
bzbarsky%mit.edu d58691b835 Add an assertion to the CSS loader for cases when sheet decoding fails.
stopgap measure for bug 106843, r=pierre, sr=attinasi
2001-12-11 02:48:49 +00:00
dp%netscape.com 1a3b0b8915 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt
2001-12-09 16:14:02 +00:00
dbaron%fas.harvard.edu 8c0a6f79f1 Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver 2001-12-08 22:46:21 +00:00
jaggernaut%netscape.com 83839f350e BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst 2001-12-08 07:08:38 +00:00
attinasi%netscape.com bfbe71bf7e Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin 2001-12-07 00:38:27 +00:00
bzbarsky%mit.edu 5c40228231 Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu 0a6833ac79 Fix computed positioning style for static elements and computed
z-index.  Bug 109523, r=glazou, sr=attinasi
2001-12-06 21:15:54 +00:00
seawood%netscape.com 59945f6ecb Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.
2001-12-06 10:10:15 +00:00
hyatt%netscape.com 11d99aab43 Fix smoketest blocker. 2001-12-05 19:46:43 +00:00
bzbarsky%mit.edu 616ced304b Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt
2001-12-05 14:06:34 +00:00
hyatt%netscape.com 91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
alecf%netscape.com 917e1454a4 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
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