Re: [whatwg] Allow Fallback Text to Render Section Titles in Outlines
On Sat, 11 Feb 2012, Hugh Guiney wrote: Currently when I run markup like this through outliner programs, they return blank section titles: h1img src=/img/logo.png alt=Company Name //h1 h1 svg g titleCompany Name/title path / � /g /svg /h1 I feel that in both instances, Company Name should become the section title for the respective section. The outliner programs should return the entire h1 contents, img, svg, and everything. What the img element represents is defined in painful detail and does take the alt= attribute into account. I haven't checked if the SVG spec is as detailed about that case. In other words, this seems to be a bug in your outliner programs. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [whatwg] Allow Fallback Text to Render Section Titles in Outlines
On Sat, Feb 11, 2012 at 7:47 AM, Benjamin Hawkes-Lewis bhawkesle...@googlemail.com wrote: Doesn't the spec imply it should? That depends on whom you ask. I would think that it does, but since it doesn’t explicitly say to parse alternative text for replaced elements, implementors could simply interpret it as “display any child text nodes without further processing”, which seems to be the case in existing implementations.
Re: [whatwg] Allow Fallback Text to Render Section Titles in Outlines
On Sat, Feb 11, 2012 at 5:18 AM, Hugh Guiney hugh.gui...@gmail.com wrote: Currently when I run markup like this through outliner programs, they return blank section titles: h1img src=/img/logo.png alt=Company Name //h1 h1 svg g titleCompany Name/title path / … /g /svg /h1 I feel that in both instances, Company Name should become the section title for the respective section. Doesn't the spec imply it should? -- Benjamin Hawkes-Lewis