bzbarsky%mit.edu
c9db7359a7
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
8801e97e8f
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
cb01f2577b
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
bzbarsky%mit.edu
23e8590dc2
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
dbaron%dbaron.org
9b78be8799
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
4d14f9afbe
Fix windows bustage. b=188803
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
440c73cd8f
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
bsmedberg%covad.net
a77fdd7bd4
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
dbaron%dbaron.org
e6cfb79c72
OOM check. r+sr=bzbarsky b=188803
2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
83af5aded6
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
47ed1de93c
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
caillon%returnzero.com
ba75de772b
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
dbaron%dbaron.org
f3a00bc53b
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
bryner%netscape.com
4d3b825ffa
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
bc6cee4639
Remove lines that do nothing except leak. r+sr=bzbarsky
2003-04-10 23:26:36 +00:00
alecf%netscape.com
925955c81d
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
alecf%netscape.com
16af458ceb
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
c4ea07bc53
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
roc+%cs.cmu.edu
7770b1327a
Bug 195883. %-values are not valid for '-moz-opacity'.
2003-03-08 03:08:25 +00:00
dbaron%dbaron.org
3c6ce196c4
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
2003-03-06 19:07:22 +00:00
peterv%netscape.com
b3d575fd9b
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
cbiesinger%web.de
23130b6148
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
ead3cd7ea8
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bryner%netscape.com
26d5c6ff25
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
329252c847
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
peterv%netscape.com
eef263b19e
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu
ca4ad476d2
Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
2002-11-12 15:17:07 +00:00
bzbarsky%mit.edu
48bad9f3d8
Make GetImportantRule and GetISupportsValue return already_AddRefed.
...
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
caillon%returnzero.com
7871a3af0d
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dougt%netscape.com
c5e8f896cd
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
c0c4d81870
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
dbaron%fas.harvard.edu
1170156805
Remove unused Equals and HashValue methods (methods that were once on nsIStyleRule). b=163058 r=hyatt sr=kin
2002-08-20 19:40:23 +00:00
dbaron%fas.harvard.edu
232e591f4c
Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
2002-08-16 11:52:20 +00:00
dbaron%fas.harvard.edu
087fa15482
Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky
2002-08-14 13:16:35 +00:00
dbaron%fas.harvard.edu
45592f7692
Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
2002-08-14 12:34:39 +00:00
seawood%netscape.com
f9479b8517
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
attinasi%netscape.com
159525bdf5
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
dbaron%fas.harvard.edu
2407cfe7f8
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
bzbarsky%mit.edu
5cd7f2eea8
Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa
2002-03-19 00:09:15 +00:00
karnaze%netscape.com
75c5058a42
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
blythe%netscape.com
2b95de033b
Fix bug 120422
...
r=dbaron,rs=hyatt
Do not delete ref counted object.
2002-01-24 18:28:25 +00:00
bzbarsky%mit.edu
f2a9512382
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
dbaron%fas.harvard.edu
a0d8e498d3
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
3a5aa3eab9
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
brade%netscape.com
4ff2f15408
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
hyatt%netscape.com
d4065d8e54
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
6ab111155d
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
bbaetz%cs.mcgill.ca
43806ea8b2
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