re-add several label element to the element tree (#1429)
This commit is contained in:
@@ -1548,7 +1548,8 @@ function buildElementTree(starter = document.body, frame, full_tree = false) {
|
||||
if (
|
||||
labelElement &&
|
||||
labelElement.childElementCount === 0 &&
|
||||
!labelElement.getAttribute("for")
|
||||
!labelElement.getAttribute("for") &&
|
||||
!element.text
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user