At this point, only background-color is supported. Add support for bgcolor attribute as well. It could be used with the following tags: body, marquee, table, tBody, td, tFoot, th, tHead, tr.
When the value contains a semicolon the HTML style property values are omitted on import:
<th width ='12%;' ...>
Currently, setting it without semicolon imports the value successfully:
<th width ='12%' ...>
From the Office Open XML specification:
gridAfter (Grid Columns After Last Cell):
This element specifies the number of grid columns in the parent table's table grid which shall be left after the last cell in the table row.
gridBefore (Grid Columns Before First Cell):
This element specifies the number of grid columns in the parent table's table grid which must be skipped before the contents of this table row (its table cells) are added to the parent table. [This property is used to specify tables whose leading edge (left for left-to-right tables, right for right-to-left tables) does not start at the first grid column (the same shared edge)]
Currently, the content of the span of such elements is imported:
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<div id="progressBar" style="width: 100%; display: none;" class="themed-progressbar k-widget k-progressbar k-progressbar-horizontal" data-role="progressbar">
<span class="k-progress-status-wrap k-progress-end"><span class="k-progress-status">100%</span></span>
<div class="k-state-selected k-complete" style="width: 100%;">
<span class="k-progress-status-wrap k-progress-end" style="width: 100%;"><span class="k-progress-status">100%</span></span>
</div>
</div>
</body>
</html
Actual: the content of the spans is not skippet (100% 100%)
Expected: to be skipped
When importing a document with a style set in a parent <div> element its children`s content doesn't inherit it.
Steps to reproduce:
<div style="background-color: green;">
<h1>Test heading</h1>
<div>Test div</div>
</div>
Actual vs Expected:
This element specifies that an absolute position tab character shall be placed at the current location in the run content.
Make it possible to import HTML file with an external style sheet, without the need to handle the LoadStyleSheetFromUri event in HtmlImportSettings. If the URL is correct the data can be internally downloaded.