1491 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +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
hwaara%chello.se
1779335a43 #117050, fix bustage for embeddors who turn XUL off.
r=dbaron, sr=blake


git-svn-id: svn://10.0.0.236/trunk@111161 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:07:54 +00:00
rbs%maths.uq.edu.au
20e46cd092 Whitespace to correct the bug number in my earlier checkin comments: should be 105297 (instead of 105219)
git-svn-id: svn://10.0.0.236/trunk@111002 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:42:46 +00:00
rbs%maths.uq.edu.au
a5608ba13b Make unchecking `Allow documents to use other fonts' to work in a simpler way, b=105219, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110996 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:25:58 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
glazman%netscape.com
d430c2f52d oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110888 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:21:01 +00:00
glazman%netscape.com
76e810cc78 computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110887 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:15:32 +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
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bzbarsky%mit.edu
ea7174b216 Implement (turn on, really) SetCssText for style declarations. Bug
91370, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@110526 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 04:33:11 +00:00
sfraser%netscape.com
ff5c1dcc81 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
sfraser%netscape.com
a0c101bff7 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110493 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:07:43 +00:00
peterlubczynski%netscape.com
c0882ccfc5 Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan
git-svn-id: svn://10.0.0.236/trunk@110451 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 03:47:02 +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
7346b469f0 bug 60365 - have caption inherit margin-left, margin-right, align=center from table. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110285 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 21:28:47 +00:00
hewitt%netscape.com
0b50d686f1 114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110252 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:53 +00:00
hewitt%netscape.com
e950ac1c5c 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110251 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:16 +00:00
hewitt%netscape.com
5078bd3bd8 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110250 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:11:09 +00:00
shanjian%netscape.com
db6a4146a5 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110219 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:12:34 +00:00
bzbarsky%mit.edu
d8dc8592bc Add an assertion to the CSS loader for cases when sheet decoding fails.
stopgap measure for bug 106843, r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110201 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:48:49 +00:00
dp%netscape.com
e1a23ad8a5 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@110132 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 16:14:02 +00:00
dbaron%fas.harvard.edu
b602d311d7 Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver
git-svn-id: svn://10.0.0.236/trunk@110096 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 22:46:21 +00:00
jaggernaut%netscape.com
357c78f88e BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110075 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 07:08:38 +00:00
attinasi%netscape.com
1a34462861 Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin
git-svn-id: svn://10.0.0.236/trunk@109917 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:38:27 +00:00
bzbarsky%mit.edu
49ffcb2809 Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109878 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu
bcc3a4a7b2 Fix computed positioning style for static elements and computed
z-index.  Bug 109523, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109861 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:15:54 +00:00
seawood%netscape.com
b744e4e636 Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@109826 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 10:10:15 +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
bzbarsky%mit.edu
8855009f3b Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109737 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 14:06:34 +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
alecf%netscape.com
728ab648ca fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
alecf%netscape.com
104971899d part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt


git-svn-id: svn://10.0.0.236/trunk@109558 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:03:18 +00:00
dbaron%fas.harvard.edu
d43ae7083a Fix leak (and other) regression from previous checkin. b=111815
git-svn-id: svn://10.0.0.236/trunk@109477 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 04:07:17 +00:00
dbaron%fas.harvard.edu
7a15a72b48 Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109475 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:44:45 +00:00
bzbarsky%mit.edu
d414acca70 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
git-svn-id: svn://10.0.0.236/trunk@109474 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:28:48 +00:00
jst%netscape.com
304a701c9b Whitespace changes.
git-svn-id: svn://10.0.0.236/trunk@109199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:59:31 +00:00
rods%netscape.com
e97e909b21 Give checkbox and radio face color on active
Bug 56585 r=bryner sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109197 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:54:38 +00:00
jst%netscape.com
be2baf922d Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109187 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 08:48:53 +00:00
dbaron%fas.harvard.edu
3b6c33c60c Fix HP bustage by moving GetStyleData function templates from nsStyleStruct.h to nsIFrame.h and nsIStyleContext.h b=111883
git-svn-id: svn://10.0.0.236/trunk@109122 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:50:13 +00:00
dbaron%fas.harvard.edu
1771b4505d Add typesafe functions (global |GetStyleData|) for accessing style data. b=111883 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109112 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 05:04:23 +00:00
dbaron%fas.harvard.edu
397b3fb021 Consider the result of |mStyleRuleSupplier->UseDocumentRules| in FileRules to prevent incorrect application of document rules to scrollbars and some form controls. Patch from <fantasai@escape.com>. r=dbaron sr=hyatt b=109808
git-svn-id: svn://10.0.0.236/trunk@109107 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:54:05 +00:00
dbaron%fas.harvard.edu
d3232628b5 Fix crash and incorrect calculation of percentage line-height by computing relative to self's font-size rather than parent's font size. r=pierre sr=hyatt b=111405
git-svn-id: svn://10.0.0.236/trunk@109104 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:35:52 +00:00
alecf%netscape.com
bf4d9b0e6e first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
git-svn-id: svn://10.0.0.236/trunk@109022 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:13:53 +00:00
timeless%mac.com
1f72525f45 Bugzilla Bug 111606ÿWant black combo box arrow
by neil@parkwaycc.co.uk r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109003 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 15:48:16 +00:00