Wizard DXF: correzioni revisione zoom anteprime (style statico, x-show, altezza utile). Refs #113
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -362,5 +362,11 @@ class TestPages:
|
||||
assert "vFit('img')" in html and "vFit('dxf')" in html
|
||||
assert "vZoomBy('img', 1.25)" in html and "vZoomBy('dxf', 1.25)" in html
|
||||
assert "vPanDown('img', $event)" in html and "vWheel('dxf', $event)" in html
|
||||
# #113: Alpine :style a stringa sostituisce l'attributo style: niente style statico sullo stesso tag
|
||||
assert 'style="margin:auto;flex:none;"' not in html
|
||||
assert html.count("margin:auto;flex:none;") == 2 and html.count(":style=\"'margin:auto;flex:none;") == 2
|
||||
# #113: x-show e :style (display:flex) si pestano: x-ref="vpImg" non sta sul tag con x-show
|
||||
tag = html[html.rindex("<div", 0, html.index('x-ref="vpImg"')):html.index('x-ref="vpImg"')]
|
||||
assert "x-show" not in tag
|
||||
assert "existing ? msgs.editLabel : msgs.createLabel" in html and "Modifica ricetta da DXF" in html # #105: etichetta dinamica
|
||||
assert "Pezzo scuro su fondo chiaro" in html or "Dark part on light" in html
|
||||
|
||||
Reference in New Issue
Block a user