dbaron@fas.harvard.edu
9029a13547
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
367cc93c8f
- 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
fc6d5e4b32
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
attinasi@netscape.com
04335c106c
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
edc54e6926
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
389657361a
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
15359e7f48
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
b13d06af86
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
d729f34c87
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
027a59a148
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
6b4c727ec3
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
09a8b868a0
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
f89422ce49
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt@netscape.com
0c8a8e6270
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
d0430dd000
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
gerv@gerv.net
5ba3ff1a0d
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
bzbarsky@mit.edu
735787cae3
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
f9091f0d03
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
7a898f35d2
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
dbaron@fas.harvard.edu
4c647ea08a
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
b1c7a8c105
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
f00f36f466
backing out fix for 88681 due to merge conflicts
2001-08-01 14:53:15 +00:00
glazman@netscape.com
862c2ba825
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
4aabcd756f
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
dbaron@fas.harvard.edu
20d7bc6052
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
4bb638add5
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
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
pierre@netscape.com
e26b975ec8
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
5cdeeabf40
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
147bb5db46
Fix for 73695. r=danm, sr=waterson
2001-03-29 01:30:03 +00:00
attinasi@netscape.com
6e83df59c7
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
5c0a41d7fe
Fix for 67739. r=pierre,attinasi sr=ben
2001-02-15 21:24:47 +00:00
dbaron@fas.harvard.edu
15267f2b5c
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
be2331b1ae
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
c0ed0d0271
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
1f6517f92d
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
291aef82a1
OS/2 TB breakage
...
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi@netscape.com
424225280e
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
21ad843c26
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
warren@netscape.com
0462ea4ce8
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren@netscape.com
4d70af7640
Fixing printf problem with MOZ_TIMER_DEBUGLOG
2000-10-28 10:11:27 +00:00
warren@netscape.com
7730ce0cd3
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
hyatt@netscape.com
7c151863ac
Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
2000-08-12 06:28:02 +00:00
dbaron@fas.harvard.edu
4c226f3f80
Add new style classes to the leak/bloat logs. This should increase the bloat statistics. r=attinasi
2000-06-23 21:57:39 +00:00
attinasi@netscape.com
03f46854ac
Eliminated warnings from recent checkin (trivial changes).
2000-06-22 05:14:32 +00:00
attinasi@netscape.com
741d7cba07
Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson
2000-06-21 20:44:59 +00:00
attinasi@netscape.com
00fed3cdd3
Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
2000-06-02 21:45:06 +00:00
hyatt@netscape.com
0aa1acb7e8
Fixing bugs in skin switching.
2000-05-27 20:03:14 +00:00
shaver@mozilla.org
c7f61aca9f
Significantly reduce the amount of time we blow on style reresolution by
...
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those. In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away. Fixed 38378, r=brendan, booyah.
Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code. Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
attinasi@netscape.com
5818fabee1
Implemented Style Size Dump. r=rickg b=26565
2000-03-31 07:08:36 +00:00