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