Benutzer:Schinken/CSS-IE-Crash: Unterschied zwischen den Versionen
< Benutzer:Schinken
(→DEMO) |
|||
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== DEMO == | == DEMO == | ||
+ | |||
<big>'''A demo can be found here: http://schinken.github.io/experiments/iecrash/crash.html'''</big> | <big>'''A demo can be found here: http://schinken.github.io/experiments/iecrash/crash.html'''</big> | ||
+ | |||
== IE 8/9 crashes with simple css == | == IE 8/9 crashes with simple css == | ||
Zeile 27: | Zeile 29: | ||
== Explanation == | == Explanation == | ||
− | I only | + | I can only guess here. I think it's kind of a redraw loop. The gradient gets drawn, the first letter uppercased, which invalidates the background... etc. |
Bug has also been filed here: https://connect.microsoft.com/IE/feedback/details/790265/combination-of-filter-and-first-letter-text-transform-uppercase-freezes-ie8-9 | Bug has also been filed here: https://connect.microsoft.com/IE/feedback/details/790265/combination-of-filter-and-first-letter-text-transform-uppercase-freezes-ie8-9 | ||
+ | |||
+ | == About me == | ||
+ | |||
+ | If you're interested what I do except crashing Internet Explorers, visit my [[Benutzer:Schinken|Userpage]] or my [http://github.com/schinken github account] |
Aktuelle Version vom 25. November 2015, 12:22 Uhr
DEMO
A demo can be found here: http://schinken.github.io/experiments/iecrash/crash.html
IE 8/9 crashes with simple css
A combination of a filter-gradient and text-transform specified on a :filter-letter pseudo selector crashes the IE8/9 reproducable
.trwurst {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f5ed', endColorstr='#e8e5db',GradientType=0);
}
.trwurst:first-letter {
text-transform: uppercase;
}
applied on a simple html element:
<div class="trwurst">hi</div>
causes Internet Explorer 8/9 to crash
Explanation
I can only guess here. I think it's kind of a redraw loop. The gradient gets drawn, the first letter uppercased, which invalidates the background... etc.
Bug has also been filed here: https://connect.microsoft.com/IE/feedback/details/790265/combination-of-filter-and-first-letter-text-transform-uppercase-freezes-ie8-9
About me
If you're interested what I do except crashing Internet Explorers, visit my Userpage or my github account