44 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
e8f31961d7 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +00:00
timeless%mozdev.org
d9140404fc Bug 133708 Simplify nsStyleList::CalcDifference
r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@133134 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 07:31:27 +00:00
bzbarsky%mit.edu
505d37753e Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131920 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 18:55:12 +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
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
bzbarsky%mit.edu
8df67b73a5 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@127417 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:00:23 +00:00
dbaron%fas.harvard.edu
e58a8cf95b Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
git-svn-id: svn://10.0.0.236/trunk@127250 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:34:39 +00:00
caillon%returnzero.com
d16eaa61f6 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@126644 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 07:39:34 +00:00
seawood%netscape.com
08f53dff2a The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032


git-svn-id: svn://10.0.0.236/trunk@124604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 17:14:41 +00:00
seawood%netscape.com
a7c7e77b8b Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu
8703400ee9 Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123823 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 22:31: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
attinasi%netscape.com
dbe40cd4b1 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
dbaron%fas.harvard.edu
d5b6a2cebe Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114694 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:24:25 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
roc+%cs.cmu.edu
9e52ce4c8a Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112990 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:53:27 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +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
hewitt%netscape.com
7ae75ccb84 115804 - nsStyleBorder::CalcDifference not accounting for mBorderColors, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110790 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 11:59:31 +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
hyatt%netscape.com
a8c77bc7d0 Fix smoketest blocker.
git-svn-id: svn://10.0.0.236/trunk@109749 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 19:46:43 +00:00
hyatt%netscape.com
6c6f01e32e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
bzbarsky%mit.edu
0220720066 Fixing bogus indentation that I missed (checked in old version of
patch). bug 84599 reprise, r=glazou, sr=attinasi (still).


git-svn-id: svn://10.0.0.236/trunk@107871 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 03:56:49 +00:00
bzbarsky%mit.edu
7d6358f8fc Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107832 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 17:29:04 +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
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
bzbarsky%mit.edu
0d0ca5eeac Make changes to clip property trigger a reflow change, not just a visual
change.  Bug 88653, r=pierre, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@104972 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:21:02 +00:00
rbs%maths.uq.edu.au
1797500207 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103966 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:33:58 +00:00
hewitt%netscape.com
f15e8fc2e2 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103733 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:17:00 +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
rjesup%wgate.com
66b1bc3856 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.


git-svn-id: svn://10.0.0.236/trunk@103624 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 15:26:39 +00:00
rjesup%wgate.com
faf5fdf631 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103611 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 07:35:04 +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
waterson%netscape.com
e7d5253d74 Bug 91478. Don't incorporate mFlags when computing difference between two fonts. r=attinasi, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@99738 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-22 22:49:52 +00:00
dbaron%fas.harvard.edu
ee486fee11 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958
git-svn-id: svn://10.0.0.236/trunk@98239 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 03:15:58 +00:00
hyatt%netscape.com
b4905f36bc Fix for 83613. r=dbaron, sr=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@96189 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 21:04:23 +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