diff --git a/src/docMeasure.js b/src/docMeasure.js index 495521280..8be07ecf9 100644 --- a/src/docMeasure.js +++ b/src/docMeasure.js @@ -602,6 +602,8 @@ DocMeasure.prototype.measureTable = function (node) { function measureCb(_this, data) { return function () { if (isObject(data)) { + data.border = _this.styleStack.getProperty('border'); + data.borderColor = _this.styleStack.getProperty('borderColor'); data.fillColor = _this.styleStack.getProperty('fillColor'); data.fillOpacity = _this.styleStack.getProperty('fillOpacity'); } diff --git a/src/styleContextStack.js b/src/styleContextStack.js index ee795aa57..5fe88fff7 100644 --- a/src/styleContextStack.js +++ b/src/styleContextStack.js @@ -88,6 +88,8 @@ StyleContextStack.prototype.autopush = function (item) { 'font', 'fontSize', 'fontFeatures', + 'border', + 'borderColor', 'bold', 'italics', 'alignment',