Repository navigation
Comparing changes
Open a pull request
base repository: NativeScript/NativeScript
base: main
head repository: NativeScript/NativeScript
compare: refs/pull/11674/head
- 7 commits
- 11 files changed
- 2 contributors
Commits on Nov 24, 2026
-
fix(core): replace previous inline declarations when assigning view.s…
…tyle Assigning an inline style string merged into the previous inline declarations. Like the web's cssText, a new string now replaces them: properties the previous string set and the new one omits are unset and fall back to the stylesheet value (or the default/inherited value).
Configuration menu - View commit details
-
Copy full SHA for 0d3852d - Browse repository at this point
Copy the full SHA 0d3852dView commit details -
test(core): cover every registered shorthand in inline style replacement
Table-driven over margin, padding, gap, transform, background, border-color, border-width, border-radius, font, flex-flow, flex and android-content-inset: dropping the shorthand unsets every longhand, falls back to the stylesheet longhands, and changing its value moves each longhand at most once. Also covers shorthand/longhand order within one string, narrowing a shorthand to one of its longhands, a shorthand that expands to fewer longhands, and unexpanded shorthand values.
Configuration menu - View commit details
-
Copy full SHA for 180eaa2 - Browse repository at this point
Copy the full SHA 180eaa2View commit details -
fix(core): keep var() and calc() in local style values current
A local string value holding var() or calc() is now substituted before it is converted, so style.marginTop = 'calc(2 + var(--t))', view.marginTop = 'var(--t)' and style.margin = 'var(--m)' no longer throw. The specified expression is kept on the style together with the css variables its substitution read. On every cascade pass the kept expressions whose variables changed are substituted again, and a value is written only when its substitution changed. Any other local write to the property, including a reset or a shorthand write that omits the longhand, releases the kept expression, so a later code write wins over later cascade passes.
Configuration menu - View commit details
-
Copy full SHA for dfc41a6 - Browse repository at this point
Copy the full SHA dfc41a6View commit details -
feat(core): serialize typed style values back to css
Add a valueSerializer option to CssProperty, InheritedCssProperty and CssAnimationProperty, with serializeCssValue as the default: colors as rgb()/rgba(), lengths, percentages, gradients, shadows, strokes and lists. box-shadow and clip-path get their own serializers. Keep a registry of style properties by css name, and local-value accessors that also see the local slot of animated properties.
Configuration menu - View commit details
-
Copy full SHA for 6b2debc - Browse repository at this point
Copy the full SHA 6b2debcView commit details -
feat(core): inlineStyle, attributeStyleMap, computedStyleMap and getC…
…omputedStyle view.inlineStyle reads and writes the local values as css strings: the specified expression for var()/calc() values, the serialized typed value otherwise, and '' when there is none. Assigning its cssText replaces every local value of the view. view.attributeStyleMap and view.computedStyleMap() expose the typed local and computed values by css name. getComputedStyle(view) returns a live, read-only declaration of canonical computed strings. ShorthandProperty takes a valueSerializer to compose its longhands; transform has one.
Configuration menu - View commit details
-
Copy full SHA for 2934037 - Browse repository at this point
Copy the full SHA 2934037View commit details
Commits on Nov 28, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b85b064 - Browse repository at this point
Copy the full SHA b85b064View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe6bb82 - Browse repository at this point
Copy the full SHA fe6bb82View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...refs/pull/11674/head