https://bugzilla.wikimedia.org/show_bug.cgi?id=57394

       Web browser: ---
            Bug ID: 57394
           Summary: Parsoid fails for OBJECT element
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: gwi...@wikimedia.org
          Reporter: i...@wikia-inc.com
                CC: ssas...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

For instance if some Parser tag extension returns OBJECT tag as a root element
it will make Parsoid fail.
This is because Parsoid depends on ability to set and read property 'data' of
elements, but for OBJECT it is not possible, because OBJECT always has data
set, and it is string.

More info: http://www.w3schools.com/tags/att_object_data.asp

Also:
var element = document.createElement('object');
typeof element.data; // string
element.data = {a:1}
element.data.a // undefined

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to