mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #14262 from Snuffleupagus/issue-14261
Include the /Lang-property, when it exists, in the StructTree-data (issue 14261)
This commit is contained in:
commit
c6cb39ef30
4 changed files with 10 additions and 0 deletions
|
@ -98,6 +98,9 @@ class StructTreeLayerBuilder {
|
|||
if (structElement.id !== undefined) {
|
||||
htmlElement.setAttribute("aria-owns", structElement.id);
|
||||
}
|
||||
if (structElement.lang !== undefined) {
|
||||
htmlElement.setAttribute("lang", structElement.lang);
|
||||
}
|
||||
}
|
||||
|
||||
_walk(node) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue