h5o / h5o-js

HTML5 outliner (JavaScript)
MIT License
115 stars 15 forks source link

No text content inside h1 with nested image #20

Closed dominykas closed 10 years ago

dominykas commented 10 years ago

From rp.ka...@gmail.com on June 17, 2013 03:46:50

What steps will reproduce the problem? 1. Create an h1 element (<h1></h1>)

  1. Nest an img element inside the h1 (<h1><img src="foo.gif" alt="bar"></h1>)
  2. Check the outliner, it warns for an empty text node, but instead it should treat the alt attribute as the text for the h1 (which is according to spec) What is the expected output? What do you see instead? Expected: alt attribute's value as the text. Instead: no text. What version of the product are you using? On what operating system? Latest version on Vista. Please provide any additional information below. No need.

Original issue: http://code.google.com/p/h5o/issues/detail?id=20

dominykas commented 10 years ago

From rp.ka...@gmail.com on June 16, 2013 17:48:26

Sorry, was already reported under ambiguous title, please close.

dominykas commented 10 years ago

Duplicate: https://github.com/h5o/h5o-js/issues/5