2009/8/18 ColinFine <[email protected]>:
> Incidentally, whatever is generating that <p/> should have its wrist
> slapped. <p/> is not valid in HTML or XHTML.
>

That's how Firebug shows an empty paragraph. Remember, Firebug's HTML
view isn't showing the raw source code; it's showing a representation
of the DOM structure held internally by the browser. If an element is
empty, it makes sense for Firebug to just display it using XML empty
element syntax, rather than faffing about trying to determine if it
has an empty content model according to the DTD (e.g. "br") or not
(e.g. "p").

IIRC this is what Firebug has always done with elements that have no
child nodes - I thought I'd better add that before somebody starts
claiming it's a change in 1.4 ;-)

Regards,

Nick.

-- 
Nick Fitzsimons
http://www.nickfitz.co.uk/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to