Closed
Bug 769642
Opened 11 years ago
Closed 11 years ago
Reader Mode: Hide toolbar while loading content
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 16
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
Attachments
(1 file)
3.10 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Toolbar actions should not be available while reader content is being loaded.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #637884 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•11 years ago
|
Summary: Reader Mode: Hide toolbar while loading contnet → Reader Mode: Hide toolbar while loading content
Comment 2•11 years ago
|
||
Comment on attachment 637884 [details] [diff] [review] Only show toolbar once the reader content is shown Patch looks fine, but I had a question about some previous code >diff --git a/mobile/android/chrome/content/aboutReader.js b/mobile/android/chrome/content/aboutReader.js > _setToolbarVisibility: function Reader_setToolbarVisibility(visible) { > if (visible) > toolbarElement.display = "block"; > > toolbarElement.classList.toggle("toolbar-hidden"); Why do we need this check: toolbarElement.display = "block"; This should be enough: toolbarElement.classList.toggle(...); and even so, we are missing the ".style" property, right? r+ but let's address the old code
Attachment #637884 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #2) > Comment on attachment 637884 [details] [diff] [review] > Only show toolbar once the reader content is shown > > Patch looks fine, but I had a question about some previous code > > >diff --git a/mobile/android/chrome/content/aboutReader.js b/mobile/android/chrome/content/aboutReader.js > > > _setToolbarVisibility: function Reader_setToolbarVisibility(visible) { > > > if (visible) > > toolbarElement.display = "block"; > > > > toolbarElement.classList.toggle("toolbar-hidden"); > > Why do we need this check: toolbarElement.display = "block"; > > This should be enough: toolbarElement.classList.toggle(...); > > and even so, we are missing the ".style" property, right? > > r+ but let's address the old code This code is removed in my patch for bug 766961.
Assignee | ||
Comment 4•11 years ago
|
||
Pushed: http://hg.mozilla.org/integration/mozilla-inbound/rev/55d0b0f169fc
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/55d0b0f169fc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Updated•2 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•