bzbarsky%mit.edu
df51a4d2e4
Don't pass null frames to nsHTMLReflowState::GetContainingBlockFor. Bug
...
273458, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167260 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 20:17:25 +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
dbaron%dbaron.org
c007c30f20
Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@165930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 05:31:37 +00:00
bzbarsky%mit.edu
4c07e20fbe
Add a utility method for finding the containing block to nsHTMLReflowState, and
...
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent. Bug 263374, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165766 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 02:43: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
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
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
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
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
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
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
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
bzbarsky%mit.edu
0c601b530f
Use property ids from the property list, as long as we're using preprocessing
...
to create all the Set/Get* functions for nsIDOMCSS2Properties. Bug 243728, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157556 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 01:32:29 +00:00
cbiesinger%web.de
8290608b70
bug 243966 getPropertyValue truncates values for computed system font value
...
patch by Karsten Düsterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157384 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-03 21:19:08 +00:00
bzbarsky%mit.edu
73690f9d73
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +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
darin%meer.net
b9dcb1f1b3
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu
4681cee324
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
alex.fritze%crocodile-clips.com
a5d4669641
debug build bustage fix (bug#237169). r/sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@153907 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 11:17:38 +00:00
dbaron%dbaron.org
1a94650e48
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +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
bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
bryner%brianryner.com
b4581d93cf
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152127 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 22:41:40 +00:00
bryner%brianryner.com
e46f7c8143
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
caillon%returnzero.com
a6b89b89f0
Bug 230976.
...
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151476 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 02:42:27 +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
bzbarsky%mit.edu
4554c2ece4
Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@151459 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 20:04:26 +00:00
caillon%returnzero.com
9597ef526a
Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151390 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 22:06:39 +00:00
dbaron%dbaron.org
edb9425c61
Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben
...
git-svn-id: svn://10.0.0.236/trunk@151347 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 02:25:08 +00:00
roc+%cs.cmu.edu
2c7cf5d827
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@151089 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
dbaron%dbaron.org
a8191642ef
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +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
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +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
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
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu
67e7a64c5d
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00