Commit c1d008f1 authored by Joel Martin's avatar Joel Martin

Fix flush with strict DOCTYPE.

- With a strict doctype, the margin size needs a "px" suffix.
parent cdb55d26
...@@ -510,7 +510,7 @@ that.flush = function() { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment