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