@pygmalionjs/pygmalion 0.5.25 → 0.5.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/pygmalion.js +7 -1
- package/package.json +1 -1
package/dist-lib/pygmalion.js
CHANGED
|
@@ -4708,7 +4708,13 @@ const ul = /* @__PURE__ */ new WeakMap(), fl = Sd(function e({ node: t }) {
|
|
|
4708
4708
|
// Even if the background shorthand of the computed DOM remains, the editor fill
|
|
4709
4709
|
// Cover the shorthand itself so that it becomes the final paint.
|
|
4710
4710
|
...t.fill ? { background: t.fill, backgroundColor: t.fill } : {},
|
|
4711
|
-
|
|
4711
|
+
// `radius` is one number, so applying it over a captured style would round
|
|
4712
|
+
// corners the capture had deliberately flattened — a bar that shares its
|
|
4713
|
+
// bottom edge with the input below it came back with the seam visible.
|
|
4714
|
+
// The captured corners win when there are any. (The lightweight renderer
|
|
4715
|
+
// holds the same rule; both draw imported frames, so a guard in one of
|
|
4716
|
+
// them only fixes the frames the other does not draw.)
|
|
4717
|
+
...t.radius && t.domStyle.borderTopLeftRadius == null ? { borderRadius: t.radius } : {},
|
|
4712
4718
|
...t.locked ? { pointerEvents: "none" } : {}
|
|
4713
4719
|
}, m = { ...t.domAttributes };
|
|
4714
4720
|
for (const x of ["disabled", "checked", "selected", "multiple", "readOnly", "required", "autofocus"])
|