feat(nkwebkit): implement HTML color serialization #17917
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17917"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-09T22:28:43Z.
What
Implement WebCore::serializationForHTML(Color) for inline 8-bit sRGB values. Opaque colors use lowercase HTML hex; translucent colors use WebKit CSS rgba serialization. Invalid colors serialize as
rgba(0, 0, 0, 0), as upstream does; out-of-line and color-function colors, which this layout does not model, throw.Source: WebKit ColorSerialization.cpp.
Tested
Linux:
suite.py feat/nkwebkit-color-html-serializationat80a234b472: CTest 4814/4814 passed; conventions passed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T14:27:28Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed serialization implementation and its tests show no concrete blocking defect; I could not verify two oversized changed files or run the checks, so a formal approval is not justified.
What I ran
Reviewed head
f582444c27c488b310f19888379c19dc841d586fusing the prepared diff andrepo_read.pytargeted reads. No commands or tests were run; the test result in the PR description is author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Read the PR description, commits, manifest, diff, full
WebCoreColorSerialization.cpp, fullWebCoreColorSerializationtest,WebCoreExports.hpp, relevantWebCoreColor.cppandWebCoreTypes.hppranges, andCMakeLists.txt. The manifest lists five changed files; three were read, whileExport.cpp,InventoryExports.hpp, anddocs/dev/debt/libSceNKWebKit.mdwere excluded from full-text review. The diff shows their relevant changes, but their surrounding file contents were not inspected. Tests were not run, and console ABI/layout behavior remains unverified as the PR documentation states.To get this to a good state
Nothing is required. Optional: provide full-text review access for the excluded files and run the checks on this head before seeking approval.