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
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
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
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
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
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
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
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
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
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
0d5a66a19f
Fix build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@162051 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:52:48 +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
dbaron%dbaron.org
d116431504
Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161992 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 17:32:35 +00:00
dbaron%dbaron.org
d788090231
Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161907 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 05:42:03 +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
tor%cs.brown.edu
da01ea4deb
Bug 216563 - implement <svg:switch>.
...
Patch by scootermorris@comcast.net , r=afri, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161152 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 21:10:39 +00:00
dbaron%dbaron.org
ba07da6cf7
Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161075 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:55:17 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
timeless%mozdev.org
5f942cda70
Bug 253539 Report origin url for css mime warnings/errors
...
r=bz sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@160886 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-18 02:32:25 +00:00
bzbarsky%mit.edu
bc3dc7ebe0
Do style reresolves and restyles due to attribute changes asynchronously so
...
that pages that modify two or more style properties of the same object in a row
work faster. Bug 230170, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
tor%cs.brown.edu
20578e63ca
Bug 234789 - SVG text ignores font-size if no unit specified.
...
Patch by scootermorris@comcast.net , r=tor, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@160579 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 00:02:47 +00:00
darin%meer.net
af6e1f6a92
fixing win32 debug bustage
...
git-svn-id: svn://10.0.0.236/trunk@160457 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 19:48:04 +00:00
darin%meer.net
8c48fd6972
fixing win32 debug bustage; we really need a debug tinderbox!!
...
git-svn-id: svn://10.0.0.236/trunk@160456 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 19:42:47 +00:00
dbaron%dbaron.org
e51e8e70e0
Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099
...
git-svn-id: svn://10.0.0.236/trunk@160409 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 19:10:16 +00:00
dbaron%dbaron.org
e29b7fd0e4
Attempt to fix Windows bustage. b=238099
...
git-svn-id: svn://10.0.0.236/trunk@160407 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 18:44:42 +00:00
dbaron%dbaron.org
3ea4fea687
Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160406 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk
0bbab9b402
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
dbaron%dbaron.org
03b3717bb3
Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160332 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:27:28 +00:00
dbaron%dbaron.org
f5d5060a41
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00