text-rotate breaks vertical-align in thead of following pages
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Reproduce with the snippet in the report: a long table whose thead cells use text-rotate and vertical-align, rendered to PDF with mPDF 8.3.1. Compare the header on page one with the repeated header on page two to see where the vertical alignment is lost. Done means repeated header cells keep the rotated label's vertical alignment on every page, matching page one.
索引モデルが issue の本文から書いたものです。
説明
Guidelines
- I understand that if I fail to adhere to contribution guidelines and/or fail to provide all required details, this issue may be closed without review.
Description of the bug
Having a long table containing a thead with table cells having the text-rotate and vertical-align css property set get displayed as intent on page one. However when the table is long enough to require several pages, the thead gets repeated as expected but the vertical-align gets ignored.
As one can see on the middle columns of this report, representing the day, page one centers the labels, page two places them on the bottom of the header. There is nothing page specific set. Even more odd, declaring the header cell like <th style="width: 4mm; vertical-align: middle !important; text-rotate: 90;"> the label gets printed above the cell on page one like this:
mPDF version
8.3.1
PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)
8.4
Reproducible PHP+CSS+HTML snippet suffering by the error
Its basically:
<table>
<thead>
<tr><th style="height: 4cm; width: 4mm; vertical-align: middle; text-rotate: 90;">Header</th>...<tr>
...
</thead>
<tbody>
...Enough Data to fill more than one page...
</tbody>
- 主要言語
- PHP
- スター
- 4.7k
- フォーク
- 1.1k
- 平均マージ
- 6日 11時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mpdf/mpdf のほかの issue
-
SVG path arcs with an explicit zero radius throw DivisionByZeroError対応中かも @Syed-Shehroz-Sohail が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 5 日以内に返信
-
Closing a column set with an image in it leaves the cursor below the page, wasting the rest of itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 5 日以内に返信
-
8.3: Local fallback for external stylesheets is inverted in CssLoader (basepathIsLocal check negated) — CSS silently dropped when remote fetch fails対応中かも @hemreduru が 12 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 5 日以内に返信
-
Tag/Td.php silently clears cell top/bottom borders when a row has a partial border (plus two warnings and a deprecation)対応中かも @alizamani1616 が 61 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 5 日以内に返信
-
AdjustHTML() collapses multiple spaces inside quoted attribute values (src, href)対応中かも @sornapudisuresh が 130 日前に担当しました。 オープンbug/fix help wanted HTML/CSS support
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 5 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
Перевод устарел
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信