bugGNU Wget - Bugs: bug #30747, Support for Internet Explorer...


bug #30747: Support for Internet Explorer conditional comments.

Submitter:  None
Submitted:  Wed 11 Aug 2010 02:31:20 PM UTC
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  In Progress
Privacy:  Public Assigned to:  None
Originator Name:  Adam Näslund Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  None
Operating System:  None Reproducibility:  None
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 11 Aug 2010 02:31:20 PM UTC, original submission:  

Conditional comments are a way to hide HTML code within a comment so that it is only interpreted by Internet Explorer (or certain versions of that browser).

It is often used in modern web design as a way of working around flaws in older versions of that browser, see the below example.

<!--[if IE 6]>
        <link rel="stylesheet" type="text/css" href="ie6fix.css" />

However, since Wget does not interpret conditional comments this leads to problems when Wget is used to save a static copy of a page employing them (using the above example the file "ie6fix.css" would not be downloaded).

It would be great if support for conditional comments could be added to Wget (possibly enabled via a command line argument).

For more information on conditional comments see http://www.quirksmode.org/css/condcom.html

Thank you for making Wget an awesome tool.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gscrivano (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-02 gscrivano StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code