Skip to content

Commit

Permalink
ZK-5589: a checkmark of a checkbox inside a caption is shifted unexpe…
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen committed Sep 23, 2024
1 parent 1366e21 commit dd146e8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions zkdoc/release-note
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ZK 10.1.0
ZK-5707: avoid invoking an event listener after a session expired
ZK-5707: avoid invoking a event listener after a session expired
ZK-5756: a MatchMedia request causes java.lang.IllegalArgumentException
ZK-5589: a checkmark of a checkbox inside a caption is shifted unexpectedly

* Upgrade Notes
+ Remove Htmls.encodeJavaScript(), Strings.encodeJavaScript(), Strings.escape() with Strings.ESCAPE_JAVASCRIPT, and replace them with OWASP Java Encoder APIs instead.
Expand Down
27 changes: 27 additions & 0 deletions zktest/src/main/webapp/test2/B101-ZK-5589.zul
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
B101-ZK-5589.zul
Purpose:
Description:
History:
2024/9/23, Created by jumperchen
Copyright (C) 2024 Potix Corporation. All Rights Reserved.
-->
<zk>
<label multiline="true">
1. run the zul in iceblue theme.
2. the checkmark of a checkbox inside a caption should not be shifted unexpectedly.
</label>
<groupbox width="300px" >
<caption>
<checkbox id="cb" checked="true" />
Enable Backups
</caption>
</groupbox>
</zk>
1 change: 1 addition & 0 deletions zktest/src/main/webapp/test2/config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3140,6 +3140,7 @@ B90-ZK-4431.zul=A,E,Multislider
##zats##B101-ZK-3729.zul=A,E,Desktop,Session,Timeout,NPE,Multithreading
##zats##B101-ZK-5707.zul=A,E,Session,Timeout,Event,Exception,Desktop
##zats##B101-ZK-5756.zul=A,E,ServerMVVM,Exception,MatchMedia,Data-racing
##manually##B101-ZK-5589.zul=A,E,Iceblue,Theme,Style,checkbox,caption,groupbox

##
# Features - 3.0.x version
Expand Down

0 comments on commit dd146e8

Please sign in to comment.