feat(rules): 建立共享排版契约并收束 WebKit 与 Unicode 基线
This commit is contained in:
Vendored
+6
@@ -146,6 +146,12 @@ export interface RenderContext {
|
||||
root: Element;
|
||||
options: ResolvedOptions;
|
||||
finder: Finder;
|
||||
/** 當前 createJuzhen 實例造出之元素;DOM 屬性不能作為所有權憑證。 */
|
||||
ownedElements: WeakSet<Element>;
|
||||
/** 實例不可偽造之屬性寫者身分;狀態由 core/dom 共享堆疊管理。 */
|
||||
ownerToken: object;
|
||||
/** 寫入本實例產物之內部 class,並在觀察啟用時留下可精確核對之 mutation provenance。 */
|
||||
setOwnedClass: (element: Element, className: string, present: boolean) => void;
|
||||
}
|
||||
/**
|
||||
* charify 階段之包裝請求:把 node.data[start, end) 包進 build() 造出之元素。
|
||||
|
||||
Reference in New Issue
Block a user