Commit Graph

1217 Commits

Author SHA1 Message Date
dbaron%dbaron.org
46b12ccdd6 Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky 2003-03-13 15:30:32 +00:00
dbaron%dbaron.org
3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu
78169362cd Fix bug 197090; foo.style.background="" would throw instead of just doing
nothing.  r+sr=dbaron
2003-03-12 21:54:50 +00:00
roc+%cs.cmu.edu
84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
alecf%netscape.com
5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dbaron%dbaron.org
42cb723529 Fix dynamic style changes resulting from change to href attribute on HTML links. b=194972 r+sr=bzbarsky 2003-03-06 19:19:55 +00:00
dbaron%dbaron.org
636a18962f 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
bc210f1afe 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
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
dbaron%dbaron.org
09cb4b87a2 Fix bustage. b=167415 2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu
a47e2fa451 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
9c70577820 Make the parser recycling list in the loader a class static. Bug 190658,
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00
dbaron%dbaron.org
2a5b76db35 Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
dbaron%dbaron.org
031931bbfe Make our ignoring of properties for :first-line and :first-letter a lot closer to the spec (although still buggy). b=103189 r+sr=bzbarsky 2003-02-22 19:20:16 +00:00
dbaron%dbaron.org
a5105c6ec7 Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky 2003-02-22 19:15:46 +00:00
dbaron%dbaron.org
4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd 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
bzbarsky%mit.edu
98ad5a7317 Fix typo leading to infinite recursion crash. Bug 191229, r=timeless/caillon,
sr=jst, a=asa
2003-01-30 02:38:48 +00:00
caillon%returnzero.com
b58b743a90 Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
cbiesinger%web.de
b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com
8d9098a65a 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
bzbarsky%mit.edu
7f8f4fdbfc Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches.  Bug 185891, r=sicking, sr=roc+moz
2003-01-17 04:20:03 +00:00
dbaron%dbaron.org
f91cb66f02 Apply the quirk that simple selectors of the form ':hover' apply only to links to those of the form '.class:hover' as well. b=169078 r+sr=bzbarsky 2003-01-14 21:50:27 +00:00
dbaron%dbaron.org
1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
bzbarsky%mit.edu
89a03780aa fix bustage.... 2003-01-13 08:02:17 +00:00
bzbarsky%mit.edu
4363ff97b9 Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron 2003-01-13 07:19:49 +00:00
caillon%returnzero.com
8884383f05 use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600 2003-01-11 10:28:37 +00:00
dbaron%dbaron.org
d8345512c5 Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky 2003-01-10 19:49:24 +00:00
dbaron%dbaron.org
e91def8b7a Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky 2003-01-10 15:55:27 +00:00
bryner%netscape.com
7f0488eb18 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
48544669f3 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
bzbarsky%mit.edu
4cf5754471 fix a crash that could happen if a child import met with an error (eg failed to
open a channel).  Bug 186606, r=sicking, sr=peterv
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
0a01939a36 asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv 2003-01-07 00:37:19 +00:00
sicking%bigfoot.com
c134137876 Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz
2003-01-06 14:55:13 +00:00
bzbarsky%mit.edu
f83b00920f Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin
2003-01-05 19:00:18 +00:00
dbaron%fas.harvard.edu
a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
peterv%netscape.com
d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
3399eea621 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
e81697ce7c relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
42d3fc3e74 Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
f3c5ef51ac Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
f6f9e3cc70 Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv
2002-12-11 00:28:47 +00:00
caillon%returnzero.com
342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
bzbarsky%mit.edu
0bd1bf929d Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
82b60aea48 I meant 8192 and typed 8092. r/sr/a=brendan 2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
1866641871 UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
02dff0ba15 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
229d7e68c8 Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu
13b5c15201 ugh. Forgot this one line... 2002-12-03 08:29:35 +00:00