If you open a bug report on this I will fix it. http://code.google.com/p/fbug/issues/list
jjb On Aug 19, 3:02 am, ColinFine <[email protected]> wrote: > On Aug 18, 1:33 pm, Nick Fitzsimons <[email protected]> wrote:> 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"). > > Thanks, I didn't know that. > > But I would prefer it if Firebug generated valid (X)HTML. <p/> is > valid in neither. > > "All elements other than those declared in the DTD as EMPTY must have > an end tag. Elements that are declared in the DTD as EMPTY can have > an end tag or can use empty element shorthand" (http://www.w3.org/TR/ > 2002/REC-xhtml1-20020801/#h-4.3) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
