67 Commits

Author SHA1 Message Date
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
tor%cs.brown.edu
c10cf6e314 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.


git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +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
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
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
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
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
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
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
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
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
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
alecf%netscape.com
bc74aa5083 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140556 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:51:07 +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
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
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
glazman%netscape.com
fa21906e76 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
git-svn-id: svn://10.0.0.236/trunk@126518 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 14:39:55 +00:00
bzbarsky%mit.edu
544e250544 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@125524 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:58:10 +00:00
bzbarsky%mit.edu
050d8e8c55 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa


git-svn-id: svn://10.0.0.236/trunk@125114 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:46:19 +00:00
dbaron%fas.harvard.edu
1ec44c55ea Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:17:04 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
jshin%mailaps.org
9965dab7c4 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114578 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 09:21:08 +00:00
bryner%netscape.com
cb41e9c364 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:44:36 +00:00
pinkerton%netscape.com
a7cee19a47 twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser.
git-svn-id: svn://10.0.0.236/trunk@113139 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:10:57 +00:00
pinkerton%netscape.com
0e4ed82886 nsITheme impl on mac. r=sfraser/sr=hyatt. bugs 115731, 115733, 115735, 115737, 115740, 115749, 115760, 115763
git-svn-id: svn://10.0.0.236/trunk@112171 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 14:59:21 +00:00
hyatt%netscape.com
0a2e6683fa Fix for hover/active feedback on radio/checkbox/menulist in WinXP theme. r=hewitt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@111609 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:26:16 +00:00
hyatt%netscape.com
d2db2e6c2a Fixing 115750, support for tabpanels and tabs in WinXP, r=bryner, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111434 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 00:22:24 +00:00
hyatt%netscape.com
37c79ab46e Fix for 115750, WinXP tab support. r=bryner, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111431 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 23:44:39 +00:00
hyatt%netscape.com
78e80f4cc4 Fix for 115748, r=bryner, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@111377 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 00:15:48 +00:00
hyatt%netscape.com
2e88971c9c Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
bbaetz%cs.mcgill.ca
478af40f6f Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
karnaze%netscape.com
d4308b507a bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@107482 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:52:59 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
hyatt%netscape.com
d5f1d5af70 Fix for 71471. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@100159 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:09:27 +00:00
dbaron%fas.harvard.edu
40560def53 Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574
git-svn-id: svn://10.0.0.236/trunk@98604 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 02:05:59 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
pierre%netscape.com
dd850a3666 14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie
git-svn-id: svn://10.0.0.236/trunk@93636 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:31:31 +00:00
dbaron%fas.harvard.edu
90e814955b Add 3 proposed CSS3 system colors as -moz-FieldText, -moz-Dialog, and -moz-DialogText, which are needed to accurately represent system colors on GTK.
Restore GTK system color for WindowText to the correct value (fg rather than text).
Add debugging code that can be enabled to debug use of system colors in themes.
r=pierre@netscape.com  sr=blizzard@mozilla.org  b=67448


git-svn-id: svn://10.0.0.236/trunk@92475 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 00:46:07 +00:00
hyatt%netscape.com
7eeaba98a2 Fix for 70704 and 71261. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:34:02 +00:00
hyatt%netscape.com
e887dceb91 Fix for 70809. r=attinasi, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88615 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:30:30 +00:00
hyatt%netscape.com
47a980eb45 Fix for 70704, r=brendan, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88495 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 21:57:56 +00:00