dbaron%dbaron.org
afa5639bce
Flush layout earlier in getComputedStyle(). (Bug 454276) r+sr=bzbarsky a1.9.0.8=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256486 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-08 19:16:02 +00:00
roc+%cs.cmu.edu
c1271515ea
Bug 363183. Fix getComputedStyle left/top/width/height for tables. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@244391 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 21:53:10 +00:00
tor%cs.brown.edu
0722ee44b2
Bug 383184 - Implement SVG lighting filters.
...
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231040 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:57:43 +00:00
dbaron%dbaron.org
c43accf129
Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@230594 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:58:37 +00:00
tor%cs.brown.edu
03bf68f490
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@230571 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 14:20:28 +00:00
roc+%cs.cmu.edu
a9b24741e2
Bug 364680. Intrinsic widths for columns. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@230345 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 02:21:44 +00:00
masayuki%d-toybox.com
605efe68cb
Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
bzbarsky%mit.edu
1788f844d4
Make computed style handle "normal" for line-height by computing an actual
...
numeric height. Bug 371041, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225943 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 05:30:10 +00:00
bzbarsky%mit.edu
5907b0a328
min-width/height should not affect computed max-width or max-height. Both of
...
them should affect computed width and height, though. Bug 371042, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224874 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 07:04:33 +00:00
bzbarsky%mit.edu
8a1cc76eca
Refactor some repetitive computed style code. Bug 365932, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@220587 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 18:43:16 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
f910247453
Make computed style output the a part of rgba/hsla colors, and also implement the 'transparent' keyword from css3-color. b=347912 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218881 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:03:02 +00:00
bzbarsky%mit.edu
a9c6606754
Make computed style not have to worry about null style structs. Bug 364821, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@217558 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:17:59 +00:00
bzbarsky%mit.edu
70c517f74d
Remove most of the aFrame args in computed style; just store the frame in a
...
member instead. Bug 364617, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217340 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 06:10:32 +00:00
bzbarsky%mit.edu
92ae61a0e2
Use typesafe methods for getting style structs, for now. Bug 363605, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217175 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:16:09 +00:00
dbaron%dbaron.org
d0ca35d600
Fix crash regression by doing the best we can for computed padding/margin when there's no frame. b=363950 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217033 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:39:43 +00:00
dbaron%dbaron.org
a02fd2d2f8
File comments that show up in LXR and provide a quick summary of what's in each file.
...
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
bzbarsky%mit.edu
d33e0cbb78
Fix crashes when computed style is used on a dead presentation. Bug 291183,
...
r+sr=dbaron, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174101 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 01:51:15 +00:00
dbaron%dbaron.org
72020748e5
Implement CSS2 counters. b=3247 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
gerv%gerv.net
4d26b0351f
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@168632 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 15:28:15 +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
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
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
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
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
dbaron%dbaron.org
401c86df69
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144730 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:44:25 +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
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
caillon%returnzero.com
4e9b13ef00
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
b936f80095
Margin/padding computations need to flush the reflow queue. Bug 173354,
...
r=caillon, sr=heikki, a=asa.
git-svn-id: svn://10.0.0.236/trunk@132066 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:38:52 +00:00
caillon%returnzero.com
0f7366d6d0
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
caillon%returnzero.com
1c8e700439
Attempting to fix Windows bustage
...
git-svn-id: svn://10.0.0.236/trunk@131369 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:03:56 +00:00
caillon%returnzero.com
ea24d37b22
More footprint work; Axing the large switch statement in GetPropertyCSSValue()
...
bug 172207 r=bzbarsky sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131356 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:53:31 +00:00
caillon%returnzero.com
6476611c63
Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
...
r=dbaron sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131084 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 19:41:42 +00:00
caillon%returnzero.com
36e93f89dd
Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
...
r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@130500 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 03:46:50 +00:00
caillon%returnzero.com
d17b0d8424
* Implement CSSValueLists and computed -moz-border-{side}-colors
...
* Get the computed -moz-binding directly from the style context which is faster than getComputedStyle
* Speed up computed style by not QI'ing so much
* Cache the computed style object so we don't keep re-alloc'ing memory for it.
* Shrink ROCSSPrimitiveValue.
* Don't get computed style of non-existant properties.
* Use nsSize instead of nsRect when we only care about height and width
* Other random code cleanup of computed style
Bug 155525
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@124754 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 07:11:59 +00:00
caillon%returnzero.com
6584856e59
Bug 153044. Computed style implementation for some -moz-border-radius properties.
...
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@123776 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 06:42:21 +00:00
caillon%returnzero.com
55ddf331b7
Bug 113273. Implement computed style for '-moz-appearance', '-moz-box-*', '-moz-float-edge', and '-moz-user-*'. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@119490 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:30:57 +00:00
dbaron%fas.harvard.edu
71d51343f1
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 01:08:17 +00:00
caillon%returnzero.com
c56a306976
Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117209 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:18:42 +00:00