Last modified: 2013-07-04 10:34:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49584, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47584 - Table with multiple class attributes gets the last one as canonical
Table with multiple class attributes gets the last one as canonical
Status: RESOLVED WONTFIX
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Mark Holmquist
http://parsoid.wmflabs.org:8001/resul...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-23 23:47 UTC by Mark Holmquist
Modified: 2013-07-04 10:34 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Holmquist 2013-04-23 23:47:48 UTC
Found by RT testing.

Reproduce:

echo '{| class="wikitable sortable" class="wikitable zebra"
|- aoeu |}' | node parse

Should probably store the first one in some data-parsoid element. Probably deal with other duplicate attributes in the same stroke.
Comment 1 Gabriel Wicke 2013-04-23 23:52:56 UTC
Any reason why this is not covered by selective serialization?
Comment 2 Mark Holmquist 2013-04-23 23:54:24 UTC
No particular reason it wouldn't be, but I guess low priority for table-related bugs for now.
Comment 3 Gabriel Wicke 2013-05-02 19:59:31 UTC
Adding a second mechanism (apart from selser) to track anomalies like this that cannot be directly represented in DOM is not worth it IMO. Closing as wontfix for that reason, please reopen if you disagree.
Comment 4 Andre Klapper 2013-07-04 10:34:10 UTC
[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links