From f92afc94098e1802cb08334d443be14d6980597e Mon Sep 17 00:00:00 2001 From: cuibo Date: Fri, 3 Mar 2023 16:55:27 +0800 Subject: [PATCH 1/2] feat: add overflow.lockedPoints --- examples/simple.html | 14 +++++++ examples/simple.js | 8 +++- src/align/align.js | 88 ++++++++++++++++++++++++-------------------- 3 files changed, 70 insertions(+), 40 deletions(-) diff --git a/examples/simple.html b/examples/simple.html index e69de29..00f4de1 100644 --- a/examples/simple.html +++ b/examples/simple.html @@ -0,0 +1,14 @@ + + + + + + + Document + + +
+ + + + \ No newline at end of file diff --git a/examples/simple.js b/examples/simple.js index b6bf82a..f561a90 100644 --- a/examples/simple.js +++ b/examples/simple.js @@ -23,6 +23,7 @@ function align() { overflow: { adjustX: $id('adjustX').checked, adjustY: $id('adjustY').checked, + lockedPoints: $id('lockedPoints').checked, }, useCssRight: $id('useCssRight').checked, useCssBottom: $id('useCssBottom').checked, @@ -78,6 +79,11 @@ const div = (   + +