ezsystems/ezpublish-legacy — pull request #995 by dpobel (2014-06-12 14:16:09+00:00)
Title: Fix EZP-22937: Unable to get the width of a table pasted from Excel

JIRA: https://jira.ez.no/browse/EZP-22937

# Description

The width of a table pasted from Excel is not correctly retrieved when the editor wants to edit the property of the table. This is happening because in this case the width is set with a CSS rule in the style attribute of the table while the popup_utils.js code only reads the `width` attribute.

This patch changes popup_utils.js so that the style rules in the `style` attribute are also taken into account.

# Tests

manual test