vladimir%pobox.com
778c1681c5
b=288796, add public ParseColorString method to CSSParser, r+sr=dbaron,a=asa
2005-04-18 02:51:40 +00:00
dbaron%dbaron.org
4b1913ff77
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
2005-03-30 00:36:57 +00:00
dbaron%dbaron.org
2afd699c4e
Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky
2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
96c0e36f4e
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
2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
9e2cdf2204
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
2004-09-09 17:32:35 +00:00
tor%cs.brown.edu
30b7993601
Bug 234789 - SVG text ignores font-size if no unit specified.
...
Patch by scootermorris@comcast.net , r=tor, sr=dbaron.
2004-08-10 00:02:47 +00:00
bzbarsky%mit.edu
cbcd653320
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
2004-06-08 01:32:29 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
dbaron%dbaron.org
ec0bfea4ea
Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky
2003-10-30 01:40:33 +00:00
dbaron%dbaron.org
97c994908a
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
2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
0a143da53b
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
2003-06-07 22:14:42 +00:00
bzbarsky%mit.edu
2884e64d50
Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
...
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
bzbarsky%mit.edu
d9ea7f8f8f
Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
...
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream. Use this in the CSSLoader instead of
allocating a single big buffer for the sheet. Clean up the way we look
for the @charset charset in the sheet data.
r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.
2002-08-27 23:47:25 +00:00
roc+%cs.cmu.edu
cb32a0f906
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
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
6d2263f19b
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
a68d8f9629
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:56:05 +00:00
blythe%netscape.com
65cd19adda
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
dougt%netscape.com
942988df26
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu
7a6cc28476
Make setting element.style.foo just parse the value instead of creating
...
a property:value pair and parsing that. Speeds up setting of
element.style.top by about 5%. Bug 99797, r=attinasi, sr=jst
2001-09-28 01:38:36 +00:00
gerv%gerv.net
1968b7dad2
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
dbaron%fas.harvard.edu
e5670937de
Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi
2001-09-17 23:59:30 +00:00
bzbarsky%mit.edu
268f16e017
Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
...
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar. So ParseRule() has to return an array of
rules, not just a rule. r=dbaron, sr=jst
2001-09-06 13:14:35 +00:00
bzbarsky%mit.edu
a0c586aa4f
Fix the nsIDOMMediaList interface to have the right properties. Make
...
media rules implement nsIDOMCSSMediaRule. Fix insertRule() to be able
to insert into the middle of a rule list. Fix issues with stylesheets
not getting dirtied when media lists are modified. bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
jst%netscape.com
ef8e746fdd
WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
2000-05-03 21:42:00 +00:00
attinasi%netscape.com
31410d2cca
Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500
2000-04-23 02:01:40 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
peterl%netscape.com
2740355f28
hooked up quirk mode
1999-07-07 01:28:04 +00:00
waterson%netscape.com
0370e7c3fd
Add GetIID().
1999-06-30 19:47:42 +00:00
warren%netscape.com
1f76168d21
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
peterl%netscape.com
a352098c9a
added set child loader
1999-05-18 23:09:47 +00:00
peterl%netscape.com
cdecfbc7dd
fix spelling
1998-12-21 05:58:58 +00:00
peterl%netscape.com
a16ab20767
added case sensativity switch
1998-12-11 02:48:40 +00:00
peterl%netscape.com
d66876022f
removed processimport
1998-11-26 05:16:43 +00:00
peterl%netscape.com
e3f218d5b4
style change notification support
1998-11-26 01:34:53 +00:00
vidur%netscape.com
7cff1485c8
Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports.
1998-10-06 01:39:33 +00:00
peterl%netscape.com
d221719350
added hint to parse delcaration
1998-09-29 23:49:19 +00:00
vidur%netscape.com
b4fc446c94
Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration.
1998-09-25 00:51:45 +00:00
kipp
d9e2ce27b1
Revised API to be com-ish and added ParseDeclarations
1998-05-28 18:39:08 +00:00
kipp
098bef52b4
moved to pub
1998-04-13 20:24:54 +00:00