Open Bug 1355738 Opened 5 years ago Updated 4 years ago

very short <pre> sections are skipped in reader mode

Categories

(Toolkit :: Reader Mode, defect, P3)

53 Branch
defect

Tracking

()

People

(Reporter: igalic, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [reader-mode-readability-algorithm])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170408090553

Steps to reproduce:

When viewing the Guile Manual in Reader Mode, i noticed that certain (expected) pre sections were missing. I thought that this was a side-effect of the strain i put on it by viewing the entire manual (https://www.gnu.org/software/guile/manual/guile.html) but it's also reproducible on single pages, such as: https://www.gnu.org/software/guile/manual/html_node/Simple-Invocation.html#Simple-Invocation


Actual results:



<p>is a procedure invocation whose result is the string value
<code>&quot;/home/andrew&quot;</code>.
</p>
<p>Similarly, <code>string-length</code> is a standard Scheme procedure that
returns the length of a single string argument, so
</p>
<div class="lisp">
<pre class="lisp">(string-length &quot;abc&quot;)
</pre></div>

<p>is a procedure invocation whose result is the numeric value 3.
</p>


is displayed as

Similarly, string-length is a standard Scheme procedure that returns the length of a single string argument, so

is a procedure invocation whose result is the numeric value 3. 


Expected results:

I would expect <pre> sections, regardless of their brevity, to be displayed in Reader Mode.
n.b.: This is happens on the Desktop & Mobile firefox.
Component: Untriaged → Reader Mode
Product: Firefox → Toolkit
submitted upstream: https://github.com/mozilla/readability/issues/374
Blocks: 1329358
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [reader-mode-readability-algorithm]
You need to log in before you can comment on or make changes to this bug.