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
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
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
caillon%redhat.com
8b416c61bf
We need to also copy over mAppearance in the nsCSSDisplay copy constructor
...
r+sr=bzbarsky via irc; no bug.
git-svn-id: svn://10.0.0.236/trunk@156105 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:41:38 +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
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
6b800e75e5
Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152274 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 06:10:56 +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
dbaron%dbaron.org
776f9f50ae
Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148496 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:51:00 +00:00
dbaron%dbaron.org
1686c6d5b3
Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144302 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
bf4ec31727
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00
dbaron%dbaron.org
15e0345ab1
Remove extraneous |inline| to fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@141160 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 04:19:27 +00:00
dbaron%dbaron.org
20478cc051
Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681
...
git-svn-id: svn://10.0.0.236/trunk@141155 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 03:07:34 +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
peterv%netscape.com
c96c6fa64f
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
dbaron%dbaron.org
1565ce1865
Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138216 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:23:46 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
caillon%returnzero.com
f0e8462e9b
Output 'background-position' values in the correct order (X before Y)
...
bug 189629, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136619 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 03:44:52 +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
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu
e8f31961d7
Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +00:00
glazman%netscape.com
ba5cb51bf5
CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@133139 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 08:31:19 +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
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
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
bzbarsky%mit.edu
8d8ee8c3b8
Fix bustage....
...
git-svn-id: svn://10.0.0.236/trunk@126461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:48:31 +00:00
bzbarsky%mit.edu
133bb5d856
Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@126447 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:42:44 +00:00
bzbarsky%mit.edu
31d3f74d14
Make .style and computed style format rgb() values the same way. Bug
...
160247, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126442 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:18:21 +00:00
alecf%netscape.com
7e8aa74093
fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
...
r=dmose, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
bryner%netscape.com
d63c986f4d
Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
...
git-svn-id: svn://10.0.0.236/trunk@124756 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 07:56:50 +00:00
glazman%netscape.com
fa208cf299
Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
...
b=148501, r=brade, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123313 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 12:36:43 +00:00
glazman%netscape.com
e22242dc35
fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121925 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 13:33:25 +00:00
glazman%netscape.com
5ba41690ab
output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
...
b=142019, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121922 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 08:16:42 +00:00
karnaze%netscape.com
d4a251b53a
bug 133997 - Bernd's patch to fix compiler warnings. a=asa, sr=attinasi, r=karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@117820 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 23:17:38 +00:00
attinasi%netscape.com
dbe40cd4b1
Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
b447eec349
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@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
karnaze%netscape.com
009e7ede52
bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
bryner%netscape.com
a58dd42daf
fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben.
...
git-svn-id: svn://10.0.0.236/trunk@114961 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:19:44 +00:00
dbaron%fas.harvard.edu
5ed6553b0d
Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114697 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:50:45 +00:00
bzbarsky%mit.edu
f68919f405
Relanding the Compare --> Equals conversion. a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373
Testing performance impact of backout of part of patch from bug 115289.
...
See bug 123947 for details.
git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
blythe%netscape.com
8f002dba27
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +00:00
rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00