2281 Commits

Author SHA1 Message Date
tor%cs.brown.edu
3d390bd26b Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165363 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 04:43:11 +00:00
tor%cs.brown.edu
b5ae075b44 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165164 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 18:19:28 +00:00
dbaron%dbaron.org
cbc49eb4ea Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164706 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 17:33:50 +00:00
bzbarsky%mit.edu
fe32860667 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@164487 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 02:19:43 +00:00
bzbarsky%mit.edu
874f1be4cf Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +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
mrbkap%gmail.com
58db93fd54 bug 263083: view-source now shows tokenizer-level errors, I forgot to check this in earlier. r=rbs sr=dmose
git-svn-id: svn://10.0.0.236/trunk@164401 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 23:54:04 +00:00
bzbarsky%mit.edu
5da8517b59 Make vertical marquees actually be 200px height by default. Bug 265631,
original patch by Martijn Wargers <m.wargers@hccnet.nl> with some changes by
me, r=doron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@164283 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:33:22 +00:00
bzbarsky%mit.edu
8ad598b075 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org
0739175c63 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@164266 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 04:43:49 +00:00
dbaron%dbaron.org
307067aa6d Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@164265 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 04:32:21 +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
bzbarsky%mit.edu
ea4f69c690 Make sure to set mScannerInited when it is. Bug 263959, caught by jag
git-svn-id: svn://10.0.0.236/trunk@163735 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 15:06:04 +00:00
aaronleventhal%moonset.net
1407eea6a0 Bug 263685. getComputedStyle not working on -moz-outline-radius. r=roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163710 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 03:32:28 +00:00
bzbarsky%mit.edu
cde277f1cf Don't create new nsCSSScanners all the time. Just make nsCSSScanner a
non-pointer member of nsCSSParser so when we recycle parsers scanners get
recycled automatically.  Bug 263959, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163709 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 03:30:55 +00:00
dbaron%dbaron.org
b791c16965 Move CSS error reporting functions from parser to scanner so that scanner can report errors, and fix up the one existing error report in the scanner that I'd forgotten about. b=262249 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163612 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 18:44:14 +00:00
bzbarsky%mit.edu
36f337d43f Look at style height in addition to the height attribute for vertical
marquees.  Bug 262708, r=doron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163574 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 03:21:13 +00:00
aaronleventhal%moonset.net
46ade20e52 Nit - fixing comment for checkin to bug 24676
git-svn-id: svn://10.0.0.236/trunk@163493 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net
7ec450431d Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc
git-svn-id: svn://10.0.0.236/trunk@163489 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu
ad59771509 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163474 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 16:55:54 +00:00
bmlk%gmx.de
d6ca5264ed reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
bustage fix


git-svn-id: svn://10.0.0.236/trunk@163468 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:25:31 +00:00
roc+%cs.cmu.edu
22e0ff6cb8 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu
cd5e4baffe Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163273 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:45:42 +00:00
bzbarsky%mit.edu
f5d6536bd1 Fix crash if insertRule() is called on an empty string. Bug 261798, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163272 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:34:06 +00:00
dbaron%dbaron.org
8552a17451 Add helper functions that make it easier to cache factories. b=261310 r=darin
git-svn-id: svn://10.0.0.236/trunk@163132 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 00:44:13 +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
bb8fde66b4 Add debug MaxDifference() function to style structs and add some asserts in
style context code to catch structs that are returning unexpected or bogus
hints.  Bug 258910, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163071 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 03:33:05 +00:00
bzbarsky%mit.edu
09bf6e10e5 Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +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
dbaron%dbaron.org
58f19edbad Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162996 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 05:18:05 +00:00
neil%parkwaycc.co.uk
1e6e5a6511 Bug 260282 <marquee> with invalid direction attribute should scroll left p=gautherie@noos.fr r=doron sr=me
git-svn-id: svn://10.0.0.236/trunk@162827 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-26 22:37:50 +00:00
dbaron%dbaron.org
40677d0de3 Turn on CSS error reporting. b=65469 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162579 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:42 +00:00
dbaron%dbaron.org
123881d207 Fix bustage when CSS error reporting disabled. b=187007
git-svn-id: svn://10.0.0.236/trunk@162555 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 20:08:20 +00:00
dbaron%dbaron.org
00ee6e5230 Make CSS errors localizable. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162553 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 19:38:11 +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
dbaron%dbaron.org
807b635c41 Null-check document to fix crash, and a little other cleanup. b=258843 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162512 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 20:50:22 +00:00
mats.palmgren%bredband.net
4424e43f2f Allow styling of SELECT border. b=244370 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162414 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 21:17:37 +00:00
dbaron%dbaron.org
e8bca4edc1 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
72c1cdb87b Fix VC7 bustage. b=258793
git-svn-id: svn://10.0.0.236/trunk@162242 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 20:40:46 +00:00
dbaron%dbaron.org
bbe291225f The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162195 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 05:39:27 +00:00
mats.palmgren%bredband.net
1cbbbb7f10 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162184 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 22:46:56 +00:00
dbaron%dbaron.org
3956b19b41 Backing out bug 167001, which I should not have reviewed without more careful consideration.
git-svn-id: svn://10.0.0.236/trunk@162168 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 19:32:50 +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
bmlk%gmx.de
ad152997a3 changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162133 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:13:47 +00:00
smontagu%smontagu.org
0abf27ba72 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@162131 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
0c2068f65a Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162122 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
af8931a4f1 Fix DEBUG bustage. b=255538
git-svn-id: svn://10.0.0.236/trunk@162071 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 09:31:10 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
b74edc231a Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162054 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 04:57:30 +00:00