Shagen Ogandzhanian
2033c73377
Minimal support for background in CSS API
3 years ago
Shagen Ogandzhanian
3c47c234ac
Minimal support for backgroundSize in CSS API
3 years ago
Shagen Ogandzhanian
fb98e9f495
Minimal support for backgroundOrigin in CSS API
3 years ago
Shagen Ogandzhanian
1859b381a7
Minimal support for backgroundClip in CSS API
3 years ago
Shagen Ogandzhanian
276189243a
Introduce minimal backgroundRepeat in CSS API
3 years ago
Shagen Ogandzhanian
b278e4c807
Introduce minimal backgroundPosition the CSS API
3 years ago
Shagen Ogandzhanian
97afcf98f3
Introduce minimal backgrounImage to CSS implementation
3 years ago
Shagen Ogandzhanian
e2d578655f
Introduce minimal backgroundAttachment to the CSS API
3 years ago
Shagen Ogandzhanian
e1c564a543
Fix web buil
3 years ago
Shagen Ogandzhanian
6e2514fd88
Move backgroundColor to a separate file and introduce dedicated test
3 years ago
Shagen Ogandzhanian
e46b43d15c
Move backgroundColor to a separate file and introduce dedicated test
3 years ago
Shagen Ogandzhanian
aec765c28b
Move backgroundColor to a separate file and introduce dedicated test
3 years ago
Shagen Ogandzhanian
7806156f4b
Moving background
3 years ago
Oleksandr Karpovich
8edc12f02a
web: Remove deprecated input event listeners ( #861 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Eric Pabst
f80715aee7
Fix typo: handeled -> handled ( #822 )
3 years ago
Abasov Akif
e2dd256235
CSS Animations ( #810 )
3 years ago
Shagen Ogandzhanian
8a072a356e
Remove helper DOM builder elements from the public scope
3 years ago
Shagen Ogandzhanian
306bbbb5f2
Add minimal units tests for media queries
3 years ago
Shagen Ogandzhanian
643bda09d8
CSSPlus, CSSMinus, CSSTimes and CSSDiv are private - it's all CSSCalcOperation for users
3 years ago
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>
3 years ago
Shagen Ogandzhanian
df05778843
AttrBuilder is nullable by default
3 years ago
Shagen Ogandzhanian
019cbd2940
Use CSSStyleSheet so that there's no need to define additional functionality on Stylesheet
3 years ago
Shagen Ogandzhanian
453cc89bca
Add minimal test for testing media query in stylesheet
3 years ago
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
3 years ago
Abasov Akif
a167abe04c
Add more calc shortcuts ( #798 )
4 years ago
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
4 years ago
Abasov Akif
0a90ae2194
Remove CSS Typed OM API ( #786 )
4 years ago
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
4 years ago
Shagen Ogandzhanian
b794032880
Remove unused constructor from DomNodeWrapper
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Shagen Ogandzhanian
d38dcbe8a2
Label content is specialized as HTMLLabelElement
4 years ago
Shagen Ogandzhanian
de143273e8
Introduce test for attributes re-evaluation
4 years ago
Shagen Ogandzhanian
e96d59818b
Produce DOM nodes via builder
4 years ago
Shagen Ogandzhanian
428a0a6ce8
Add test for just checking DOM names to be sure none of future refactoring will affect this
4 years ago
Shagen Ogandzhanian
ab937a9716
Introduce test for testing "raw" element creaation
4 years ago
Shagen Ogandzhanian
f0aaa63e60
Add test for testing arithmetic in composable context
4 years ago
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>
4 years ago
Oleksandr Karpovich
d2371cb878
web: Add a fix for css variables
4 years ago
Shagen Ogandzhanian
9846c190ed
Introduce minimal tests for injecting stylesheets
4 years ago
Shagen Ogandzhanian
1315be6d5e
For composition unit tests add container to the document
4 years ago
Shagen Ogandzhanian
9698698bd0
Simplify assignment signatures in CSS properties
4 years ago
Shagen Ogandzhanian
a5c55de3bf
Introduce markers for CSS Length and CSS percentage
4 years ago
Shagen Ogandzhanian
6048760a1a
CSS units API is CSSOM-agnostic and supports homogenous arithmetic operations
4 years ago
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>
4 years ago
Shagen Ogandzhanian
d9509dd17e
Remove CSSSizeOrAuto completely
...
Use CSSAuto or CSSSize instead (and overloading when needed)
4 years ago