Shagen Ogandzhanian
13eeb9aa6d
canvasNoSkikoTest: Setting attributes in builder rather than in DomSideEffect
3 years ago
Shagen Ogandzhanian
9d229a9acf
canvasNoSkikoTest passing
3 years ago
Shagen Ogandzhanian
0bff3da84b
Attempt to have skiko-less test for Canvas application
3 years ago
Shagen Ogandzhanian
23b82fbb13
Passing some real-life ui code
3 years ago
Shagen Ogandzhanian
b814693219
VERY kludgy config for wasmReady
3 years ago
Shagen Ogandzhanian
f26c900098
Test tasks depends on skiko resources
...
This, of course, measn that we should keep it somewhere else, not in
core, but for not it's sufficient
3 years ago
Shagen Ogandzhanian
849edd2ec1
Introduce task copySkikoResources
3 years ago
Shagen Ogandzhanian
c3dc9f5d3a
Downloading specific artifact
3 years ago
Shagen Ogandzhanian
3e62b56863
Copying resources from skiko
3 years ago
Shagen Ogandzhanian
4af6f9daa1
Depending on Skiko directly
3 years ago
Shagen Ogandzhanian
8097f14854
Preparations for actually embedding
3 years ago
Shagen Ogandzhanian
d38f7347ab
Introduce Canvas element
3 years ago
Shagen Ogandzhanian
87d983e0a5
Fix for Nth.Functional ( #1609 )
3 years ago
Shagen Ogandzhanian
211fe2e63f
Introduce separate test for stylesheet inheritance
3 years ago
Shagen Ogandzhanian
798f0ac1ab
Kotlin testing reuse ( #1562 )
3 years ago
Shagen Ogandzhanian
90cb181a71
Core with Frefox tests enabled ( #1563 )
3 years ago
Oleksandr Karpovich
046f225846
web: workaround flaky CI test runner ( #1550 )
...
* web: workaround flaky CI test runner
* Move config path to test-utils/conf/karma.config.common.d
* Reusing same karma config everywhere aprt benchmarks
it looks like we can have only one karma config directory
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
Co-authored-by: Shagen Ogandzhanian <shagen.ogandzhanian@jetbrains.com>
3 years ago
Shagen Ogandzhanian
d902912424
Make all CSS Selectors private ( #1519 )
3 years ago
Oleksandr Karpovich
cf62af9a23
web (breaking change): make constructors of CSSSelectors classes internal ( #1510 )
...
* web (breaking change): Make CSSSelector constructors internal and move constant selectors instances to `SelectorsScope`
* web (breaking change): Make CSSSelectors classes internal
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
1b731e0af6
web (breaking change): move top level functions for css selectors to new SelectorsScope ( #1504 )
...
* web (breaking change): move top level functions for css selectors to new SelectorsScope
These functions don't need to be on top level because their purpose is to be used within StyleSheet
* web: update CSSSelector plus operator
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
d87c29a10d
web: add test for CSSSelector plus operator
3 years ago
Oleksandr Karpovich
4623985462
web (breaking change): move `combine` and `feature` functions to GenericStyleSheetBuilder scope (in CSSMediaRule.kt) ( #1508 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
6d0a0f4f1d
web (breaking change): make some functions internal ( #1509 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
43a16c8e77
Throw exception for `String + CSSSelector` with `self` cases. ( #1462 )
...
* Throw exception for `String + CSSSelector` with `self` cases.
* Refactoring: CSSSelector: open -> abstract, assertTrue -> assertFailsWith
* Exceptions rewording
* CSSSelfSelector: public -> internal
3 years ago
Oleksandr Karpovich
45a63ec41c
web: remove Options for event listeners ( #1470 )
...
Options were never actually applied and there was no way to use anything beside Options.DEFAULT
It's still possible to set options using k/js `addEventListener` on the element's reference
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
3778eadd37
web: add `inputmode` global attribute ( #1461 )
...
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
closes https://github.com/JetBrains/compose-jb/issues/1338
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
974ef56832
Fix css selectors: combine, sibling ( #1418 )
3 years ago
Shagen Ogandzhanian
f96eeea220
[web] Common config for printing test results to STDOUT
3 years ago
Oleksandr Karpovich
bbec5eaa43
web: add tests for Css selectors `desc` ( #1305 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
984a26ce1d
Pass resolved with self selector to nested builder ( #1298 )
3 years ago
Abasov Akif
14bf6674d9
Add implicit self for nested css selector ( #1284 )
...
* Deprecate `descendant` and introduce `desc` util to combine selectors
* Add internal `contains` method to `CSSSelector`
* Add implicit self for nested css selector
3 years ago
Oleksandr Karpovich
c5c28f8aad
web: make auto-css experimental ( #1294 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
354e48a542
Web: fix jumping cursor of controlled inputs ( #1287 )
...
* web: fix cursor position for controlled inputs (wip)
* web: fix cursor position for controlled inputs (wip)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
1638f0f08b
web: fix mouse event for safari mobile ( #1288 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Philip Wedemann
13620b9dd7
Align StyleSheetBuilder parameter with other @Composable ContentBuilder and add test ( #1112 )
3 years ago
Abasov Akif
381a95bb62
Basic animations test ( #1233 )
...
Basic animations test
3 years ago
Oleksandr Karpovich
626cba019a
web: add RadioGroup component to manage several Radio Inputs ( #1116 )
...
* web: add RadioGroup component to manage several Radio Inputs
* web: improve RadioGroup PR after discussions
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
3f2a5d06c4
[web] and turning Firefox tests in core of again
3 years ago
Shagen Ogandzhanian
4c252b8196
Use asHtmlElement helper only in TestUtils
...
TestUtils is a perfect classic name!
3 years ago
Shagen Ogandzhanian
d8de109ba1
[web] Re-enable Firefox tests after making build job non-parallel
3 years ago
Shagen Ogandzhanian
c8f91a9695
Extract PositionTests from StaticComposableTests and use runTest in both
3 years ago
Shagen Ogandzhanian
f8ac4ad2c3
Don't run web-core tests in Firefox (till further investigation)
3 years ago
Shagen Ogandzhanian
6b209ebd87
Prepare DomApplier and related code for working with SVG entities
3 years ago
Shagen Ogandzhanian
d4804fafdd
[web] [tests] introduce elementBuilderShouldBeCalledOnce test
3 years ago
Shagen Ogandzhanian
a22c916721
Use runTest in stypePosition test
3 years ago
Shagen Ogandzhanian
ce9fbcc8dd
Add test that basically check that scope is remembered
...
Thanks to Oleksandr - I would have never come up with a solution this
quick
3 years ago
Shagen Ogandzhanian
6c1667e05a
[web] [tests] Refactor attributesUpdateShouldNotCauseInlineStylesCleanUp and make sure we check conditional class assignemnt (in combination with seeting style) as well
3 years ago
Oleksandr Karpovich
e8e02771a0
web: add test-utils module ( #1101 )
...
* web: move DomApplier, GlobalSnapshotManager, JsMicrotasksDispatcher to dedicated module
This will allow reusing them in test-utils module.
* web: move TestUtils.kt to a dedicated module
Use test-utils module in web-core as a dependency
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
14909c23b2
Simplify CSS transform API signatures
...
There's no need to any of this methods to be Boolean
3 years ago
Shagen Ogandzhanian
770412444d
Support filter in CSS API
...
this resolves #923
3 years ago