rods%netscape.com
c24645c1d1
subtract off 2 point sizes for fonts for List and Button on Windows and make sure
...
it is zero or greater
Bug 53744, r=attinasi, sr=buster
git-svn-id: svn://10.0.0.236/trunk@80290 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 02:17:44 +00:00
mozilla.BenB%bucksch.org
fd41c16a4d
51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster
...
git-svn-id: svn://10.0.0.236/trunk@79930 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 17:59:20 +00:00
rods%netscape.com
758be6484a
The font size for selects and buttons needs to reduce the font size by 2 points
...
from the default font size set in prefs
b=53744 a=buster
git-svn-id: svn://10.0.0.236/trunk@79923 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:30:04 +00:00
pierre%netscape.com
7598a7ebfc
fix related to the reconstruction of html.css ( #6625 ) and to css system fonts ( #1021 ): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster
...
git-svn-id: svn://10.0.0.236/trunk@79754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:21:23 +00:00
kandrot%netscape.com
54834fb773
Fix for bug #51944 . This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@78935 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:05:04 +00:00
rods%netscape.com
33de22fd07
For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
...
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
git-svn-id: svn://10.0.0.236/trunk@78262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:02:44 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
rods%netscape.com
ba8b6b0deb
In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
...
b=33312 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76957 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:28:28 +00:00
attinasi%netscape.com
ad73ad64b4
Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre
...
git-svn-id: svn://10.0.0.236/trunk@75598 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:44:08 +00:00
attinasi%netscape.com
a9a853f825
Floated elements now get their display type set to a block, in compliance with the CSS1 specification. Also, positioned elements get their float property cleared. b=32200 r=karnaze a=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@71302 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:31:00 +00:00
jst%netscape.com
09a726c20d
WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
...
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
jst%netscape.com
f59ae4bac2
The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name.
...
git-svn-id: svn://10.0.0.236/trunk@67801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:24:45 +00:00
pierre%netscape.com
cdcf7d8bca
9876. Implemented CSSStyleDeclaration removeProperty. r=jst.
...
git-svn-id: svn://10.0.0.236/trunk@67505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:35:40 +00:00
jst%netscape.com
e7caf2b7ff
Landing DOM Level 2 CSS and Views interfaces and implementation.
...
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
troy%netscape.com
2831676fb5
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
8237a54fdd
Backing out troy's changes to fix various UI blocker bugs.
...
git-svn-id: svn://10.0.0.236/trunk@67000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:21:56 +00:00
troy%netscape.com
e90db6dfb9
Changes to bring clipping inline with upcoming CSS2 errata
...
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
jst%netscape.com
65876f7f11
Updating the DOM interface CSSStyleDeclaration to DOM Level 2.
...
git-svn-id: svn://10.0.0.236/trunk@66556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:50:56 +00:00
scc%netscape.com
8a7f53cc88
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
pierre%netscape.com
8352fc6523
33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set.
...
git-svn-id: svn://10.0.0.236/trunk@66083 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:38:13 +00:00
hyatt%netscape.com
4c50c0a82b
Making <children> support dynamic.
...
git-svn-id: svn://10.0.0.236/trunk@65157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:29:20 +00:00
attinasi%netscape.com
9657bf7bed
Implemented Style Size Dump. r=rickg b=26565
...
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
pierre%netscape.com
2d05e32546
#33557 (background-color: inherit on html:input type="text" only appears to check for background color on parent node). MapDeclarationColorInto() should inherit the parent's color on "background: transparent".
...
git-svn-id: svn://10.0.0.236/trunk@64465 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:55:15 +00:00
pierre%netscape.com
277d41c869
#3371 . Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
...
git-svn-id: svn://10.0.0.236/trunk@64127 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 18:54:36 +00:00
pierre%netscape.com
bbde074e9c
Related to #18136 . Enable the IE-compatible font size table in strict mode. It required to pass the nsFontSizeType to FindNextSmaller/LargerFontSize.
...
git-svn-id: svn://10.0.0.236/trunk@64123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 13:48:50 +00:00
pierre%netscape.com
ed6f7b2bac
#30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face.
...
git-svn-id: svn://10.0.0.236/trunk@62901 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:30:29 +00:00
pierre%netscape.com
1d2c2e416f
Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
jdunn%netscape.com
659b2712ed
Fix problem with NS_IF_ADDREF on member variables inside of const
...
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
hyatt%netscape.com
abbd31277b
Fix for 25883.
...
git-svn-id: svn://10.0.0.236/trunk@59326 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:20:26 +00:00
pierre%netscape.com
a0876134ef
Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
...
git-svn-id: svn://10.0.0.236/trunk@58467 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 11:19:55 +00:00
pierre%netscape.com
35e03cffb3
17303 "Text input fields in chrome should use sans serif font". Clear the NS_STYLE_FONT_USE_FIXED flag when setting a font different from -moz-fixed. r=rods (rods checked in the other part of that fix in nsHTMLFontElement.cpp)
...
git-svn-id: svn://10.0.0.236/trunk@57465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:19:14 +00:00
hyatt%netscape.com
2c9879296b
adding behavior property to CSS. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
sspitzer%netscape.com
db432aac87
fix for pierre's warnings. r=bienvenu
...
git-svn-id: svn://10.0.0.236/trunk@56494 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 18:35:35 +00:00
pierre%netscape.com
ab167ecc58
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
...
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
git-svn-id: svn://10.0.0.236/trunk@56387 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:27:10 +00:00
pierre%netscape.com
325e90f476
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
...
git-svn-id: svn://10.0.0.236/trunk@56361 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 05:00:47 +00:00
pierre%netscape.com
4a74358841
12737: removed the 'moz-fixed' NavQuirk
...
git-svn-id: svn://10.0.0.236/trunk@54228 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:07:26 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pierre%netscape.com
51196f76b4
Fix #12737 "-moz-fixed should be compat mode only". Overwrites the fixed font family with the normal font family in navQuirks mode only. r=pollmann.
...
git-svn-id: svn://10.0.0.236/trunk@51086 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 00:31:45 +00:00
peterl%netscape.com
f3c05f912b
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
git-svn-id: svn://10.0.0.236/trunk@50919 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 04:05:59 +00:00
peterl%netscape.com
3295631735
store system colors as int rather than enums
...
return proper result code when setting system color
r=rods
git-svn-id: svn://10.0.0.236/trunk@50405 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:31:33 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
kipp%netscape.com
ffc7966b7d
Zapped mCompatFloatMargin hack
...
git-svn-id: svn://10.0.0.236/trunk@47887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 00:57:06 +00:00
kipp%netscape.com
458a973efc
Added in mCompatFloaterMargin
...
git-svn-id: svn://10.0.0.236/trunk@47812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:55:28 +00:00
peterl%netscape.com
cd30e4c5f0
re-added last changes (in a mac safe way)
...
better font weight
system color handling
git-svn-id: svn://10.0.0.236/trunk@46729 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 05:56:19 +00:00
kipp%netscape.com
e11bf8df16
Nit to make emacs happier
...
git-svn-id: svn://10.0.0.236/trunk@46628 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:05:32 +00:00
mscott%netscape.com
9bb80c20db
Backing out peterl's changes to fix the mac depend build until we can figure out why it
...
causes an internal compiler error.
git-svn-id: svn://10.0.0.236/trunk@46484 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 01:49:51 +00:00
peterl%netscape.com
61a7bdcab8
Added optimization in SetCoord to not set inherit value if value can be computed locally
...
git-svn-id: svn://10.0.0.236/trunk@46468 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:43:54 +00:00
peterl%netscape.com
80ac4d30c5
tracking UI & forms proposal changes
...
git-svn-id: svn://10.0.0.236/trunk@45970 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:40:35 +00:00
peterl%netscape.com
0622aae6ea
route declaration parsing through the CSSLoader's parsers
...
git-svn-id: svn://10.0.0.236/trunk@42106 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 05:07:10 +00:00
peterl%netscape.com
97f9eb5ee1
added experimental CSS3 properties
...
git-svn-id: svn://10.0.0.236/trunk@40991 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:04:42 +00:00