Fix initial value handling of ps-runtime-lib's REDUCE
[parenscript.git] / src / js-dom-symbol-exports.lisp
blob72e2694038e8c7c71d6d394029e270a0a572f8ae
1 ;;; Copyright 2009-2011 Vladimir Sedach
3 ;;; SPDX-License-Identifier: BSD-3-Clause
5 ;;; Redistribution and use in source and binary forms, with or
6 ;;; without modification, are permitted provided that the following
7 ;;; conditions are met:
9 ;;; 1. Redistributions of source code must retain the above copyright
10 ;;; notice, this list of conditions and the following disclaimer.
12 ;;; 2. Redistributions in binary form must reproduce the above
13 ;;; copyright notice, this list of conditions and the following
14 ;;; disclaimer in the documentation and/or other materials provided
15 ;;; with the distribution.
17 ;;; 3. Neither the name of the copyright holder nor the names of its
18 ;;; contributors may be used to endorse or promote products derived
19 ;;; from this software without specific prior written permission.
21 ;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22 ;;; CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23 ;;; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
24 ;;; MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25 ;;; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
26 ;;; BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27 ;;; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
28 ;;; TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 ;;; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
30 ;;; ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
31 ;;; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 ;;; OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 ;;; POSSIBILITY OF SUCH DAMAGE.
35 (in-package #:parenscript)
36 (in-readtable :parenscript)
38 ;; These are convenience packages that export JS and browser DOM
39 ;; symbols. If you :use the packages in a package FOO and then
40 ;; obfuscate FOO, it will prevent the JS symbols from getting
41 ;; mangled.
43 ;; For most web development tasks, you want to import PS-JS-SYMBOLS,
44 ;; PS-WINDOW-WD-SYMBOLS (which includes DOM level 2 and the w3c Window
45 ;; working draft), and possibly the PS-DOM-NONSTANDARD-SYMBOLS.
47 (defun re-export-symbols (from-package to-package)
48 (do-external-symbols (symbol from-package)
49 (multiple-value-bind (cl-symbol type) (find-symbol (symbol-name symbol) '#:cl)
50 (when (eq type :external)
51 (shadowing-import cl-symbol from-package)))
52 (shadowing-import symbol to-package)
53 (export (list symbol) to-package)))
55 (defpackage #:ps-js-symbols
56 (:documentation "JavaScript standard function and property names.")
57 (:export
58 #:to-fixed #:toFixed
59 #:encode-u-r-i-component #:encodeURIComponent
60 #:size
61 #:*array #:Array
62 #:*date #:Date
63 #:get-time #:getTime
64 #:arguments
65 #:join
66 #:prototype
67 #:slice
68 #:call
71 (re-export-symbols '#:ps-js-symbols '#:parenscript)
73 (defpackage #:ps-dom1-symbols
74 (:documentation "DOM Level 1 symbols.")
75 (:export
76 ;;; Core
77 ;; DOMImplementation
78 ; methods
79 #:has-feature #:hasFeature
81 ;; document interface
82 ; attributes
83 #:doctype
84 #:implementation
85 #:document-element #:documentElement
86 ; methods
87 #:create-element #:createElement
88 #:create-document-fragment #:createDocumentElement
89 #:create-text-node #:createTextNode
90 #:create-comment #:createComment
91 #:create-c-d-a-t-a-section #:createCDATASection
92 #:create-processing-instruction #:createProcessingInstruction
93 #:create-attribute #:createAttribute
94 #:create-entity-reference #:createEntityReference
95 #:get-elements-by-tag-name #:getElementsByTagName
97 ;; node interface
98 ; attributes
99 #:node-name #:nodeName
100 #:node-value #:nodeValue
101 #:node-type #:nodeType
102 #:parent-node #:parentNode
103 #:child-nodes #:childNodes
104 #:first-child #:firstChild
105 #:last-child #:lastChild
106 #:previous-sibling #:previousSibling
107 #:next-sibling #:nextSibling
108 #:attributes
109 #:owner-document #:ownerDocument
110 ; methods
111 #:insert-before #:insertBefore
112 #:replace-child #:replaceChild
113 #:remove-child #:removeChild
114 #:append-child #:appendChild
115 #:has-child-nodes #:hasChildNodes
116 #:clone-node #:cloneNode
118 ;; nodelist interface
119 ; methods
120 #:item
121 ; attributes
122 #:length
124 ;; namednodemap
125 ; methods
126 #:get-named-item #:getNamedItem
127 #:set-named-item #:setNamedItem
128 #:remove-named-item #:removeNamedItem
129 #:item
130 ; attributes
131 #:length
133 ;; characterdata
134 ; attributes
135 #:data
136 #:length
137 ; methods
138 #:substring-data #:substringData
139 #:append-data #:appendData
140 #:insert-data #:insertData
141 #:delete-data #:deleteData
142 #:replace-data #:replaceData
144 ;; attr
145 ; attributes
146 #:name
147 #:specified
148 #:value
150 ;; element
151 ; attributes
152 #:tag-name #:tagName
153 ; methods
154 #:get-attribute #:getAttribute
155 #:set-attribute #:setAttribute
156 #:remove-attribute #:removeAttribute
157 #:get-attribute-node #:getAttributeNode
158 #:set-attribute-node #:setAttributeNode
159 #:remove-attribute-node #:removeAttributeNode
160 #:get-elements-by-tag-name #:getElementsByTagName
161 #:normalize
163 ;; text
164 ; methods
165 #:split-text #:splitText
167 ;;; Level 1 extended interfaces (XML)
168 ;; DocumentType
169 ; attributes
170 #:name
171 #:entities
172 #:notations
174 ;; notation
175 ; attributes
176 #:public-id #:publicId
177 #:system-id #:systemId
179 ;; entity
180 ; attrs
181 #:public-id #:publicId
182 #:system-id #:systemId
183 #:notation-name #:notationName
185 ;; processing instruction
186 ; attrs
187 #:target
188 #:data
190 ;;; HTML
191 ;; HTMLcollection/live NodeList
192 ; attributes
193 #:length
194 ; methods
195 #:item
196 #:named-item #:namedItem
198 ;; document
199 #:document
200 ; attributes
201 #:title
202 #:referrer
203 #:domain
204 #:*url* #:URL
205 #:body
206 #:images
207 #:applets
208 #:links
209 #:forms
210 #:anchors
211 #:cookie
212 ; methods
213 #:open
214 #:close
215 #:write
216 #:writeln
217 #:get-element-by-id #:getElementById
218 #:get-elements-by-name #:getElementsByName
220 ;; generic HTML element
221 ; attributes
222 #:id
223 #:title
224 #:lang
225 #:dir
226 #:class-name #:className
228 ;; HTML document root
229 ; attributes
230 #:version
232 ;; head
233 ; attributes
234 #:profile
236 ;; link
237 ; attributes
238 #:disabled
239 #:charset
240 #:href
241 #:hreflang
242 #:media
243 #:rel
244 #:rev
245 #:target
246 #:type
248 ;; title
249 ; attrs
250 #:text
252 ;; meta
253 ; attrs
254 #:content
255 #:http-equiv #:httpEquiv
256 #:name
257 #:scheme
259 ;; base
260 ; attrs
261 #:href
262 #:target
264 ;; isindex
265 ; attrs
266 #:form
267 #:prompt
269 ;; style
270 ; attrs
271 #:disabled
272 #:media
273 #:type
275 ;; body
276 ; attrs
277 #:a-link #:aLink
278 #:background
279 #:bg-color #:bgColor
280 #:link
281 #:text
282 #:v-link #:vLink
284 ;; form
285 ; attrs
286 #:elements
287 #:length
288 #:name
289 #:accept-charset #:acceptCharset
290 #:action
291 #:enctype
292 #:method
293 #:target
294 ; methods
295 #:submit
296 #:reset
298 ;; select
299 ; attrs
300 #:type
301 #:selected-index #:selectedIndex
302 #:value
303 #:length
304 #:form
305 #:options
306 #:disabled
307 #:multiple
308 #:name
309 #:size
310 #:tab-index #:tabIndex
311 ; methods
312 #:add
313 #:remove
314 #:blur
315 #:focus
317 ;; optgroup
318 ; attrs
319 #:disabled
320 #:label
322 ;; option
323 ; attrs
324 #:form
325 #:default-selected #:defaultSelected
326 #:text
327 #:index
328 #:disabled
329 #:label
330 #:selected
331 #:value
333 ;; input
334 ; attrs
335 #:default-value #:defaultValue
336 #:default-checked #:defaultChecked
337 #:form
338 #:accept
339 #:access-key #:accessKey
340 #:align
341 #:alt
342 #:checked
343 #:disabled
344 #:max-length #:maxLength
345 #:name
346 #:read-only #:readOnly
347 #:size
348 #:src
349 #:tab-index #:tabIndex
350 #:type
351 #:use-map #:useMap
352 #:value
353 ; methods
354 #:blur
355 #:focus
356 #:select
357 #:click
359 ;; textarea
360 ; attrs
361 #:default-value #:defaultValue
362 #:form
363 #:access-key #:accessKey
364 #:cols
365 #:disabled
366 #:name
367 #:read-only #:readOnly
368 #:rows
369 #:tab-index #:tabIndex
370 #:type
371 #:value
372 ; methods
373 #:blur
374 #:focus
375 #:select
377 ;; button
378 ; attrs
379 #:form
380 #:access-key #:accessKey
381 #:disabled
382 #:name
383 #:tab-index #:tabIndex
384 #:type
385 #:value
387 ;; label
388 ; attrs
389 #:form
390 #:access-key #:accessKey
391 #:html-for #:htmlFor
393 ;; fieldset
394 ; attrs
395 #:form
397 ;; legend
398 ; attrs
399 #:form
400 #:access-key #:accessKey
401 #:align
403 ;; ul
404 ; attrs
405 #:compact
406 #:type
408 ;; ol
409 ; attrs
410 #:compact
411 #:start
412 #:type
414 ;; dl, dir and menu
415 ; attrs
416 #:compact
418 ;; li
419 ; attrs
420 #:type
421 #:value
423 ;; blockquote and q
424 ; attrs
425 #:cite
427 ;; div, p, and h1/h2/hn
428 ; attrs
429 #:align
431 ;; pre
432 ; attrs
433 #:width
435 ;; br
436 ; attrs
437 #:clear
439 ;; basefont, font
440 ; attrs
441 #:color
442 #:face
443 #:size
445 ;; hr
446 ; attrs
447 #:align
448 #:no-shade #:noShade
449 #:size
450 #:width
452 ;; ins and del
453 ; attrs
454 #:cite
455 #:date-time #:dateTime
457 ;; a
458 ; attrs
459 #:access-key #:accessKey
460 #:charset
461 #:coords
462 #:href
463 #:hreflang
464 #:name
465 #:rel
466 #:rev
467 #:shape
468 #:tab-index #:tabIndex
469 #:target
470 #:type
471 ; methods
472 #:blur
473 #:focus
475 ;; img
476 ; attrs
477 #:low-src #:lowSrc
478 #:name
479 #:align
480 #:alt
481 #:border
482 #:height
483 #:hspace
484 #:is-map #:isMap
485 #:long-desc #:longDesc
486 #:src
487 #:use-map #:useMap
488 #:vspace
489 #:width
491 ;; object
492 ; attrs
493 #:form
494 #:code
495 #:align
496 #:archive
497 #:border
498 #:code-base #:codeBase
499 #:code-type #:codeType
500 #:data
501 #:declare
502 #:height
503 #:hspace
504 #:name
505 #:standby
506 #:tab-index #:tabIndex
507 #:type
508 #:use-map #:useMap
509 #:vspace
510 #:width
512 ;; param
513 ; attrs
514 #:name
515 #:type
516 #:value
517 #:value-type #:valueType
519 ;; applet
520 ; attrs
521 #:align
522 #:alt
523 #:archive
524 #:code
525 #:code-base #:codeBase
526 #:height
527 #:hspace
528 #:name
529 #:object
530 #:vspace
531 #:width
533 ;; map
534 ; attrs
535 #:areas
536 #:name
538 ;; area
539 ; attrs
540 #:access-key #:accessKey
541 #:alt
542 #:coords
543 #:href
544 #:no-href #:noHref
545 #:shape
546 #:tab-index #:tabIndex
547 #:target
549 ;; script
550 ; attrs
551 #:text
552 #:html-for #:htmlFor
553 #:event
554 #:charset
555 #:defer
556 #:src
557 #:type
559 ;; table
560 ; attrs
561 #:caption
562 #:t-head #:tHead
563 #:t-foot #:tFoot
564 #:rows
565 #:t-bodies #:tBodies
566 #:align
567 #:bg-color #:bgColor
568 #:border
569 #:cell-padding #:cellPadding
570 #:cell-spacing #:cellSpacing
571 #:frame
572 #:rules
573 #:summary
574 #:width
575 ; methods
576 #:create-t-head #:createTHead
577 #:delete-t-head #:deleteTHead
578 #:create-t-foot #:createTFoot
579 #:delete-t-foot #:deleteTFoot
580 #:create-caption #:createCaption
581 #:delete-caption #:deleteCaption
582 #:insert-row #:insertRow
583 #:delete-row #:deleteRow
585 ;; caption
586 ; attrs
587 #:align
589 ;; col
590 ; attrs
591 #:align
592 #:ch
593 #:ch-off #:chOff
594 #:span
595 #:v-align #:vAlign
596 #:width
598 ;; thead, tfoot, tbody
599 ; attrs
600 #:align
601 #:ch
602 #:ch-off #:chOff
603 #:v-align #:vAlign
604 #:rows
605 ; methods
606 #:insert-row #:insertRow
607 #:delete-row #:deleteRow
609 ;; tr
610 ; attrs
611 #:row-index #:rowIndex
612 #:section-row-index #:sectionRowIndex
613 #:cells
614 #:align
615 #:bg-color #:bgColor
616 #:ch
617 #:ch-off #:chOff
618 #:v-align #:vAlign
619 ; methods
620 #:insert-cell #:insertCell
621 #:delete-cell #:deleteCell
623 ;; th and td
624 ; attrs
625 #:cell-index #:cellIndex
626 #:abbr
627 #:align
628 #:axis
629 #:bg-color #:bgColor
630 #:ch
631 #:ch-off #:chOff
632 #:col-span #:colSpan
633 #:headers
634 #:height
635 #:no-wrap #:noWrap
636 #:row-span #:rowSpan
637 #:scope
638 #:v-align #:vAlign
639 #:width
641 ;; frameset
642 ; attrs
643 #:cols
644 #:rows
646 ;; frame
647 ; attrs
648 #:frame-border #:frameBorder
649 #:long-desc #:longDesc
650 #:margin-height #:marginHeight
651 #:margin-width #:marginWidth
652 #:name
653 #:no-resize #:noResize
654 #:scrolling
655 #:src
657 ;; iframe
658 ; attrs
659 #:align
660 #:frame-border #:frameBorder
661 #:height
662 #:long-desc #:longDesc
663 #:margin-height #:marginHeight
664 #:margin-width #:marginWidth
665 #:name
666 #:scrolling
667 #:src
668 #:width
671 (defpackage #:ps-dom2-symbols
672 (:documentation "DOM Level 2 symbols. Includes DOM Level 1 symbols.")
673 (:export
674 ;;; Core
675 ;; DOMImplementation
676 ; methods
677 #:create-document #:createDocument
678 #:create-document-type #:createDocumentType
680 ;; document interface
681 ; methods
682 #:create-attribute-n-s #:createAttributeNS
683 #:create-element-n-s #:createElementNS
684 #:get-element-by-id #:getElementById
685 #:get-elements-by-tag-name-n-s #:getElementsByTagNameNS
686 #:import-node #:importNode
688 ;; node interface
689 ; attributes
690 #:local-name #:localName
691 #:namespace-u-r-i #:namespaceURI
692 #:prefix
693 ; methods
694 #:is-supported #:isSupported
696 ;; named node map
697 ; methods
698 #:get-named-item-n-s #:getNamedItemNS
699 #:remove-named-item-n-s #:removeNamedItermNS
700 #:set-named-item-n-s #:setNamedItemNS
702 ;; element interface
703 ; methods
704 #:get-attribute-n-s #:getAttributeNS
705 #:get-attribute-node-n-s #:getAttributeNodeNS
706 #:get-elements-by-tag-name-n-s #:getElementsByTagNameNS
707 #:has-attribute-n-s #:hasAttributeNS
708 #:remove-attribute-n-s #:removeAttributeNS
709 #:set-attribute-n-s #:setAttributeNS
710 #:set-attribute-node-n-s #:setAttributeNodeNS
712 ;;; Level 2 extended interfaces
713 ;; document type
714 ; attrs
715 #:internal-subset #:internalSubset
716 #:public-id #:publicId
717 #:system-id #:systemId
719 ;;; Level 2 HTML
720 ;; object, frame, iframe
721 ; attr
722 #:content-document #:contentDocument
724 ;;; Stylesheets
725 ;; stylesheet
726 ; attrs
727 #:disabled
728 #:href
729 #:media
730 #:owner-node #:ownerNode
731 #:parent-style-sheet #:parenStyleSheet
732 #:title
733 #:type
735 ;; media list
736 ; attrs
737 #:length
738 #:media-text #:mediaText
739 ; methods
740 #:append-medium #:appendMedium
741 #:delete-medium #:deleteMedium
742 #:item
744 ;; linkstyle
745 ; attrs
746 #:sheet
748 ;; documentstyle
749 ; attrs
750 #:style-sheets #:styleSheets
752 ;;; CSS
753 ;; css style sheet
754 ; attrs
755 #:css-rules #:cssRules
756 #:owner-rule #:ownerRule
757 ; methods
758 #:delete-rule #:deleteRule
759 #:insert-rule #:insertRule
761 ;; css rule
762 ; attrs
763 #:css-text #:cssText
764 #:parent-rule #:parentRule
765 #:parent-style-sheet #:parentStyleSheet
766 #:type
768 ;; css style rule
769 ; attrs
770 #:selector-text #:selectorText
771 #:style
773 ;; css media rule
774 ; attrs
775 #:css-rules #:cssRules
776 #:media
777 ; methods
778 #:delete-rule #:deleteRule
779 #:insert-rule #:insertRule
781 ;; css import rule
782 ; attrs
783 #:href
784 #:media
785 #:style-sheet #:styleSheet
787 ;; css charset rule
788 ; attrs
789 #:encoding
791 ;; css style declaration
792 ; attrs
793 #:css-text #:cssText
794 #:length
795 #:parent-rule #:parentRule
796 ; methods
797 #:get-property-c-s-s-value #:getPropertyCSSValue
798 #:get-property-priority #:getPropertyPriority
799 #:get-property-value #:getPropertyValue
800 #:item
801 #:remove-property #:removeProperty
802 #:set-property #:setProperty
804 ;; css value
805 ; attrs
806 #:css-text #:cssText
807 #:css-value-type #:cssValueType
809 ;; css primitive value
810 ; attrs
811 #:primitive-type #:primitiveType
812 ; methods
813 #:get-counter-value #:getCounterValue
814 #:get-float-value #:getFloatValue
815 #:get-r-g-b-color-value #:getRGBColorValue
816 #:get-rect-value #:getRectValue
817 #:get-string-value #:getStringValue
818 #:set-float-value #:setFloatValue
819 #:set-string-value #:setStringValue
821 ;; rgb color
822 ; attrs
823 #:blue
824 #:green
825 #:red
827 ;; rectangle
828 ; attrs
829 #:bottom
830 #:left
831 #:right
832 #:top
834 ;; counter
835 ; attrs
836 #:identifier
837 #:list-style #:listStyle
838 #:separator
840 ;; css views
841 ; methods
842 #:get-computed-style #:getComputedStyle
844 ;; document css
845 ; methods
846 #:get-override-style #:getOverrideStyle
848 ;; css stylesheets
849 ; methods
850 #:create-c-s-s-style-sheet #:createCSSStyleSheet
852 ;;; CSS 2.0 extended interface
853 ; attributes
854 #:azimuth
855 #:background
856 #:background-attachment #:backgroundAttachment
857 #:background-color #:backgroundColor
858 #:background-image #:backgroundImage
859 #:background-position #:backgroundPosition
860 #:background-repeat #:backgroundRepeat
861 #:border
862 #:border-bottom #:borderBottom
863 #:border-bottom-color #:borderBottomColor
864 #:border-bottom-style #:borderBottomStyle
865 #:border-bottom-width #:borderBottomWidth
866 #:border-collapse #:borderCollapse
867 #:border-color #:borderColor
868 #:border-left #:borderLeft
869 #:border-left-color #:borderLeftColor
870 #:border-left-style #:borderLeftStyle
871 #:border-left-width #:borderLeftWidth
872 #:border-right #:borderRight
873 #:border-right-color #:borderRightColor
874 #:border-right-style #:borderRightStyle
875 #:border-right-width #:borderRightWidth
876 #:border-spacing #:borderSpacing
877 #:border-style #:borderStyle
878 #:border-top #:borderTop
879 #:border-top-color #:borderTopColor
880 #:border-top-style #:borderTopStyle
881 #:border-top-width #:borderTopWidth
882 #:border-width #:borderWidth
883 #:bottom
884 #:caption-side #:captionSide
885 #:clear
886 #:clip
887 #:color
888 #:content
889 #:counter-increment #:counterIncrement
890 #:counter-reset #:counterReset
891 #:css-float #:cssFloat
892 #:cue
893 #:cue-after #:cueAfter
894 #:cue-before #:cueBefore
895 #:cursor
896 #:direction
897 #:display
898 #:elevation
899 #:empty-cells #:emptyCells
900 #:font
901 #:font-family #:fontFamily
902 #:font-size #:fontSize
903 #:font-size-adjust #:fontSizeAdjust
904 #:font-stretch #:fontStretch
905 #:font-style #:fontStyle
906 #:font-variant #:fontVariant
907 #:font-weight #:fontWeight
908 #:height
909 #:left
910 #:letter-spacing #:letterSpacing
911 #:line-height #:lineHeight
912 #:list-style #:listStyle
913 #:list-style-image #:listStyleImage
914 #:list-style-position #:listStylePosition
915 #:list-style-type #:listStyleType
916 #:margin
917 #:margin-bottom #:marginBottom
918 #:margin-left #:marginLeft
919 #:margin-right #:marginRight
920 #:margin-top #:marginTop
921 #:marker-offset #:markerOffset
922 #:marks
923 #:max-height #:maxHeight
924 #:max-width #:maxWidth
925 #:min-height #:minHeight
926 #:min-width #:minWidth
927 #:orphans
928 #:outline
929 #:outline-color #:outlineColor
930 #:outline-style #:outlineStyle
931 #:outline-width #:outlineWidth
932 #:overflow
933 #:padding
934 #:padding-bottom #:paddingBottom
935 #:padding-left #:paddingLeft
936 #:padding-right #:paddingRight
937 #:padding-top #:paddingTop
938 #:page
939 #:page-break-after #:pageBreakAfter
940 #:page-break-before #:pageBreakBefore
941 #:page-break-inside #:pageBreakInside
942 #:pause
943 #:pause-after #:pauseAfter
944 #:pause-before #:pauseBefore
945 #:pitch
946 #:pitch-range #:pitchRange
947 #:play-during #:playDuring
948 ;; #:position in CL
949 #:quotes
950 #:richness
951 #:right
952 #:size
953 #:speak
954 #:speak-header #:speakHeader
955 #:speak-numeral #:speakNumeral
956 #:speak-punctuation #:speakPunctuation
957 #:speech-rate #:speechRate
958 #:stress
959 #:table-layout #:tableLayout
960 #:text-align #:textAlign
961 #:text-decoration #:textDecoration
962 #:text-indent #:textIndent
963 #:text-shadow #:textShadow
964 #:text-transform #:textTransform
965 #:top
966 #:unicode-bidi #:unicodeBidi
967 #:vertical-align #:verticalAlign
968 #:visibility
969 #:voice-family #:voiceFamily
970 #:volume
971 #:white-space #:whiteSpace
972 #:widows
973 #:width
974 #:word-spacing #:wordSpacing
975 #:z-index #:zIndex
977 ;;; Events
978 ;; event target interface
979 ; methods
980 #:add-event-listener #:addEventListener
981 #:dispatch-event #:dispatchEvent
982 #:remove-event-listener #:removeEventListener
984 ;; event listener interface
985 ; methods
986 #:handle-event #:handleEvent
988 ;; Event
989 ; attributes
990 #:bubbles
991 #:cancelable
992 #:current-target #:currentTarget
993 #:event-phase #:eventPhase
994 #:target
995 #:time-stamp #:timeStamp
996 #:type
997 ; methods
998 #:init-event #:initEvent
999 #:prevent-default #:preventDefault
1000 #:stop-propagation #:stopPropagation
1002 ;; document event interface
1003 ; methods
1004 #:create-event #:createEvent
1006 ;; UIEvent
1007 ; attributes
1008 #:detail
1009 #:view
1010 ; methods
1011 #:init-u-i-event #:initUIEvent
1013 ;; MouseEvent
1014 ; attributes
1015 #:alt-key #:altKey
1016 #:button
1017 #:client-x #:clientX
1018 #:client-y #:clientY
1019 #:ctrl-key #:ctrlKey
1020 #:meta-key #:metaKey
1021 #:related-target #:relatedTarget
1022 #:screen-x #:screenX
1023 #:screen-y #:screenY
1024 #:shift-key #:shiftKey
1025 ; methods
1026 #:init-mouse-event #:initMouseEvent
1028 ;; mutation event interface
1029 ; attributes
1030 #:attr-change #:attrChange
1031 #:attr-name #:attrName
1032 #:new-value #:newValue
1033 #:prev-value #:prevValue
1034 #:related-node #:relatedNode
1035 ; methods
1036 #:init-mutation-event #:initMutationEvent
1039 (re-export-symbols '#:ps-dom1-symbols '#:ps-dom2-symbols)
1041 (defpackage #:ps-window-wd-symbols
1042 (:documentation "Funtions and properties of the W3C Working Draft Window object. Includes DOM level 2 symbols.")
1043 (:export
1044 ; attributes
1045 #:window
1046 #:self
1047 #:location
1049 ;; location interface
1050 ; attrs
1051 #:href
1052 #:hash
1053 #:host
1054 #:hostname
1055 ;; #:pathname in CL
1056 #:port
1057 #:protocol
1058 ;; #:search in CL
1059 ; methods
1060 ;; #:replace in CL
1061 #:reload
1063 ;; window interface
1064 ; attrs
1065 #:parent
1066 #:top
1067 #:name
1068 #:frame-element #:frameElement
1070 ;; timers
1071 ; methods
1072 #:set-timeout #:setTimeout
1073 #:set-interval #:setInterval
1074 #:clear-timeout #:clearTimeout
1075 #:clear-interval #:clearInterval
1078 (re-export-symbols '#:ps-dom2-symbols '#:ps-window-wd-symbols)
1080 (defpackage #:ps-dom-nonstandard-symbols
1081 (:documentation "Non-W3C-standard (incl. DOM level 0) but widely implemented functions and properties.")
1082 (:export
1083 #:inner-h-t-m-l #:innerHTML
1084 #:onload
1086 #:offset-left #:offsetLeft
1087 #:offset-top #:offsetTop
1088 #:offset-height #:offsetHeight
1089 #:offset-width #:offsetWidth
1091 #:offset-parent #:offsetParent
1093 #:scroll-left #:scrollLeft
1094 #:scroll-top #:scrollTop
1095 #:scroll-width #:scrollWidth
1096 #:scroll-height #:scrollHeight
1098 #:page-x-offset #:pageXOffset
1099 #:page-y-offset #:pageYOffset
1101 #:client-height #:clientHeight
1102 #:client-width #:clientWidth
1105 (defpackage #:ps-dhtml-symbols
1106 (:documentation "Meta-package containing function/property symbols
1107 of typical HTML4/DHTML browsers. Includes DOM Levels 0 to 2, Window
1108 working draft, and de-facto standard symbols.
1110 This is probably the package you want to :USE if you're doing
1111 obfuscation in Parenscript and want to target the pre-HTML5 generation
1112 of browsers."))
1114 (re-export-symbols '#:ps-window-wd-symbols '#:ps-dhtml-symbols)
1115 (re-export-symbols '#:ps-dom-nonstandard-symbols '#:ps-dhtml-symbols)