Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This means we can move the hacks from drupal.css to a separate stylesheet and avoid loading it for every user out there.
Pros:
* Modern browsers CSS are error free (W3C love, might have performance benefits);
* Modern browsers CSS are 3 lines shorter (wow!);
Cons:
* IE users will send an extra request (making the browser performance even slower);
Comment | File | Size | Author |
---|---|---|---|
#1 | conditionally-add-IE-stylesheet-from-theme-info-file-1440958-1.patch | 2.22 KB | kyletaylored |
Comments
Comment #1
kyletaylored CreditAttribution: kyletaylored commentedWell, I'm hoping this is what was meant. Added to preprocess_html to conditionally add IE stylesheet. Test in IE7 browser mode and it seems to be loaded and working.
Comment #2
haydeniv CreditAttribution: haydeniv commentedGood enough for me. Committed: ed2e58b
Going to role a 1.0 release of Tao tonight.