Commit Graph
7 Commits
Author SHA1 Message Date
Gijs Kruitbosch 87e53998e4 Bug 1467742 - update reader mode code and tests for readability updates, r=jaws
The phrasing content change means that the contents of <div id="foo"> were being put
in their own paragraph inside that div, and then later the singly nested <div><p></p></div>
is unnested and we throw the div away, thus losing the ID attribute, which causes the
browser_readerMode_with_anchor test to fail. The test document is a bit abstract and
I doubt this will be an issue in practice, though I filed
https://github.com/mozilla/readability/issues/460 to copy the id attribute across for
cases where the inner <p> has no such attribute (which would preserve the
id in this case).

MozReview-Commit-ID: 8XBKFiYllxY
2018-06-08 12:54:35 +01:00
Evan Tseng 36c10374b2 Bug 1340799 - Add a test for clicking hash links in reader mode to scroll to the anchor, r=Gijs
MozReview-Commit-ID: EzoVcuW2qm4
2017-02-23 16:01:41 +08:00
Sébastien Blin 7190bbc6af Bug 1189491 - Take anchors into account in the reader view, r=gijs
MozReview-Commit-ID: 1udixhxnVao
2016-11-03 05:50:00 +00:00
Sebastian Hengst 3b219cba1e Backed out changeset 1cb8dac3eb40 (bug 1189491) for failing browser_readerMode.js. r=backout 2016-11-05 13:54:35 +01:00
Sébastien Blin f3ee406553 Bug 1189491 - Take anchors into account in the reader view, r=gijs
MozReview-Commit-ID: 1udixhxnVao
2016-11-03 05:50:00 +00:00
Wes Kocher d939df7bcf Backed out changeset 4da7d22ebcd2 (bug 1189491) for multiple eslint failures a=backout CLOSED TREE 2016-11-04 11:55:56 -07:00
Sébastien Blin f1aba24f22 Bug 1189491 - Take anchors into account in the reader view, r=gijs
MozReview-Commit-ID: 1udixhxnVao
2016-11-03 05:50:00 +00:00