From a08bde84e982b12eae547d23a41c4bc31164af25 Mon Sep 17 00:00:00 2001 From: James Campos Date: Thu, 16 Jun 2011 00:08:57 -0700 Subject: [PATCH 1/2] comment --- 4chan_x.user.js | 6 ++++++ script.coffee | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 9decc1631..c16294798 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1001,6 +1001,12 @@ } $.bind($('textarea[name=flavors]', dialog), 'change', $.cb.value); $.bind($('input[name=time]', dialog), 'keyup', options.cb.time); + /* + https://bugzilla.mozilla.org/show_bug.cgi?id=579776 + position:fixed and position:absolute shouldn't turn display:-moz-box into display:block + + to harmonize, position:fixed and display:-moz-box have to be set on different elements. + */ overlay = $.el('div', { id: 'overlay' }); diff --git a/script.coffee b/script.coffee index 1ac6f577a..6095ff4b5 100644 --- a/script.coffee +++ b/script.coffee @@ -783,6 +783,12 @@ options = $.bind $('textarea[name=flavors]', dialog), 'change', $.cb.value $.bind $('input[name=time]', dialog), 'keyup', options.cb.time + ### + https://bugzilla.mozilla.org/show_bug.cgi?id=579776 + position:fixed and position:absolute shouldn't turn display:-moz-box into display:block + + to harmonize, position:fixed and display:-moz-box have to be set on different elements. + ### overlay = $.el 'div', id: 'overlay' $.append overlay, dialog $.append d.body, overlay From 4528e431b758c63e821750acab7ce03169ba3bed Mon Sep 17 00:00:00 2001 From: James Campos Date: Thu, 16 Jun 2011 00:13:12 -0700 Subject: [PATCH 2/2] better comment --- 4chan_x.user.js | 3 ++- script.coffee | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index a55be1d0d..620d3e36c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1005,7 +1005,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=579776 position:fixed and position:absolute shouldn't turn display:-moz-box into display:block - to harmonize, position:fixed and display:-moz-box have to be set on different elements. + to harmonize, position:fixed and display:-moz-box have to be set on different elements - + #overlay and #options, respectively. */ overlay = $.el('div', { id: 'overlay' diff --git a/script.coffee b/script.coffee index d806d738d..e8118c45d 100644 --- a/script.coffee +++ b/script.coffee @@ -787,7 +787,8 @@ options = https://bugzilla.mozilla.org/show_bug.cgi?id=579776 position:fixed and position:absolute shouldn't turn display:-moz-box into display:block - to harmonize, position:fixed and display:-moz-box have to be set on different elements. + to harmonize, position:fixed and display:-moz-box have to be set on different elements - + #overlay and #options, respectively. ### overlay = $.el 'div', id: 'overlay' $.append overlay, dialog