bzbarsky%mit.edu
279ffda515
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
roc+%cs.cmu.edu
cb32a0f906
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
d3867266eb
Make quirk stylesheet assertion |#ifdef DEBUG_dbaron| until I figure out why it's firing. b=147691 r=hwaara sr=waterson
2002-06-03 18:26:18 +00:00
dbaron%fas.harvard.edu
8d231a5fae
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
2002-05-23 23:09:31 +00:00
dbaron%fas.harvard.edu
8e67539937
Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson
2002-04-15 22:28:54 +00:00
dbaron%fas.harvard.edu
07103ecbea
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
2002-04-11 03:49:30 +00:00
hyatt%netscape.com
08d1853958
Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa
2002-04-05 08:05:33 +00:00
dbaron%fas.harvard.edu
b350a0fd0f
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +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
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
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
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
0ec3f045d8
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
2001-12-17 22:51:39 +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
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
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
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
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
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
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +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
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
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
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
hyatt%netscape.com
62d3de24fd
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +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
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
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
84f1ff48ed
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +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
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
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +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
attinasi%netscape.com
075cacae44
Fix for problem where a StyleContext changes its CRC and does not update the styel context cache. b=73553 r=karnaze sr=waterson
2001-04-14 14:06:27 +00:00
hyatt%netscape.com
88ce9916be
Fix for 73695. r=danm, sr=waterson
2001-03-29 01:30:03 +00:00
attinasi%netscape.com
06ff9d4459
Avoid checking for duplicates when adding a context to the cache (perf. reasons). b=72217, r=jag, sr=brendan
2001-03-28 19:58:51 +00:00
hyatt%netscape.com
6d784c14e8
Fix for 67739. r=pierre,attinasi sr=ben
2001-02-15 21:24:47 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
buster%netscape.com
6a93e50850
bug 56432 ()
...
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
b2c258ed3c
Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627
2001-01-02 23:13:49 +00:00
mkaply%us.ibm.com
6767d8308d
OS/2 TB breakage
...
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi%netscape.com
e3de75832c
Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com
2000-12-21 23:34:44 +00:00
dbaron%fas.harvard.edu
638b1b16f4
Fix leak of an nsIURI (the URL of the quirk stylesheet). Patch from inaky.gonzalez@intel.com. r=attinasi@netscape.com sr=brendan@mozilla.org b=43656
2000-11-08 03:13:53 +00:00