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

       Web browser: ---
            Bug ID: 42803
           Summary: Update normalization algo to deal with mw:EndTag and
                    mw:StartTag and ignore them
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/DOM
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The normalize_document algo that rewrites dom to deal with nested inline tags
does not work in the presence of mw:StartTag and mw:EndTag meta-tags.  The algo
needs fixup to handle that.  Plus, the reordered nodes also need their tsr and
other attrs. patched up.

longest_linear_path function is one that checks for children.length > 1 -- and
this check is not valid anymore.  Look for other such checks and update.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to