Releases: web-platform-tests/wpt
merge_pr_50879
Fix a crash in AILanguageDetectorFactory::capabilities() called on a detached frame
- Add [RaisesException] EA to AILanguageDetectorFactory::capabilities(), raise an exception when no execution context is present;
- See if execution context is available before calling GetLanguageDetectionDriverRemote()
- Add a CHECK() within GetLanguageDetectionDriverRemote() to enforce that.
Bug: 384233287
Change-Id: I81486a91cf2cdc270562615ccbc4a91720ec3ff7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6289147
Commit-Queue: Andrey Kosyakov [email protected]
Reviewed-by: Mike Wasserman [email protected]
Cr-Commit-Position: refs/heads/main@{#1423264}
merge_pr_50878
Add CSS Color 4 gradient options to CanvasGradient
Add ColorInterpolationMethod, HueInterpolationMethod and
premultipliedAlpha attributes to CanvasGradient as described here:
This is done behind the flag CanvasGradientCSSColor4, as spec is not yet
settled:
Chromestatus: https://chromestatus.com/feature/5168382242193408
I2P thread:
https://groups.google.com/a/chromium.org/g/blink-dev/c/6PhsIK2kxeM
Gradient::ColorInterpolation is also renamed to
Gradient::PremultipliedAlpha, because that's what it is.
Subpixel antialiasing for test labels is being inconsistently applied on
windows, so the tests are marked as failing with a bug.
crbug.com/396344375
Bug: 394052224
Change-Id: I6b1092376d08c051b161f83c82d585bd03cd4131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226021
Reviewed-by: Chris Harrelson [email protected]
Commit-Queue: Aaron Krajeski [email protected]
Cr-Commit-Position: refs/heads/main@{#1423255}
merge_pr_50877
[gap-decorations] Parse row-rule-style
property
This CL introduces parsing for the row-rule-style
property which
sets the styles of gap decorations in rows see:
https://drafts.csswg.org/css-gaps-1/#column-row-rule-style
Bug: 357648037
Change-Id: Idcf7575a720812cf5dec7221b09adc82f1ec43f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6283305
Reviewed-by: Sam Davis Omekara [email protected]
Reviewed-by: Alison Maher [email protected]
Commit-Queue: Javier Contreras [email protected]
Reviewed-by: Kevin Babbitt [email protected]
Cr-Commit-Position: refs/heads/main@{#1423236}
merge_pr_50876
Support evaluation of <boolean-expr[ style( ) ]> queries
Note: Evaluation of media() queries is not supported yet, to be done in
next CL.
Bug: 346977961
Change-Id: I109120002fa8df8ad1e498d43ef5197abd0563a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6291331
Reviewed-by: Anders Hartvoll Ruud [email protected]
Commit-Queue: Munira Tursunova [email protected]
Cr-Commit-Position: refs/heads/main@{#1423216}
merge_pr_50874
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=285883 (#50874)
merge_pr_50873
if() boolean-expr of style() and media() queries parsing support
Supported if syntax now:
<if()> = if( [ : ? ; ]*
: ? ;? )
= <boolean-expr[ ]> | else
= media( ) | style( )
Spec: https://drafts.csswg.org/css-values-5/#if-notation
Bug: 346977961
Change-Id: Iabdb7b3331600259cecd76eb409e8c48d750d538
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6289526
Commit-Queue: Munira Tursunova [email protected]
Reviewed-by: Anders Hartvoll Ruud [email protected]
Cr-Commit-Position: refs/heads/main@{#1423173}
merge_pr_50870
Implement the Canvas TextStyles lang attribute
The HTML canvas textStyle "lang" attribute provides control over the
locale when using text features in a canvas. The default is "inherit"
that takes the language from the host document element. Other strings
are used directly as a locale.
Spec PR: whatwg/html#10873
Bug: 385006131
Change-Id: I624c1ddc8bf550d17307affc8aa6a97544cf0c53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6150170
Reviewed-by: Jean-Philippe Gravel [email protected]
Commit-Queue: Stephen Chenney [email protected]
Cr-Commit-Position: refs/heads/main@{#1423150}
merge_pr_50869
Field trial testing config for fDO sampling on cookie setting.
Change-Id: I62a695d8f8c3de74dbb70b80804d321a71023fcd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6285126
Reviewed-by: Maks Orlovich [email protected]
Commit-Queue: Qingxin Wu [email protected]
Cr-Commit-Position: refs/heads/main@{#1423148}
merge_pr_50867
Make name: and code: required parameters in the canvas test generator
In the process of documenting the test generator, it's useful to clarify
which parameters are required and which ones are optional. The only two
required parameters are 'name:' and 'code:'.
Bug: 393561071
Change-Id: I89c0fa7cc9bd0a8923a4320c5e02ac9e5f81a9e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219870
Reviewed-by: Andres Ricardo Perez [email protected]
Commit-Queue: Jean-Philippe Gravel [email protected]
Cr-Commit-Position: refs/heads/main@{#1423203}
merge_pr_50866
Add an img_reference reftest type in canvas WPT test generator
In the process of documenting the test generator, all template
parameters should have a clear purpose that can be explained. The
templates used to generate the test files use the parameter
'img_reference'. This parameter is populated by the test generator,
using the filename of the image generated when using 'cairo_reference'.
Seeing that the variable exists, users of the test generator could be
tempted to use it. We must therefore decide whether we should allow
this or whether we should make this a reserved internal parameter.
Allowing the use of this parameter could actually be useful. Tests
could use it to test against solid color images, like
'/images/green-100x50.png'. This would be much better than how lots of
tests currently specify 'expected: green' in their definition. The
images specified with 'expected:' are not used by the test runner to
check the test result, but 'img_reference' is.
Bug: 393561071
Change-Id: I8c5a6a5ec940a988b49fac61075ef99e6279ab69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219869
Commit-Queue: Jean-Philippe Gravel [email protected]
Reviewed-by: Andres Ricardo Perez [email protected]
Cr-Commit-Position: refs/heads/main@{#1423137}