bzbarsky%mit.edu
e25a5d7333
Make the nsStyleBorder constructor be smarter about setting default border
...
style; nix the unnecessary BORDER_STYLE_DEFINED stuff. Bug 279156, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@169353 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:09:36 +00:00
tor%cs.brown.edu
8e4cbfc529
Bug 193825 - <svg:clipPath> implementation.
...
r=scooter, sr=dbaron for shared moz files.
git-svn-id: svn://10.0.0.236/trunk@168283 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 03:55:03 +00:00
cbiesinger%web.de
a8dbace73d
38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
...
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
tor%cs.brown.edu
308eece6d8
Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@166471 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 03:16:15 +00:00
roc+%cs.cmu.edu
d6143a38f4
Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@165810 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 18:40:58 +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
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
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
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
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
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
30c83961ca
Land bug 72747 in pieces: add functions for common overflow tests to nsStyleDisplay. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161681 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:18:37 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +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
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
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
d1c1168c09
Back out 236889 due to 253755.
...
git-svn-id: svn://10.0.0.236/trunk@160168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 07:42:12 +00:00
dbaron%dbaron.org
8c1a22db88
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@160070 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 20:07:25 +00:00
roc+%cs.cmu.edu
9479fac3b5
Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159419 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:12:46 +00:00
dbaron%dbaron.org
483db44bb1
Backing out half of 236889.
...
git-svn-id: svn://10.0.0.236/trunk@159367 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
95176bd66a
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload.
...
git-svn-id: svn://10.0.0.236/trunk@159363 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:26:39 +00:00
bzbarsky%mit.edu
a569b89925
Testing backout of bug 236889 to see effect on performance. a=#mozilla
...
git-svn-id: svn://10.0.0.236/trunk@159232 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
ce40a33058
Pull nsStyleContent::AllocateContents out of line, to fix Windows bustage (since this file is included outside of layout and the compiler doesn't seem able to inline it. b=249809
...
git-svn-id: svn://10.0.0.236/trunk@159220 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 23:51:25 +00:00
dbaron%dbaron.org
27b14921d7
Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159201 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:19:22 +00:00
dbaron%dbaron.org
ca93e21901
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@159197 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:10:55 +00:00
roc+%cs.cmu.edu
f8fdf5f9c2
Bug 245297. Add basic style system support for columns. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@158023 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 11:57:37 +00:00
bryner%brianryner.com
1df9753a77
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@157620 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 23:53:59 +00:00
caillon%redhat.com
b9425c4a43
Remove '-moz-resizer' from the style system.
...
Bug 242712. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156009 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:37:32 +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
bryner%brianryner.com
2359d2f7c4
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
dbaron%dbaron.org
950b1a4459
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
...
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +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
87f96cc17d
Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151470 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 01:12:58 +00:00
bryner%brianryner.com
468d3e2e8d
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
uid502
bdc0f5a1e4
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +00:00
dbaron%dbaron.org
f31588e72c
Add empty constructor to fix Sun compiler bustage. b=221187 Patch from Harshal Pradhan <keeda@hotpop.com>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147556 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 16:25:55 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +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
bryner%brianryner.com
978d05c917
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bryner%netscape.com
0c66a2052e
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
2d30530b49
Oops! nsStyleSVG never had a GetStyleStructID method. b=196603
...
git-svn-id: svn://10.0.0.236/trunk@139534 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 21:54:49 +00:00
dbaron%dbaron.org
efc8215ab8
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139384 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 15:29:36 +00:00
roc+%cs.cmu.edu
220a586522
Bug 195883. %-values are not valid for '-moz-opacity'.
...
git-svn-id: svn://10.0.0.236/trunk@139134 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 03:08:25 +00:00
dbaron%dbaron.org
089db98924
Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139035 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:14:17 +00:00
bryner%netscape.com
c44337949a
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00