[Bug 10589] figure and figcaption shouldn't automatically close p

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10589

--- Comment #10 from Henri Sivonen <hsivonen@iki.fi> 2010-09-30 07:03:36 UTC ---
(In reply to comment #9)
> Making <figure> phrasing-level seems at odds with its semantics. When would you
> ever want <figure> in the middle of a paragraph?

Whether putting a figure in the middle of a paragraph makes sense should be
irrelevant. I value CSS pragmatism over semantics. I think the spec should,
too, considering the design principles if you read "CSS pragmatism" as
"authors" and "semantics" as "theoretical purity".

> Having it at the start (as per comment 0) or end of a paragraph makes sense,
> but is completely compatible with just putting the <figure> before or after the
> <p>.

My understanding is that it isn't from the CSS formatting model perspective.

> <figure> is supposed to be equivalent to <div class="figure">, not <span
> class="figure">.

I had thought the opposite when I thought adding <figure> was a good idea.

> In particular, if we made <figure> phrasing, we'd have to also make it scoping,
> since otherwise you couldn't put <pre> or <p> into <figure> in certain weird
> cases.

Indeed--as noted in comment 1.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 30 September 2010 07:03:38 UTC