caillon%returnzero.com
150adb2e29
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu
f3ef614ee5
Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
...
223155, r+sr=dbaron
2003-10-30 02:19:15 +00:00
bzbarsky%mit.edu
33ca8d21d2
Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
...
223746, r+sr=dbaron
2003-10-30 02:06:12 +00:00
timeless%mozdev.org
98152b3898
Bug 124218 if kCSSRawKeywords gets out of sync with eCSSKeyword_COUNT nsCSSKeywords::AddRefTable might crash in DEBUG code
...
r=bz sr=bz
2003-10-30 01:59:15 +00:00
dbaron%dbaron.org
a0d72c9110
Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky
2003-10-30 01:51:00 +00:00
dbaron%dbaron.org
e29417ff7f
Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky
2003-10-30 01:45:37 +00:00
dbaron%dbaron.org
ec0bfea4ea
Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky
2003-10-30 01:40:33 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
44da342b5c
Fix handling of id attrs to not assume that they are named "id" as much. Bug
...
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
uid502
d521946094
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
f384166efa
Create a mozAutoDocUpdate class to handle automatically calling
...
BeginUpdate/EndUpdate on documents. Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns. Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu
7e19a9767b
Add pref for the default :active styling. Bug 142163, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org
b37db7c94f
Forgot to address review comment. b=221531 r+sr=bzbarsky
2003-10-14 21:06:58 +00:00
dbaron%dbaron.org
56fc1c9dc1
Miscellaneous cleanup of selector matching code:
...
* remove extra |if| around loop, and convert it from |while| to |for|.
* remove extra test for |result|
* rename |curdata| -> |prevdata| and |newdata| -> |data|.
* use |IsContentOfType| instead of |GetTag|
b=221531 r+sr=bzbarsky
2003-10-13 21:54:33 +00:00
uid502
7eecd9a0ef
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu
641223fdd9
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu
6a4a07fada
Better output on null URIs.
2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu
d15e9d5a22
Fix debug DumpRegressionData method to not crash on null uris for things like
...
mBinding, mBackgroundImage, etc
2003-10-06 02:16:20 +00:00
dbaron%dbaron.org
96fc11cf66
Add empty constructor to fix Sun compiler bustage. b=221187 Patch from Harshal Pradhan <keeda@hotpop.com>. r+sr=dbaron
2003-10-04 16:25:55 +00:00
dbaron%dbaron.org
0a21971808
Missed CalcDifference changes in previous patch. r+sr=bzbarsky b=113173
2003-10-04 06:36:33 +00:00
bzbarsky%mit.edu
a972a3e501
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
71f6aee8cf
Fix DEBUG bustage. b=113173
2003-10-02 02:58:40 +00:00
dbaron%dbaron.org
5cce92dc2a
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
stephend%netscape.com
f9e026a7da
Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz
2003-09-28 06:20:24 +00:00
dbaron%dbaron.org
8ae7b198b9
Spelling too. b=220464
2003-09-28 05:39:03 +00:00
dbaron%dbaron.org
43995a65d9
Fix 80th column violations in code that I just reindented. b=220464
2003-09-28 05:35:25 +00:00
dbaron%dbaron.org
80185d0dbb
Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky
2003-09-28 05:30:09 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
02841a0db4
Make charset-detection code work with just a BOM (no @charset rule) in the
...
sheet. Bug 218915, r=smontagu, sr=dbaron
2003-09-25 05:57:28 +00:00
bzbarsky%mit.edu
92a98432ec
Make <select size="0"> act like <select size="1">, and some tweaks to make
...
<select size="1" multiple> work better. Bug 182681, patch idea from
the_great_spam_bin@yahoo.com (Ari), r=bryner, sr=dbaron
2003-09-25 05:44:51 +00:00
bzbarsky%mit.edu
622947d710
Make DOM CSS declarations smaller by mRefCnt, since they are refcounted
...
together with their DOM rules (except for inline style). Bug 215735,
r+sr=dbaron
2003-09-24 03:34:27 +00:00
dbaron%dbaron.org
8aa5fdd615
Fix --disable-xul bustage. b=219058
2003-09-22 23:52:16 +00:00
dbaron%dbaron.org
3e6e65d074
Allow list numbering to work on elements with 'overflow'. b=219716 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky
2003-09-22 22:07:48 +00:00
dbaron%dbaron.org
14ff1fa0fe
Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky
2003-09-21 05:21:40 +00:00
dbaron%dbaron.org
c49da48965
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
2003-09-16 22:09:18 +00:00
dbaron%dbaron.org
506e1cf947
Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
2003-09-13 19:18:52 +00:00
bsmedberg%covad.net
0568e675fc
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
2fcdb4e2d5
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
bzbarsky%mit.edu
59d4caaee1
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
2003-08-11 18:16:48 +00:00
roc+%cs.cmu.edu
0b8cd870e1
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
rbs%maths.uq.edu.au
408bf58f3f
Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron
2003-08-05 02:07:14 +00:00
bzbarsky%mit.edu
9aa115b961
Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron
2003-07-30 23:45:34 +00:00
caillon%returnzero.com
a9e2dece76
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
e2dae4d2f9
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
93aa1eeb86
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
2003-07-28 21:09:56 +00:00
bsmedberg%covad.net
01ee486155
Fix assertion from bug 211470, rs=bz
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3d0c40f387
Forgot a review nit from bug 211470.
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
279d0db1f7
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
2003-07-27 15:20:11 +00:00
bzbarsky%mit.edu
d05c67bce3
Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
...
r+sr=dbaron
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
95899387f6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
9a4b8706ea
Remove unused variable.
2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
d0666152a5
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
jaggernaut%netscape.com
6ab6643eee
Fix bustage
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
9819e5e8fa
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:40:43 +00:00
bzbarsky%mit.edu
aad8c26a95
Fixing build bustage.
2003-07-18 02:00:01 +00:00
caillon%returnzero.com
7495519180
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
840b81c0cd
Make the URI of a sheet be its final URI after all the redirects, not the URI
...
linked to from the original document. Bug 96858, r+sr=dbaron
2003-07-18 00:35:49 +00:00
jaggernaut%netscape.com
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
0f8da4d057
A little selector matching cleanup. b=212603 r+sr=bzbarsky
2003-07-13 23:09:10 +00:00
dbaron%dbaron.org
d85698fd40
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
dbaron%dbaron.org
2fec18446c
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
2003-07-11 20:44:25 +00:00
dbaron%dbaron.org
296a055325
Attempt to fix warning by ensuring one path is always used, even for invalid ids. b=210550 r+sr=bzbarsky
2003-07-11 20:42:59 +00:00
dbaron%dbaron.org
35a6c43f33
Convert jump tables to if-else trees to avoid the performance cost of function pointers. b=210550 r+sr=bzbarsky
2003-07-09 03:46:27 +00:00
bzbarsky%mit.edu
4ee83f7ab9
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
2003-07-09 01:48:20 +00:00
jaggernaut%netscape.com
6ca349f43f
Bug 210834: Bogus comparison in nsCSSParserImpl::ParseURL. r=bzbarsky, sr=jst
2003-07-08 11:49:48 +00:00
bzbarsky%mit.edu
3a26daf50b
Update comments to reflect the fact that there is no longer a change hint
...
passed to the macros.
2003-07-08 07:12:17 +00:00
bzbarsky%mit.edu
fbbd9fb60e
This line should not have snuck in.
2003-07-07 22:03:32 +00:00
bzbarsky%mit.edu
b2ba25b6fd
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
0c5dc097d7
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu
10600c0acd
Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
...
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968). Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug). Patch in bug 62843. r+sr=dbaron
2003-07-04 01:33:10 +00:00
bzbarsky%mit.edu
0b0c3f7646
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
dbaron%dbaron.org
29254c752a
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
b10e90f02b
Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky
2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu
fd57f310f1
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org
c00fbe09c4
Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky
2003-06-30 21:48:56 +00:00
dbaron%dbaron.org
97c994908a
Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky
2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
ef811ed02b
Fix crash bug 209575 by ensuring that mDeclaration is never null. Remove unneeded null checks. r+sr=bzbarsky
2003-06-30 21:31:25 +00:00
dbaron%dbaron.org
a835d37852
Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
2003-06-27 21:06:45 +00:00
dbaron%dbaron.org
1ce98378e3
Fix windows bustage. b=188803
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
06bb24f863
Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
6a1ab46ff2
Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky
2003-06-24 05:34:30 +00:00
bzbarsky%mit.edu
61a6512de2
Fix matching when attribute selectors with "*" as a namespace are involved.
...
Bug 210314, r+sr=dbaron
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu
f75f9017d9
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
bzbarsky%mit.edu
46701a74ea
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
jshin%mailaps.org
d208f051a7
bug 206379 : additional patch : get rid of ResolveCharset() (static) and
...
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
2003-06-23 05:04:43 +00:00
dwitte%stanford.edu
b444fcb403
removing some unused default ctors now that nsDerivedSafe can handle it.
...
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
jst%netscape.com
947ba67a9d
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
2003-06-21 00:26:28 +00:00
bzbarsky%mit.edu
f6e49f740f
Check that we are HTML, in addition to checking namespace, before going
...
case-insensitive. Bug 209271, r+sr=dbaron
2003-06-20 20:23:17 +00:00
dbaron%dbaron.org
51e6755ccd
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +00:00
mkaply%us.ibm.com
e0dae80908
#188071
...
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow
2003-06-18 20:47:40 +00:00
dbaron%dbaron.org
146a7a98ed
OOM check. r+sr=bzbarsky b=188803
2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
fe7914e2c9
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
dbaron%dbaron.org
fb04d1df25
Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz
2003-06-17 18:01:51 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
4b4e411eac
Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst
2003-06-17 16:22:51 +00:00
aaronl%netscape.com
fccde7c7eb
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
dbaron%dbaron.org
39d390d27f
Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu
e49f24690b
CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
...
r+sr=dbaron
2003-06-14 20:44:26 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00