Shagen Ogandzhanian
c0bba88f02
Simplify text selection in "select event update the txt"
...
This approach also make it more cross-platform resistant
2021-06-30 23:35:04 +02:00
Shagen Ogandzhanian
8131b6665d
Remove accidentaly wrongly merge code from a debug branch
2021-06-30 17:12:44 +02:00
Shagen Ogandzhanian
1a7a1fbbd3
Update web examples after releasing 0.5.0-build228
2021-06-30 15:57:29 +02:00
Oleksandr Karpovich
e40f7a0d9a
Update web tutorials for 0.5.0-build228 ( #833 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-06-29 16:49:17 +02:00
Shagen Ogandzhanian
c5b1e29f15
Add posibility to install missing chrome drivers for local development
2021-06-29 13:37:21 +02:00
Shagen Ogandzhanian
1b42dbec3e
Dispose web drivers after selenium tests
2021-06-26 00:13:53 +02:00
Shagen Ogandzhanian
05dc8d1c05
Run selenium tests in Firefox is specific System property (synced with project property) is present
2021-06-25 16:11:39 +02:00
Oleksandr Karpovich
29a5297907
Web: Input element and onInput event refactoring ( #799 )
...
* web: Add more tests for the event handlers
* web: Inputs refactoring (wip)
* web: Add `Options` for `addEventListener`
* web: Add basic methods and properties to the SyntheticInputEvent to align it with `org.w3c.dom.events.Event`
* web: Add a test for `capture = true` Event Listener Option
* web: Update PR to make contain only relevant changes + add specific functions for Inputs
* web: Update PR to align with master after rebase
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-06-25 16:04:49 +02:00
Shagen Ogandzhanian
2de373c7db
Prepare integration tests for possibility to run against Firefox
2021-06-25 14:41:55 +02:00
Oleksandr Karpovich
d87783f319
Fix web/Building_UI tutorial snippet
2021-06-25 11:37:52 +02:00
Shagen Ogandzhanian
06b79febfb
Update CHANGELOG.md after releasing 0.5.0-build226
2021-06-24 16:28:50 +02:00
Shagen Ogandzhanian
4937918a28
Update examples after publishing 0.5.0-build226
2021-06-23 23:18:59 +02:00
Shagen Ogandzhanian
5d7c874136
Updae deafult web-core dependency to 0.5.0-build226
2021-06-23 19:47:06 +02:00
Shagen Ogandzhanian
df05778843
AttrBuilder is nullable by default
2021-06-23 18:44:22 +02:00
Shagen Ogandzhanian
5b22169e72
Remove license for cssom since we are not using it anymore
2021-06-22 23:12:56 +02:00
Shagen Ogandzhanian
019cbd2940
Use CSSStyleSheet so that there's no need to define additional functionality on Stylesheet
2021-06-22 19:17:31 +02:00
Shagen Ogandzhanian
453cc89bca
Add minimal test for testing media query in stylesheet
2021-06-22 00:37:19 +02:00
Philip Wedemann
766e5950de
web: Remove the boolean parameter from hidden() to align with #780 ( #783 )
...
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden
2021-06-21 18:05:21 +02:00
Abasov Akif
a167abe04c
Add more calc shortcuts ( #798 )
2021-06-18 16:30:57 +03:00
Abasov Akif
925f697a6f
Feature/calc ( #790 )
...
* CSS operations
* CSS operations with variables
* Fix api to use CSSColorValue instead of Color to use CSSVariables too
* Fix api to use CSSNumericValue instead of CSSSizeValue to use CSSVariables too
* Fix CSSBorder types
2021-06-18 16:14:36 +03:00
Abasov Akif
0a90ae2194
Remove CSS Typed OM API ( #786 )
2021-06-18 14:11:01 +03:00
Oleksandr Karpovich
fac8a856b3
Update version of compose core for web components - 0.5.0-build225
...
It means that when we build the components locally, the new version will be used (same as for recently published artefacts).
2021-06-18 09:35:19 +02:00
Louis CAD
bfe4bf4a3a
Remove extra erroneous characters from comment ( #787 )
2021-06-17 10:55:56 +03:00
Shagen Ogandzhanian
c8794cbad6
Update web examples after the 0.5.0-build225 release
2021-06-15 20:26:01 +02:00
Shagen Ogandzhanian
4529645a75
Don't allow to assign null value in attr ( #780 )
...
* Remove atrributes completely and reapply everything
Rather than keeping map with attributes applied
* Don't allow nullable signatures while calling attr
2021-06-15 13:24:43 +02:00
Shagen Ogandzhanian
b794032880
Remove unused constructor from DomNodeWrapper
2021-06-15 11:13:37 +02:00
Shagen Ogandzhanian
c83938374f
Add missing embedded HTML elements (apart from PORTAL)
...
IFRAME, OBJECT, PARAM, PICTURE, SOURCE
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
2021-06-14 16:28:40 +02:00
Shagen Ogandzhanian
18ff668cd2
Add missing form HTML elements
...
DATALIST, FIELDSET, LEGEND, METER, OUTPUT, PROGRESS
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
2021-06-14 15:20:42 +02:00
Shagen Ogandzhanian
84cee1bf92
Add missing image and multimedia HTML elements
...
AREA, AUDIO, MAP, TRACK, VIDEO
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
2021-06-14 14:53:12 +02:00
Shagen Ogandzhanian
08dc15182f
Add missing content sectioning HTML elements
...
Namely: ADDRESS, ARTICLE, ASIDE, HEADER
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
2021-06-14 14:17:48 +02:00
Shagen Ogandzhanian
60944c87c4
Simplify elements internal api by removing Tag interface completely and rely on existing HTMLElement hierarchy ( #779 )
...
* Relax upperbound for ElementBuilder to Element
It's still a lie since there's a HTMLElement cast later on but it will
make possible further improvements
* Don't use Tags anywhere in code
* Remove Tags completely
2021-06-14 13:58:24 +02:00
Shagen Ogandzhanian
ee0793dcaa
Relax upperbound for ElementBuilder to Element
...
It's still a lie since there's a HTMLElement cast later on but it will
make possible further improvements
2021-06-14 12:46:50 +02:00
Shagen Ogandzhanian
d38dcbe8a2
Label content is specialized as HTMLLabelElement
2021-06-14 12:25:30 +02:00
Shagen Ogandzhanian
de143273e8
Introduce test for attributes re-evaluation
2021-06-12 01:55:49 +02:00
Shagen Ogandzhanian
e96d59818b
Produce DOM nodes via builder
2021-06-11 15:28:09 +02:00
Shagen Ogandzhanian
428a0a6ce8
Add test for just checking DOM names to be sure none of future refactoring will affect this
2021-06-11 14:39:24 +02:00
Shagen Ogandzhanian
ab937a9716
Introduce test for testing "raw" element creaation
2021-06-11 12:00:08 +02:00
Shagen Ogandzhanian
72a8a5b2c9
Align bencmhark source with web example
...
We need to think of a better approach though
2021-06-10 19:52:59 +02:00
Shagen Ogandzhanian
0992de69e0
Update web/CHANGELOG.md after 0.5.0-build222
2021-06-09 19:22:10 +02:00
Shagen Ogandzhanian
f0aaa63e60
Add test for testing arithmetic in composable context
2021-06-09 18:46:59 +02:00
Oleksandr Karpovich
3b96c55daa
web: test for media query ( #766 )
...
* web: Add a test for media query in style sheet
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-06-09 18:22:10 +02:00
Shagen Ogandzhanian
7ef65d21de
Fix name so web_landing as a part of the web build
2021-06-09 17:41:34 +02:00
Oleksandr Karpovich
d2371cb878
web: Add a fix for css variables
2021-06-09 17:13:16 +02:00
Shagen Ogandzhanian
9846c190ed
Introduce minimal tests for injecting stylesheets
2021-06-09 13:50:38 +02:00
Shagen Ogandzhanian
1315be6d5e
For composition unit tests add container to the document
2021-06-09 12:36:35 +02:00
Shagen Ogandzhanian
9698698bd0
Simplify assignment signatures in CSS properties
2021-06-08 18:29:46 +02:00
Shagen Ogandzhanian
a5c55de3bf
Introduce markers for CSS Length and CSS percentage
2021-06-08 16:02:05 +02:00
Shagen Ogandzhanian
6048760a1a
CSS units API is CSSOM-agnostic and supports homogenous arithmetic operations
2021-06-07 18:55:56 +02:00
Oleksandr Karpovich
d0d272897b
Fix add1kItems benchmark to avoid it getting swallowed on CI
...
Now it will repeat only 3 times instead of default (5).
2021-06-07 11:50:14 +02:00
Philip Wedemann
20fa5edd82
Web: Remove content builder for empty elements ( #745 )
...
* Remove content builder for empty elements
* Remove content builder for empty elements
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com >
2021-06-07 09:24:57 +02:00