Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

mod_pagespeed breaks forms in IE 8 with Compatability mode #154

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 11 comments
Closed

Comments

@GoogleCodeExporter
Copy link

For this, you need to register with www.sellmyretro.com to see it in action.

I have a short form in a html page, which basically has the following code:
                    <form action="/message/compose/TheDome" method="post">
                        <fieldset>
                            <label class="c8">
                                <span class="c11">To:</span>
                                <input type="text" class="text c12 cLast" id="to" name="to" value="TheDome"  onclick="lookupLocal();"/>
                            </label>
                            <div class="clear"></div>


                            <label class="c8">
                                <span class="c11">Subject:</span>
                                <input type="text" class="text c12 cLast" name="subject" value="Re: shipping" />
                            </label>
                            <div class="clear"></div>

                            <label class="c8">
                                <span class="c11">Message:</span>
                                <span class="c12 cLast">
                                <textarea class="c14" cols="14" rows="6" name="msg"><p>Original Messagetextarea></span>
                                </span>
                            </label>
                            <div class="clear"></div>
                            <div class="c8">
                                <button type="submit" class="submit cLast">Submit<img src="/themes/enuukGreen/img/buttonArrow.gif" alt="" /></button>
                                <input type="hidden" name="action" value="add" />
                            </div>
                            <div class="clear"></div>
                        </fieldset>
                        <p>
                        <a class="button" href="/message">Go back to the inbox <img src="/themes/enuukGreen/img/buttonArrow.gif" alt="" /></a>
                        </form>

Now admittedly, there is more than one form on the page - you can see it 
yourself if you join the site and then go to My Messages -> compose.

The form works fine in IE8, Firefox, Opera, Safari with or without 
mod_pagespeed.

However, if I try it in IE8 with compatability mode and mod_pagespeed enabled, 
then the submit button does nothing.  

I disabled mod_pagespeed and the form works again.

I have the following setup for mod_pagespeed:
    ModPagespeedRewriteLevel CoreFilters
    ModPagespeedEnableFilters collapse_whitespace,elide_attributes,outline_css,outline_javascript,
    ModPagespeedEnableFilters combine_css,rewrite_css

Original issue reported on code.google.com by rwap.services on 15 Dec 2010 at 8:22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant