121 Commits

Author SHA1 Message Date
tor%cs.brown.edu
fc90ebe7cb Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@166517 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 23:51:25 +00:00
tor%cs.brown.edu
308eece6d8 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166471 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 03:16:15 +00:00
dbaron%dbaron.org
11172c00bb Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165953 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 19:24:34 +00:00
ginn.chen%sun.com
9ad2cbe919 bug 251492 [gnome]selected item text wrong color in high-contrast themes
ginn.chen%sun.com r=bryner sr=dbaron
also fix bug 244955 [GNOME] incorrect system colors for the menu item text


git-svn-id: svn://10.0.0.236/trunk@164406 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 01:45:28 +00:00
mats.palmgren%bredband.net
d83ca07985 Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163089 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu
76625d8613 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163043 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:32:28 +00:00
mats.palmgren%bredband.net
3b5f384b21 Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
mats.palmgren%bredband.net
d613fa7dee Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@162144 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 23:24:30 +00:00
bzbarsky%mit.edu
f3fd99f0a7 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162049 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:26:58 +00:00
bryner%brianryner.com
199fa502ee Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161808 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 03:59:31 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
kyle.yuan%sun.com
c5830cf601 Backout the patch for 251492. Need a better solution for that.
git-svn-id: svn://10.0.0.236/trunk@160978 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com
90036dfc22 Bug 251492 [gnome]selected item text wrong color in high-contrast themes
r=bryner, sr=roc, patch by ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@160970 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 02:23:15 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
e2e26d3025 Lots of fixes for native themed checkbox and radio buttons on gtk2. Bug 247631, r=caillon, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@158329 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 22:10:12 +00:00
roc+%cs.cmu.edu
f8fdf5f9c2 Bug 245297. Add basic style system support for columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158023 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 11:57:37 +00:00
kyle.yuan%sun.com
2d42bcec20 Bug 237535 prelight text invisible in high-contrast inverse themes
r=bryner, sr=roc, patch by ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@157208 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 01:58:10 +00:00
caillon%redhat.com
b9425c4a43 Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156009 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:37:32 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
chanial%noos.fr
68dd65025d Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
r=bryner, sr=roc


git-svn-id: svn://10.0.0.236/trunk@153515 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 04:55:31 +00:00
dbaron%dbaron.org
3b4e289dd6 Attempt to fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@153153 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 07:37:36 +00:00
dbaron%dbaron.org
dafe525b26 Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@153148 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 06:48:25 +00:00
darin%meer.net
8f15bc8277 bustage fix r=dbaron
git-svn-id: svn://10.0.0.236/trunk@152960 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:01:29 +00:00
dbaron%dbaron.org
123d96291d Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152944 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:02:20 +00:00
alex.fritze%crocodile-clips.com
937a1cf846 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes


git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
dbaron%dbaron.org
6b800e75e5 Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152274 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 06:10:56 +00:00
cbiesinger%web.de
b3d2012876 bug 230343, support CSS2.1 cursor:progress
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@151045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 21:27:56 +00:00
dbaron%dbaron.org
776f9f50ae Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148496 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:51:00 +00:00
bzbarsky%mit.edu
d43d8c0e1e Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.


git-svn-id: svn://10.0.0.236/trunk@147979 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org
c997dd0ad0 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
caillon%returnzero.com
c8612ff038 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
dbaron%dbaron.org
9f2fb7fb4a Remove hints from CSS property list. b=158713 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144408 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
c39b29646d Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144396 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 21:05:09 +00:00
mkaply%us.ibm.com
761436ea4a #188071
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow


git-svn-id: svn://10.0.0.236/trunk@143883 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 20:47:40 +00:00
dbaron%dbaron.org
bf4ec31727 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


git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00
bryner%netscape.com
0c30ac4a1e 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.
git-svn-id: svn://10.0.0.236/trunk@143061 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 22:39:05 +00:00
varga%netscape.com
9a018ee06d Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142076 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 22:23:55 +00:00
bryner%netscape.com
0c66a2052e 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.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
bryner%netscape.com
a40b1536d0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@139317 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 04:57:33 +00:00
sfraser%netscape.com
681cb0b389 Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them.
git-svn-id: svn://10.0.0.236/trunk@138511 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 03:34:15 +00:00
sfraser%netscape.com
94edbe3959 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138488 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:52:07 +00:00
caillon%returnzero.com
4e9b13ef00 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


git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
46afe71aab Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@136488 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:55:10 +00:00
caillon%returnzero.com
0f7366d6d0 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


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
6bf02d19fa 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
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu
e25496d35f 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
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
caillon%returnzero.com
36e93f89dd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst


git-svn-id: svn://10.0.0.236/trunk@130500 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 03:46:50 +00:00
caillon%returnzero.com
656972473a 167964 - nsCSSProps::LookupPropertyValue() doesn't handle -moz-appearance
r=dbaron sr=jst


git-svn-id: svn://10.0.0.236/trunk@129297 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:57:02 +00:00