What I mentioned above is just a bug aspect,
so I'd like to add more comment.

The web exposed serialization result will be the one resulted from css
simplification.
As an example of behavioral change of css calc simplification, it includes
length canonicalization
e.g. calc((12.5%*6 + 10in) / 4) is simplified to calc(18.75% + 240px),
and the simplified result will be serialized.




2022년 3월 10일 (목) 오전 1:11, 박중헌 <[email protected]>님이 작성:

> I think web exposed visible change will be calc serialized result,
> e.g. calc(20% + 10px + 10em - 10%) will be serialized to calc(10% + 10em +
> 10px)
> while it is serialized to calc((20% + 10px + 10em) - 10%) with current
> implementation.
>
> FYI, current change link is
> https://chromium-review.googlesource.com/c/chromium/src/+/3489570
> which is a patch for reference,
> and we are planning to proceed developing it behind a runtime flag
> "CSSSimplificationAndSerialization".
>
>
>
> 2022년 3월 10일 (목) 오전 1:05, Yoav Weiss <[email protected]>님이 작성:
>
>> What are the web exposed implications of this? Does this change the
>> result of calcs in any way, or is it just speeding them up?
>>
>> On Wed, Mar 9, 2022 at 5:00 PM 박중헌 <[email protected]> wrote:
>>
>>> Contact [email protected], [email protected]
>>>
>>> ExplainerNone
>>>
>>> Specificationhttps://drafts.csswg.org/css-values-4/#calc-simplification
>>> , https://drafts.csswg.org/css-values-4/#calc-serialize
>>>
>>> Summary
>>>
>>> CSS math functions are simplified and serialized per spec. CSS calc
>>> simplification is a kind of constant folding which evaluates css
>>> calculation tree to the extent possible at parse time, so that evaluation
>>> at computed/used-value time can be reduced. The simplified result is
>>> serialized according to spec.
>>>
>>>
>>> Blink componentBlink
>>> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink>
>>>
>>> Search tagscss <https://chromestatus.com/features#tags:css>,
>>> simplification <https://chromestatus.com/features#tags:simplification>,
>>> serialization <https://chromestatus.com/features#tags:serialization>
>>>
>>> TAG reviewNone
>>>
>>> TAG review statusNot applicable
>>>
>>> Risks
>>>
>>>
>>> Interoperability and Compatibility
>>>
>>>
>>>
>>> Gecko: Shipped/Shipping
>>>
>>> WebKit: Shipped/Shipping
>>>
>>> Web developers: No signals
>>>
>>>
>>> Ergonomics
>>>
>>> None
>>>
>>>
>>> Activation
>>>
>>> None
>>>
>>>
>>> Security
>>>
>>> None
>>>
>>>
>>> Debuggability
>>>
>>> N/A
>>>
>>>
>>> Is this feature fully tested by web-platform-tests
>>> <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
>>> ?Yes
>>>
>>>
>>> Requires code in //chrome?False
>>>
>>> Tracking bug
>>> https://bugs.chromium.org/p/chromium/issues/detail?id=1253162
>>>
>>> Link to entry on the Chrome Platform Status
>>> https://chromestatus.com/feature/5730414630010880
>>>
>>> This intent message was generated by Chrome Platform Status
>>> <https://chromestatus.com/>.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "blink-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmFqRckRAY%3DhvUSp08jV7ZBRinZ2XDfS3UN_9EewQjQh8T_eQ%40mail.gmail.com
>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmFqRckRAY%3DhvUSp08jV7ZBRinZ2XDfS3UN_9EewQjQh8T_eQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmFqRe%3Do49CJ%3D1YcMTwOiprDm99mDSO3CJZZfdJM6uOchdkgQ%40mail.gmail.com.

Reply via email to