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
peterl%netscape.com
881e9c7dfd
added char unit support
...
removed warnings
update to color api change
git-svn-id: svn://10.0.0.236/trunk@39949 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:27:02 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
peterl%netscape.com
62ffbb6470
use '-moz-fixed' for pre fixed font hack instead of 'monospace'
...
cleaned up font api
git-svn-id: svn://10.0.0.236/trunk@36307 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:23:56 +00:00
peterl%netscape.com
4c99a1649d
better namespace support
...
made descend from nsCSSRule base class
git-svn-id: svn://10.0.0.236/trunk@34567 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:28:32 +00:00
peterl%netscape.com
763257dc99
added cloning and dirtying of sheet on modify
...
git-svn-id: svn://10.0.0.236/trunk@33471 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:57:13 +00:00
bruce%cybersight.com
fc7ac0c770
Fix for ANSI C++ compliance: friend foo -> friend class foo
...
git-svn-id: svn://10.0.0.236/trunk@28428 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:16:46 +00:00
peterl%netscape.com
ae015c0f0f
split font style mapping from regular style mapping
...
git-svn-id: svn://10.0.0.236/trunk@27701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:23:05 +00:00
peterl%netscape.com
f82375c850
added -moz-border-radius
...
git-svn-id: svn://10.0.0.236/trunk@26137 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 03:15:01 +00:00