| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Doc] Expand AGENTS guides for renderer root modules - Expand AGENTS guidance for animator roots, renderer CSS and DOM roots, TASM, style, value wrappers, and the Lepus compiler layer. - Make the root-level renderer and animation guides more actionable before contributors drill into leaf directories. - Verified by keeping this commit within the 300-line limit during the history rewrite. AutoSubmit:True | 6 个月前 | |
[Optimize] Change gn path to relative path. Now there are lots of gn absolute path usage in our project, it brings the following problem: Affecting the parent directory of lynx: In order to make it possible to extend lynx project in other projects, we need to use //lynx gn absolute path in lynx project, so we should execute gn command in the parent directory of lynx. As a result, buildroot and other third_party libraries should be placed in parent directory of lynx. To solve the problem, we prefer to use relative path in lynx project, refering to the approach in skia and v8. In this change, we add a script named gn_relative_path_converter.py to help converting //lynx to relative path. But we still need to do some adaptions: Add rebase_path function for converting relative path to absolute path in template definition and variable definition in build_overrides, because the relative path is different with different gn target. | 1 年前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
[Optimize] optimize image properties in BackgroundData 1. lazy init image properties in BackgroundData 2. use InlineVector for image properties AutoSubmit: true | 1 年前 | |
[Feature][Mask]Reland: Support 'mask-composite' and improve mask rendering Add 'mask-composite' as a first-class CSS property and wire it through parsing, computed style, and rendering. Mask layers can now be combined using add/subtract/intersect/exclude via Porter-Duff blend modes, with full-layer save/restore to avoid stale destination pixels. Also improve mask behavior by: - Support 'mask' shorthand expansion to include composite data; - Clearing masks when 'mask-image: none' is applied; - Adding rounded-rect clipping for 'mask-clip' to respect border radius; - Add unit tests for 'mask-composite' parser handler. This reverts commit 2a9ccd0229328135cbbd5368e61bc70331a04911. issue: m-7283924428 | 5 个月前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
Revert "[Feature] Add text-spacing-trim CSS integration for Textra" This reverts commit eabd714d | 10 天前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
[Optimize] Add compiling flag for `flex_optional` to always wrap T using memory save template Previously we introduced `flex_optional` to dynamically choose from `std::optional` and `std::unique_ptr` when T is of different size. But for some fields of `ComputedCSSStyle`, they are seldomly used but still be inlined by `std::optional`. We think the 32-byte threshold is reasonable, so we provide another way to force flex_optional to choose the internal implementation of std::unique_ptr. issue: m-6383995029 | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
initial commit | 1 年前 | |
[Optimize] Add compiling flag for `flex_optional` to always wrap T using memory save template Previously we introduced `flex_optional` to dynamically choose from `std::optional` and `std::unique_ptr` when T is of different size. But for some fields of `ComputedCSSStyle`, they are seldomly used but still be inlined by `std::optional`. We think the 32-byte threshold is reasonable, so we provide another way to force flex_optional to choose the internal implementation of std::unique_ptr. issue: m-6383995029 | 1 年前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
[Refactor] Move transform operations into GFX - Move transform matrices, operations, decomposition, and interpolation from the Lynx renderer into the shared GFX geometry layer. - Keep CSS parsing and unit resolution in a core adapter while preserving matrix, percentage resize, and unit update behavior. - Preserve full 4x4 values for mismatched transform-list interpolation and serialize fallback samples as matrix3d instead of decomposed function lists. - Preserve legacy new animator translateZ interpolation used for platform stacking, including raw percentage values. - Update Harmony renderer dependencies and add shared geometry and renderer regression coverage. - Only aggregate geometry unit tests when unit-test targets are enabled so Android GN generation does not reference an unavailable host test target. TEST: Run GFX geometry tests and Lynx transform adapter and animation tests; build the LynxAndroid noasan debug AndroidTest APK. SkipChecks: macro | 2 个月前 | |
[Optimize] reorder struct members to save memory usage 1. redefine some enum's undelaying type. 2. reorder struct members to reduce memory padding. AutoSubmit: true | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
initial commit | 1 年前 | |
[Feature][Style] Implement attribute style caching and pseudo-element resolution for new styling pipeline - Cache committed styles from attributes to support efficient style resolution in the new styling pipeline. - Implement CacheCommittedStyleFromAttributes and RemoveCommittedStyleFromAttributes in ListElement and ScrollElement. - Resolve pseudo-element styles during FiberElement's style resolution process. - Remove <tuple> includes and replace std::tie with direct comparisons for better performance in style data structures. - Add comprehensive trace events for StyleResolver methods to improve profiling visibility. - Add unit tests for style resolution, computed style diffing, and attribute style caching. AutoSubmit: true issue: m-7074219574 SkipChecks:macro | 5 个月前 | |
[BugFix] Fix transition property value cycling to follow CSS spec - What changed - Refactored SetAnimationProperty to properly cycle single values across multiple properties according to CSS animation/transition spec. - Changed from modifying animation vector inline to collecting input values first, then applying them with modulo cycling (input_values[i % input_size]). - Added validation that animation property arrays must not be empty in strict mode. - Added 6 new unit tests covering: single value repetition, array cycling, equal size arrays, larger input arrays, timing function cycling, and empty array strict mode handling. - Why it was needed - The previous implementation did not correctly handle CSS animation/transition property cycling where a single value should be repeated for all properties. - The old code had logic issues where the anim vector was modified during iteration, causing incorrect value assignments. - How it was verified / impacts - All new unit tests pass, verifying correct cycling behavior matches CSS spec. - Existing functionality preserved through backward-compatible changes. issue: #5683 AutoSubmit: true | 6 个月前 | |
[BugFix] Fix transition property value cycling to follow CSS spec - What changed - Refactored SetAnimationProperty to properly cycle single values across multiple properties according to CSS animation/transition spec. - Changed from modifying animation vector inline to collecting input values first, then applying them with modulo cycling (input_values[i % input_size]). - Added validation that animation property arrays must not be empty in strict mode. - Added 6 new unit tests covering: single value repetition, array cycling, equal size arrays, larger input arrays, timing function cycling, and empty array strict mode handling. - Why it was needed - The previous implementation did not correctly handle CSS animation/transition property cycling where a single value should be repeated for all properties. - The old code had logic issues where the anim vector was modified during iteration, causing incorrect value assignments. - How it was verified / impacts - All new unit tests pass, verifying correct cycling behavior matches CSS spec. - Existing functionality preserved through backward-compatible changes. issue: #5683 AutoSubmit: true | 6 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 10 天前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 6 个月前 | ||
| 6 个月前 |