feat(nkwebkit): implement RoundedRect from LayoutRect #17912
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17912"
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:07:47Z.
What
Implement both C1 and C2 ABI constructors for WebCore::RoundedRect(LayoutRect, Radii), copying the rectangle and corner radii per the pinned WebKit source.
Source: WebKit RoundedRect.cpp.
Tested
Linux:
suite.py feat/nkwebkit-roundedrect-from-layoutrectat575b5667b2: CTest 6575/6575 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)Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T14:29:04Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing in the inspected implementation blocks merging; the described constructors copy the rectangle and radii into the expected members.
What I ran
Reviewed head
3450f3dd43ca1bb19e0c8565c5dfec4847f8c763. No commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
No repository build or test was run.
Export.cppanddocs/dev/debt/libSceNKWebKit.mdwere excluded from the review bundle and not read. The author-reported Linux run was at an earlier commit, so it does not establish results at this head.LegacyExports.hppwas not read; its diff has no added lines. The reviewed changed lines inWebCoreExports.hpp,RoundedRect.cpp,WebCoreTypes.hpp, andtests/RoundedRect.cppwere read.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T06:53:42Z.
Review: APPROVED
Reviewed — looks good
Nothing in the reviewed implementation or test indicates a blocking defect; the reported full suite was not run by me.
What I ran
Reviewed head
575b5667b2c82bf80442e07012718e37516555db. Read the prepared description, commits, manifest and diff, plus all included changed files except the oversizedExport.cpp; read targeted ranges ofExport.cppand the libraryCMakeLists.txt, and checked the changed symbol and directory listing with the reader. No tests or build commands were run.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
I did not independently verify the reported
suite.py feat/nkwebkit-roundedrect-from-layoutrectresult or test console caller ABI behavior.Export.cppwas too large to include in the review folder; I read only the nearby ranges relevant to the removed stubs. The description, commits, manifest, diff,LegacyExports.hpp,WebCoreExports.hpp,RoundedRect.cpp,WebCoreTypes.hpp,tests/RoundedRect.cpp, debt fragment, targetedExport.cpprange andCMakeLists.txtwere read.files.jsonwas not available as a reader path.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T02:49:30Z.
Review: APPROVED
Reviewed — looks good
The reviewed change at head
332e85ef576856023d2d008fcfb5d325bcba9e77implements both RoundedRect constructor variants by copying the rectangle and radii; no defect was verified in the inspected code.What I ran
Read the prepared diff and changed files, and used the pinned reader for the excluded
Export.cppchanged regions, build registration, and related declarations. No commands or tests were run. The description reports 6,575 CTest checks and conventions passed at an earlier commit; that is author-reported, not verified here.Results
Findings
Blocking
None.
Non-blocking
None.
Sources
core/libs/prx/libSceNKWebKit/src/RoundedRect.cpp:34-40implements both variants.core/libs/prx/libSceNKWebKit/src/WebCoreTypes.hpp:127-135defines the aggregate fields; static assertions check their offsets.core/libs/prx/libSceNKWebKit/CMakeLists.txt:20-21,52-59includes source and test files through globs.Not verified
Did not run tests or validate behavior on console. Read all changed files except
core/libs/prx/libSceNKWebKit/Export.cpp, which was excluded from the prepared bundle; inspected only its two changed regions throughrepo_read.py. Read the new implementation, declarations, type definitions, test, debt fragment, and relevant CMake file. No additional files were marked excluded by the bundle metadata.To get this to a good state
Nothing is required.