alecf%netscape.com
8c50d0242a
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
697618b07d
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
b6584a77fb
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
f7cd8fcae5
argh fix darwin bustage.. :(
2003-03-21 16:06:20 +00:00
alecf%netscape.com
3cb283cc78
just one theory on the Ts slowdown, before I back myself out completely
2003-03-21 13:31:34 +00:00
alecf%netscape.com
ecf24a2b78
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
8055eacac8
s/floorf/floor/. Fixes solaris/AIX/whatever bustage
2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
1aff4d7ac8
Add math.h too
2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
4a3702559a
Fix build bustage -- looks like not all platforms have round(). r=timeless
2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu
4cc14b7073
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
68d36409fc
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
2884e64d50
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
c214ea9fc8
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
1b837cdd65
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
c9fb653ad8
Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron
2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu
9161a95441
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
20ae0c288c
No more experiments. Back to plain old macros. r+sr=roc b=196603
2003-03-16 04:51:56 +00:00
dbaron%dbaron.org
5966b88a27
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
c4811e9e52
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
ea3fcd2e6a
Oops! nsStyleSVG never had a GetStyleStructID method. b=196603
2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu
b55d3bdb7f
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
46b12ccdd6
Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky
2003-03-13 15:30:32 +00:00
dbaron%dbaron.org
3069e2548c
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu
78169362cd
Fix bug 197090; foo.style.background="" would throw instead of just doing
...
nothing. r+sr=dbaron
2003-03-12 21:54:50 +00:00
bryner%netscape.com
2063c40516
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
f3a28e9f42
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
84b91a597c
Bug 195883. %-values are not valid for '-moz-opacity'.
2003-03-08 03:08:25 +00:00
dbaron%dbaron.org
10878a0640
Remove unused variable (fix warning). b=171830
2003-03-06 21:01:52 +00:00
dbaron%dbaron.org
2c149384ef
Fix for bustage on older gcc. b=117316
2003-03-06 20:16:35 +00:00
alecf%netscape.com
5b7536c806
fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
...
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dbaron%dbaron.org
42cb723529
Fix dynamic style changes resulting from change to href attribute on HTML links. b=194972 r+sr=bzbarsky
2003-03-06 19:19:55 +00:00
dbaron%dbaron.org
c3fb353790
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
636a18962f
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
2003-03-06 19:07:22 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
395413772f
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
2003-02-28 05:47:36 +00:00
sfraser%netscape.com
73b113a4b0
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
a972085056
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
e341c5f706
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
09cb4b87a2
Fix bustage. b=167415
2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu
a47e2fa451
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
9c70577820
Make the parser recycling list in the loader a class static. Bug 190658,
...
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00
dbaron%dbaron.org
2a5b76db35
Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky
2003-02-22 19:23:46 +00:00
dbaron%dbaron.org
031931bbfe
Make our ignoring of properties for :first-line and :first-letter a lot closer to the spec (although still buggy). b=103189 r+sr=bzbarsky
2003-02-22 19:20:16 +00:00
dbaron%dbaron.org
a5105c6ec7
Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky
2003-02-22 19:15:46 +00:00
dbaron%dbaron.org
4b4f8625f1
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
ea93b55cc8
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
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
6a7db38d94
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
a2faedffba
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
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
01c7e681e0
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
3d685b697d
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
5cefa814c3
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
0240ed412b
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
98ad5a7317
Fix typo leading to infinite recursion crash. Bug 191229, r=timeless/caillon,
...
sr=jst, a=asa
2003-01-30 02:38:48 +00:00
caillon%returnzero.com
b58b743a90
Output 'background-position' values in the correct order (X before Y)
...
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
caillon%returnzero.com
0ab3beee78
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
faa9a5b9f9
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
973f5e4a90
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
b7a5577747
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
8d9098a65a
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
074caec10b
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
7f8f4fdbfc
Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
...
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches. Bug 185891, r=sicking, sr=roc+moz
2003-01-17 04:20:03 +00:00
dbaron%dbaron.org
5302be6eba
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
f91cb66f02
Apply the quirk that simple selectors of the form ':hover' apply only to links to those of the form '.class:hover' as well. b=169078 r+sr=bzbarsky
2003-01-14 21:50:27 +00:00
dbaron%dbaron.org
1e96329338
Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
2003-01-13 23:10:53 +00:00
bernd.mielke%snafu.de
96dc8af21b
enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky
2003-01-13 12:10:11 +00:00
bzbarsky%mit.edu
89a03780aa
fix bustage....
2003-01-13 08:02:17 +00:00
bzbarsky%mit.edu
4363ff97b9
Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron
2003-01-13 07:19:49 +00:00
caillon%returnzero.com
8884383f05
use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600
2003-01-11 10:28:37 +00:00
dbaron%dbaron.org
d8345512c5
Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky
2003-01-10 19:49:24 +00:00
dbaron%dbaron.org
e91def8b7a
Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky
2003-01-10 15:55:27 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
48544669f3
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
4cf5754471
fix a crash that could happen if a child import met with an error (eg failed to
...
open a channel). Bug 186606, r=sicking, sr=peterv
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
0a01939a36
asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv
2003-01-07 00:37:19 +00:00
sicking%bigfoot.com
c134137876
Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
...
r=peterv sr=bz
2003-01-06 14:55:13 +00:00
bzbarsky%mit.edu
8dcc730013
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
f83b00920f
Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
...
perf impact. r=rjc, sr=darin
2003-01-05 19:00:18 +00:00
bzbarsky%mit.edu
544046a358
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
a34c46af22
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
2003-01-01 23:53:20 +00:00
bratell%lysator.liu.se
cd00e11297
Bug 185007 - reduce padding in style structs. r=roc+moz, sr=brendan
2002-12-21 07:27:44 +00:00
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
3399eea621
And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
...
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
e81697ce7c
relanding bug 182124 since it looks like comet was just noise and the other Ts
...
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
42d3fc3e74
Backing out bug 182124 because I think it caused Ts to go up...
2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
f3c5ef51ac
Chrome protocol handler should not munge URIs on channel open (and remove some
...
workarounds around that behavior). Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
f6f9e3cc70
Resolve possible problem in the unlikely event that we kick off an async load
...
for a sheet and then kick off a sync load for the same sheet before the async
load completes... Bug 183299, r=sicking, sr=peterv
2002-12-11 00:28:47 +00:00
caillon%returnzero.com
342abe6814
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
dbaron%fas.harvard.edu
3f07edc1de
Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.)
2002-12-06 04:42:49 +00:00
bzbarsky%mit.edu
0bd1bf929d
Fix crash in some icky document.write() cases.. We gotta stop blocking the
...
parser. Bug 183784, r=sicking, sr=peterv, a=asa
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
82b60aea48
I meant 8192 and typed 8092. r/sr/a=brendan
2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
1866641871
UTFInputStream does not do very good error-recovery, so always
...
use nsConverterInputStream instead. Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
02dff0ba15
Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
...
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
229d7e68c8
Take out the hack added in bug 47846 to deal with the fact that Equals() did
...
not work on mailnews urls. It works fine now (see bug 98626).
Bug 182248, r=bienvenu. sr=darin
2002-12-03 20:19:18 +00:00
karnaze%netscape.com
c94e939d58
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
13b5c15201
ugh. Forgot this one line...
2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
3e31b94167
Change nsICSSLoader to nsAString instead of nsString (build bustage).
2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu
fe53f95e60
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
2cd27f702a
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu
ff14aa1c72
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
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
bernd.mielke%snafu.de
c2ad0f7d79
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
d9541f875d
fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
2002-11-22 07:40:16 +00:00
caillon%returnzero.com
5a9f5e36a3
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
d0dabfdef1
'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
b2a01de54e
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
5586aa4d4a
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
9b34083660
<button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron
2002-11-19 03:34:49 +00:00
dbaron%fas.harvard.edu
f6b1702067
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
ed078e5c87
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
86bf9601f7
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
18bb1664d9
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
f4be2cfdb4
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
d33d3708fe
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
dc83a84103
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
4abbad8856
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
74a9b1ed3e
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
3f6afa4126
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
dd816389e5
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
5813d0cd92
Bug 133708 Simplify nsStyleList::CalcDifference
...
r=dbaron sr=brendan
2002-11-06 07:31:27 +00:00
bzbarsky%mit.edu
4ecdd4b649
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
fd71e8e971
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
f83e342a15
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
ee1ac12967
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
cd39dd8995
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
3ad435a24c
OK, over from snprintf to PR_snprintf. b=173837
2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
17ce8bf5d5
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
fc4297892b
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
9c32fa806d
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
cac2947037
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
adfb8db44b
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
7d2a30e560
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
919aef29e4
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
093137e9f2
Make GetImportantRule and GetISupportsValue return already_AddRefed.
...
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu
279ffda515
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
5ba9439c07
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
50be3cbecb
Attempt to fix mach-o bustage. b=172207
2002-10-08 03:58:32 +00:00
caillon%returnzero.com
3afede1887
Attempting to fix Windows bustage
2002-10-08 03:03:56 +00:00
caillon%returnzero.com
d8d932cd3f
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
8e992f87ae
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
58e711b7d5
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
a384d0ce7d
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
15ead48756
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
12c92754b3
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
29c30c5f3e
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
88a7759322
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
7de3925409
Back out bug 167236 due to regressions 171214 and 171465
2002-09-30 10:22:06 +00:00
jkeiser%netscape.com
c28e8257cb
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
71bb3b05de
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
f5eae8deb7
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
9061952afd
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
2de4f81a70
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
06df317f01
More 169373 goodness.
2002-09-23 05:38:30 +00:00
hyatt%netscape.com
e8710c1495
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
b15e45e72d
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
f4b1031f84
Give LABEL element a pointer cursor. b=158043 r=jkeiser sr=bzbarsky
2002-09-16 14:15:58 +00:00
karnaze%netscape.com
f54367c783
bug 139524 - handle style of col's with spans. sr=kin, r=bernd
2002-09-15 03:45:10 +00:00
bzbarsky%mit.edu
ddf2a851ed
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
cc064f1bf2
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
0a9f9ac614
167964 - nsCSSProps::LookupPropertyValue() doesn't handle -moz-appearance
...
r=dbaron sr=jst
2002-09-12 03:57:02 +00:00
bzbarsky%mit.edu
dbd77f93e6
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
49fd167d97
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
68faeb5241
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
76ab201522
Whitespace cleanup, no code changes. r/sr/a=me!
2002-09-07 01:48:39 +00:00
rbs%maths.uq.edu.au
a1543297ff
Slight iteration on bug 163785 to gain perf
2002-09-04 02:31:46 +00:00
caillon%returnzero.com
7f92e25158
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
25ef476c7f
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
1d2d905c1d
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
dde7681290
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
311e1be821
fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me
2002-08-28 12:18:26 +00:00
bzbarsky%mit.edu
d9ea7f8f8f
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
cb32a0f906
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
9ced6ae565
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
3628be818c
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
f363c6f0ae
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
a7f0385127
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
d4cc4f7061
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
355f48a3e9
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
cff9eae530
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
f9fe875d87
Remove extraneous line pointed out by peterv. b=35768
2002-08-14 14:23:56 +00:00
dbaron%fas.harvard.edu
768c965b07
Attempt to fix page load regression. b=35768
2002-08-14 14:01:39 +00:00
dbaron%fas.harvard.edu
48e2161f68
Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky
2002-08-14 13:16:35 +00:00
dbaron%fas.harvard.edu
cb597e3031
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
79638e5f49
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
839c83ca5d
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
7a9b3dcd9e
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
0fbcecb364
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
9d46c7a238
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
b9599b1617
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
886e6f1527
Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky
2002-08-06 13:46:35 +00:00
bzbarsky%mit.edu
f060ebb468
Fix bustage....
2002-08-06 06:48:31 +00:00
bzbarsky%mit.edu
3d9601368a
Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron
2002-08-06 05:42:44 +00:00
bzbarsky%mit.edu
affd9fbf49
Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron.
2002-08-06 05:26:41 +00:00
bzbarsky%mit.edu
e74e38ec29
Make .style and computed style format rgb() values the same way. Bug
...
160247, r=peterv, sr=jst
2002-08-06 05:18:21 +00:00
bzbarsky%mit.edu
485200387c
dynamically adding @import rules does not trigger all the updates it
...
should. Bug 160065, r=peterv, sr=dbaron
2002-08-06 05:08:47 +00:00
bzbarsky%mit.edu
7437096b69
Bug 157913. Priority is "important", not "!important". r=glazman,
...
sr=dbaron
2002-08-06 03:21:14 +00:00
caillon%returnzero.com
0a66989320
Bug 160573. Fix a CSS parser warning. Patched by Olivier Cahagne <cahagn_o@epita.fr> r=caillon sr=bzbarsky
2002-08-06 01:22:43 +00:00
bzbarsky%mit.edu
cc45de4f05
More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa
2002-07-30 05:34:55 +00:00
yokoyama%netscape.com
8d6be5d98d
Bug 156979
...
XBL emulation of marquee.
/r=nhotta, timeless, /sr=jst, /a=asa
2002-07-26 17:47:16 +00:00