修改完成

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
+9
View File
@@ -63,6 +63,15 @@ foreach ($forbidden in @(
if ($page.Contains($forbidden)) { throw "F09 retains forbidden dependency: $forbidden" }
}
foreach ($requiredPosition in @(
'(?s)\.media-photo-tile\s*\{[^}]*position:\s*relative;',
'(?s)\.media-photo-order,\s*\.media-photo-current,\s*\.media-photo-status\s*\{[^}]*position:\s*absolute;',
'(?s)\.media-photo-remove\s*\{[^}]*position:\s*absolute;'
)) {
if ($page -notmatch $requiredPosition) { throw "F09 required thumbnail overlay boundary missing: $requiredPosition" }
}
if ([regex]::Matches($page, 'position\s*:').Count -ne 3) { throw 'F09 must keep only thumbnail badges and their local photo boundary positioned' }
if ($catalog -match '(?m)^\s*f09\s*:') {
throw 'F09 obsolete page-catalog owner must be removed'
}