since those elements, with their hybrid content models, can straddle
paragraph boundaries.</p>
<p class=note>Generally, having elements straddle paragraph
boundaries is best avoided. Maintaining such markup can be
difficult.</p>
<div class=impl>
<p>Let <var title="">view</var> be a view of the DOM that replaces
all <code><a href=#the-a-element>a</a></code>, <code><a href=#the-ins-element>ins</a></code> and <code><a href=#the-del-element>del</a></code> elements
in the document with their contents. Then, in <var title="">view</var>, for each run of <a href=#phrasing-content-0>phrasing content</a>
uninterrupted by other types of content, in an element that accepts
content other than <a href=#phrasing-content-0>phrasing content</a>, let <var title="">first</var> be the first node of the run, and let <var title="">last</var> be the last node of the run. For each run, a
paragraph exists in the original DOM from immediately before <var title="">first</var> to immediately after <var title="">last</var>. (Paragraphs can thus span across
in the document with their contents. Then, in <var title="">view</var>, for each run of sibling <a href=#phrasing-content-0>phrasing
content</a> nodes uninterrupted by other types of content, in an
element that accepts content other than <a href=#phrasing-content-0>phrasing
content</a>, let <var title="">first</var> be the first node of
the run, and let <var title="">last</var> be the last node of the
run. For each such run that consists of at least one node that is
neither <a href=#embedded-content-2>embedded content</a> nor <a href=#inter-element-whitespace>inter-element
whitespace</a>, a paragraph exists in the original DOM from
immediately before <var title="">first</var> to immediately after
<var title="">last</var>. (Paragraphs can thus span across
<code><a href=#the-a-element>a</a></code>, <code><a href=#the-ins-element>ins</a></code> and <code><a href=#the-del-element>del</a></code> elements.)</p>
<p>Conformance checkers may warn authors of cases where they have
paragraphs that overlap each other.</p>
</div>
<p>A <a href=#paragraph>paragraph</a> is also formed explicitly by