bzbarsky%mit.edu
af5fd59293
Add an internal security-check-less method for adding rules to stylesheets to
...
fix bug 386939. r+sr=dbaron
2008-01-18 05:23:44 +00:00
bzbarsky%mit.edu
71b276e4b9
Make the "href" property of stylesheets reflect the original URI that was
...
reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore
2007-10-23 21:56:43 +00:00
bzbarsky%mit.edu
d979f584e1
Stylesheets should know what their principal is, and it should be based on the
...
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to. Propagate this
principal as the loading principal to @import loads from stylesheets. Change
sheet access checks to use this principal instead of the sheet URI. Bug
221428, r+sr=peterv
2007-05-01 19:26:15 +00:00
dbaron%dbaron.org
668f9730a4
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00
bsmedberg%covad.net
dff1dea638
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
dbaron%dbaron.org
70322f91af
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
2005-03-30 00:36:57 +00:00
bryner%brianryner.com
8e64d7cfb4
Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron.
2005-02-19 00:10:38 +00:00
bryner%brianryner.com
da55bc0cf2
Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky.
2005-02-18 19:18:37 +00:00
dbaron%dbaron.org
4c36660044
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
6f95c06071
Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky
2004-08-04 03:27:28 +00:00
dbaron%dbaron.org
fa4808301b
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
2004-07-28 07:08:41 +00:00
gerv%gerv.net
692411203a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
ca7587571d
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
2003-10-06 13:24:55 +00:00
caillon%returnzero.com
01645eaf4b
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
dbaron%dbaron.org
440c73cd8f
Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
83af5aded6
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
peterv%netscape.com
b3d575fd9b
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
bzbarsky%mit.edu
9694162f77
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
c815579255
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
2002-12-03 05:48:14 +00:00
bzbarsky%mit.edu
21f46def80
dynamically adding @import rules does not trigger all the updates it
...
should. Bug 160065, r=peterv, sr=dbaron
2002-08-06 05:08:47 +00:00
dbaron%fas.harvard.edu
2bf216c9e2
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
2407cfe7f8
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
dougt%netscape.com
1f40b94136
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
gerv%gerv.net
2b0c9d0438
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu
168fa487a7
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
bzbarsky%mit.edu
70d6c75c7c
Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
2001-08-04 21:19:53 +00:00
attinasi%netscape.com
36e73369c4
Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
2000-06-02 21:45:06 +00:00
braddr%puremagic.com
759c1f59be
eliminiate NS_COMFALSE and remove a layer of logical negation.
...
r=brendan
2000-04-16 00:23:57 +00:00
dmose%mozilla.org
42fc94a6ec
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
d023d57dc3
First step at fixing 12106, factored out style rule processing from
...
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
warren%netscape.com
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
peterl%netscape.com
3691ea9a91
added default namespace id
1999-06-15 06:18:37 +00:00
peterl%netscape.com
56a1156cd5
Cleanup API
...
Added support for other rule types
Added namespace support
1999-06-10 05:22:13 +00:00
peterl%netscape.com
7f70332c59
added modified test to api
1999-06-03 01:55:02 +00:00
peterl%netscape.com
9533665652
added Clearmedia
1999-05-26 23:51:42 +00:00
peterl%netscape.com
e91fd4e204
added insert child sheet & clone methods
1999-05-18 23:10:09 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
scc%netscape.com
2513a5445e
Added static IID() method. This member function will be generated automatically in the future.
1998-12-18 03:43:29 +00:00
waterson%netscape.com
07920c6756
Added initializer that can be used from the repository.
1998-12-03 20:19:46 +00:00
peterl%netscape.com
4f5e330093
changed medium type to atom
1998-12-02 00:36:00 +00:00
peterl%netscape.com
19549c35a8
made css style sheet public (for mac)
1998-11-26 05:17:03 +00:00