mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
- Fixed rendering of ExtJS 4.2 windows.
This commit is contained in:
parent
9b051b8749
commit
cf735a9fa1
@ -759,7 +759,7 @@ _html2canvas.Parse = function (images, options) {
|
||||
|
||||
function getPseudoElement(el, which) {
|
||||
var elStyle = window.getComputedStyle(el, which);
|
||||
if(!elStyle || !elStyle.content || elStyle.content === "none" || elStyle.content === "-moz-alt-content") {
|
||||
if(!elStyle || !elStyle.content || elStyle.content === "none" || elStyle.content === "-moz-alt-content" || elStyle.display === "none") {
|
||||
return;
|
||||
}
|
||||
var content = elStyle.content + '',
|
||||
@ -1152,4 +1152,4 @@ function h2czContext(zindex) {
|
||||
zindex: zindex,
|
||||
children: []
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user