(html_render_diff) Changes should break around <label>
elements
#201
Labels
enhancement
New feature or request
<label>
elements
#201
We currently break change elements (
<ins>
,<del>
) around block-level elements and<a>
elements so that they are always children or siblings of those elements rather than wrapping them:web-monitoring-diff/web_monitoring_diff/html_render_diff.py
Lines 1275 to 1277 in 1753d43
web-monitoring-diff/web_monitoring_diff/html_render_diff.py
Lines 1535 to 1537 in 1753d43
We should also include
<label>
here, since it is frequently presented as block level, even though it is not by default. For example, this change within a label looks confusing because we don’t do this (the text “School or school district” was inserted at the start of the “ZIP Code” label, but the current presentation looks like there is a weird, spurious “School or school district” label getting repeated on the page):The text was updated successfully, but these errors were encountered: