mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0e13ef3ea5
commit
6245be5f48
@ -49,7 +49,8 @@
|
|||||||
<h1 id="first-h1">Testing EPUB CFI</h1>
|
<h1 id="first-h1">Testing EPUB CFI</h1>
|
||||||
<p><a id="reset" href="/">Reset CFI to None</a></p>
|
<p><a id="reset" href="/">Reset CFI to None</a></p>
|
||||||
<h2>A div with scrollbars</h2>
|
<h2>A div with scrollbars</h2>
|
||||||
<p>Scroll down and click on some elements. Make sure to hit both bold and not bold text</p>
|
<p>Scroll down and click on some elements. Make sure to hit both
|
||||||
|
bold and not bold text</p>
|
||||||
<div id="overflow">But I must explain to you how all this mistaken
|
<div id="overflow">But I must explain to you how all this mistaken
|
||||||
idea of denouncing pleasure and praising pain was born and I
|
idea of denouncing pleasure and praising pain was born and I
|
||||||
will give you a complete account of the system, and expound the
|
will give you a complete account of the system, and expound the
|
||||||
@ -58,8 +59,8 @@
|
|||||||
avoids pleasure itself, because it is pleasure, but because
|
avoids pleasure itself, because it is pleasure, but because
|
||||||
those who do not know how to pursue pleasure rationally
|
those who do not know how to pursue pleasure rationally
|
||||||
encounter consequences that are extremely painful. Nor again is
|
encounter consequences that are extremely painful. Nor again is
|
||||||
there anyone who <b>loves</b> or pursues or desires to obtain pain of
|
there anyone who <b>loves or pursues or desires</b> to obtain
|
||||||
itself, because it is pain, but because occasionally
|
pain of itself, because it is pain, but because occasionally
|
||||||
circumstances occur in which toil and pain can procure him some
|
circumstances occur in which toil and pain can procure him some
|
||||||
great pleasure. To take a trivial example, which of us ever
|
great pleasure. To take a trivial example, which of us ever
|
||||||
undertakes laborious physical exercise, except to obtain some
|
undertakes laborious physical exercise, except to obtain some
|
||||||
@ -76,33 +77,33 @@
|
|||||||
<p>An invisible Comment: <!-- aaaaaa --> followed by some text</p>
|
<p>An invisible Comment: <!-- aaaaaa --> followed by some text</p>
|
||||||
<p>An invalid (in HTML) CDATA: <![CDATA[CDATA]]> followed by some text</p>
|
<p>An invalid (in HTML) CDATA: <![CDATA[CDATA]]> followed by some text</p>
|
||||||
<h2>Margins padding borders</h2>
|
<h2>Margins padding borders</h2>
|
||||||
<p>Try clicking in the margins, borders and padding. CFI calculation should fail.</p>
|
<p>Try clicking in the margins, borders and padding. CFI
|
||||||
|
calculation should fail.</p>
|
||||||
|
|
||||||
<p id="whitespace">But I must explain to you how all this mistaken
|
<p id="whitespace">But I must explain to you how all this mistaken
|
||||||
idea of denouncing pleasure and praising pain was born and I
|
idea of denouncing pleasure and praising pain was born and I will
|
||||||
will give you a complete account of the system, and expound the
|
give you a complete account of the system, and expound the actual
|
||||||
actual teachings of the great explorer of the truth, the
|
teachings of the great explorer of the truth, the master-builder of
|
||||||
master-builder of human happiness. No one rejects, dislikes, or
|
human happiness. No one rejects, dislikes, or avoids pleasure
|
||||||
avoids pleasure itself, because it is pleasure, but because
|
itself, because it is pleasure, but because those who do not know
|
||||||
those who do not know how to pursue pleasure rationally
|
how to pursue pleasure rationally encounter consequences that are
|
||||||
encounter consequences that are extremely painful. Nor again is
|
extremely painful. Nor again is there anyone who <b>loves or
|
||||||
there anyone who <b>loves</b> or pursues or desires to obtain pain of
|
pursues or desires</b> to obtain pain of itself, because it is
|
||||||
itself, because it is pain, but because occasionally
|
pain, but because occasionally circumstances occur in which toil
|
||||||
circumstances occur in which toil and pain can procure him some
|
and pain can procure him some great pleasure. To take a trivial
|
||||||
great pleasure. To take a trivial example, which of us ever
|
example, which of us ever undertakes laborious physical exercise,
|
||||||
undertakes laborious physical exercise, except to obtain some
|
except to obtain some advantage from it? But who has any right to
|
||||||
advantage from it? But who has any right to find fault with a
|
find fault with a man who chooses to enjoy a pleasure that has no
|
||||||
man who chooses to enjoy a pleasure that has no annoying
|
annoying consequences, or one who avoids a pain that produces no
|
||||||
consequences, or one who avoids a pain that produces no
|
resultant pleasure? On the other hand, we denounce with righteous
|
||||||
resultant pleasure? On the other hand, we denounce with
|
indignation and dislike men who are so beguiled and demoralized by
|
||||||
righteous indignation and dislike men who are so beguiled and
|
the charms of pleasure of the moment, so blinded by desire, that
|
||||||
demoralized by the charms of pleasure of the moment, so blinded
|
they cannot foresee</p>
|
||||||
by desire, that they cannot foresee</p>
|
|
||||||
|
|
||||||
<h2>Lots of collapsed whitespace</h2>
|
<h2>Lots of collapsed whitespace</h2>
|
||||||
<p>Try clicking the A character after the colon: A suffix</p>
|
<p>Try clicking the A character after the colon: A suffix</p>
|
||||||
|
|
||||||
<h2>Lots of nested tags</h2>
|
<h2>Lots of nested/sibling tags</h2>
|
||||||
<p>A <span>bunch of <span>nested<span> and</span> <span>sibling</span>
|
<p>A <span>bunch of <span>nested<span> and</span> <span>sibling</span>
|
||||||
tags, all </span> mixed together</span>. <span>Click all</span>
|
tags, all </span> mixed together</span>. <span>Click all</span>
|
||||||
over this paragraph to test<span> things.</span></p>
|
over this paragraph to test<span> things.</span></p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user