bzbarsky%mit.edu
3f0dcdc41f
negative border widths are not legal in CSS. bug 167657, r=glazou,
...
sr=dbaron.
2002-09-11 01:47:25 +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
jst%netscape.com
c1a26832ce
Whitespace cleanup, no code changes. r/sr/a=me!
2002-09-07 01:48:39 +00:00
caillon%returnzero.com
4a3af11c3c
Remove an unneeded check: unsigned ints are always >= 0.
...
Bug 166364; r=sicking; sr=jst
2002-09-04 02:15:35 +00:00
axel%pike.org
88b8067b94
fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me
2002-08-28 12:18:26 +00:00
bzbarsky%mit.edu
389100cc23
Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
...
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream. Use this in the CSSLoader instead of
allocating a single big buffer for the sheet. Clean up the way we look
for the @charset charset in the sheet data.
r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.
2002-08-27 23:47:25 +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
a77fbd8934
Convert mapped attribute table from nsHashtable to pldhash. b=148368 sr=bzbarsky r=sicking
2002-08-17 12:17:03 +00:00
dbaron%fas.harvard.edu
752887953b
Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky
2002-08-16 23:00:25 +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
8c9dc77d09
Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky
2002-08-16 11:29:20 +00:00
bzbarsky%mit.edu
e45e88ea9c
Clean up the mLanguage string. Bug 35768 add-on, rs=dbaron, r=sicking
2002-08-14 22:37:33 +00:00
dbaron%fas.harvard.edu
758b090423
Remove extraneous line pointed out by peterv. b=35768
2002-08-14 14:23:56 +00:00
dbaron%fas.harvard.edu
67ee818e6d
Attempt to fix page load regression. b=35768
2002-08-14 14:01:39 +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
dbaron%fas.harvard.edu
bc1f6b8829
Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
2002-08-11 17:56:15 +00:00
seawood%netscape.com
8ae6c40f5d
Removing old nmake build makefiles. Bug #158528 r=pavlov
2002-08-10 07:55:43 +00:00
glazman%netscape.com
2b671a39d9
fixing regression in !important handling introduced by fix for bug 157913; b=161685, r=rods, r=timeless, sr=dbaron, sr=bzbarsky
2002-08-08 17:40:20 +00:00
seawood%netscape.com
fdafe18afe
Remove unused defines:
...
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG
Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner
_IMPL_NS_VIEW
Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com
1102b2ae34
fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
...
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
bzbarsky%mit.edu
a2f7d4e2ea
Fix bustage....
2002-08-06 06:48:31 +00:00
bzbarsky%mit.edu
404144b4a7
Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron
2002-08-06 05:42:44 +00:00
bzbarsky%mit.edu
0c34ef8a78
Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron.
2002-08-06 05:26:41 +00:00
bzbarsky%mit.edu
cdf9548176
Make .style and computed style format rgb() values the same way. Bug
...
160247, r=peterv, sr=jst
2002-08-06 05:18:21 +00:00
bzbarsky%mit.edu
21f46def80
dynamically adding @import rules does not trigger all the updates it
...
should. Bug 160065, r=peterv, sr=dbaron
2002-08-06 05:08:47 +00:00
bzbarsky%mit.edu
613e24b86a
Bug 157913. Priority is "important", not "!important". r=glazman,
...
sr=dbaron
2002-08-06 03:21:14 +00:00
alecf%netscape.com
ab7922b195
fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
...
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
dbaron%fas.harvard.edu
148cdd393c
Turn on CSS parser error reporting in DEBUG builds. Make unexpected-EOF error messages more informative. b=155855 r=bzbarsky sr=ben
2002-07-09 04:28:58 +00:00
dbaron%fas.harvard.edu
f3127870dc
To make maintainance easier and allow more data-as-data rather than data-as-code, create a preprocessable list of style structs and use it in many places where we previously listed all (or half) of the style structs. b=155745 r=bzbarsky sr=waterson
2002-07-09 04:10:10 +00:00
bryner%netscape.com
122b978d08
Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
2002-07-08 07:56:50 +00:00
caillon%returnzero.com
44f459e1ad
* Implement CSSValueLists and computed -moz-border-{side}-colors
...
* Get the computed -moz-binding directly from the style context which is faster than getComputedStyle
* Speed up computed style by not QI'ing so much
* Cache the computed style object so we don't keep re-alloc'ing memory for it.
* Shrink ROCSSPrimitiveValue.
* Don't get computed style of non-existant properties.
* Use nsSize instead of nsRect when we only care about height and width
* Other random code cleanup of computed style
Bug 155525
r=bzbarsky
sr=jst
2002-07-08 07:11:59 +00:00
seawood%netscape.com
a384861cd4
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
bzbarsky%mit.edu
dea6a87b86
Minor cleanup of the fix for bug 122557. r=dbaron, sr=jst.
2002-07-03 00:18:33 +00:00
seawood%netscape.com
8f6f1756ce
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
e3fe67b910
Guess at fixing orange builds. b=148046
2002-07-02 03:56:08 +00:00
dbaron%fas.harvard.edu
60c740faf6
For stylesheet loads with text/css or empty advisory type, end error message to error console when we don't load a stylesheet (standards mode) or warning message when we do load it (quirks mode). b=154942 r=bzbarsky sr=waterson
2002-07-02 03:11:57 +00:00
dbaron%fas.harvard.edu
96a61f960b
Allow page to display when @import-ing a malformed URL by incrementing mPendingChildren only if LoadSheet succeeds. b=148046 r=bzbarsky sr=waterson
2002-07-02 02:34:57 +00:00
bzbarsky%mit.edu
fc9fecde6b
Make the scriptloader check the HTTP status and not load 404 pages and
...
such as scripts. Bug 139040, r=jst, sr=rpotts
2002-07-01 23:12:13 +00:00
dbaron%fas.harvard.edu
2bf216c9e2
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
d558717301
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
caillon%returnzero.com
6cd819f159
Bug 153044. Computed style implementation for some -moz-border-radius properties.
...
r=bzbarsky
sr=jst
2002-06-21 06:42:21 +00:00
bzbarsky%mit.edu
da51a65da5
Check the status code of HTTP channels before blindly loading the
...
sheet. Bug 112644, r=bbaetz, sr=darin
2002-06-18 02:46:11 +00:00
mstoltz%netscape.com
76d3ee501f
133170 - Need to re-check host for security on a redirect after a call to
...
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc
2002-06-14 23:54:18 +00:00
glazman%netscape.com
3070dc5fac
Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
...
b=148501, r=brade, r=bzbarsky, sr=jst
2002-06-14 12:36:43 +00:00
glazman%netscape.com
37cf5acef5
fixing crasher due to outbounds index in nsCSSStyleSheet.cpp; b=151198, r=brade, sr=jst
2002-06-13 08:29:51 +00:00
mstoltz%netscape.com
322df16c00
Backing out fix for 135267 - this patch requires another change that hasn't gone in yet.
2002-06-12 22:49:14 +00:00
mstoltz%netscape.com
e25f992804
Fixing 135267 - don't allow access to style rules loaded from a different
...
host. r=dveditz, sr=scc.
2002-06-12 21:20:17 +00:00
dbaron%fas.harvard.edu
688ef92fd4
Convert the 4 tables of the RuleHash from nsHashtable to pldhash. Encapsulate the differences between tables, and the quirks/strict differences within the id and class tables, in the 6 sets of hashtable ops. Remove mCaseSensitive member and related code from AtomKey and remove nsInt32Key completely. Null-terminate lists of RuleValues rather than using a special mEndValue, and build the lists in the reverse order (reversing the meaning of their index). Store universal rules in their own list rather than using magic key. b=112318 sr=waterson r=brendan
2002-05-29 00:49:44 +00:00