Fix flush with strict DOCTYPE.
- With a strict doctype, the margin size needs a "px" suffix.
This commit is contained in:
parent
cdb55d26e5
commit
c1d008f1ee
|
@ -510,7 +510,7 @@ that.flush = function() {
|
||||||
//Util.Debug(">> flush");
|
//Util.Debug(">> flush");
|
||||||
// Force canvas redraw (for webkit bug #46319 workaround)
|
// Force canvas redraw (for webkit bug #46319 workaround)
|
||||||
old_val = conf.target.style.marginRight;
|
old_val = conf.target.style.marginRight;
|
||||||
conf.target.style.marginRight = "1";
|
conf.target.style.marginRight = "1px";
|
||||||
c_flush_timer = null;
|
c_flush_timer = null;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
conf.target.style.marginRight = old_val;
|
conf.target.style.marginRight = old_val;
|
||||||
|
|
Loading…
Reference in New Issue