Closed
Bug 786842
Opened 13 years ago
Closed 13 years ago
Fix replaceBrs() typo for checking whitespace
Categories
(Firefox for Android Graveyard :: Reader View, defect, P1)
Tracking
(firefox16 verified, firefox17 verified, firefox18 verified)
VERIFIED
FIXED
Firefox 18
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
Attachments
(1 file)
1.01 KB,
patch
|
lucasr
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
replaceBrs() looks for whitespace between <br> nodes to collapse them. Right now, we have:
!whitespace.test(next.textContent)
which continues the loop if the sibling is *not* whitespace.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #656629 -
Flags: review?(lucasr.at.mozilla)
Comment 2•13 years ago
|
||
Comment on attachment 656629 [details] [diff] [review]
Fix replaceBrs() typo for checking whitespace
Review of attachment 656629 [details] [diff] [review]:
-----------------------------------------------------------------
Does this fix the problem I was seeing mobile.washingtonpost.com?
Attachment #656629 -
Flags: review?(lucasr.at.mozilla) → review+
Updated•13 years ago
|
Priority: -- → P1
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Lucas Rocha (:lucasr) from comment #2)
> Comment on attachment 656629 [details] [diff] [review]
> Fix replaceBrs() typo for checking whitespace
>
> Review of attachment 656629 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Does this fix the problem I was seeing mobile.washingtonpost.com?
I haven't tried reproducing that problem, but I hope so.
http://hg.mozilla.org/integration/mozilla-inbound/rev/ec63d3b35553
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 656629 [details] [diff] [review]
Fix replaceBrs() typo for checking whitespace
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 777966
User impact if declined: articles may have extra space between them
Testing completed (on m-c, etc.):
Risk to taking this patch (and alternatives if risky): low risk
String or UUID changes made by this patch: none
Attachment #656629 -
Flags: approval-mozilla-beta?
Attachment #656629 -
Flags: approval-mozilla-aurora?
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Comment 6•13 years ago
|
||
Comment on attachment 656629 [details] [diff] [review]
Fix replaceBrs() typo for checking whitespace
[Triage Comment]
Low risk Reader Mode readability fix. Approved for branches.
Attachment #656629 -
Flags: approval-mozilla-beta?
Attachment #656629 -
Flags: approval-mozilla-beta+
Attachment #656629 -
Flags: approval-mozilla-aurora?
Attachment #656629 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 7•13 years ago
|
||
status-firefox17:
--- → fixed
Assignee | ||
Comment 8•13 years ago
|
||
status-firefox16:
--- → fixed
Comment 9•13 years ago
|
||
Changes were applied on all branches. Closing bug as verified fixed.
--
Device: Galaxy Note
OS: Android 4.0.4
Status: RESOLVED → VERIFIED
status-firefox18:
--- → verified
Updated•5 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
•