修改完成

This commit is contained in:
2026-07-21 07:53:03 +08:00
parent 01d246c47b
commit ff60119277
172 changed files with 7982 additions and 2999 deletions
+11
View File
@@ -28,6 +28,17 @@ foreach ($forbidden in @('<ModulePage page-id="f10"', 'import ModulePage from'))
if ($page.Contains($forbidden)) { throw "F10 retains forbidden dependency: $forbidden" }
}
if ($page -match '(?m)^\s*position\s*:\s*relative\s*;') {
throw 'F10 ordinary page content must not use position: relative'
}
foreach ($selector in @('.video-status-lead text', '.video-status-card__body')) {
$escapedSelector = [regex]::Escape($selector)
if ($page -notmatch "(?s)$escapedSelector\s*\{[^}]*z-index\s*:\s*1\s*;") {
throw "F10 grid content must render above its decorative skin: $selector"
}
}
if ($catalog -match '(?m)^\s*f10\s*:') {
throw 'F10 obsolete page-catalog owner must be removed'
}