Bung
64d629c617
Shadow Dom apis ( #14979 )
...
* shadow dom api
* fix typos
* host to Element type
* fix code style
* move elementsFromPoint to dom_extensions.nim
2020-07-21 19:11:12 +02:00
Bung
f999f916f3
add missing props,procs ( #14978 )
2020-07-14 13:53:41 +02:00
treeform
399b2e3134
Add missing dom.nim things ( #14944 )
2020-07-09 09:18:27 +02:00
Juan Carlos
4f6acf24ff
Add jsre ( #14870 )
2020-07-03 20:13:10 +02:00
Juan Carlos
04deb6c942
Clean out dom ( #14855 )
...
* Clean out dom
* Clean out dom
2020-06-30 10:08:16 +02:00
treeform
f926dc53f1
Add all missing css properties to dom.nim. ( #14825 )
...
* Add all missing css properties
* remove extra space
2020-06-26 19:15:21 +01:00
treeform
baa80ca9d4
Add hasAttribute method to dom.nim. ( #14814 )
...
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
2020-06-25 14:45:37 -07:00
treeform
1ffe113450
Export fields from the Selection object. ( #14752 )
...
See: https://developer.mozilla.org/en-US/docs/Web/API/Selection
2020-06-21 20:41:24 +02:00
treeform
ca71a60ff6
Add css white-space property to dom.nim. ( #14743 )
...
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
2020-06-21 19:25:29 +02:00
treeform
acae3b02c7
Add clipPath to dom.nim. ( #14435 )
...
Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
2020-05-24 07:32:24 +02:00
Mildred Ki'Lya
7b3dcfde20
Add missing attributes and methods to JavaScript DOM ( #14428 )
...
- content attribute to access HTML template element:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content
- ownerDocument to access the owning document from a DOM Node:
https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument
- outerHTML to get/set the outer HTML representation of a Node:
https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument
- createComment() to create comment Nodes:
https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment
- querySelector() and querySelectorAll() on Nodes:
https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector
https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll
2020-05-22 14:34:20 +02:00
Andreas Rumpf
063229a301
fixes a bug reported in https://forum.nim-lang.org/t/6361 ( #14422 )
2020-05-21 22:18:58 +02:00
hlaaftana
fbc97e712a
move since from inclrtl to std/private/since ( #14188 )
...
* move since from inclrtl to std/private/since
* move since import in system below for HCR
2020-05-02 23:51:59 +02:00
cooldome
eaedd0cb94
add FileReader Web API to js dom ( #14105 )
...
* add FileReader to js dom
* minor improvement
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-27 00:08:11 +02:00
Jae Yang
362c8964bf
Fixes #14110 ( #14111 )
...
Fixes jsffi usage example in doc
2020-04-25 20:00:24 +02:00
hlaaftana
b2141fc2a1
changed type() to typeof() in docs and error messages ( #14084 )
2020-04-24 09:22:12 +02:00
treeform
89e6a7ab48
Fix the getSelection method. ( #13632 )
2020-04-21 14:57:19 +02:00
Timothee Cour
6914de0d8d
fix newDomParser ( #13981 )
2020-04-16 08:59:54 +02:00
Juan Carlos
0a84219b3e
Add jsdomparser ( #13920 )
...
* Add jsdomparser
* Add jsdomparser
* Add jsdomparser
* https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142
* https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142
* https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142
* https://github.com/nim-lang/Nim/pull/13920#discussion_r405932909
* https://github.com/nim-lang/Nim/pull/13920#discussion_r406502592
2020-04-13 14:07:52 +01:00
Juan Carlos
160d5fe589
Jsconsole update ( #12448 )
...
* Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console
* Improve jsconsole, add runnableexamples
* Simplify jsconsole
2020-04-02 08:47:45 +02:00
treeform
f2c7152770
Add more JS stuff to dom.nim ( #13483 )
...
* Add more JS stuff to dom.nim
* Make all links to docs doc comments.
* Fix minor textContent * space.
* Remove Selection object.
* More work on docs.
* Fixing links.
* Made the links be "see <docs>".
2020-03-11 23:24:56 +00:00
Jairo
32f0910f11
scrollTop must be settable ( #13263 )
...
* scrollTop must be assignable
Make scrollTop settable
* add missing export
2020-01-27 09:14:56 +01:00
Jairo
fb74497c99
Add "origin" to window.location ( #13251 )
...
Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
2020-01-24 20:06:17 +01:00
Jjp137
93461aee34
Fix many broken links
...
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
2019-10-22 17:59:12 -07:00
Juan Carlos
1ccf1b89c2
Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console ( #12440 )
2019-10-17 11:37:08 +02:00
Araq
63bcbea700
JS: gensym is stricter for 'this'; refs #12246 [backport]
2019-09-30 13:21:46 +02:00
Arne Döring
38ab51c445
importjs symbol ( #12218 )
...
* importjs symbol
* importjs warning message, minor warning fixes
2019-09-20 20:26:30 +02:00
narimiran
30f2cec671
fix failing JS tests
2019-07-22 11:41:20 +02:00
Benjamin Summerton
46f2271968
Add opacity to JS Style
...
I noticed this was missing. It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility
2019-07-21 23:15:36 +01:00
Araq
ff89f7e33a
libffi: style changes
2019-06-19 16:54:34 +02:00
Zed
3b4952da94
Fix header inconsistencies in documentation ( #11071 )
2019-04-23 08:40:20 +02:00
liuxiaodong
2610b16f6e
some dom proc correction and complement ( #10684 )
2019-02-15 17:43:22 +01:00
Araq
8bc7c50c86
DOM module: re-add more missing stuff
2019-02-08 12:18:42 +01:00
Araq
3dc270eee5
DOM module: add more missing stuff
2019-02-07 15:04:05 +01:00
Araq
b5991f52b9
DOM.nim: fix regression, missing procs
2019-02-06 15:37:32 +01:00
Andreas Rumpf
17d0ce9c1c
DOM API: make compatible with Karax's requirements ( #10517 )
...
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Miran
214f48eae9
Remove long deprecated stuff ( #10332 )
2019-01-18 07:18:32 +01:00
Oscar Nihlgård
b3435d22dc
Times cosmetic changes ( #10237 )
...
* Add more Date wrappers to jscore
* Times cosmetic changes
- Improved docs
- Code wrapped at 80 chars
- Formatting fixes using nimpretty
- Remove some old deprecated procs
2019-01-10 10:56:12 +01:00
Alexander Ivanov
aadbdd6b06
Support undefined in isNil ( #9960 )
2018-12-30 02:48:37 +01:00
Alexander Ivanov
88d707cb88
Support only some types as JsAssoc types ( #8627 )
2018-11-23 15:05:15 +01:00
LemonBoy
a3fb0a769c
Try/Catch support for native JS exceptions ( #8955 )
...
* Try/Catch support for native JS exceptions
* Better tests
2018-10-09 19:51:29 +02:00
LemonBoy
90025e242d
Minor fixes for asyncjs ( #8894 )
...
* Minor fixes for asyncjs
Mark internal procedures as used
Allow .async. for more node kinds
Make .async. work for nkStmtList
* Fix logic error in both the async macros
2018-09-07 16:42:38 +02:00
Dominik Picheta
d06da9ccf0
Exports dom.Style ( #8444 )
2018-09-01 00:24:09 +02:00
Oscar Nihlgård
b77d910e4e
Remove broken push pragma from jscore ( #8414 )
2018-08-17 11:11:55 +02:00
hlaaf
9ed671b2fe
Replace NotString with typeclass in jsffi ( #8128 )
2018-06-27 21:43:45 +02:00
Dominik Picheta
6b5ad56ab3
Adds TextAreaElement type.
2018-05-14 13:03:18 +02:00
Dominik Picheta
5fcfc43a20
Adds onpopstate and proc related to Events to dom module.
2018-05-14 13:03:18 +02:00
Arne Döring
efae366857
rename SomeReal to SomeFloat ( #7617 )
...
* rename SomeReal to SomeFloat
* added changelog entry
2018-04-15 19:59:11 +02:00
zah
e3037a2f33
Support code hot reloading for JavaScript projects ( #7362 )
...
* Support code hot reloading for JavaScript projects
* Add some missing JavaScript symbols and APIs
* fix the Travis build
* (review changes) remove the js type from the standard library as it doesn't follow NEP-1
* more additions to the DOM module
* Follow NEP-1 in jsffi; spell 'hot code reloading' correctly
* introduce a jscore module
* Document jscore module.
* readded js type
* Remove the '$' operator that doesn't behave
2018-04-13 19:08:43 +02:00
treeform
577025c319
Add some missing things to dom.nim
...
Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
2018-03-29 05:31:19 -07:00