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

       Web browser: ---
            Bug ID: 57258
           Summary: Parsoid is unable to handle !important in inline
                    styles
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

http://parsoid.wmflabs.org/enwiki/Ontario_Northland_Railway?oldid=578412261

There is:
<td class="bs-overlap" style="background-color:inherit; border:0px !important;
width:20px; min-width:20px;"></td>

which parsoid outputs as just style="background-color:inherit;", with the
following additional data-parsoid:

{"style":"
background-color:inherit;","border:0px":null,"!important;":null,"\"":null}

This causes the min-width to get lost which causes the train track template to
misalign.

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

Reply via email to