bzbarsky%mit.edu
272e86c75d
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
0a144d33f1
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
2003-07-28 21:09:56 +00:00
bsmedberg%covad.net
e290dea9ea
Fix assertion from bug 211470, rs=bz
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
4e62df9073
Forgot a review nit from bug 211470.
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
117dcd4d23
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
2003-07-27 15:20:11 +00:00
bzbarsky%mit.edu
df8614a442
Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
...
r+sr=dbaron
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
f1efc20ae6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
042b7cacc7
Remove unused variable.
2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
76799ff743
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
jaggernaut%netscape.com
94d1d5f102
Fix bustage
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
024a2adbb2
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:40:43 +00:00
bzbarsky%mit.edu
2fdcf613e0
Fixing build bustage.
2003-07-18 02:00:01 +00:00
caillon%returnzero.com
01645eaf4b
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
9421911eb3
Make the URI of a sheet be its final URI after all the redirects, not the URI
...
linked to from the original document. Bug 96858, r+sr=dbaron
2003-07-18 00:35:49 +00:00
jaggernaut%netscape.com
bf82a649b9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
0fa0c71366
A little selector matching cleanup. b=212603 r+sr=bzbarsky
2003-07-13 23:09:10 +00:00
dbaron%dbaron.org
92b921aca3
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
dbaron%dbaron.org
46c0acbc49
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
2003-07-11 20:44:25 +00:00
dbaron%dbaron.org
402d8bf9b4
Attempt to fix warning by ensuring one path is always used, even for invalid ids. b=210550 r+sr=bzbarsky
2003-07-11 20:42:59 +00:00
dbaron%dbaron.org
4288eb04b0
Convert jump tables to if-else trees to avoid the performance cost of function pointers. b=210550 r+sr=bzbarsky
2003-07-09 03:46:27 +00:00
bzbarsky%mit.edu
0b27cc8a6f
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
2003-07-09 01:48:20 +00:00
jaggernaut%netscape.com
aebdd4c93a
Bug 210834: Bogus comparison in nsCSSParserImpl::ParseURL. r=bzbarsky, sr=jst
2003-07-08 11:49:48 +00:00
bzbarsky%mit.edu
198e46107d
Update comments to reflect the fact that there is no longer a change hint
...
passed to the macros.
2003-07-08 07:12:17 +00:00
bzbarsky%mit.edu
82ddab3165
This line should not have snuck in.
2003-07-07 22:03:32 +00:00
bzbarsky%mit.edu
fd6654ba6d
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
874126b90f
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +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
bzbarsky%mit.edu
25471a836d
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
dbaron%dbaron.org
509bbcc446
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
adcaf8d572
Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky
2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu
10e836c35b
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org
107c5d16aa
Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky
2003-06-30 21:48:56 +00:00
dbaron%dbaron.org
d322964941
Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky
2003-06-30 21:39:22 +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
b75ecd009f
Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
2003-06-27 21:06:45 +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
dbaron%dbaron.org
120e9a5ee9
Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky
2003-06-24 05:34:30 +00:00
bzbarsky%mit.edu
3a04d8e51b
Fix matching when attribute selectors with "*" as a namespace are involved.
...
Bug 210314, r+sr=dbaron
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu
d1447d9cc1
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +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
bzbarsky%mit.edu
c1d40be04e
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
jshin%mailaps.org
7afb380aa7
bug 206379 : additional patch : get rid of ResolveCharset() (static) and
...
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
2003-06-23 05:04:43 +00:00
dwitte%stanford.edu
9eb859c9cf
removing some unused default ctors now that nsDerivedSafe can handle it.
...
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
jst%netscape.com
a749a7af60
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
2003-06-21 00:26:28 +00:00
bzbarsky%mit.edu
7f7faf723e
Check that we are HTML, in addition to checking namespace, before going
...
case-insensitive. Bug 209271, r+sr=dbaron
2003-06-20 20:23:17 +00:00
dbaron%dbaron.org
9b1d1eed2b
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +00:00
mkaply%us.ibm.com
baeebe3872
#188071
...
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow
2003-06-18 20:47:40 +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
5027dbc6d2
Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz
2003-06-17 18:01:51 +00:00
alecf%flett.org
5614718dd3
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
cd4fb875a5
Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst
2003-06-17 16:22:51 +00:00
aaronl%netscape.com
5df2312334
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +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
bzbarsky%mit.edu
04ce2e2b55
CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
...
r+sr=dbaron
2003-06-14 20:44:26 +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
caillon%returnzero.com
b56a675840
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
2003-06-12 02:54:16 +00:00
dbaron%dbaron.org
4135299dbf
Fix silly mistake. b=209091 r+sr=bzbarsky
2003-06-12 00:03:32 +00:00
alecf%flett.org
ccf01a2786
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org
f774ff7ebb
Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky
2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
0584c9a28a
Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky
2003-06-10 22:08:40 +00:00
dbaron%dbaron.org
bb6b688862
Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
2003-06-08 19:52:22 +00:00
dbaron%dbaron.org
eeb3dc21c5
Fix bustage on compilers with broken for loop scoping. b=125246
2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
261b663630
VC++ doesn't seem to like empty arguments to macros. Fixing bustage. b=125246
2003-06-07 23:29:05 +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
bmlk%gmx.de
71ae1db151
anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron
2003-05-31 09:16:23 +00:00
bryner%netscape.com
2373a382c8
Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser.
2003-05-29 22:39:05 +00:00
bzbarsky%mit.edu
1e45eadc55
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
cbiesinger%web.de
148959d202
patch by tenthumbs@cybernex.net r+sr=bz bug 206864
...
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
2003-05-26 16:59:40 +00:00
roc+%cs.cmu.edu
2654a045b4
Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
2003-05-22 01:46:13 +00:00
bzbarsky%mit.edu
4655878078
Quiet some silly warnings. Bug 72164, patch by Eric Lawrence
...
<elawrenc69@yahoo.com>, r+sr=bzbarsky, a=asa
2003-05-21 02:06:01 +00:00
bzbarsky%mit.edu
eba53292ac
Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
...
203256, r+sr=dbaron, a=brendan
2003-05-18 14:57:23 +00:00
bzbarsky%mit.edu
f8491914bd
Make font-size:larger and font-size:smaller smarter about interpolating and
...
extrapolating font sizes. Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r=bzbarsky, r+sr=dbaron, a=asa
2003-05-17 16:11:51 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
474f773e17
Fix regression that text zoom was broken on text fields on Windows. b=205534 r+sr=roc a=asa
2003-05-14 22:37:57 +00:00
bzbarsky%mit.edu
198273d647
Minor tweak to never match in an error case we better not be hitting anyway.
...
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
2003-05-08 01:59:25 +00:00
varga%netscape.com
05096034d5
Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
...
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
neil%parkwaycc.co.uk
33efefa39e
Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa
2003-05-01 10:42:33 +00:00
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