Re: [WSG] Tracking print.css to detemine printed pages

2006-08-03 Thread Matthew Pennell

On 8/3/06, Patrick H. Lauke [EMAIL PROTECTED] wrote:

Just checking in Firefox with the LiveHTTPHeaders extension, it looks
like FF downloads the print.css when the page is loaded, not when you
hit print or print preview. I'll go out on a limb and say that this
behaviour may well be common in other browsers as well...so doing stats
based on the hits to that file seems like a no go.


I wonder whether you could do something with an image that is only
used during printing, for example specifying a background-image in
print.css that is not used normally? Do browsers parse stylesheets for
irrelevant media and load images from them?


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Tracking print.css to detemine printed pages

2006-08-03 Thread Chris Taylor
While on the surface that looks like a good solution, you have to
remember that by default browsers won't print any backgrounds (colors or
images) so the image you set as a background in the print.css file may
never get loaded.

Testing is certainly required as that info is scraped from the dusty
shelves at the back of my brain :0)

Chris 

-Original Message-
From: listdad@webstandardsgroup.org
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Pennell
Sent: 03 August 2006 08:45
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Tracking print.css to detemine printed pages

On 8/3/06, Patrick H. Lauke [EMAIL PROTECTED] wrote:
 Just checking in Firefox with the LiveHTTPHeaders extension, it looks 
 like FF downloads the print.css when the page is loaded, not when you 
 hit print or print preview. I'll go out on a limb and say that this 
 behaviour may well be common in other browsers as well...so doing 
 stats based on the hits to that file seems like a no go.

I wonder whether you could do something with an image that is only used
during printing, for example specifying a background-image in print.css
that is not used normally? Do browsers parse stylesheets for irrelevant
media and load images from them?


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Tracking print.css to detemine printed pages

2006-08-03 Thread Matthew Pennell

On 8/3/06, Chris Taylor [EMAIL PROTECTED] wrote:

While on the surface that looks like a good solution, you have to
remember that by default browsers won't print any backgrounds (colors or
images) so the image you set as a background in the print.css file may
never get loaded.


My guess would be that images are loaded regardless of whether the
print settings are set to print background images, same as they are
for hidden or display: none elements.


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Tracking print.css to detemine printed pages

2006-08-03 Thread Chris Taylor
Perhaps this is one of those browser default CSS issues we've been
hearing about recently, setting all backgrounds in the print media to
'none'. If anyone has the time to do some testing (unfortunately I don't
at the moment) I'd really like to see the results.

Chris

-Original Message-
From: listdad@webstandardsgroup.org
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Pennell
Sent: 03 August 2006 12:45
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Tracking print.css to detemine printed pages

On 8/3/06, Chris Taylor [EMAIL PROTECTED] wrote:
 While on the surface that looks like a good solution, you have to 
 remember that by default browsers won't print any backgrounds (colors 
 or
 images) so the image you set as a background in the print.css file may

 never get loaded.

My guess would be that images are loaded regardless of whether the print
settings are set to print background images, same as they are for hidden
or display: none elements.


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Tracking print.css to detemine printed pages

2006-08-02 Thread Patrick H. Lauke

Sigurd Magnusson wrote:


Has anyone used a separate, external print style sheet so that you could
review requests of the file, e.g. print.css, and look at the 'referer',
thereby seeing which pages get printed on a website? Does this technique
work, or do some browsers download this file with great abandon,
undermining the accuracy of doing this?


Just checking in Firefox with the LiveHTTPHeaders extension, it looks 
like FF downloads the print.css when the page is loaded, not when you 
hit print or print preview. I'll go out on a limb and say that this 
behaviour may well be common in other browsers as well...so doing stats 
based on the hits to that file seems like a no go.


P
--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**