Closed Bug 1369997 Opened 7 years ago Closed 7 years ago

Reader View does not display h1 and h2 elements

Categories

(Toolkit :: Reader Mode, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1198731

People

(Reporter: f.conijn, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170504105526

Steps to reproduce:

I created a webpage with this make-up: 

<!DOCTYPE HTML>
<html>
<head>
  <title>Page title 1 (title tag)</title>
</head>
<body>
    <article>
        <h1>Page title 2 (h1 tag)</h1>
        <h2>The principles</h2>
        <p>There are three principles at work in this issue.</p>
        <h3>First principle</h3>
        <p>Lorem ipsum tota aliquando urbanitas ex eam, an eam graeco animal epicuri. Putent mollis posidonium at sit, mei meliore accumsan officiis ea, at sed movet ancillae. Expetenda dissentiunt ius ne, ut sea nemore iriure. Eu tantas eligendi praesent vel, ad utinam iriure omittantur per. Detraxit mediocrem eam in. Vim essent labitur partiendo ne.</p>
        <h3>Second principle</h3>
        <p>Audiam detraxit repudiandae eam in. Sea dolorum facilis expetenda at, mazim movet tritani no sed, id consetetur philosophia eum. Ad populo blandit evertitur nec. Eos ei tollit nostro mediocrem, cu duo possim pericula, ei mei vidit tation. Per ex nostro sanctus sensibus, eos et mutat altera reprehendunt. Solet placerat perfecto eum ei.</p>
        <h3>Third principle</h3>
        <p>Sumo impedit fastidii eam ne, altera noster cu his, usu in nobis exerci vivendo. Sed malorum discere quaerendum no, liber constituam te usu, ei corpora liberavisse duo. Qui an aeque argumentum persequeris. Nihil apeirian pro ex, assum persecuti qui an, te eum takimata consulatu. Ancillae scaevola ocurreret eum ea.</p>
    </article>
</body>
</html> 

I tested it in Reader View. 


Actual results:

The <h1> and <h2> contents are not displayed. Only the <h3> and the <p> contents.  


Expected results:

At least the <h2> contents should be displayed. And actually, I think the <h1> content should be displayed as well, in stead of the contents of the title tag.
Component: Untriaged → Reader Mode
Product: Firefox → Toolkit
We fixed h2 elements in bug 1259763, and I checked that on Firefox 55 beta, your example shows the h2 (I think the fix landed in time for Firefox 54, though I haven't double-checked it there).

h1 elements is bug 1198731, so I'll mark this bug as a duplicate of that one.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.