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