Граф коммитов

2075 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 2529f5a5e5 Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa
2003-04-29 18:45:51 +00:00
dbaron%dbaron.org 43197a4800 Remove extraneous |inline| to fix bustage. 2003-04-15 04:19:27 +00:00
dbaron%dbaron.org 4a5e84bc92 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681 2003-04-15 03:07:34 +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
mkaply%us.ibm.com 04525e7938 No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs
2003-04-10 19:01:47 +00:00
roc+%cs.cmu.edu f2dc5c2442 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
bzbarsky%mit.edu fdcc28ae82 CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv 2003-04-04 23:57:06 +00:00
alecf%netscape.com a09a98f6d9 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +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
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +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 64a8a63888 argh fix darwin bustage.. :( 2003-03-21 16:06:20 +00:00
alecf%netscape.com b7bb5e49db just one theory on the Ts slowdown, before I back myself out completely 2003-03-21 13:31:34 +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
bzbarsky%mit.edu ae79a333c6 s/floorf/floor/. Fixes solaris/AIX/whatever bustage 2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu a7e315a7dd Add math.h too 2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu e0dac4f4b6 Fix build bustage -- looks like not all platforms have round(). r=timeless 2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu f46e288da3 Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017.  r+sr=dbaron
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu c53fa07cb2 Don't parse "string" values for text-align till we actually support them in
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu 91b905b643 Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu e09cac081f Make scrollDelay settable; make height/width attrs work on standards-mode
pages. Bug 197461, r=doron, sr=dbaron
2003-03-17 06:58:17 +00:00
bzbarsky%mit.edu c8bfe97f4b Make the CSS parser not throw on attempts to parse lengths with unknown units
(bug 197212).  Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423).  r+sr=dbaron
2003-03-17 03:58:06 +00:00
bzbarsky%mit.edu dd3abec593 Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron 2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu f2b7f6eacc Make all CSSStyleSheets have a useful mDocument so that they can pass change
notifications properly.  Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date.  Bug 194543, r=dbaron, sr=peterv
2003-03-17 03:44:02 +00:00
dbaron%dbaron.org 91b0ef2163 No more experiments. Back to plain old macros. r+sr=roc b=196603 2003-03-16 04:51:56 +00:00
dbaron%dbaron.org 2bf5dd9ad7 Well, the OS/2 compiler does not like the cool way of doing this, so on to the ugly way... b=197277 2003-03-16 01:34:48 +00:00
dbaron%dbaron.org 90f15a2a13 Ensure that CalcStyleDifference populates the new context with all of the structs present on the old context to ensure that the PeekStyleData optimization is valid. Avoid copy-and-pasted code. b=196603 r+sr=roc 2003-03-16 00:20:21 +00:00
dbaron%dbaron.org c453e56d44 Oops! nsStyleSVG never had a GetStyleStructID method. b=196603 2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu 1772da5eb5 Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org 72fc01e4d8 Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky 2003-03-13 15:30:32 +00:00
dbaron%dbaron.org 5e4a305ea0 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 98a2c50cf4 Fix bug 197090; foo.style.background="" would throw instead of just doing
nothing.  r+sr=dbaron
2003-03-12 21:54:50 +00:00
bryner%netscape.com cf7dcf25dc Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron. 2003-03-12 05:19:43 +00:00
bryner%netscape.com 7ce4b290a0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +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 6eaafb20bc Remove unused variable (fix warning). b=171830 2003-03-06 21:01:52 +00:00
dbaron%dbaron.org bbd740e83c Fix for bustage on older gcc. b=117316 2003-03-06 20:16:35 +00:00
alecf%netscape.com da409bcb97 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 10896ad3c4 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 811d5b0d7a Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky 2003-03-06 19:14:17 +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
sfraser%netscape.com e1e801b951 Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
sfraser%netscape.com a0651c2165 Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them. 2003-02-26 03:34:15 +00:00
sfraser%netscape.com f7fd0a80ef Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf. 2003-02-26 00:52:07 +00:00
dbaron%dbaron.org 1d38d9f953 Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky 2003-02-23 17:28:25 +00:00
dbaron%dbaron.org 3b97b5e3fb Fix bustage. b=167415 2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu 9694162f77 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 6f6b961031 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 f90fc836b3 Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
dbaron%dbaron.org d8ce457477 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 7e586675e3 Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky 2003-02-22 19:15:46 +00:00
dbaron%dbaron.org c32b76ad84 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 d6bc81b26f Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +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 a240643f5e Attempting to fix os/2 and worms bustage. Add a protected default ctor to nsStyleContext. This should never be called since we never instantiate an nsDerivedSafe. r=bbaetz. 2003-02-22 10:13:34 +00:00
bryner%netscape.com e1faa9c569 Make nsStyleContext also return nsrefcnt from AddRef and Release, fixing gcc 2.95 bustage. 2003-02-22 04:05:05 +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
bzbarsky%mit.edu 288daf55e1 Make %-height kids of fieldsets do the right thing. Bug 191135, r=jkeiser,
sr=roc+moz, a=asa
2003-02-13 19:09:04 +00:00
bzbarsky%mit.edu b5936e840e Dynamic changes to border-collapse should produce the right hint. Bug 191794,
r=bernd, sr=dbaron, a=asa
2003-02-13 19:06:18 +00:00
bzbarsky%mit.edu f051e65d94 Don't use quirky box-sizing for image inputs. Bug 191967, r+sr=dbaron, a=asa 2003-02-13 19:02:28 +00:00
bzbarsky%mit.edu 763ca67975 Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa
2003-01-31 10:21:52 +00:00
bzbarsky%mit.edu c6d30dbf4a 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 c5f6b05cff Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
caillon%returnzero.com 6134063f7b 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
dbaron%dbaron.org ca6fed7a33 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky 2003-01-18 15:58:49 +00:00
dbaron%dbaron.org 4817759703 Fix inheritance of 'border-color' when the value inherited came from 'color' (the default). b=189402 r+sr=bzbarsky 2003-01-17 23:41:20 +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
bzbarsky%mit.edu 5113e3dec2 Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.
2003-01-17 04:55:10 +00:00
bzbarsky%mit.edu 224a502604 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 286bcaf5be Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 19:21:23 +00:00
dbaron%dbaron.org 23fb9bee1a 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 b0da06ed7e 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
bernd.mielke%snafu.de bcbe4d5456 enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky 2003-01-13 12:10:11 +00:00
bzbarsky%mit.edu 6d79c6b03a fix bustage.... 2003-01-13 08:02:17 +00:00
bzbarsky%mit.edu 37950f0b09 Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron 2003-01-13 07:19:49 +00:00
caillon%returnzero.com 722c688cf5 use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600 2003-01-11 10:28:37 +00:00
dbaron%dbaron.org 9e48eace9f Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky 2003-01-10 19:49:24 +00:00
dbaron%dbaron.org 213e33a06f Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky 2003-01-10 15:55:27 +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
bzbarsky%mit.edu f2c0b9834f 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 f3fc0935dc 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 f58ff0e965 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 f29bfad7ce bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron
2003-01-05 19:05:14 +00:00
bzbarsky%mit.edu b43ff167e7 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
bzbarsky%mit.edu 8df408f044 Make more inputs use border-box sizing in standards mode, since that's what IE6
does in standards mode.  Keep quirks sizing as it was. Bug 184478, r=jkeiser,
sr=dbaron
2003-01-05 05:18:50 +00:00
dbaron%fas.harvard.edu 0a31e6afb5 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
bratell%lysator.liu.se d06800c633 Bug 185007 - reduce padding in style structs. r=roc+moz, sr=brendan 2002-12-21 07:27:44 +00:00
peterv%netscape.com eef263b19e Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu 5940c8be4e 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 175bfa18ac 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 1779ed3eca Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu 7a11dca83f 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 934193c384 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 58177694ed 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
dbaron%fas.harvard.edu f260bf1d61 Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.) 2002-12-06 04:42:49 +00:00
bzbarsky%mit.edu 2b37dbfedc 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 14df08c2a9 I meant 8192 and typed 8092. r/sr/a=brendan 2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu 704d627e65 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 2dfcddf813 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 54a05568ad 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
karnaze%netscape.com 22356ecce3 bug 161644 - don't allow a first letter to be a block unless it is floating. sr=bzbarsky, r=dbaron. 2002-12-03 15:48:26 +00:00
bzbarsky%mit.edu 0ed35654f5 ugh. Forgot this one line... 2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu 4667677aa7 Change nsICSSLoader to nsAString instead of nsString (build bustage). 2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu c815579255 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu 523e34a0b0 Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron
2002-11-25 23:40:58 +00:00
sicking%bigfoot.com 8fa4129fc1 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
bernd.mielke%snafu.de 3c695c3a92 Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky 2002-11-23 17:56:44 +00:00
darin%netscape.com 9b3557c713 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
caillon%returnzero.com a14626117b Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky 2002-11-20 06:35:33 +00:00
glazman%netscape.com c2eafb4d15 'larger' and 'smaller' CSS values for 'font-size' were not working outside of range xx-small to xx-large and that prevented users to use very big and very small fonts in both Composer and mail composition; b=63987, r=dbaron, sr=bzbarsky 2002-11-19 15:16:31 +00:00
bzbarsky%mit.edu 45d22c648f Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz
2002-11-19 15:12:02 +00:00
caillon%returnzero.com ec408241f6 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2002-11-19 07:41:07 +00:00
bzbarsky%mit.edu d3cde4e823 <button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron 2002-11-19 03:34:49 +00:00
dbaron%fas.harvard.edu b2f992acb9 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu bdc9d8929a Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu 9ba10e6a63 Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)
2002-11-16 12:07:13 +00:00
alecf%netscape.com 3dc37760d5 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron
2002-11-16 05:37:24 +00:00
caillon%returnzero.com 8e703da896 Bug 180185, nsStyleText::WhiteSpaceIsSignificant() should take -moz-pre-wrap into account too
r=dbaron sr=bzbarsky
2002-11-15 03:14:56 +00:00
bzbarsky%mit.edu 20bae565b3 Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +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
bernd.mielke%snafu.de 6c6097ec66 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
bzbarsky%mit.edu 5cc311ac1e Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00
bzbarsky%mit.edu 565f23fe6e disabled selects should still take the colors the page sets. Bug
177569, r=jkeiser, sr=dbaron
2002-11-06 21:35:36 +00:00
glazman%netscape.com c3f9c7c149 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
timeless%mozdev.org da0199af22 Bug 133708 Simplify nsStyleList::CalcDifference
r=dbaron sr=brendan
2002-11-06 07:31:27 +00:00
bzbarsky%mit.edu f82de7c2e4 line-height settings should not affect internal layout of form
controls.  Bug 82265, r=jkeiser, sr=dbaron
2002-11-06 02:12:18 +00:00
bzbarsky%mit.edu 1159431d9f fix regression in setting important property values in inline style via
DOM.  Bug 173767, r=caillon, sr=dbaron
2002-11-06 02:07:17 +00:00
bzbarsky%mit.edu 707785eb3e CheckLoadURI should use document uri, not base uri. Bug 177237,
r=mstoltz, sr=jst, a=blizzard
2002-11-05 03:45:28 +00:00
dbaron%fas.harvard.edu ce16f563b0 Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa 2002-10-30 14:31:32 +00:00
bzbarsky%mit.edu 5553813318 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.
2002-10-16 03:38:52 +00:00
dbaron%fas.harvard.edu b9dedaf5b2 OK, over from snprintf to PR_snprintf. b=173837 2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu 2564db6a20 Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837 2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu 0e9bf3ab26 Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup 2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu bff3c166a9 Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup 2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu 7229ebc7d1 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup 2002-10-14 23:49:48 +00:00
bzbarsky%mit.edu 4efd59e3ad Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz
2002-10-13 18:55:12 +00:00
bzbarsky%mit.edu dc1af20c61 Fix bug 168737 -- two-byte-encoded pages got no syntax highlighting.
r=caillon, sr=rbs, a=asa.
2002-10-11 23:46:11 +00:00
heikki%netscape.com b0e0f669e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +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
bzbarsky%mit.edu a272a96238 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +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
dbaron%fas.harvard.edu 18ca9355e6 Attempt to fix mach-o bustage. b=172207 2002-10-08 03:58:32 +00:00
caillon%returnzero.com e5c8d9dcdf Attempting to fix Windows bustage 2002-10-08 03:03:56 +00:00
caillon%returnzero.com e15859bcb6 More footprint work; Axing the large switch statement in GetPropertyCSSValue()
bug 172207 r=bzbarsky sr=alecf
2002-10-08 01:53:31 +00:00
caillon%returnzero.com 197e01cbff Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
dbaron%fas.harvard.edu bc2d58b075 Use correct interface pointer to fix crash inserting rule into media rule. b=170699 r=glazman sr=roc+moz 2002-10-03 01:02:13 +00:00
dbaron%fas.harvard.edu 0730c1a0cd Don't prevent 'display: none' from working on generated content by being overzealous with CSS2 12.1 'display' fixups. At suggestion of Mats Palmgren, split code path between CSS2 9.7 fixups and CSS2 12.1 fixups since the former can't affect generated content and the latter apply only to generated content. r=bzbarsky and mats.palmgren sr=kin b=171749 2002-10-03 00:42:16 +00:00
caillon%returnzero.com a0f4b0e862 171785. Using new CSS_PROP_NOTIMPLEMENTED macro. This should have gone in with the patch to bug 117500 but somehow was left out.
r=dbaron sr=kin/jst
2002-10-01 00:13:55 +00:00
dbaron%fas.harvard.edu 5f26f8baf7 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
dbaron%fas.harvard.edu 630ee775dd Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
roc+%cs.cmu.edu 3681ee88af Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
jkeiser%netscape.com fd1a1dc6b6 Back out bug 167236 due to regressions 171214 and 171465 2002-09-30 10:22:06 +00:00
jkeiser%netscape.com 792885863f Make buttons line up correctly with textboxes again (bzbarsky's patch, bug 171214), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu 2002-09-29 02:55:24 +00:00
darin%netscape.com 3f13b9fba7 fixes bug 170789 "HTTP Accept: header should be tailored to context of the
request" r=dougt sr=bzbarsky
2002-09-27 04:22:13 +00:00
jkeiser%netscape.com 816123f03b Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu 2002-09-27 00:04:22 +00:00
caillon%returnzero.com 6a5f08080e Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
darin%netscape.com 380f93de79 fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
for freezing" r=dougt sr=rpotts
2002-09-25 21:28:53 +00:00
hyatt%netscape.com 86927b69b6 More 169373 goodness. 2002-09-23 05:38:30 +00:00
hyatt%netscape.com 369f0ad4fd Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
alecf%netscape.com 2eb51aa759 re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
dbaron%fas.harvard.edu 0184768607 Give LABEL element a pointer cursor. b=158043 r=jkeiser sr=bzbarsky 2002-09-16 14:15:58 +00:00
karnaze%netscape.com fd041573cc bug 139524 - handle style of col's with spans. sr=kin, r=bernd 2002-09-15 03:45:10 +00:00
bzbarsky%mit.edu e823119745 Fix an edge case in color-parsing correctness. Bug 154755, r=glazman,
sr=dbaron
2002-09-14 05:28:26 +00:00
jkeiser%netscape.com 8e01bfc196 Make input type=hidden style="display: inline" not show artifacts from input type=text (bug 166438), r=rods@netscape.com, sr=bzbarsky@mit.edu 2002-09-13 21:30:11 +00:00
caillon%returnzero.com df0ff613ca 167964 - nsCSSProps::LookupPropertyValue() doesn't handle -moz-appearance
r=dbaron sr=jst
2002-09-12 03:57:02 +00:00
bzbarsky%mit.edu 7eb4bb4235 Make <button> align sorta like <input type="button"> does vertically.
Bug 162573, patch by dbaron, r=bzbarsky, sr=roc
2002-09-11 02:12:24 +00:00
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
rbs%maths.uq.edu.au 5a544e9046 Slight iteration on bug 163785 to gain perf 2002-09-04 02:31:46 +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
dbaron%fas.harvard.edu 61be130089 Fix regression in graying of disabled radio buttons and checkboxes. b=164484 r=bbaetz sr=bzbarsky 2002-09-04 00:39:19 +00:00
rbs%maths.uq.edu.au 13bee841d9 Minimum font-size wasn't working if no font props was specified, b=163785, r=dbaron, sr=bzbarsky 2002-09-03 23:55:48 +00:00
bzbarsky%mit.edu ae944cb845 Do not inherit text-transform into inputs and textareas. Bug 150341,
r=glazman, sr=roc+moz
2002-08-31 04:38:57 +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 f48183ce50 Make marquee 'display: block' so that styling it works correctly. (The XBL binding already forces block-like display.) b=163031 r=doron sr=kin 2002-08-19 18:43:17 +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 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 02a790ca16 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +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 5a1a0bf7ae Make the declarations of colors for radio buttons and check boxes important, so they are unstylable (and styles in web pages don't cause them to disappear). b=58755 r=jkeiser sr=bzbarsky 2002-08-14 12:42:03 +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
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
caillon%returnzero.com 9bf1dad628 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron
2002-08-07 07:39:34 +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
glazman%netscape.com 84869edbfb Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky 2002-08-06 14:39:55 +00:00
dbaron%fas.harvard.edu 4b79caff5f Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky 2002-08-06 13:46:35 +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
caillon%returnzero.com 48fe3f67ac 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 a175c3a087 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa 2002-07-30 05:34:55 +00:00
yokoyama%netscape.com 7cd06b2e15 Bug 156979
XBL emulation of marquee.
/r=nhotta, timeless, /sr=jst, /a=asa
2002-07-26 17:47:16 +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
bzbarsky%mit.edu 3b025da168 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa 2002-07-19 23:58:10 +00:00
bzbarsky%mit.edu 74275783a4 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 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
rods%netscape.com 867db7cdd0 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 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
bzbarsky%mit.edu 7f9a5c5c27 Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin 2002-06-21 22:31:19 +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
waterson%netscape.com f4f77f7b3b 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 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
jfrancis%netscape.com 5d3dcf306a bug 83378: plaintext mail reply problems editing quotes. r=fm, sr=kin 2002-06-12 14:14:18 +00:00
jkeiser%netscape.com f8179e2720 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 21d614574e 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 413d936208 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 734820f87f 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 fab624f450 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 ce0ac9ef27 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 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
karnaze%netscape.com dc7e454eb3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
dbaron%fas.harvard.edu 8b60dd54d6 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 c510ff0346 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 4ae6c30b20 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 03ecce53c5 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
glazman%netscape.com ce5dba1038 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 5ef2ac2f34 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00