Граф коммитов

46 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky@mit.edu 7c7a8cb92e Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
bzbarsky@mit.edu 6ca8674b9d Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
bzbarsky@mit.edu c666ccae11 Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
bzbarsky@mit.edu 9a2d9fdbe7 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
bzbarsky%mit.edu 7b4500d354 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking
2007-08-08 01:16:12 +00:00
bzbarsky%mit.edu 3c5c154175 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 19:44:27 +00:00
bzbarsky%mit.edu 5506a6ac4f Add an API to observe all loads in a CSSLoader. Change XML prettyprinting to
not start layout till after the prettyprinter stylesheet is loaded, so we don't
reflow and reconstruct the whole thing twice.  Bug 380612, r+sr=sicking
2007-05-31 01:42:48 +00:00
bzbarsky%mit.edu ee773f7a7d Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking
2007-04-20 22:59:18 +00:00
bzbarsky%mit.edu 04a41d4a37 Rev nsICSSLoader IID too. Bug 319654. 2006-11-11 22:28:09 +00:00
bzbarsky%mit.edu 570e4c2513 Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.
2006-11-11 22:27:00 +00:00
roc+%cs.cmu.edu 8c3f0278d7 Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky 2006-06-15 03:20:19 +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
bzbarsky%mit.edu 025c02e44e Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu 89e40bbf0f Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan 2005-04-14 15:27:16 +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
dbaron%dbaron.org 311b293f7d 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
neil%parkwaycc.co.uk d85ecd00f9 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
darin%meer.net 25d84ac621 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
bzbarsky%mit.edu 4f04752672 Don't use HTML rules to parse (redundantly) media strings in CSS @import
rules.  Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +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
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 4667677aa7 Change nsICSSLoader to nsAString instead of nsString (build bustage). 2002-12-03 06:46:46 +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
heikki%netscape.com b0e0f669e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
bzbarsky%mit.edu 389100cc23 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
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 d558717301 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +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
bzbarsky%mit.edu 7f9eeaa84b Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +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 70d6c75c7c Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
peterv%netscape.com bcc4d7040c Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst. 2001-05-21 13:01:41 +00:00
peterv%netscape.com 899061aa64 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
attinasi%netscape.com 7717c427de 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
vidur%netscape.com 1c8159ed5e For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre. 1999-12-04 01:27:14 +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 2bad49b1ac hooked up quirk mode 1999-07-07 01:28:04 +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 3e2badcc1a added default namespace ID to loading 1999-06-15 06:18:23 +00:00
peterl%netscape.com c7644ee0fc added drop doc reference
added load agent sheet
added usage notes
1999-05-26 23:51:25 +00:00
peterl%netscape.com cb7284df94 added css loader 1999-05-18 23:15:10 +00:00