Project

General

Profile

Actions

Bug #24066

closed

Integrate modernizr into the TYPO3 Backend

Added by Steffen Gebert about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

"Modernizr [1] is a small and simple JavaScript library that helps you take advantage of emerging web technologies (CSS3, HTML 5) while still maintaining a fine level of control over older browsers that may not yet support these new technologies.

Modernizr uses feature detection to test the current browser against upcoming features like rgba(), border-radius, CSS Transitions and many more. "

Yes, basically everything was said! - Contrary to browser detection, the used feature detection does not require us to distinguish between different browsers and versions, but rely on the CSS classes added to the <html> tag by modernizr's JavaScript tests.

  • Modernizr is used by Twitter, American Eagle, Burger King, The Knot, Capital One, Posterous, NFL,...
  • It is developed by Paul Irish, one of the jQuery developers and HTML5 Boilerplate
  • Size of the JS file is 9.4k (uncompressed) / 3.6k (gzipped).
  • Modernizr is dual-licensed under MIT & BSD license.
  • You can run the detection for your browser [2]
  • The discussion inside the Skin team can be found here [3]
  • I suggest adding "/** @see modernizr.js */" to every CSS definition making use of the modernizr-classes to be later able to easily find all occurences, in case of modernizr will be rmoved one day.
  • Attached file 16403_usage.diff brings the shadow to IE6-8 (but is not part of this RFC and will not be committed)

[1] http://www.modernizr.com
[2] http://modernizr.github.com/Modernizr/output.html
[3] http://forge.typo3.org/issues/10697

(issue imported from #M16403)


Files

16403.diff (14.1 KB) 16403.diff Administrator Admin, 2010-11-15 21:07
16403_usage.diff (2.42 KB) 16403_usage.diff Administrator Admin, 2010-11-15 21:07
Actions #1

Updated by Steffen Gebert about 14 years ago

trunk rev 9389

Actions #2

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF