Commit Graph

1675 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
f060ebb468 Fix bustage.... 2002-08-06 06:48:31 +00:00
bzbarsky%mit.edu
3d9601368a Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron 2002-08-06 05:42:44 +00:00
bzbarsky%mit.edu
affd9fbf49 Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron. 2002-08-06 05:26:41 +00:00
bzbarsky%mit.edu
e74e38ec29 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
485200387c 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
7437096b69 Bug 157913. Priority is "important", not "!important". r=glazman,
sr=dbaron
2002-08-06 03:21:14 +00:00
caillon%returnzero.com
0a66989320 Bug 160573. Fix a CSS parser warning. Patched by Olivier Cahagne <cahagn_o@epita.fr> r=caillon sr=bzbarsky 2002-08-06 01:22:43 +00:00
bzbarsky%mit.edu
cc45de4f05 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa 2002-07-30 05:34:55 +00:00
yokoyama%netscape.com
8d6be5d98d Bug 156979
XBL emulation of marquee.
/r=nhotta, timeless, /sr=jst, /a=asa
2002-07-26 17:47:16 +00:00
alecf%netscape.com
e9e1a39573 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
bzbarsky%mit.edu
783a32db62 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa 2002-07-19 23:58:10 +00:00
bzbarsky%mit.edu
8bcb659f61 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa
2002-07-12 20:46:19 +00:00
dbaron%fas.harvard.edu
834581869f 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
27b9d4524f 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
90a2f7dfb7 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
9df8f33a00 * 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
0597412383 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
5a0969e2e5 Minor cleanup of the fix for bug 122557. r=dbaron, sr=jst. 2002-07-03 00:18:33 +00:00
seawood%netscape.com
03ace271f0 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
811cf710ba Guess at fixing orange builds. b=148046 2002-07-02 03:56:08 +00:00
dbaron%fas.harvard.edu
4aba7cc14e 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
8fc5d9db8c 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
5a892e5796 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
rods%netscape.com
4bb20f5f7a Set style in media print to turn off blinking
Bug 153092 r=rods sr=kin
2002-07-01 14:45:50 +00:00
dbaron%fas.harvard.edu
6d2263f19b 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
e63a11c0e8 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
bzbarsky%mit.edu
750ed97f3f Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin 2002-06-21 22:31:19 +00:00
caillon%returnzero.com
340d2757fc 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
adae42c01e 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
waterson%netscape.com
b2ab61667e Bug 146125. Zero top- and bottom-margin for <th> in same cases we zero for <td>. r=dbaron, sr=kin 2002-06-16 00:51:55 +00:00
mstoltz%netscape.com
6f5d99be4c 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
7cd80968b9 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
2bc07ba87c 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
0f1432a6c5 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
dfd61675d7 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
jfrancis%netscape.com
d0375cdd06 bug 83378: plaintext mail reply problems editing quotes. r=fm, sr=kin 2002-06-12 14:14:18 +00:00
jkeiser%netscape.com
f58b85e424 Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz 2002-06-12 07:58:26 +00:00
dbaron%fas.harvard.edu
e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
jkeiser%netscape.com
3e2a1902ca Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 02:00:34 +00:00
dbaron%fas.harvard.edu
d3867266eb Make quirk stylesheet assertion |#ifdef DEBUG_dbaron| until I figure out why it's firing. b=147691 r=hwaara sr=waterson 2002-06-03 18:26:18 +00:00
roc+%cs.cmu.edu
6f4e473b18 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson 2002-05-31 03:20:23 +00:00
smontagu%netscape.com
42d9a13a9b Fix for bug 147183: Text shown inside JavaScript under title in IOL.co.il is aligned LTR rather than RTL. r=hixie, sr=jst 2002-05-29 19:42:07 +00:00
dbaron%fas.harvard.edu
30dcd428ab 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
karnaze%netscape.com
1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
dbaron%fas.harvard.edu
8d231a5fae Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +00:00
jst%netscape.com
1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
glazman%netscape.com
6f04b18617 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
glazman%netscape.com
8b99db659f output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst
2002-05-21 08:16:42 +00:00
jst%netscape.com
262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00