Search completed in 0.93 seconds.
DOMMatrixReadOnly - Web APIs
dommatrix
readonly.flipx() returns a new dommatrix created by flipping the source matrix around its x-axis. this is equivalent to multiplying the matrix by dommatrix(-1, 0, 0, 1, 0, 0). the original matrix is not modified. dommatrix
readonly.flipy() returns a new dommatrix created by flipping the source matrix around its y-axis. ...
... dommatrix
readonly.inverse() returns a new dommatrix created by inverting the source matrix. ...
...the original matrix is not altered. dommatrix
readonly.multiply() returns a new dommatrix created by computing the dot product of the source matrix and the specified matrix: a⋅b. ...
...And 14 more matches
HTML attribute: readonly - HTML: Hypertext Markup Language
note: only text controls can be made read-only, since for other controls (such as checkboxes and buttons) there is no useful distinction between being read-only and being disabled, so the
readonly attribute does not apply. when an input has the
readonly attribute, the :read-only pseudo-class also applies to it. conversely, inputs that support the
readonly attribute but don't have the attribute set match the :read-write pseudo-class. attribute interactions the difference between disabled and
readonly is that read-only controls can still function and are still focusable, whereas disabled...
... because a read-only field cannot have it's value changed by a user interaction, required does not have any effect on inputs with the
readonly attribute also specified. ...
... constraint validation if the element is
readonly, then the element's value can not be updated by the user, and does not parti...
...And 12 more matches
URLUtilsReadOnly - Web APIs
urlutils
readonly.origin ...
... urlutils
readonly.origin ...
... urlutils
readonly.origin ...
...And 8 more matches
StylePropertyMapReadOnly - Web APIs
stylepropertymap
readonly.foreach() executes a provided function once for each element of stylepropertymap
readonly. ...
... stylepropertymap
readonly.foreach() executes a provided function once for each element of stylepropertymap
readonly. ...
... stylepropertymap
readonly.foreach() executes a provided function once for each element of stylepropertymap
readonly. ...
...And 7 more matches
DOMPointReadOnly - Web APIs
first, you can use its constructor, passing in the values of the parameters for each dimension and, optionally, the perspective: /* 2d */ const point = new dompoint
readonly(50, 50); /* 3d */ const point = new dompoint
readonly(50, 50, 25); /* 3d with perspective */ const point = new dompoint
readonly(100, 100, 100, 1.0); the other option is to use the static dompoint
readonly.frompoint() method: const point = dompoint
readonly.frompoint({x: 100, y: 100, z: 50; w: 1.0}); constructor dompoint
readonly() creates a new dompoint
readonly objec...
...to create a point using adompointinit object, you can instead use dompoint
readonly.frompoint(). ...
... properties dompoint
readonly.x read only the point's horizontal coordinate...
...And 6 more matches
DOMRectReadOnly - Web APIs
domrect
readonly.top read only returns the top coordinate value of the domrect (usually the same as y.) domrect
readonly.right read only returns the right coordinate value of t...
... domrect
readonly.top read only returns the top coordinate value of the domrect (usually the same as y.) domrect
readonly.right read only returns the right coordinate value of t...
... domrect
readonly.top read only returns the top coordinate value of the domrect (usually the same as y.) domrect
readonly.right read only returns the right coordinate value of t...
...And 6 more matches
DOMPointReadOnly() - Web APIs
return value a new dompoint
readonly object representing the specified location in space. examples the following code demonstrates creating both 2d and 3d points. var point2d = new dompoint
readonly(50, 25); var point3d = new dompoint
readonly(50, 0, 10); var perspectivepoint3d = new dompoint
readonly(50, 50, 25, 0.5); specifications specification status comment geometry interfaces module level 1the definit...
... var point2d = new dompoint
readonly(50, 25); var point3d = new dompoint
readonly(50, 0, 10); var perspectivepoint3d = new dompoint
readonly(50, 50, 25, 0.5); specifications specification status comment geometry interfaces module level 1the definition of 'dompoint
readonly' in that specification. ...
... var point2d = new dompoint
readonly(50, 25); var point3d = new dompoint
readonly(50, 0, 10); var perspectivepoint3d = new dompoint
readonly(50, 50, 25, 0.5); specifications specification status comment geometry interfaces module level 1the definition of 'dompoint
readonly' in that specification. ...
...And 2 more matches
DOMPointReadOnly.fromPoint() - Web APIs
const point2d = dompoint
readonly.frompoint({x: 25, y: 25}) creating a 3d point using an existing point this example create...
... const origpoint = new dompoint(25, 25, 100, 0.5) const newpoint = dompoint
readonly.frompoint(origpoint) specifications specification status c...
... const origpoint = new dompoint(25, 25, 100, 0.5) const newpoint = dompoint
readonly.frompoint(origpoint) specifications specification status comment geometry interfaces module level 1the definition of 'frompoint()' in that specification. ...
DOMMatrixReadOnly.flipX() - Web APIs
const flipped = document.getelementbyid('flipped'); const matrix = new dommatrix
readonly(); const flippedmatrix = matrix.flipx(); flipped.setattribute('transform', flippedmatrix.tostring()); screenshotlive sample specifications specification status comment geometry interfaces module level 1the definition of 'dommatrix
readonly.flipx()' in that specification. ...
... const flipped = document.getelementbyid('flipped'); const matrix = new dommatrix
readonly(); const flippedmatrix = matrix.flipx(); flipped.setattribute('transform', flippedmatrix.tostring()); screenshotlive sample specifications specification status comment geometry interfaces module level 1the definition of 'dommatrix
readonly.flipx()' in that specification. ...
DOMMatrixReadOnly.scale() - Web APIs
const matrix = new dommatrix
readonly(); const scaledmatrix = matrix.scale(0.5); let scaledmatrixwithorigin = matrix.scale(0.5, 25, 25); // if the browser has interpreted these parameters as scalex, scaley, scalez, the resulting matrix is 3d const browserexpectssixparamscale = !scaledmatrixwithorigin.is2d; if (browserexpectssixparamscale) { scaledmatrixwithorigin = matrix.scale(0.5, 0.5, 1, 25, 25, 0); } document.queryselector('...
...gin = matrix.scale(0.5, 0.5, 1, 25, 25, 0); } document.queryselector('#transformed').setattribute('transform', scaledmatrix.tostring()); document.queryselector('#transformedorigin').setattribute('transform', scaledmatrixwithorigin.tostring()); screenshotlive sample specifications specification status comment geometry interfaces module level 1the definition of 'dommatrix
readonly.scale()' in that specification. ...
DOMMatrixReadOnly.translate() - Web APIs
const matrix = new dommatrix
readonly().translate(25, 25); document.queryselector('#transformed').setattribute('transform', matrix.tostring()); screenshotlive sample specifications specification status comment geometry interfaces module level 1the definition of 'dommatrix
readonly.translate()' in that specification. ...
... const matrix = new dommatrix
readonly().translate(25, 25); document.queryselector('#transformed').setattribute('transform', matrix.tostring()); screenshotlive sample specifications specification status comment geometry interfaces module level 1the definition of 'dommatrix
readonly.translate()' in that specification. ...
DOMRectReadOnly() - Web APIs
examples to create a new dompoint, you could run a line of code like so: const mydomrect = new domrect
readonly(0, 0, 100, 100) // running 'mydomrect' in the console would then return // domrect { x: 0, y: 0, width: 100, height: 100, top: 0, right: 100, bottom: 100, left: 0 } specifications specification status comment geometry interfaces module level 1the definition of 'domrect
readonly()' in that specification.
...create a new dompoint, you could run a line of code like so: const mydomrect = new domrect
readonly(0, 0, 100, 100) // running 'mydomrect' in the console would then return // domrect { x: 0, y: 0, width: 100, height: 100, top: 0, right: 100, bottom: 100, left: 0 } specifications specification status comment geometry interfaces module level 1the definition of 'domrect
readonly()' in that specification. ...
DOMMatrixReadOnly() - Web APIs
specifications specification status comment geometry interfaces module level 1the definition of 'dommatrix
readonly' in that specification. ...
DOMPointReadOnly.toJSON() - Web APIs
example this example creates a dompoint object representing the top-left corner of the current window, in screen coordinates, then converts that to json. var topleft = new dompoint(window.screenx, window.screeny); var pointjson = topleft.tojson(); specifications specification status comment geometry interfaces module level 1the definition of 'dompoint
readonly.tojson()' in that specification. ...
Index - Web APIs
the target effect may be either an effect object of a type based on animationeffect
readonly, such as keyframeeffect, or null. ...
... 82 animationeffect api, animation, experimental, interface, reference, web animations, web animations api the animationeffect interface of the web animations api defines current and future animation effects like keyframeeffect, which can be passed to animation objects for playing, and keyframeeffect
readonly (which is used by css animations and transitions). ...
... 298 blobevent.timecode api, blobevent, media, media stream recording, property, reference the timecode
readonlyinline property of the blobevent interface a domhighrestimestamp indicating the difference between the timestamp of the first chunk in data, and the timestamp of the first chunk in the first blobevent produced by this recorder. ...
...And 140 more matches
nsIMsgFolder
y amessages, in acstring akeywords); void removekeywordsfrommessages(in nsisupportsarray amessages, in acstring akeywords); autf8string getmsgtextfromstream(in nsimsgdbhdr amsghdr, in nsiinputstream astream, in long abytestoread, in long amaxoutputlen, in boolean acompressquotes); attributes attribute type description supportsoffline boolean
readonly offlinestoreoutputstream nsioutputstream
readonly offlinestoreinputstream nsiinputstream
readonly retentionsettings nsimsgretentionsettings downloadsettings nsimsgdownloadsettings sortorder long used for order in the folder pane, folder pickers, etc. ...
... uri acstring
readonly: old nsifolder properties and methods. name astring old nsifolder properties and methods. prettyname astring old nsifolder properties and methods. abbreviatedname astring
readonly: old nsifolder properties and methods. parent nsimsgfolder old nsifolder properties and methods. parentmsgfolder nsimsgfolder
readonly: handy ac...
... dbtransferinfo nsidbfolderinfo subfolders nsisimpleenumerator
readonly: returns an enumerator containing a list of nsimsgfolder items that are subfolders of the...
...And 23 more matches
WebIDL bindings
a
readonly attribute only has a getter and no setter. ...
...nullableattr;
readonly attribute myinterface someotherattr;
readonly attribute myinterface someyetotherattr; }; would correspond to these c++ function declarations: already_addrefed<myclass> myattr(); void setmyattr(myclass& value); void passnullable(myclass* arg); already_addrefed<myclass> dosomething(const sequence<owningnonnull<myclass> >& arg); already_addrefed<m...
...nullableattr;
readonly attribute myinterface someotherattr;
readonly attribute myinterface someyetotherattr; }; would correspond to these c++ function declarations: already_addrefed<myclass> myattr(); void setmyattr(myclass& value); void passnullable(myclass* arg); already_addrefed<myclass> dosomething(const sequence<owningnonnull<myclass> >& arg); already_addrefed<myclass> dotheother(const sequence<refptr<myclass...
...And 14 more matches
nsIDOMWindowInternal
onal] in boolean showdialog) domstring atob(in domstring aasciistring) domstring btoa(in domstring abase64data) nsivariant showmodaldialog(in nsivariant aargs, [optional] in domstring aoptions) void postmessage(in domstring message, in domstring targetorigin) attributes attribute type description window nsidomwindowinternal
readonly: the window object itself. self nsidomwindowinternal
readonly: returns an object reference to the window object. navigator nsidomnavigator
readonly: returns a reference to the navigator object. screen nsidomscreen
readonly: returns a reference to the screen object associated with the window. history nsidomhistory
readonly: returns a...
... locationbar nsidombarprop
readonly:...
... locationbar nsidombarprop
readonly: returns the locationbar object, whose visibility can be toggled in the window. personalbar nsidombarprop
readonly: returns the pers...
...And 8 more matches
DOMRect - Web APIs
<div id="interfacediagram" style="display: inline-block; position: relative; width: 100%; padding-bottom: 11.666666666666666%; vertical-align: middle; overflow: hidden;"><svg style="display: inline-block; position: absolute; top: 0; left: 0;" viewbox="-50 0 600 70" preserveaspectratio="xminymin meet"><a xlink:href="/docs/web/api/domrect
readonly" target="_top"><rect x="1" y="1" width="150" height="50" fill="#fff" stroke="#d4dde4" stroke...
... <div id="interfacediagram" style="display: inline-block; position: relative; width: 100%; padding-bottom: 11.666666666666666%; vertical-align: middle; overflow: hidden;"><svg style="display: inline-block; position: absolute; top: 0; left: 0;" viewbox="-50 0 600 70" preserveaspectratio="xminymin meet"><a xlink:href="/docs/web/api/domrect
readonly" target="_top"><rect x="1" y="1" width="150" height="50" fill="#fff" stroke="#d4dde4" stroke-width="2px" /><text x="76" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">domrect
readonly</text></a><polyline points="151,25 161,20 161,30 151,25" stroke="#d4dde4" fill="none"/><line x1="161" y1="25" x2="191" ...
...the difference is that they are not read-only anymore. domrect
readonly.x the x coordinate of the domrect's origin. domrect
readonly.y the y coordinate of the domrect's origin. domrect
readonly.width the width of the domrect. domrect
readonly.height the height of the domrect. domrect
readonly.top returns the top coordinate value of the domrect (has the same value as y, or y + height if he...
...And 7 more matches
WorkerLocation - Web APIs
properties the workerlocation interface doesn't inherit any property, but implements properties defined in the urlutils
readonly interface. urlutils
readonly.href read only is a stringifier that returns a domstring containing the whole url of the script executed in the worker. urlutils
readonly.protocol read only is a domstring containing the protocol scheme of the url of the script executed in the worker, including the final ':'. urlutils
readonly.host read only is a domstring containing the host, that is the host...
... urlutils
readonly.host read only is a domstring containing the host, that is the hostname, a ':', and the port of the url of the script executed in the worker. urlutils
readonly.hostname read only is a domstring containing the domain of the url of the sc...
... urlutils
readonly.origin read only returns a domstring containing the canonical form of the origin of the specific location. ...
...And 7 more matches
Gecko info for Windows accessibility vendors
we have chosen a subset of
readonly methods in the dom needed for assistive technology vendors. ...
...in addition, role_list with state_
readonly and role_listitem are used to expose the list structure. this makes it important to check the state_
readonly flag when encountering a role_list, because the html list form element also uses role_list, but without state_
readonly set. ...
...this makes it important to check the state_
readonly flag when encountering a role_list, because the html list form element also uses role_list, but without state_
readonly set. ...
...And 6 more matches
nsIMsgDBView
expandandselectthreadbyindex(in nsmsgviewindex aindex, in boolean aaugment); void addcolumnhandler(in astring acolumn, in nsimsgcustomcolumnhandler ahandler); void removecolumnhandler(in astring acolumn); nsimsgcustomcolumnhandler getcolumnhandler(in astring acolumn); attributes attribute type description viewtype nsmsgviewtypevalue
readonly: type of view. constants are defined in nsmsgviewtype. viewflags nsmsgviewflagstypevalue constants are defined in nsmsgviewflagstype. sorttype nsmsgviewsorttypevalue the type of sort being used (i.e. author, date, status, etc). sort types are defined in nsmsgviewsorttype. sortorder nsmsgviewsortordervalue
readonly: constants are defined in nsmsgviewsor...
...nsmsgkey is defined as an unsigned long in mailnewstypes2.idl. viewindexforfirstselectedmsg nsmsgviewindex
readonly: the index of the first selected message. nsmsgviewindex is defined as a unsigned long in mailnewstypes2.idl. msgfolder nsimsgfolder
readonly: the current folder. ...
... viewfolder nsimsgfolder uriforfirstselectedmessage acstring
readonly: url of the first selected message. hdrforfirstselectedmessage nsimsgdbhdr
readonly: header of the first ...
...And 5 more matches
Using IndexedDB - Web APIs
transactions have three available modes:
readonly, readwrite, and versionchange. ...
...(in webkit browsers, which have not implemented the latest specification, the idbfactory.open method takes only one parameter, the name of the database; then you must call idbversionchangerequest.setversion to establish the versionchange transaction.) to read the records of an existing object store, the transaction can either be in
readonly or readwrite mode. to make changes to an existing object store, the transaction must be in readwrite mode. you open such transactions with idbdatabase.transaction. the method accepts two parameters: the storenames (the scope, defined as an array of object stores that you want to access) and the mode (
readonly or readwrite) for the transaction. ...
...you can concurrently run multiple
readonly transactions with overlapping scopes, but you can have only one readwrite transaction for an object store. ...
...And 5 more matches
JS::CompileOptions
methods some methods of js::owningcompileoptions and js::compileoptions return the instance itself to allow method chain. methods of js::
readonlycompileoptions ...
... methods of js::
readonlycompileoptions method description bool mutederrors() const determines if errors are muted. ...
... bool copy(jscontext *cx, const
readonlycompileoptions &rhs) copy compile options from rhs. ...
...And 4 more matches
<textarea> - HTML: Hypertext Markup Language
the <textarea> element also accepts several attributes common to form <input>s, such as autocomplete, autofocus, disabled, placeholder,
readonly, and required. ...
...
readonly this boolean attribute indicates that the user cannot modify the value of the control. unlike the disabled attribute, the
readonly attribute does not prevent the user from clicking or selecting in the control. ...
... disabled and
readonly this example shows two <textarea>s — one of which is disabled, and one of which is
readonly. have a play with both and you'll see the difference in behavior — the disabled element is not selectable in any way (and its value is not submitted), whereas the
readonly element is selectable and its contents copyable (and its value is submitted); you just can't edit the contents. ...
...And 4 more matches
preference - Archive of obsolete content
attributes disabled, instantapply, inverted, name, onchange,
readonly, tabindex, type properties defaultvalue, disabled, hasuservalue, inverted, locked, name, preferences,
readonly, tabindex, type, value, valuefrompreferences methods reset examples <preferences> <preference id="pref_id" name="preference.name" type="int"/> </preferences> see preferences system for a complete example. ...
... attributes disabled, instantapply, inverted, name, onchange,
readonly, tabindex, type properties defaultvalue, disabled, hasuservalue, inverted, locked, name, preferences,
readonly, tabindex, type, value, valuefrompreferences methods reset examples <preferences> <preference id="pref_id" name="preference.name" type="int"/> </preferences> see preferences system for a complete example. ...
... id="findfile-window" title="find files" orient="horizontal" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="text/javascript"> function myfunction(e){ /* do something cool here or just say the below */ alert(e.target.nodename); } </script> <textbox id="find-text" onchange="return myfunction(event);"/> </window>
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
...And 3 more matches
nsIMsgCloudFileProvider
ring aemailaddress, in acstring apassword, in acstring afirstname, in acstring alastname, in nsirequestobserver acallback); void createexistingaccount(in nsirequestobserver acallback); acstring providerurlforerror(in unsigned long aerror); attributes attribute type description type acstring
readonly: the type is a unique string identifier which can be used by interface elements for styling. as such, the type should be an alphanumpheric string with no spaces. displayname acstring
readonly: used for displaying the service name in the user interface. serviceurl acstring
readonly: a link to the homepage of the service, if applicable. ...
... accountkey acstring
readonly: the unique identifier for the account associated with an instance of an nsimsgcloudfileprovider. settingsurl acstring
readonly: a chrome url for an xhtml page displayed in the account setup dialog window, used for displaying and setting provider-specific settings. ...
...this url should not point to external web content. managementurl acstring
readonly: a chrome url for an...
...And 3 more matches
Elements - Archive of obsolete content
field <!element field empty> <!attlist field id id #implied name cdata #required
readonly (true|false) #implied > a field is similar to a property, except that it should not have a getter or setter. ...
...
readonly - if true, this field is read-only. if this attribute is omitted, the field will be readable and writable. note: the
readonly attribute did not work correctly on xbl fields until gecko 2.0. ...
... property <!entity % property-content "(getter?,setter?)"> <!element property %property-content;> <!attlist property id id #implied name cdata #required
readonly (true|false) #implied onget cdata #implied onset cdata #implied > the property element represents a single property of an implementation. ...
...And 2 more matches
JS::Evaluate
syntax // added in spidermonkey 45 bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, js::sourcebufferholder &srcbuf, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, const char *bytes, size_t length, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, const char *filename, js::mutablehandlevalue rval); bool...
...al); bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, const char *bytes, size_t length, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, const js::
readonlycompileoptions &options, const char *filename, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, js::autoobjectvector &scopechain, const
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlevalue rval); // added in spidermonkey 17 bool js::evaluate(jscontext *cx, js::autoobjectvector &scopechain, ...
...ons &options, const char *filename, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, js::autoobjectvector &scopechain, const
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlevalue rval); // added in spidermonkey 17 bool js::evaluate(jscontext *cx, js::autoobjectvector &scopechain, const js::
readonlycompileoptions &options, js::sourcebufferholder &srcbuf, js::mutablehandlevalue rval); // obsolete since jsapi 39 bool js::evaluate(jscontext *cx, js::handleobject obj, const js::
readonlycompileoptions &options, js::sourcebufferholder &srcbuf, js::mutablehandlevalue rval); bool js::evaluate(jscontext *cx, js::handleobject obj, const js::readon...
...And 2 more matches
Places utilities for JavaScript
ey); boolean nodeisfolder(nsinavhistoryresultnode anode); boolean nodeisbookmark(nsinavhistoryresultnode anode); boolean nodeisseparator(nsinavhistoryresultnode anode); boolean nodeisvisit(nsinavhistoryresultnode anode); boolean nodeisuri(nsinavhistoryresultnode anode); boolean nodeisquery(nsinavhistoryresultnode anode); boolean nodeis
readonly(nsinavhistoryresultnode anode); boolean nodeishost(nsinavhistoryresultnode anode); boolean nodeiscontainer(nsinavhistoryresultnode anode); boolean nodeisdynamiccontainer(nsinavhistoryresultnode anode); boolean nodeislivemarkcontainer(nsinavhistoryresultnode anode); obsolete since gecko 21 boolean nodeislivemarkitem(nsinavhistoryresultnode anod...
...an nodeishost(nsinavhistoryresultnode anode); boolean nodeiscontainer(nsinavhistoryresultnode anode); boolean nodeisdynamiccontainer(nsinavhistoryresultnode anode); boolean nodeislivemarkcontainer(nsinavhistoryresultnode anode); obsolete since gecko 21 boolean nodeislivemarkitem(nsinavhistoryresultnode anode); obsolete since gecko 21 boolean is
readonlyfolder(nsinavhistoryresultnode anode); int getindexofnode(nsinavhistoryresultnode anode); string wrapnode(nsinavhistoryresultnode anode, string atype, nsiuri aoverrideuri); array unwrapnodes(string blob, string atype); nsitransaction maketransaction(string data, string type, nsinavhistoryresultnode container, int index, boolean copy); nsinavhistoryresul...
... boolean nodeisvisit(anode) determines whether or not a resultnode is a visit item or not boolean nodeisuri(anode) determines whether or not a resultnode is a url item or not boolean nodeisquery(anode) determines whether or not a resultnode is a query item or not boolean nodeis
readonly(anode) determines if a node is read only (children cannot be inserted, sometimes they cannot be removed depending on the circumstance) boolean nodeishost(anode) determines whether or not a resultnode is a host folder or not boolean nodeiscontainer(anode) determines whether or not a resultnode is a container item or not boolean nodeisdynamiccontainer(anode) determines whether or not a resul...
...And 2 more matches
nsIMsgDBHdr
numaddresses);new in thunderbird 3.1 [noscript] void getauthorcollationkey(out octetptr key, out unsigned long len); [noscript] void getsubjectcollationkey(out octetptr key, out unsigned long len); [noscript] void getrecipientscollationkey(out octetptr key, out unsigned long len); attributes attribute type description isread boolean
readonly: indicates whether or not the message is read. isflagged boolean
readonly: indicates whether or not the message is starred in the ui. iskilled boolean
readonly: indicates whether or not this message belongs to a subthread that has been ignored in the ui. ...
... dateinseconds unsigned long
readonly: indicates the date of this message as a unix timestamp. ...
... numreferences unsigned short
readonly: indicates the number of references this header has. mime2decodedauthor astring
readonly: indicates the author of this message. the value here will have been decoded by the mime converter service. mime2decodedsubject astring
readonly: indicates the subject of this message. ...
...And 2 more matches
nsINavBookmarksService
obsolete since gecko 2.0 nsiuri getbookmarkuri(in long long aitemid); long long getchildfolder(in long long afolder, in astring asubfolder); obsolete since gecko 2.0 long long getfolderidforitem(in long long aitemid); boolean getfolder
readonly(in long long aitemid); astring getfoldertitle(in print64 folder); obsolete since gecko 1.9 nsiuri getfolderuri(in print64 folder); obsolete since gecko 1.9 long long getidforitemat(in long long aparentid, in long aindex); prtime getitemdateadded(in long long aitemid); astring getitemguid(in long long aitemid); obsolete since gecko 14.0 long...
... void removefolderchildren(in long long aitemid); void removeitem(in long long aitemid); void removeobserver(in nsinavbookmarkobserver observer); void replaceitem(in print64 folder, in nsiuri item, in nsiuri newitem); obsolete since gecko 1.9 void runinbatchmode(in nsinavhistorybatchcallback acallback, in nsisupports auserdata); void setfolder
readonly(in long long afolder, in boolean a
readonly); void setfoldertitle(in print64 folder, in astring title); obsolete since gecko 1.9 void setitemdateadded(in long long aitemid, in prtime adateadded); void setitemguid(in long long aitemid, in astring aguid); obsolete since gecko 14.0 void setitemindex(in long long aitemid, in long anewindex); void setite...
... getfolder
readonly() this method checks whether a folder is marked as read-only. if this is set to true, ui will not allow the user to add, remove, or reorder children in this folder. the default for all folders is false. note: this does not restrict api calls, only ui actions. boolean getfolder
readonly( in long long aitemid ); parameters aitemid the item id of the folder. ...
...And 2 more matches
Using the CSS Typed Object Model - Web APIs
al] of defaultcomputedstyles) { // properties const cssproperty = document.createelement('dt'); cssproperty.appendchild(document.createtextnode(prop)); styleslist.appendchild(cssproperty); // values const cssvalue = document.createelement('dd'); cssvalue.appendchild(document.createtextnode(val)); styleslist.appendchild(cssvalue); } the computedstylemap() method returns a stylepropertymap
readonly object containing the size property, which indicates how many properties are in the map. ...
...let's start by adding some css to our example, including a custom property and an inhertable property: p { font-weight: bold; } a { --color: red; color: var(--color); } instead of getting all the properties, we create an array of properties of interest and use the stylepropertymap
readonly.get() method to get each of their values: <p> <a href="https://example.com">link</a> </p> <dl id="regurgitation"></dl> // get the element const myelement = document.queryselector('a'); // get the <dl> we'll be populating const styleslist = document.queryselector('#regurgitation'); // retrieve all computed styles with computedstylemap() const allcomputedstyles = myelement.computedstylemap...
... it has two methods: cssstylevalue.parse() cssstylevalue.parseall() as noted above, stylepropertymap
readonly.get('--customproperty') returns a cssunparsedvalue. ...
...And 2 more matches
DOMPoint - Web APIs
constructor dompoint() creates and returns a new dompoint object given the values of zero or more of its coordinate components and optionally the w perspective value. you can also use an existing dompoint or dompoint
readonly or a dompointinit dictionary to create a new point by calling the dompoint.fromp...
...you can also use an existing dompoint or dompoint
readonly or a dompointinit dictionary to create a new point by calling the dompoint.frompoint() static method. methods dompoint inherits methods from its parent, dompoint
readonly. ...
... static methods dompoint.frompoint() creates a new mutable dompoint object given an existing point (or a dompointinit dictionary) which provides the values for its properties. properties dompoint inherits properties from its parent, dompoint
readonly. ...
...And 2 more matches
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
there's a very good chance they won't ask for more than the states marked [important]: state_unavailable [important] state_selected [important] state_focused [important] state_pressed state_checked [important] state_mixed state_
readonly [important] state_hottracked state_default [important] state_expanded [important] state_collapsed [important] state_busy [important] state_floating state_marqueed state_animated state_invisible state_offscreen [important] state_sizeable state_moveable state_selfvoicing state_focusable [important] state_selectable [important] state_lin...
...it's difficult to know when to use which role plus
readonly state combination. for example, internet explorer uses role_text without state_
readonly and role_text with state_
readonly for ordinary web page text. ...
...for example, internet explorer uses role_text without state_
readonly and role_text with state_
readonly for ordinary web page text. however, it uses role_statictext for labels. solution: use role_statictext for labels specific to dialog and ui controls, and always use role_text for document text even if the text is not editable (in that case use role_text with state_
readonly). ...
...And 2 more matches
datepicker - Archive of obsolete content
attributes disabled, firstdayofweek,
readonly, type, tabindex, value properties date, dateleadingzero, datevalue, disabled, month, monthleadingzero, open,
readonly, tabindex, value, year, yearleadingzero examples <datepicker type="grid" value="2007-03-26"/> attributes disabled type: boolean indicates whether the element is disabled or not. ...
... attributes disabled, firstdayofweek,
readonly, type, tabindex, value properties date, dateleadingzero, datevalue, disabled, month, monthleadingzero, open,
readonly, tabindex, value, year, yearleadingzero examples <datepicker type="grid" value="2007-03-26"/> attributes disabled type: boolean indicates whether the element is disabled or not. ...
...
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
...
readonly type: boolean if set to true, then the user cannot modify the value of the element. ...
textbox - Archive of obsolete content
attributes cols, decimalplaces, disabled, emptytext, hidespinbuttons, increment, label, max, maxlength, min, multiline, newlines, onblur, onchange, onfocus, oninput, placeholder, preference,
readonly, rows, searchbutton, size, spellcheck, tabindex, timeout, type, value, wrap, wraparound properties accessibletype, clickselectsall, decimalplaces, decimalsymbol, defaultvalue, disabled, editor, emptytext, increment, inputfield, label, max, maxlength, min, placeholder,
readonly, searchbutton, selectionend, selectionstart, size, spinbuttons, tabindex, textlength, timeout, type, value, valuenum...
...ement, label, max, maxlength, min, multiline, newlines, onblur, onchange, onfocus, oninput, placeholder, preference,
readonly, rows, searchbutton, size, spellcheck, tabindex, timeout, type, value, wrap, wraparound properties accessibletype, clickselectsall, decimalplaces, decimalsymbol, defaultvalue, disabled, editor, emptytext, increment, inputfield, label, max, maxlength, min, placeholder,
readonly, searchbutton, selectionend, selectionstart, size, spinbuttons, tabindex, textlength, timeout, type, value, valuenumber, wraparound methods decrease, increase, reset, select, setselectionrange style classes plain examples <vbox> <label control="your-name" value="enter your name:"/> <textbox id="your-name" value="john"/> </vbox> attributes cols type: integer for multil...
...
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
...
readonly type: boolean if set to true, then the user cannot modify the value of the element. ...
UI pseudo-classes - Learn web development
with the
readonly html attribute set). ...
... an input is set to read-only using the
readonly attribute. ...
... let's look at what a form might look like (see
readonly-confirmation.html for the live example; also see the source code). a fragment of the html is as follows — note the
readonly attribute: <div> <label for="name">name: </label> <input id="name" name="name" type="text" value="mr soft"
readonly> </div> if you try the live example, you'll see that the top set of form elements are not focusable, however, the values are submitted when t...
... a fragment of the html is as follows — note the
readonly attribute: <div> <label for="name">name: </label> <input id="name" name="name" type="text" value="mr soft"
readonly> </div> if you try the live example, you'll see that the top set of form elements are not focusable, however, the values are submitted when the form is submitted. ...
Midas
content
readonly this command will make the editor
readonly(true)or editable(false). ...
... note: the shortcut key will automatically trigger this command (typically accel-z) unlink if the insertion point is within a link or if the current selection contains a link, the link will be removed and the text will remain.
readonly this command has been replaced with content
readonly. it takes the same values as content
readonly, but the meaning of true and false are inversed. ...
...
readonly this command has been replaced with content
readonly. it takes the same values as content
readonly, but the meaning of true and false are inversed. ...
...
readonly this command has been replaced with content
readonly. it takes the same values as content
readonly, but the meaning of true and false are inversed. ...
NSS PKCS11 Functions
secmod_loadusermodule secmod_unloadusermodule secmod_openuserdb secmod_closeuserdb pk11_findcertfromnickname pk11_findkeybyanycert pk11_getslotname pk11_gettokenname pk11_ishw pk11_ispresent pk11_is
readonly pk11_setpasswordfunc secmod_loadusermodule load a new pkcs #11 module based on a modulespec. ...
...valid flags are:
readonly - databases should be opened read only. ...
... pk11_is
readonly finds out whether a slot is read-only. syntax #include <pk11pub.h> #include <prtypes.h> prbool pk11_is
readonly(pk11slotinfo *slot); parameters this function has the following parameter: slot a pointer to a slot info structure. ...
...syntax #include <pk11pub.h> #include <prtypes.h> prbool pk11_is
readonly(pk11slotinfo *slot); parameters this function has the following parameter: slot a pointer to a slot info structure. ...
JS::Compile
syntax // added in spidermonkey 45 bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, js::sourcebufferholder &srcbuf, js::mutablehandlescript script); bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, const char *bytes, size_t length, js::mutablehandlescript script); bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlescript script); bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, file *file, js::mutablehandlescript script); bool js::compile(jsco...
...mutablehandlescript script); bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlescript script); bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, file *file, js::mutablehandlescript script); bool js::compile(jscontext *cx, const js::
readonlycompileoptions &options, const char *filename, js::mutablehandlescript script); // obsolete since jsapi 39 bool js::compile(jscontext *cx, js::handleobject obj, const js::
readonlycompileoptions &options, js::sourcebufferholder &srcbuf, js::mutablehandlescript script); bool js::compile(jscontext *cx, js::handleobject obj, const js::
readonlycompileo...
..., const js::
readonlycompileoptions &options, js::sourcebufferholder &srcbuf, js::mutablehandlescript script); bool js::compile(jscontext *cx, js::handleobject obj, const js::
readonlycompileoptions &options, const char *bytes, size_t length, js::mutablehandlescript script); bool js::compile(jscontext *cx, js::handleobject obj, const js::
readonlycompileoptions &options, const char16_t *chars, size_t length, js::mutablehandlescript script); bool js::compile(jscontext *cx, js::handleobject obj, const js::
readonlycompileoptions &options, file *file, js::mutablehandlescript script); bool js::compile(jscontext *cx, js::handleobject obj, const js::
readonlycompileoptions &options, const char *fil...
...obsolete since jsapi 39 options js::
readonlycompileoptions & compile options. ...
Querying Places
basic query search parameters const unsigned long time_relative_epoch = 0 const unsigned long time_relative_today = 1 const unsigned long time_relative_now = 2 attribute prtime begintime attribute unsigned long begintimereference
readonly attribute boolean hasbegintime
readonly attribute prtime absolutebegintime attribute prtime endtime attribute unsigned long endtimereference
readonly attribute boolean hasendtime
readonly attribute prtime absoluteendtime attribute astring searchterms
readonly attribute boolean hassearchterms attribute long minvisits attribute long maxvisits attribute boolean onlybookmarked attribute bo...
...elative_today = 1 const unsigned long time_relative_now = 2 attribute prtime begintime attribute unsigned long begintimereference
readonly attribute boolean hasbegintime
readonly attribute prtime absolutebegintime attribute prtime endtime attribute unsigned long endtimereference
readonly attribute boolean hasendtime
readonly attribute prtime absoluteendtime attribute astring searchterms
readonly attribute boolean hassearchterms attribute long minvisits attribute long maxvisits attribute boolean onlybookmarked attribute boolean domainishost attribute autf8string domain
readonly attribute boolean hasdomain attribute boolean uriisprefix attribute nsiuri uri
readonly attribute boolean hasuri attribute boolean annotationisnot attribute autf8string annotation
readonly attribute bo...
...assearchterms attribute long minvisits attribute long maxvisits attribute boolean onlybookmarked attribute boolean domainishost attribute autf8string domain
readonly attribute boolean hasdomain attribute boolean uriisprefix attribute nsiuri uri
readonly attribute boolean hasuri attribute boolean annotationisnot attribute autf8string annotation
readonly attribute boolean hasannotation
readonly attribute unsigned long foldercount basic query configuration options const unsigned short group_by_day = 0 const unsigned short group_by_host = 1 const unsigned short group_by_domain = 2 const unsigned short group_by_folder = 3 const unsigned short sort_by_none = 0 const unsigned short sort_by_title_ascending = 1 const unsigned short sort_by_title_descending = 2 const unsigned short ...
...ion_descending = 16 const unsigned short results_as_uri = 0 const unsigned short results_as_visit = 1 const unsigned short results_as_full_visit = 2 (not yet implemented -- see bug 320831) attribute unsigned short sortingmode attribute autf8string sortingannotation attribute unsigned short resulttype attribute boolean excludeitems attribute boolean excludequeries attribute boolean exclude
readonlyfolders attribute boolean expandqueries attribute boolean includehidden attribute boolean showsessions attribute unsigned long maxresults const unsigned short query_type_history = 0 const unsigned short query_type_bookmarks = 1 const unsigned short query_type_unified = 2 (not yet implemented -- see bug 378798) attribute unsigned short querytype complex queries you can pass one or more n...
extIApplication
method overview boolean quit() boolean restart() void getextensions(extiextensionscallback acallback) attributes the following interfaces are available to all applications: attribute type description id
readonly attribute astring the id of the application. name
readonly attribute astring the name of the application. version
readonly attribute astring the version number of the application. console
readonly attribute exticonsole the console object for the application. extensions
readonly attribute extiextensions the extensions object for the ap...
...defaults to an empty root branch. storage
readonly attribute extise...
...supports: "load", "ready", "quit", "unload" the following interfaces are only available to firefox: attribute type description bookmarks
readonly attribute fuelibookmarkroots the root bookm...
...supports: "load", "ready", "quit", "unload" the following interfaces are only available to firefox: attribute type description bookmarks
readonly attribute fuelibookmarkroots the root bookmarks object for the application. windows
readonly attribute nsivariant an array of br...
extIExtension
method overview fixme: attributes attribute type description id
readonly attribute astring the id of the extension. name
readonly attribute astring the name of the extension. enabled
readonly attribute boolean true if the extension is currently enabled. version
readonly attribute astring the version number of the extension. firstrun
readonly attribute boolea...
... firstrun
readonly attribute boolean indicates whether this is the extension's first run after install prefs
readonly attribute extipreferencebranch the preferences object for ...
... firstrun
readonly attribute boolean indicates whether this is the extension's first run after install prefs
readonly attribute extipreferencebranch the preferences object for the extension. defaults to the "extensions.<extensionid>." branch. storage
readonly a...
... events
readonly attribute extievents the events object for the extension. ...
nsISelectionController
ection(in short type); void scrollhorizontal(in boolean left); void scrollline(in boolean forward); void scrollpage(in boolean forward); void scrollselectionintoview(in short type, in short region, in short flags); void selectall(); void setcaretenabled(in boolean enabled); void setcaret
readonly(in boolean
readonly); void setcaretvisibilityduringselection(in boolean visibility); void setcaretwidth(in short pixels); obsolete since gecko 1.8 void setdisplayselection(in short toggle); void wordextendfordelete(in boolean forward); native code only! ...
... setcaret
readonly() set the caret
readonly or not. an
readonly caret will draw but not blink when made visible. void setcaret
readonly( in boolean
readonly ); parameters
readonly pr_true to enable caret. ...
...an
readonly caret will draw but not blink when made visible. void setcaret
readonly( in boolean
readonly ); parameters
readonly pr_true to enable caret. ...
...an
readonly caret will draw but not blink when made visible. void setcaret
readonly( in boolean
readonly ); parameters
readonly pr_true to enable caret. ...
DOMPoint.fromPoint() - Web APIs
syntax var point = dompoint.frompoint(sourcepoint); properties sourcepoint a dompointinit-compliant object, which includes both dompoint and dompoint
readonly, from which to take the values of the new point's properties. ...
... syntax var point = dompoint.frompoint(sourcepoint); properties sourcepoint a dompointinit-compliant object, which includes both dompoint and dompoint
readonly, from which to take the values of the new point's properties. ...
... examples creating a mutable point from a read-only point if you have a dompoint
readonly object, you can easily create a mutable copy of that poin...
... examples creating a mutable point from a read-only point if you have a dompoint
readonly object, you can easily create a mutable copy of that point: var mutablepoint = dompoint.frompoint(
readonlypoint); creating a 2d point this sample creates a 2d point, specifying an inline object that includes the values to use for x and y. ...
<input type="text"> - HTML: Hypertext Markup Language
events change and input supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder,
readonly, required and size idl attributes list, value methods select(), setrangetext() and setselectionrange(). ...
...ocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid pattern a regular expression the input's contents must match in order to be valid placeholder an exemplar value to display in the input field whenever it is empty
readonly a boolean attribute indicating whether or not the contents of the input should be read-only size a number indicating how many characters wide the input field should be spellcheck controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used list the values of the list attribute is the id of a ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
... an input field can have spell checking enabled if it doesn't have the
readonly attribute set and is not disabled. ...
<input type="url"> - HTML: Hypertext Markup Language
value a domstring representing a url, or empty events change and input supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder,
readonly, required and size idl attributes list, value, selectionend, selectiondirection methods select(), setrangetext() and setselectionrange(). ...
...ocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid pattern a regular expression the input's contents must match in order to be valid placeholder an exemplar value to display in the input field whenever it is empty
readonly a boolean attribute indicating whether or not the contents of the input should be read-only size a number indicating how many characters wide the input field should be spellcheck controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used list the values of the list attribute is the id of a ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
... an input field can have spell checking enabled if it doesn't have the
readonly attribute set and is not disabled. ...
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
pattern password, text, tel pattern the value must match to be valid placeholder password, search, tel, text, url text that appears in the form control when it has no value set
readonly almost all boolean. ...
...
readonly a boolean attribute which, if present, indicates that the user should not be able to edit the value of the input. the
readonly attribute is supported text, search, url, tel, email, date, month, week, time, datetime-local, number, and password input types. see the html attribute:
readonly for more information. ...
... see the html attribute:
readonly for more information. ...
... in addition to the errors described in the table above, the validitystate interface contains the badinput, valid, and customerror boolean
readonly properties. ...
textbox (Toolkit autocomplete) - Archive of obsolete content
utocompletepopup, autocompletesearch, autocompletesearchparam, completedefaultindex, completeselectedindex,crop, disableautocomplete, disabled, disablekeynavigation, enablehistory, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputtooltiptext, label, maxlength, maxrows, minresultsforpopup, nomatch, onchange, oninput, onsearchcomplete, ontextentered, ontextreverted, open,
readonly,showcommentcolumn, showimagecolumn, size, tabindex, tabscrolling, timeout, type, value properties accessibletype, completedefaultindex, controller, crop, disableautocomplete, disablekeynavigation, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, label, maxlength, maxrows, minresultsforpopup, open, popup, popupopen, searchcount, searc...
...
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
... note: this property is
readonly in thunderbird and seamonkey. ...
Textbox (XPFE autocomplete) - Archive of obsolete content
utocomplete, disableautocomplete, disabled, disablehistory, enablehistory, focused, forcecomplete, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, ignoreblurwhilesearching, inputtooltiptext, label, maxlength, maxrows, minresultsforpopup, minresultsforpopup, nomatch, onchange, onerrorcommand, oninput, onsearchcomplete, ontextcommand, ontextentered, ontextrevert, ontextreverted, open,
readonly, searchsessions, showcommentcolumn, showcommentcolumn, showpopup, size, tabindex, tabscrolling, tabscrolling, timeout, type, useraction, value properties accessible, alwaysopenpopup, autofill, autofillaftermatch, completedefaultindex, crop, disableautocomplete, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, issearching, iswai...
...
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
... note: this property is
readonly in thunderbird and seamonkey. ...
Adding Properties to XBL-defined Elements - Archive of obsolete content
readonly attribute you can make a field or property read-only by adding a
readonly attribute to the field tag or property tag and setting it to true. attempting to set the value of a read-only property will fail. note: the
readonly attribute did not work correctly on fields until gecko 2.0. ...
...
readonly attribute you can make a field or property read-only by adding a
readonly attribute to the field tag or property tag and setting it to true. attempting to set the value of a read-only property will fail. note: the
readonly attribute did not work correctly on fields until gecko 2.0. ...
... note: the
readonly attribute did not work correctly on fields until gecko 2.0. ...
timepicker - Archive of obsolete content
attributes disabled, hideseconds, increment,
readonly, tabindex, value properties amindicator, datevalue, disabled, hideseconds, hour, hourleadingzero, increment, is24hourclock, ispm, minute, minuteleadingzero, pmindicator,
readonly, second, secondleadingzero, tabindex, value examples <timepicker value="12:05"/> attributes disabled type: boolean indicates whether the element is disabled or not. ...
...
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
...
readonly type: boolean if set to true, then the user cannot modify the value of the element. ...
calIFileType - Archive of obsolete content
defined in calendar/base/public/caliimportexport.idl interface code [scriptable, uuid(efef8333-e995-4f45-bdf7-bfcabbd9793e)] interface califiletype : nsisupports {
readonly attribute astring defaultextension;
readonly attribute astring extensionfilter;
readonly attribute astring description; }; attributes defaultextension the default extension that should be associated with files of this type. ...
...defined in calendar/base/public/caliimportexport.idl interface code [scriptable, uuid(efef8333-e995-4f45-bdf7-bfcabbd9793e)] interface califiletype : nsisupports {
readonly attribute astring defaultextension;
readonly attribute astring extensionfilter;
readonly attribute astring description; }; attributes defaultextension the default extension that should be associated with files of this type. ...
...defined in calendar/base/public/caliimportexport.idl interface code [scriptable, uuid(efef8333-e995-4f45-bdf7-bfcabbd9793e)] interface califiletype : nsisupports {
readonly attribute astring defaultextension;
readonly attribute astring extensionfilter;
readonly attribute astring description; }; attributes defaultextension the default extension that should be associated with files of this type. ...
XForms Custom Controls - Archive of obsolete content
var control = this; var refreshstub = function() { control.refresh(); } this.ref1.refresh = refreshstub; this.ref2.refresh = refreshstub; </constructor> <property name="ref1"
readonly="true" onget="return this.ownerdocument.getanonymouselementbyattribute(this, 'anonid', 'ref1');"/> <property name="ref2"
readonly="true" onget="return this.ownerdocument.getanonymouselementbyattribute(this, 'anonid', 'ref2');"/> </implementation> new host language the mozilla xforms implementation currently only supports xforms hosted in xhtml or xul documents. ...
... */ void setvalue(in domstring value); /** * return true if the instance node is
readonly as determined by the mdg. */ boolean is
readonly(); /** * return true if the instance node is relevant as determined by the mdg. ...
... */ boolean is
readonly(); /** * return true if the instance node is relevant as determined by the mdg. ...
Accessibility API cross-reference
see also div n/a n/a n/a <span> span kind of like a dial, but controls the value in a related field spinbutton n/a n/a spinbutton uneditable text statictext label label see aria-
readonly the text nodes of html elements are uneditable by default, apart from <input type=text>, or those with a contenteditable attribute entire status bar. ...
... n/a <q> <quote> note the reversed logic in some apis
readonly editable editable aria-
readonly=true this object can be selected selectable selectable selectable this object is selected selected selected selected aria-selected=true selected (boolean attribute) for a button that is "consistent". ...
... n/a <q> <quote> note the reversed logic in some apis
readonly editable editable aria-
readonly=true this object can be selected selectable selectable selectable this object is selected selected selected selected aria-selected=true selected (boolean attribute) for a button that is "consistent". ...
source-editor.jsm
readonly boolean set this value to true to make the editor read only, thereby preventing the user from making changes. ...
... constant value sourceeditor.defaults.contextmenu "sourceeditorcontextmenu" sourceeditor.defaults.expandtab true sourceeditor.defaults.highlightcurrentline true sourceeditor.defaults.initialtext "" sourceeditor.defaults.keys null sourceeditor.defaults.mode sourceeditor.modes.text sourceeditor.defaults.
readonly false sourceeditor.defaults.showannotationruler false sourceeditor.defaults.showlinenumbers false sourceeditor.defaults.showoverviewruler false sourceeditor.defaults.tabsize 4 sourceeditor.defaults.theme sourceeditor.themes.mozilla sourceeditor.defaults.undolimit 200 event name constants these constants provide t...
...deprecated since gecko 13.0
readonly boolean a boolean value indicating whether or not the source editor should be read only. ...
pkfnc.html
pk11_findcertfromnickname pk11_findkeybyanycert pk11_getslotname pk11_gettokenname pk11_ishw pk11_ispresent pk11_is
readonly pk11_setpasswordfunc pk11_findcertfromnickname finds a certificate from its nickname. ...
... pk11_is
readonly finds out whether a slot is read-only. syntax #include <pk11func.h> #include <prtypes.h> prbool pk11_is
readonly(pk11slotinfo *slot); parameters this function has the following parameter: slot a pointer to a slot info structure. ...
... syntax #include <pk11func.h> #include <prtypes.h> prbool pk11_is
readonly(pk11slotinfo *slot); parameters this function has the following parameter: slot a pointer to a slot info structure. ...
JS::CompileFunction
syntax bool js::compilefunction(jscontext *cx, js::autoobjectvector &scopechain, const js::
readonlycompileoptions &options, const char *name, unsigned nargs, const char *const *argnames, const char16_t *chars, size_t length, js::mutablehandlefunction fun); bool js::compilefunction(jscontext *cx, js::autoobjectvector &scopechain, const js::
readonlycompileoptions &options, const char *name, unsigned nargs, const char *const *argnames, js::sourcebufferholder &srcbuf, js::mutablehandlefunction fun); bool js::compilefunction(jscontext *cx, js::autoobjectvector &sco...
...compilefunction(jscontext *cx, js::autoobjectvector &scopechain, const js::
readonlycompileoptions &options, const char *name, unsigned nargs, const char *const *argnames, js::sourcebufferholder &srcbuf, js::mutablehandlefunction fun); bool js::compilefunction(jscontext *cx, js::autoobjectvector &scopechain, const js::
readonlycompileoptions &options, const char *name, unsigned nargs, const char *const *argnames, const char *bytes, size_t length, js::mutablehandlefunction fun); name type description cx jscontext * the context in which to compile the function. ...
... options js::
readonlycompileoptions & compile options. ...
Property attributes
mxr id search for jsprop_enumerate jsprop_
readonly the property's value cannot be set. in javascript 1.2 and lower, it is an error to attempt to assign a value to a read-only property. in javascript 1.3 and higher, as in ecmascript, attempts to set a value on a read-only property are ignored. this is the ecma standard
readonly attribute. mxr id search for jsprop_
readonly jsprop_permanent the property cannot ...
...added in spidermonkey 38 mxr id search for jsprop_ignore_enumerate jsprop_ignore_
readonly ignore the value in jsprop_
readonly. this flag only valid when defining over an existing property. added in spidermonkey 38 mxr id search for jsprop_ignore_
readonly jsprop_ignore_permanent ignore the value in jsprop_permanent. ...
...this flag only valid when defining over an existing property. added in spidermonkey 38 mxr id search for jsprop_ignore_
readonly jsprop_ignore_permanent ignore the value in jsprop_permanent. ...
JSAPI reference
since jsapi 18 locale callbacks: struct jslocalecallbacks js_getlocalecallbacks js_setlocalecallbacks locale callback types: jslocaletouppercase jslocaletolowercase jslocalecompare jslocaletounicode scripts just running some javascript code is straightforward: class js::compileoptions added in spidermonkey 17 class js::owningcompileoptions added in spidermonkey 31 class js::
readonlycompileoptions added in spidermonkey 31 class js::sourcebufferholder added in spidermonkey 31 js::evaluate added in spidermonkey 17 js_evaluatescript obsolete since jsapi 36 js_evaluateucscript obsolete since jsapi 36 js_evaluatescriptforprincipals obsolete since jsapi 30 js_evaluateucscriptforprincipals obsolete since jsapi 30 js_evaluatescriptforprincipalsversion obsolete since jsapi 3...
... struct jspropertydescriptor added in spidermonkey 1.8 property attributes jsprop_enumerate jsprop_
readonly jsprop_permanent jsprop_propop_accessors added in spidermonkey 38 jsprop_getter jsprop_setter jsprop_shared jsprop_index jsprop_define_late added in spidermonkey 38 jsfun_stub_gsops added in spidermonkey 17 jsfun_constructor added in spidermonkey 17 jsprop_redefine_nonconfigurable added in spidermonkey 38 jsprop_resolving added in spidermonkey 45 jsprop_ignore_...
...d in spidermonkey 38 jsprop_getter jsprop_setter jsprop_shared jsprop_index jsprop_define_late added in spidermonkey 38 jsfun_stub_gsops added in spidermonkey 17 jsfun_constructor added in spidermonkey 17 jsprop_redefine_nonconfigurable added in spidermonkey 38 jsprop_resolving added in spidermonkey 45 jsprop_ignore_enumerate added in spidermonkey 38 jsprop_ignore_
readonly added in spidermonkey 38 jsprop_ignore_permanent added in spidermonkey 38 jsprop_ignore_value added in spidermonkey 38 js_alreadyhasownelement added in spidermonkey 1.8 js_alreadyhasownproperty added in spidermonkey 1.8 js_alreadyhasownucproperty added in spidermonkey 1.8 js_alreadyhasownpropertybyid added in spidermonkey 1.8.1 js_defineproperty js_defineucproperty js_defineprop...
mozIStorageConnection
method overview void asyncclose([optional] in mozistoragecompletioncallback acallback); void begintransaction(); void begintransactionas(in print32 transactiontype); mozistoragestatement clone([optional] in boolean a
readonly); void close(); void committransaction(); void createaggregatefunction(in autf8string afunctionname, in long anumarguments, in mozistorageaggregatefunction afunction); mozistorageasyncstatement createasyncstatement(in autf8string asqlstatement); void createfunction(in autf8string afunctionname, in long anumarguments, in mozistoragefunction afunctio...
... note: due to a bug in sqlite, if you use the shared cache (by calling mozistorageservice.opendatabase()), the cloned connection's access privileges will be the same as the original connection, regardless of the value you specify for the a
readonly parameter. mozistorageconnection clone( in boolean a
readonly optional ); parameters a
readonly if true, the returned database connection is in read only mode. ...
... mozistorageconnection clone( in boolean a
readonly optional ); parameters a
readonly if true, the returned database connection is in read only mode. ...
nsITreeBoxObject
element, out long x, out long y, out long width, out long height); boolean iscellcropped(in long row, in nsitreecolumn col); void rowcountchanged(in long index, in long count); void beginupdatebatch(); void endupdatebatch(); void clearstyleandimagecaches(); attributes attribute type description columns nsitreecolumns
readonly: obtain the columns. view nsitreeview the view that backs the tree and that supplies it with its data. it is dynamically settable, either using a view attribute on the tree tag or by setting this attribute to a new value. focused boolean whether or not we are currently focused. treebody nsidomelement
readonly: obtain the treebody content node. ...
... horizontalposition long
readonly: get the pixel position of the horizontal scrollbar. selectionregion nsiscriptableregion
readonly: return the region for the visible parts of the selection, in device pixels. ...
... selectionregion nsiscriptableregion
readonly: return the region for the visible parts of the selection, in device pixels. ...
nsIXmlRpcClient
word); void clearauthentication(in string username, in string password); void setencoding(in string encoding); void setencoding(in unsigned long type, out nsiidref uuid, out nsqiresult result); void asynccall (in nsixmlrpcclientlistener listener, in nsisupports ctxt, in string methodname, in nsisupports arguments, in pruint32 count); attributes attribute type description serverurl
readonly nsiurl the url of the xml-rpc server inprogress
readonly boolean whether or not a call is in progress fault
readonly nsixmlrpcfault the most recent xml-rpc fault from returned from this server. null if the last call didn't return an xml-rpc fault. result
readonly nsisupports the most recent xml-rpc call result returned from this server. ...
... constants constant type description int unsigned long nsisupportsprint32 boolean unsigned long nsisupportsprbool string unsigned long nsisupportscstring double unsigned long nsisupportsdouble datetime unsigned long nsisupportsprtime array
readonly un...
... constants constant type description int unsigned long nsisupportsprint32 boolean unsigned long nsisupportsprbool string unsigned long nsisupportscstring double unsigned long nsisupportsdouble datetime unsigned long nsisupportsprtime array
readonly unsigned long nsisupportsarray struct
readonly unsigned long nsisupportsdictionary methods init() set server url. ...
XPIDL
attributes can be declared
readonly, in which case setting causes an error to be thrown in script contexts and native contexts lack the set method, by using the "
readonly" keyword. to native code, on attribute declared 'attribute type foo;' is syntactic sugar for the declaration of two methods 'type getfoo();' and 'void setfoo(in type foo);'. if foo were declared
readonly, the latter method would not be present. ...
... to native code, on attribute declared 'attribute type foo;' is syntactic sugar for the declaration of two methods 'type getfoo();' and 'void setfoo(in type foo);'. if foo were declared
readonly, the latter method would not be present. ...
...however, the capitalization is not applied when using binaryname with attributes; i.e., [binaryname(foo)]
readonly attribute quux bar; becomes getfoo(quux**) in native code. ...
Animation.effect - Web APIs
syntax var effect = animation.effect; animation.effect = animationeffect
readonly value a animationeffect
readonly object describing the target animation effect for the animation, or null to indicate no active effect. ...
... syntax var effect = animation.effect; animation.effect = animationeffect
readonly value a animationeffect
readonly object describing the target animation effect for the animation, or null to indicate no active effect. ...
... syntax var effect = animation.effect; animation.effect = animationeffect
readonly value a animationeffect
readonly object describing the target animation effect for the animation, or null to indicate no active effect. ...
Element.toggleAttribute() - Web APIs
example in the following example, toggleattribute() is used to toggle the
readonly attribute of a <input>. html <input value="text"> <button>toggleattribute("
readonly")</button> javascript var button = document.queryselector("button"); var input = document.queryselector("input"); button.addeventlistener("click", function(){ input.toggleattribute("
readonly"); }); result dom methods dealing with element's attributes: not namespace-aware, most commonly used methods ...
... html <input value="text"> <button>toggleattribute("
readonly")</button> javascript var button = document.queryselector("button"); var input = document.queryselector("input"); button.addeventlistener("click", function(){ input.toggleattribute("
readonly"); }); result dom methods dealing with element's attributes: not namespace-aware, most commonly used methods namespace-aware variants (dom level 2) dom level 1 methods for dealing with attr nodes...
... html <input value="text"> <button>toggleattribute("
readonly")</button> javascript var button = document.queryselector("button"); var input = document.queryselector("input"); button.addeventlistener("click", function(){ input.toggleattribute("
readonly"); }); result dom methods dealing with element's attributes: not namespace-aware, most commonly used methods namespace-aware variants (dom level 2) dom level 1 methods for dealing with attr nodes directly (seldom used) dom level 2 namespace-aware methods for dealing with attr nodes directly (seldom used) setattribute (dom 1) setattributens setattributenode setattributenodens getattr...
HTMLInputElement - Web APIs
see also
readonly autofocus boolean: returns / sets the element's autofocus attribute, which specifies that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. ...
...
readonly boolean: returns / sets the element's
readonly attribute, indicating that the user cannot modify the value of the control. ...
...
readonly boolean: returns / sets the element's
readonly attribute, indicating that the user cannot modify the value of the control. ...
HTMLTextAreaElement - Web APIs
readonly boolean: returns / sets the element's
readonly attribute, indicating that the user cannot modify the value of the control. ...
...
readonly boolean: returns / sets the element's
readonly attribute, indicating that the user cannot modify the value of the control. ...
...false if any conditions bar it from constraint validation, including its
readonly or disabled property is true. ...
MSManipulationEvent.initMSManipulationEvent() - Web APIs
example interface msmanipulationevent extends uievent {
readonly currentstate: number;
readonly inertiadestinationx: number;
readonly inertiadestinationy: number;
readonly laststate: number; initmsmanipulationevent(typearg: string, canbubblearg: boolean, cancelablearg: boolean, viewarg: window, detailarg: number, laststate: number, currentstate: number): void;
readonly ms_manipulation_state_active: number;
readonly ms_manipulation_state...
... example interface msmanipulationevent extends uievent {
readonly currentstate: number;
readonly inertiadestinationx: number;
readonly inertiadestinationy: number;
readonly laststate: number; initmsmanipulationevent(typearg: string, canbubblearg: boolean, cancelablearg: boolean, viewarg: window, detailarg: number, laststate: number, currentstate: number): void;
readonly ms_manipulation_state_active: number;
readonly ms_manipulation_state_cancelled: number;
readonly ms_manipulation_state_committed: number; ...
... example interface msmanipulationevent extends uievent {
readonly currentstate: number;
readonly inertiadestinationx: number;
readonly inertiadestinationy: number;
readonly laststate: number; initmsmanipulationevent(typearg: string, canbubblearg: boolean, cancelablearg: boolean, viewarg: window, detailarg: number, laststate: number, currentstate: number): void;
readonly ms_manipulation_state_active: number;
readonly ms_manipulation_state_cancelled: number;
readonly ms_manipulation_state_committed: number;
readonly ms_manipulation_state_dragging: number;
readonly ms_manipulation_state_inertia: number;
readonly ms_manipulation_state_preselect: number;
readonly ms_manipulation_state_selecting: number;
readonly ms_manipulation_state_stopp...
MSManipulationEvent - Web APIs
example interface msmanipulationevent extends uievent {
readonly currentstate: number;
readonly inertiadestinationx: number;
readonly inertiadestinationy: number;
readonly laststate: number; initmsmanipulationevent(typearg: string, canbubblearg: boolean, cancelablearg: boolean, viewarg: window, detailarg: number, laststate: number, currentstate: number): void;
readonly ms_manipulation_state_active: number;
readonly ms_manipulation_state...
... example interface msmanipulationevent extends uievent {
readonly currentstate: number;
readonly inertiadestinationx: number;
readonly inertiadestinationy: number;
readonly laststate: number; initmsmanipulationevent(typearg: string, canbubblearg: boolean, cancelablearg: boolean, viewarg: window, detailarg: number, laststate: number, currentstate: number): void;
readonly ms_manipulation_state_active: number;
readonly ms_manipulation_state_cancelled: number;
readonly ms_manipulation_state_committed: number; ...
... example interface msmanipulationevent extends uievent {
readonly currentstate: number;
readonly inertiadestinationx: number;
readonly inertiadestinationy: number;
readonly laststate: number; initmsmanipulationevent(typearg: string, canbubblearg: boolean, cancelablearg: boolean, viewarg: window, detailarg: number, laststate: number, currentstate: number): void;
readonly ms_manipulation_state_active: number;
readonly ms_manipulation_state_cancelled: number;
readonly ms_manipulation_state_committed: number;
readonly ms_manipulation_state_dragging: number;
readonly ms_manipulation_state_inertia: number;
readonly ms_manipulation_state_preselect: number;
readonly ms_manipulation_state_selecting: number;
readonly ms_manipulation_state_stopp...
Window - Web APIs
window.dommatrix
readonly read only returns a reference to a dommatrix
readonly object, which represents 4x4 matrices, suitable for 2d and 3d operations. window.dompoint read only returns a reference to a dompoint object, which represents a 2d or 3d point in a coordinate system. window.dompoint
readonly read only returns a reference to a dompoint
readonly object, which represents a 2d or 3d point in a coordinat...
... window.dommatrix
readonly read only returns a reference to a dommatrix
readonly object, which represents 4x4 matrices, suitable for 2d and 3d operations. window.dompoint read only returns a reference to a dompoint object, which represents a 2d or 3d point in a coordinate system. window.dompoint
readonly read only returns a reference to a dompoint
readonly object, which represents a 2d or 3d point in a coordinate system. ...
... window.domrect
readonly read only returns a reference to a...
Web APIs
e constrainboolean constraindomstring constraindouble constrainulong contentindex contentindexevent convolvernode countqueuingstrategy crashreportbody credential credentialscontainer crypto cryptokey cryptokeypair customelementregistry customevent d domconfiguration domerror domexception domhighrestimestamp domimplementation domimplementationlist domlocator dommatrix dommatrix
readonly domobject domparser dompoint dompointinit dompoint
readonly domquad domrect domrect
readonly domstring domstringlist domstringmap domtimestamp domtokenlist domuserdata datatransfer datatransferitem datatransferitemlist dedicatedworkerglobalscope delaynode deprecationreportbody devicelightevent devicemotionevent devicemotioneventacceleration devicemotioneventrotationrate deviceorient...
...onalternative speechrecognitionerror speechrecognitionerrorevent speechrecognitionevent speechrecognitionresult speechrecognitionresultlist speechsynthesis speechsynthesiserrorevent speechsynthesisevent speechsynthesisutterance speechsynthesisvoice staticrange stereopannernode storage storageestimate storageevent storagemanager storagequota stylepropertymap stylepropertymap
readonly stylesheet stylesheetlist submitevent subtlecrypto syncevent syncmanager t taskattributiontiming text textdecoder textencoder textmetrics textrange texttrack texttrackcue texttracklist timeevent timeranges touch touchevent touchlist trackdefault trackdefaultlist trackevent transferable transformstream transitionevent treewalker typeinfo u uievent ulongrange url urlsearchpara...
...et stylesheetlist submitevent subtlecrypto syncevent syncmanager t taskattributiontiming text textdecoder textencoder textmetrics textrange texttrack texttrackcue texttracklist timeevent timeranges touch touchevent touchlist trackdefault trackdefaultlist trackevent transferable transformstream transitionevent treewalker typeinfo u uievent ulongrange url urlsearchparams urlutils
readonly usb usbalternateinterface usbconfiguration usbdevice usbendpoint usbintransferresult usbinterface usbisochronousintransferpacket usbisochronousintransferresult usbisochronousouttransferpacket usbisochronousouttransferresult usbouttransferresult usvstring userdatahandler userproximityevent v vttcue vttregion validitystate videoconfiguration videoplaybackquality videotrac...
ARIA: textbox role - Accessibility
<label for="txtbox">enter your five-digit zipcode</label> <input type="text" placeholder="5-digit zipcode" id="txtbox"/> <!-- multi-line text area --> <label for="txtboxmultiline">enter the tags for the article</label> <textarea id="txtboxmultiline" required></textarea> where a text field is read-only, indicated this by setting aria-
readonly="true" on the element. ...
... aria-
readonly attribute indicates that the user cannot modify the value of the text field. instead of using aria-
readonly, use the semantic <input type="text"> or <textarea> with a
readonly attribute. ...
...itable="true"></div> example 2: adding the role in the html code for multi-line input the snippet below shows how the textbox role is added directly into the html source code. <div role="textbox" contenteditable="true" aria-multiline="true"></div> best practices be sure to add the contenteditable="true" attribute to the html element to which this role is applied. do so even if you set aria-
readonly to true; in this way, you communicate that the content would be editable if it were not read-only. ...
HTML To MSAA - Accessibility
e name value states relations actions events notes a role_system_ link n/a value of @href attribute state_system_ selectable if @name attribute is presented state_system_ linked if @href attribute is presented or click event listener is registered state_system_ traversed if link is traversed n/a "jump" if @href is valid n/a br role_system_ whitespace '\n' (new line char) state_system_
readonly n/a n/a n/a button role_system_ pushbutton from child nodes n/a state_system_ focusable state_system_ default if @type attribute has value "submit" n/a "press" n/a caption bstr role n/a n/a n/a description_for (0x100f), points to table element div bstr role n/a n/a n/a n/a n/a n/a fieldset role_system_ grouping text equivalent from child legend element n/a n/a labelled_by ...
...ttribute is used then image accessible has children for each map item input @type=button, submit, reset role_system_ pushbutton from @value attribute, @alt attribute, default label, @src attribute, @data attribute n/a state_system_ default if @type attribute has value "submit" n/a "press" n/a input @type=text, textarea role_system_ text n/a value property of input dom element state_system_
readonly if @
readonly attribute is used n/a "activate" n/a input @type=password role_system_ text n/a n/a state_system_
readonly if @
readonly attribute is used state_system_ protected n/a "activate" n/a input type="checkbox" role_system_ checkbutton n/a n/a state_system_ marqueed used as state checkable state_system_ mixed for html 5 if intermediate property of dom element returns true state_sy...
... marqueed used as state checkable state_system_ checked if checked property of dom element returns true n/a "select" event_object_ statechange when state is changed label role_system_ statictext from child nodes n/a n/a n/a n/a n/a legend role_system_ statictext n/a n/a n/a label_for (0x1002), points to caption element n/a n/a li and others role_system_ listitem n/a n/a state_system_
readonly n/a n/a n/a contains child accessible for list bullet ol, ul and others role_system_ list n/a n/a state_system_
readonly n/a n/a n/a optgroup bstr role n/a n/a n/a n/a n/a n/a option role_system_ listitem from @label attribute, from child text nodes n/a state_system_ selected if option is selected n/a "select" event_object_ selectionwithin event_object_ selectionadd if selected event_o...
<input type="email"> - HTML: Hypertext Markup Language
value a domstring representing an e-mail address, or empty events change and input supported common attributes autocomplete, list, maxlength, minlength, multiple, name,pattern, placeholder,
readonly, required, size, and type idl attributes list and value methods select() value the <input> element's value attribute contains a domstring which is automatically validated as conforming to e-mail syntax. ...
... minlength the minimum number of characters long the input can be and still be considered valid multiple whether or not to allow multiple, comma-separated, e-mail addresses to be entered pattern a regular expression the input's contents must match in order to be valid placeholder an exemplar value to display in the input field whenever it is empty
readonly a boolean attribute indicating whether or not the contents of the input should be read-only size a number indicating how many characters wide the input field should be list the values of the list attribute is the id of a <datalist> element located in the same document. ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
<input type="month"> - HTML: Hypertext Markup Language
events change and input supported common attributes autocomplete, list,
readonly, and step. ...
...n addition to the attributes common to <input> elements, month inputs offer the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options max the latest year and month to accept as a valid input min the earliest year and month to accept as a valid input
readonly a boolean which, if present, indicates that the input's value can't be edited step a stepping interval to use when incrementing and decrementing the value of the input field list the values of the list attribute is the id of a <datalist> element located in the same document. ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed from javascript code that directly sets the value of the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
<input type="number"> - HTML: Hypertext Markup Language
events change and input supported common attributes autocomplete, list, placeholder,
readonly idl attributes list, value, valueasnumber methods select(), stepup(), stepdown() value any floating-point number, or empty. ...
... type number support these attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options max the maximum value to accept for this input min the minimum value to accept for this input placeholder an example value to display inside the field when it's empty
readonly a boolean attribute indicating whether the value is read-only step a stepping interval to use when using up and down arrows to adjust the value, as well as for validation list the values of the list attribute is the id of a <datalist> element located in the same document. ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
<input type="password"> - HTML: Hypertext Markup Language
value a domstring representing a password, or empty events change and input supported common attributes autocomplete, inputmode, maxlength, minlength, pattern, placeholder,
readonly, required, and size idl attributes selectionstart, selectionend, selectiondirection, and value methods select(), setrangetext(), and setselectionrange() value the value attribute contains a domstring whose value is the current contents of the text editing control being used to enter the password. ...
...ng attributes: attribute description maxlength the maximum length the value may be, in utf-16 characters minlength the minimum length in characters that will be considered valid pattern a regular expression the value must match in order to be valid placeholder an example value to display in the field when the field is empty
readonly a boolean attribute which, if present, indicates that the field's contents should not be editable size the number of characters wide the input field should be maxlength the maximum number of characters (as utf-16 code units) the user can enter into the password field. ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed from javascript code that directly sets the value of the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
<input type="tel"> - HTML: Hypertext Markup Language
value a domstring representing a telephone number, or empty events change and input supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder,
readonly, and size idl attributes list, selectionstart, selectionend, selectiondirection, and value methods select(), setrangetext(), setselectionrange() value the <input> element's value attribute contains a domstring that either represents a telephone number or is an empty string (""). ...
...tocomplete options maxlength the maximum length, in utf-16 characters, to accept as a valid input minlength the minimum length that is considered valid for the field's contents pattern a regular expression the entered value must match to pass constraint validation placeholder an example value to display inside the field when it has no value
readonly a boolean attribute which, if present, indicates that the field's contents should not be user-editable size the number of characters wide the input field should be onscreen list the values of the list attribute is the id of a <datalist> element located in the same document. ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
<input type="time"> - HTML: Hypertext Markup Language
events change and input supported common attributes autocomplete, list,
readonly, and step idl attributes value, valueasdate, valueasnumber, and list. ...
...he attributes common to all <input> elements, time inputs offer the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options max the latest time to accept, in the syntax described under time value format min the earliest time to accept as a valid input
readonly a boolean attribute which, if present, indicates that the contents of the time input should not be user-editable step the stepping interval to use both for user interfaces purposes and during constraint validation unlike many data types, time values have a periodic domain, meaning that the values reach the highest possible value, then wrap back around to the beginning again.
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
<input type="week"> - HTML: Hypertext Markup Language
value a domstring representing a week and year, or empty events change and input supported common attributes autocomplete, list,
readonly, and step idl attributes value, valueasdate, valueasnumber, and list. ...
...weekcontrol = document.queryselector('input[type="week"]'); weekcontrol.value = '2017-w45'; additional attributes in addition to the attributes common to <input> elements, week inputs offer the following attributes: attribute description max the latest year and week to accept as valid input min the earliest year and week to accept as valid input
readonly a boolean which, if present, indicates that the user cannot edit the field's contents step the stepping interval (the distance between allowed values) to use for both user interface and constraint validation max the latest (time-wise) year and week number, in the string format discussed in the value section above, to accept. ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
XPCOM Objects - Archive of obsolete content
*/
readonly attribute short count; /** * increments the display count and returns the new count. ...
...this is a known limitation of xpidl, and a simple workaround is to define a
readonly attribute instead. ...
Styling a Tree - Archive of obsolete content
the example below sets the background color to grey for rows that have the '
readonly' and 'unread' properties. for properties that are '
readonly', it adds a red border around the row. note that the first rule will apply to any row that is '
readonly' regardless of whether other properties such as 'unread' are set. treechildren::-moz-tree-row(
readonly) { border: 1px solid red; } treechildren::-moz-tree-row(
readonly, unread) { background-color: rgb(80%, 80%, 80%); } default p...
... treechildren::-moz-tree-row(
readonly) { border: 1px solid red; } treechildren::-moz-tree-row(
readonly, unread) { background-color: rgb(80%, 80%, 80%); } default properties the properties list for tree elements contain a small number of default properties, which you can also use in a style sheet. ...
menulist - Archive of obsolete content
attributes accesskey, crop, disableautoselect, disabled, editable, focused, image, label, oncommand, open, preference,
readonly, sizetopopup, tabindex, value properties accessibletype, crop, description, disableautoselect, disabled, editable, editor, image, inputfield, itemcount, label, menuboxobject, menupopup, open, selectedindex, selecteditem, tabindex, value methods appenditem, contains, getindexofitem, getitematindex, insertitemat, removeallitems, removeitemat, select examples <menulist> <menupopup> ...
...
readonly type: boolean if set to true, then the user cannot change the value of the element. ...
Implementation Status - Archive of obsolete content
4.4.1 xforms-insert supported 4.4.2 xforms-delete supported 4.4.3 xforms-value-changed supported 4.4.4 xforms-valid supported 4.4.5 xforms-invalid supported 4.4.6 xforms-
readonly supported 4.4.7 xforms-readwrite supported 4.4.8 xforms-required supported 4.4.9 xforms-optional supported 4.4.10 xforms-enabled supported 4.4.11 xforms-disabled supported ...
...model item properties section title status notes bugs 6.1.1 type partial limited to types mentioned above 6.1.2
readonly supported 6.1.3 required supported 6.1.4 relevant partial relevancy applied via a bind to an element fails to apply to child attributes 342319; 6.1.5 calculate supported 6.1.6 constraint supported ...
Accessible Toolkit Checklist
supporting the basic msaa states on every item: unavailable, focused,
readonly, offscreen, focusable to avoid extra work, utilize implementing an msaa server mnemonics ability to define in xml for any widget with a text label (via attribute or a preceding char in label) automatically define mnemonics for all standard common dialogs (like yes/no confirmations and retry/exit error dialogs) support mnemonics in dialogs created via method ...
... in autocomplete text fields, make sure that the left or right arrow closes the popup and starts moving through the text letter by letter msaa support, including accessible value that holds text, protected for password fields and
readonly for read-only fields checkboxes space bar to toggle msaa support, including checkbox state and statechange event sliders keyboard support for moving slider: arrow keys, home, end, pgup, pgdn msaa support including role_slider, accessible value, value change events progress bars msaa support including accessible name, value...
Mozilla DOM Hacking Guide
in idl, location is declared to be a
readonly attribute. ...
... static inline prbool is
readonlyreplaceable(jsval id) { ... ...
PR_AttachSharedMemory
syntax #include <prshm.h> nspr_api( void * ) pr_attachsharedmemory( prsharedmemory *shm, printn flags ); /* define values for pr_attachsharedmemory(...,flags) */ #define pr_shm_
readonly 0x01 parameters the function has these parameters: shm the handle returned from pr_opensharedmemory. flags options for mapping the shared memory. pr_shm_
readonly causes the memory to be attached read-only. ...
...pr_shm_
readonly causes the memory to be attached read-only. ...
PKCS #11 Module Specs
readonly databases should be opened read only. ...
... valid flags are:
readonly databases should be opened read only. ...
Property cache
without this guarantee, every access to a property via a prototype chain would have to recheck each link in the prototype chain, even though assigning to __proto__ is very rare.) adding guarantee — if at time t0 the object x has shape s, and rt->protohazardshape is z, and x does not inherit a jsprop_shared or jsprop_
readonly property with name n from any prototype, and at time t1 an object y has shape s and rt->protohazardshape is z, and no shape-regenerating gc occurred, then y does not inherit a jsprop_shared or jsprop_
readonly property named n from any prototype. (informally: adding a shared or
readonly property to a prototype changes rt->protohazardshape.) (at the moment, xml objects and resolve hooks can tri...
...it is guaranteed that obj does not have an own property with the desired name and does not inherit a jsprop_shared or jsprop_
readonly property with that name from any prototype. ...
JSAPI Cookbook
the property attribute jsprop_
readonly corresponds to writeable: false, jsprop_enumerate to enumerable: true, and jsprop_permanent to configurable: false. ...
... /* jsapi */ if (!js_defineproperty(cx, obj, "prop", int_to_jsval(123), js_propertystub, js_strictpropertystub, jsprop_
readonly | jsprop_enumerate | jsprop_permanent)) { return false; } defining a property with a getter and setter object.defineproperty() can be used to define properties in terms of two accessor functions. ...
JS::CompileOffThread
syntax bool js::cancompileoffthread(jscontext *cx, const js::
readonlycompileoptions &options, size_t length); bool js::compileoffthread(jscontext *cx, const js::
readonlycompileoptions &options, const char16_t *chars, size_t length, js::offthreadcompilecallback callback, void *callbackdata); jsscript * js::finishoffthreadscript(jscontext *maybecx, jsruntime *rt, void *token); typedef void (*js::offthreadcompilecallback)(void *token, void *callbackdata); name type description cx / maybe jscontext * pointer to a js context from which to derive runtime information. ...
... options js::
readonlycompileoptions & compile options. ...
XForms Accessibility
instance node states are mapped to accessibility state constants declared in nsiaccessiblestates interface like it shown below: relevant - state_unavailable
readonly - state_
readonly required - state_required invalid - state_invalid out of range - state_invalid attributes redefines datatype aria attribute. ...
...instance node states are mapped to accessibility state constants declared in nsiaccessiblestates interface like it shown below: relevant - state_unavailable
readonly - state_
readonly required - state_required invalid - state_invalid out of range - state_invalid attributes redefines datatype aria attribute. ...
nsIXULTemplateBuilder
atag); void addrulefilter(in nsidomnode arule, in nsixultemplaterulefilter afilter); [noscript] void init(in nsicontent aelement); [noscript] void createcontents(in nsicontent aelement, in boolean aforcecreation); void addlistener(in nsixulbuilderlistener alistener); void removelistener(in nsixulbuilderlistener alistener); attributes attribute type description root nsidomelement
readonly: the root node in the dom to which this builder is attached. ...
... database nsirdfcompositedatasource
readonly: the composite datasource that the template builder observes and uses to create content. this is used only for rdf queries and is maintained for backwards compatibility. it will be the same object as the datasource property. for non-rdf queries, it will always be null. rootresult nsixultemplateresult
readonly: the virtual result representing the starting reference point, determined by calling t...
nsMsgViewFlagsType
for example, the 'unread only' view would use the flag: components.interfaces.nsmsgviewflagstype.kun
readonly constants name value description knone 0x0 kthreadeddisplay 0x1 kshowignored 0x8 kun
readonly 0x10 kexpandall 0x20 kgroupbysort 0x40 ...
...for example, the 'unread only' view would use the flag: components.interfaces.nsmsgviewflagstype.kun
readonly constants name value description knone 0x0 kthreadeddisplay 0x1 kshowignored 0x8 kun
readonly 0x10 kexpandall 0x20 kgroupbysort 0x40 ...
XPIDL Syntax
;" / codefrag type_decl = [prop_list] "typedef" type_spec *(ident ",") ident type_decl /= [prop_list] "native" ident [parens] const_decl = "const" type_spec ident "=" expr op_decl = [prop_list] (type_spec / "void") parameter_decls raise_list parameter_decls = "(" [*(param_decl ",") param_decl] ")" param_decl = [prop_list] ("in" / "out" / "inout") type_spec ident attr_decl = [prop_list] ["
readonly"] "attribute" type_spec *(ident ",") ident ; descending order of precedence expr /= expr ("|" / "^" / "&") expr ; unequal precedence "|" is lowest expr /= expr ("<<" / ">>") expr expr /= expr ("+" / "-") expr expr /= expr ("*" / "/" / "%") expr expr /= ["-" / "+" / "~"] (scoped_name / literal / "(" expr ")" ) ; numeric literals: quite frankly, i'm sure you know how these kinds of ; li...
...tax idlfile = *(cdata / include / interface / typedef / native) typedef = "typedef" identifer identifier ";" native = [attributes] "native" identifier "(" nativeid ")" interface = [attributes] "interface" identifier" [ifacebase] [ifacebody] ";" ifacebase = ":" identifier ifacebody = "{" *(member) "}" member = cdata / "const" identifier identifier "=" number ";" member /= [attributes] ["
readonly"] "attribute" identifier identifer ";" member /= [attributes] identifier identifier "(" paramlist ")" raises ";" paramlist = [param *("," param)] raises = ["raises" "(" identifier *("," identifier) ")"] attributes = "[" attribute *("," attribute) "]" attribute = (identifier / const) ["(" (identifier / iid) ")"] param = [attributes] ("in" / "out" / "inout") identifier identifier number = ...
DOMException - Web APIs
readonlyerror the mutating operation was attempted in a "
readonly" transaction (no legacy code value and constant name). ...
...text, possibly because the user denied permission (no legacy code value and constant name). specifications specification status comment web idlthe definition of 'constructor' in that specification. candidate recommendation adds the constructor for the domexception class. adds the notreadableerror, unknownerror, constrainterror, dataerror, transactioninactiveerror,
readonlyerror, versionerror, operationerror, and notallowederror values. ...
DOMPointInit.w - Web APIs
there are two methods which use dompointinit: the static function dompoint
readonly.frompoint() takes an object that complies with dompointinit as its sole input parameter, to specify the coordinates and perspective value of the new point to be created. ...
... there are two methods which use dompointinit: the static function dompoint
readonly.frompoint() takes an object that complies with dompointinit as its sole input parameter, to specify the coordinates and perspective value of the new point to be created. this method is, by inheritance, also available as dompoint.frompoint(). the dompoint
readonly.tojson() method returns a dompointinit object that describes the same point as the original point. ...
DOMPointInit.x - Web APIs
if this property is missing when the dompointinit object is passed into frompoint(), the value is assumed to be 0 by default. dompointinit is used as an input when calling either dompoint
readonly.frompoint() or dompoint.frompoint(), and is returned by the dompoint
readonly.tojson() and dompoint.tojson() methods. ...
... dompointinit is used as an input when calling either dompoint
readonly.frompoint() or dompoint.frompoint(), and is returned by the dompoint
readonly.tojson() and dompoint.tojson() methods. ...
DOMPointInit - Web APIs
this same code will work to create a dompoint
readonly object; just change the interface name in the code. const pointdesc = { x: window.screenx, y: window.screeny, z: 5.0 }; const windtopleft = dompoint.frompoint(pointdesc) specifications specification status comment geometry interfaces module level 1the definition of 'dompoint
readonly.frompoint()' in that specification. ...
... const pointdesc = { x: window.screenx, y: window.screeny, z: 5.0 }; const windtopleft = dompoint.frompoint(pointdesc) specifications specification status comment geometry interfaces module level 1the definition of 'dompoint
readonly.frompoint()' in that specification. ...
EffectTiming.endDelay - Web APIs
the animation's end time—the time at which an iteration is considered to have finished—is the time at which the animation finishes an iteration (its initial delay, animationeffecttiming
readonly.delay, plus its duration,duration, plus its end delay. this is useful for sequencing animations based on the end time of another animation; note, however, that many of the sequence effectst that will benefit most from this property have not been defined in the specification yet. for now, its main purpose is to represent the value of the svg min attribute. element.animate(), keyframeeffect
readonly(), and keyfram...
... element.animate(), keyframeeffect
readonly(), and keyframeeffect() all accept an object of timing properties including enddelay. the value of enddelay corresponds directly to animationeffecttiming
readonly.enddelay in timing objects returned by animationeffect
readonly, keyframeeffect
readonly, and keyframeeffect. ...
FileHandle API - Web APIs
the filehandle.open() method provides such an object which can be
readonly or readwrite. any attempt to perform a write action on a
readonly lockedfile object will fail. ...
... var progress = document.queryselector('progress'); var myfile = myfilehandle.open('
readonly'); // let's read a 1gb file var action = myfile.readasarraybuffer(1000000000); action.onprogress = function (event) { if (progress) { progress.value = event.loaded; progress.max = event.total; } } action.onsuccess = function () { console.log('yeah \o/ just read a 1gb file'); } action.onerror = function () { console.log('oups :( unable to read a 1gb file') } file storage ...
IDBCursorSync - Web APIs
method overview bool continue (in optional any key); void remove () raises (idbdatabaseexception); attributes attribute type description count
readonly unsigned long long the total number of objects that share the current key. direction
readonly unsigned short the direction of traversal of the cursor. see constants for possible values. key
readonly any the key for the record at the cursor's position. ...
... key
readonly any the key for the record at the cursor's position. ...
IntersectionObserverEntry - Web APIs
the bounds are computed as described in the documentation for element.getboundingclientrect(). intersectionobserverentry.intersectionratio read only returns the ratio of the intersectionrect to the boundingclientrect. intersectionobserverentry.intersectionrect read only returns a domrect
readonly representing the target's visible area. ...
... intersectionobserverentry.rootbounds read only returns a domrect
readonly for the intersection observer's root. ...
MediaStreamTrack - Web APIs
mediastreamtrack.
readonly read only returns a boolean value with a value of true if the track is
readonly (such a video file source or a camera that settings can't be modified), false otherwise. ...
... mediastreamtrack.
readonly read only returns a boolean value with a value of true if the track is
readonly (such a video file source or a camera that settings can't be modified), false otherwise. ...
SVGAnimatedPoints - Web APIs
interface overview also implement none methods none properties
readonly svgpointlist points
readonly svgpointlist animatedpoints normative document svg 1.1 (2nd edition) properties name type description points svgpointlist provides access to the base (i.e., static) contents of the points attribute. ...
... interface overview also implement none methods none properties
readonly svgpointlist points
readonly svgpointlist animatedpoints normative document svg 1.1 (2nd edition) properties name type description points svgpointlist provides access to the base (i.e., static) contents of the points attribute. ...
Web Animations API - Web APIs
effecttiming element.animate(), keyframeeffect
readonly.keyframeeffect
readonly(), and keyframeeffect.keyframeeffect() all accept an optional dictionary object of timing properties. ...
... effecttiming element.animate(), keyframeeffect
readonly.keyframeeffect
readonly(), and keyframeeffect.keyframeeffect() all accept an optional dictionary object of timing properties. ...
ARIA: grid role - Accessibility
aria-
readonly if the user can navigate the grid but not change the value or values of the grid, the aria-
readonly should be set to true. ...
... examples calendar example html <table role="grid" aria-labelledby="calendarheader" aria-
readonly=true> <caption id="calendarheader">september 2018</caption> <thead role="rowgroup"> <tr role="row"> <td></td> <th role="columnheader" aria-label="sunday">s</th> <th role="columnheader" aria-label="monday">m</th> <th role="columnheader" aria-label="tuesday">t</th> <th role="columnheader" aria-label="wednesday">w</th> <th role="columnheader" aria-label="t...
ARIA: switch role - Accessibility
aria-
readonly attribute the aria-
readonly attribute is supported by the switch role. ...
... aria-
readonly attribute the aria-
readonly attribute is supported by the switch role. ...
:read-only - CSS: Cascading Style Sheets
input:read-only, textarea:read-only { background-color: #ccc; } p:read-only { background-color: #ccc; } syntax :read-only examples confirming form information in read-only/read-write controls one use of
readonly form controls is to allow the user to check and verify information that they may have entered in an earlier form (for example, shipping details), while still being able to submit the information along with the rest of the form. ...
... input:-moz-read-only, textarea:-moz-read-only, input:read-only, textarea:read-only { border: 0; box-shadow: none; background-color: white; } textarea:-moz-read-write, textarea:read-write { box-shadow: inset 1px 1px 3px #ccc; border-radius: 5px; } you can find the full source code at
readonly-confirmation.html; this renders like so: styling read-only non-form controls this selector doesn't just select <input>/<textarea> elements — it will select any element that cannot be edited by the user. ...
:read-write - CSS: Cascading Style Sheets
input:read-write, textarea:read-write { background-color: #bbf; } p:read-write { background-color: #bbf; } syntax :read-write examples confirming form information in read-only/read-write controls one use of
readonly form controls is to allow the user to check and verify information that they may have entered in an earlier form (for example, shipping details), while still being able to submit the information along with the rest of the form. ...
... input:-moz-read-only, textarea:-moz-read-only, input:read-only, textarea:read-only { border: 0; box-shadow: none; background-color: white; } textarea:-moz-read-write, textarea:read-write { box-shadow: inset 1px 1px 3px #ccc; border-radius: 5px; } you can find the full source code at
readonly-confirmation.html; this renders like so: styling read-write non-form controls this selector doesn't just select <input>/<textarea> elements — it will select any element that can be edited by the user, such as a <p> element with contenteditable set on it. ...
<input type="search"> - HTML: Hypertext Markup Language
ocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid pattern a regular expression the input's contents must match in order to be valid placeholder an exemplar value to display in the input field whenever it is empty
readonly a boolean attribute indicating whether or not the contents of the input should be read-only size a number indicating how many characters wide the input field should be spellcheck controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used list the values of the list attribute is the id of a ...
...
readonly a boolean attribute which, if present, means this field cannot be edited by the user. its value can, however, still be changed by javascript code directly setting the htmlinputelement.value property. note: because a read-only field cannot have a value, required does not have any effect on inputs with the
readonly attribute also specified. ...
HTML documentation index - HTML: Hypertext Markup Language
46 html attribute:
readonly attribute, attributes, constraint validation, forms, required the boolean
readonly attribute, when present, makes the element not mutable, meaning the user can not edit the control. ...
... 46 html attribute:
readonly attribute, attributes, constraint validation, forms, required the boolean
readonly attribute, when present, makes the element not mutable, meaning the user can not edit the control. ...
Forms related code snippets - Archive of obsolete content
, span.zdp-increase-year { float: right; margin-left: 2px; } td.zdp-active-cell { padding: 1px 3px; cursor: pointer; color: #000000; text-align: center; vertical-align: middle; } td.zdp-active-cell:hover { background-color: #999999; cursor: pointer; } td.zdp-empty-cell { cursor: not-allowed; } </style> </head> <body> <form name="myform"> <p> from: <input type="text"
readonly class="date-picker" name="date-from" /> to: <input type="text"
readonly class="date-picker" name="date-to" /> </p> </form> </body> </html> note: the current implementation of const (constant statement) is not part of ecmascript 5. ...
jspage - Archive of obsolete content
ement.match(o,m))){if(!p){return document.id(o,r); }q.push(o);}o=o[l];}return(p)?new elements(q,{ddup:false,cash:!r}):null;};var e={html:"innerhtml","class":"classname","for":"htmlfor",defaultvalue:"defaultvalue",text:(browser.engine.trident||(browser.engine.webkit&&browser.engine.version<420))?"innertext":"textcontent"}; var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","
readonly","multiple","selected","noresize","defer"];var k=["value","type","defaultvalue","accesskey","cellpadding","cellspacing","colspan","frameborder","maxlength","
readonly","rowspan","tabindex","usemap"]; b=b.associate(b);hash.extend(e,b);hash.extend(e,k.associate(k.map(string.tolowercase)));var a={before:function(m,l){if(l.parentnode){l.parentnode.insertbefore(m,l); }},after:function(m,l){if(!l.parent...
Configuration - Archive of obsolete content
status turns the status messages on or off for this web app: yes or no location turns the
readonly location bar on or off for this web app: yes or no navigation turns the hotkey history navigation (alt+left, alt+right and alt+home) on or off for this web app: yes or no splashscreen filename of an html page to be displayed while the app is loading. ...
Binding Implementations - Archive of obsolete content
properties can be designated as constant using the
readonly attribute. when set to true, the property's value cannot be altered. if a property is
readonly and a setter is defined, then the setter is ignored. ...
Attribute (XUL) - Archive of obsolete content
archcomplete onselect ontextcommand ontextentered ontextrevert ontextreverted onunload onwizardback onwizardcancel onwizardfinish onwizardnext open ordinal orient pack pageid pageincrement pagestep parent parsetype persist persistence phase pickertooltiptext placeholder popup position predicate preference preference-editable primary priority properties querytype
readonly ref rel removeelement resizeafter resizebefore rows screenx screeny searchbutton searchsessions searchlabel selected selectedindex seltype setfocus showcaret showcommentcolumn showpopup size sizemode sizetopopup smoothscroll sort sortactive sortdirection sortresource sortresource2 spellcheck src state statedatasource statusbar statustext style subject substate ...
popup - Archive of obsolete content
« xul reference popup new in thunderbird 14 requires seamonkey 2.11 type: popup element should be set to the popup element that should appear when the user clicks on the textbox. note: this property is
readonly in thunderbird and seamonkey. ...
Property - Archive of obsolete content
next nomatch notificationshidden object observes onfirstpage onlastpage open ordinal orient pack pagecount pageid pageincrement pageindex pagestep parentcontainer palette persist persistence placeholder pmindicator popup popupboxobject popupopen position predicate preferenceelements preferencepanes preferences priority radiogroup
readonly readonly ref resource resultspopup scrollboxobject scrollincrement scrollheight scrollwidth searchbutton searchcount searchlabel searchparam searchsessions second secondleadingzero securityui selected selectedbrowser selectedcount selectedindex selecteditem selecteditems selectedpanel selectedtab selectionend selectionstart selstyle seltyp...
preferences - Archive of obsolete content
</preferences> attributes these ought to be
readonly; three of these could be merged into a single member attribute nsiprefservice service; the preferences service. ...
calICalendarView - Archive of obsolete content
interface code [scriptable, uuid(3e567ccb-2ecf-4f59-b7ca-bf42b0fbf24a)] interface calicalendarview : nsisupports { attribute calicalendar displaycalender; attribute calicalendarviewcontroller controller; void showdate(in calidatetime adate); void setdaterange(in calidatetime astartdate, in calidatetime aenddate);
readonly attribute calidatetime startdate;
readonly attribute calidatetime enddate;
readonly attribute boolean supportsdisjointdates;
readonly attribute boolean hasdisjointdates; void setdatelist(in unsigned long acount, [array,size_is(acount)] in calidatetime adates); void getdatelist(out unsigned long acount, [array,size_is(acount),retval] out calidatetime adates); attribute caliitembase s...
XForms Custom Controls Examples - Archive of obsolete content
> </binding> output showing xhtml <binding id="output-xhtml" extends="chrome://xforms/content/xforms-xhtml.xml#xformswidget-output"> <content> <children includes="label"/> <xhtml:div class="xf-value" anonid="content"></xhtml:div> <children/> </content> <implementation implements="nsixformsuiwidget"> <field name="_domparser">null</field> <property name="domparser"
readonly="true"> <getter> if (!this._domparser) this._domparser = new domparser(); return this._domparser; </getter> </property> <method name="refresh"> <body> // get new value, parse, and import it. ...
Quaternion - MDN Web Docs Glossary: Definitions of Web-related terms
while mathematical quaternions are more involved than this, the unit quaternions (or rotational quaternions) used to represent rotation while using webgl or webxr, for example, are represented using the same syntax as a 3d point. as such, the type dompoint (or dompoint
readonly) is used to store quaternions. ...
Basic native form controls - Learn web development
all basic text controls share some common behaviors: they can be marked as
readonly (the user cannot modify the input value but it is still sent with the rest of the form data) or disabled (the input value can't be modified and is never sent with the rest of the form data). ...
Advanced Svelte: Reactivity, lifecycle, accessibility - Learn web development
in the following example, the first three declarations are props, and the rest are exported values: <script> export let bar = 'optional default initial value' // prop export let baz = undefined // prop export let format = n => n.tofixed(2) // prop // these are
readonly export const thisis = '
readonly' // read-only export export function greet(name) { // read-only export alert(`hello ${name}!`) } export const greet = (name) => alert(`hello ${name}!`) // read-only export </script> with this in mind, let's go back to our use case. ...
Mozilla's Section 508 Compliance
2) java and in-page plugins cannot be used with the keyboard, so they must not be installed for keyboard-only users additional features for the keyboard: 1) find as you type allows for quick navigation to links and convenient text searching 2) browse with caret (f7 key toggles) allows users to select arbitrary content with the keyboard and move through content as if inside a
readonly editor. ...
HTTP Cache
kecallbacks cacheentry::invokecallbacks (entry atomic): called on: a new opener has been added to the fifo via an asyncopen call asynchronous result of cachefile open the writer throws the entry away the output stream of the entry has been opened or closed metadataready or setvalid on the entry has been called the entry has been doomed state == empty: on oper_
readonly flag use: oncacheentryavailable with null for the cache entry otherwise: state = writing opener is removed from the fifo and remembered as the current 'writer' oncacheentryavailable with anew = true and this entry is invoked (on the caller thread) for the writer state == ready: oncacheentrycheck with the entry is invoked on the first opener in fifo - on...
OS.File.Info
winattributes hidden boolean
readonly boolean system boolean macos x macbirthdate a date representing the time at which the file was created. ...
Sqlite.jsm
await conn.close(); throw e; } clone(
readonly) this function returns a clone of the current connection-promise. these functions receive the following arguments:
readonly (optional) if true the clone will be read-only, default is false. ...
PR_CreateFileMap
read-only access. pr_prot_readwrite. readable, and write is shared. pr_prot_writecopy. readable, and write is private (copy-on-write). returns if successful, a file mapping of type prfilemap. if unsuccessful, null. description the prfilemapprotect enumeration used in the prot parameter is defined as follows: typedef enum prfilemapprotect { pr_prot_
readonly, pr_prot_readwrit...
Cryptography functions
3.2 and later pk11_isfips mxr 3.2 and later pk11_isdisabled mxr 3.4 and later pk11_isfriendly mxr 3.2 and later pk11_ishw mxr 3.2 and later pk11_isinternal mxr 3.2 and later pk11_ispresent mxr 3.2 and later pk11_is
readonly mxr 3.2 and later pk11_isremovable mxr 3.12 and later pk11_ivfromparam mxr 3.2 and later pk11_keygen mxr 3.2 and later pk11_linkgenericobject mxr 3.9.2 and later pk11_listcerts mxr 3.2 and later. ...
Index
certprefix= keyprefix= secmod=secmod.db flags=
readonly " nss="trustorder=75 cipherorder=100 slotparams={0x00000001=[slotflags=rsa,rc4,rc2,des,dh,sha1,md5,md2,ssl,tls,aes,random askpw=any timeout=30 ] } flags=internal,critical" setting a default provider for security mechanisms multiple security modules may provide support for the same security mechanisms. ...
Python binding for NSS
on-nss/releases/pynss_release_0_10_0/src/ change log the following classes were added: initparameters initcontext the following module functions were added: nss.nss.nss_initialize() nss.nss.nss_init_context() nss.nss.nss_shutdown_context() nss.nss.nss_init_flags() the following constants were added: nss_init_
readonly nss_init_nocertdb nss_init_nomoddb nss_init_forceopen nss_init_norootinit nss_init_optimizespace nss_init_pk11threadsafe nss_init_pk11reload nss_init_nopk11finalize nss_init_reserved nss_init_cooperate the following file was added: test/setup_certs.py release 0.9.0 release date 2010-05-28 ...
FC_Initialize
nss_nodb_init(""), which initializes nss with no databases: "configdir='' certprefix='' keyprefix='' secmod='' flags=
readonly,nocertdb,nomod db,forceopen,optimizespace " mozilla firefox initializes nss with this string (on windows): "configdir='c:\\documents and settings\\wtc\\application data\\mozilla\\firefox\\profiles\\default.7tt' certprefix='' keyprefix='' secmod='secmod.db' flags=optimizespace manufacturerid='mozilla.org' librarydescription='psm internal crypto services' cryptotokendescription='generic crypto s...
NSS_Initialize
the flags parameter is a bitwise or of the following flags: nss_init_
readonly - open the databases read only. ...
NSS functions
3.2 and later pk11_isfips mxr 3.2 and later pk11_isdisabled mxr 3.4 and later pk11_isfriendly mxr 3.2 and later pk11_ishw mxr 3.2 and later pk11_isinternal mxr 3.2 and later pk11_ispresent mxr 3.2 and later pk11_is
readonly mxr 3.2 and later pk11_isremovable mxr 3.12 and later pk11_ivfromparam mxr 3.2 and later pk11_keygen mxr 3.2 and later pk11_linkgenericobject mxr 3.9.2 and later pk11_listcerts mxr 3.2 and later. ...
NSS tools : modutil
certprefix= keyprefix= secmod=secmod.db flags=
readonly " nss="trustorder=75 cipherorder=100 slotparams={0x00000001=[slotflags=rsa,rc4,rc2,des,dh,sha1,md5,md2,ssl,tls,aes,random askpw=any timeout=30 ] } flags=internal,critical" setting a default provider for security mechanisms multiple security modules may provide support for the same security mechanisms. ...
NSS reference
secmod_loadusermodule secmod_unloadusermodule secmod_closeuserdb secmod_openuserdb pk11_findcertfromnickname pk11_findkeybyanycert pk11_getslotname pk11_gettokenname pk11_ishw pk11_ispresent pk11_is
readonly pk11_setpasswordfunc ssl functions based on "ssl functions" in the ssl reference and "ssl functions" and "deprecated ssl functions" in nss public functions. ...
OLD SSL Reference
pk11_findcertfromnickname pk11_findkeybyanycert pk11_getslotname pk11_gettokenname pk11_ishw pk11_ispresent pk11_is
readonly pk11_setpasswordfunc chapter 8 nss and ssl error codes nss error codes are retrieved using the nspr function pr_geterror. ...
NSS tools : modutil
certprefix= keyprefix= secmod=secmod.db flags=
readonly " nss="trustorder=75 cipherorder=100 slotparams={0x00000001=[slotflags=rsa,rc4,rc2,des,dh,sha1,md5,md2,ssl,tls,aes,random askpw=any timeout=30 ] } flags=internal,critical" setting a default provider for security mechanisms multiple security modules may provide support for the same security mechanisms. ...
Index
385 js_linkconstructorandprototype jsapi reference, reference, référence(2), spidermonkey js_linkconstructorandprototype sets the prototype property of class constructor function, ctor, to prototype object, proto with jsprop_permanent | jsprop_
readonly flags, and sets the constructor property of proto to ctor with no flag. ...
JSAPI User Guide
my_width, my_funny, my_array, my_rdonly }; static jspropertyspec my_props[] = { {"color", my_color, jsprop_enumerate}, {"height", my_height, jsprop_enumerate}, {"width", my_width, jsprop_enumerate}, {"funny", my_funny, jsprop_enumerate}, {"array", my_array, jsprop_enumerate}, {"rdonly", my_rdonly, jsprop_
readonly}, {0} }; js_defineproperties(cx, obj, my_props); /* * given the above definitions and call to js_defineproperties, obj will * need this sort of "getter" method in its class (my_class, above). ...
JSConstDoubleSpec
jsprop_
readonly: property is read-only. jsprop_permanent: property cannot be deleted. jsprop_exported: property can be exported outside its object. jsprop_index: property is actually an array element. if this field is 0, js_defineconstdoubles uses the default attributes jsprop_
readonly | jsprop_permanent instead. ...
JS_DefineConstDoubles
the attributes for each property is set to jsprop_
readonly | jsprop_permanent. obsolete from jsapi 35 each property is automatically assigned attributes as specified in the flags field of the jsconstdoublespec/jsconstintegerspec structure pointed to by cds/cis. if flags is set to 0, the attributes for the property are automatically set to jsprop_permanent | jsprop_
readonly. ...
JS_DefineElement
while you can assign a setproperty method to a property and set flags to jsprop_
readonly, the setter method will not be called on this property. ...
JS_DefineProperty
(exception: if attrs contains the jsprop_
readonly flag, the setter will never be called, as property assignment will fail before it gets that far. ...
JS_LinkConstructorAndPrototype
description js_linkconstructorandprototype sets the prototype property of class constructor function, ctor, to prototype object, proto with jsprop_permanent | jsprop_
readonly flags, and sets the constructor property of proto to ctor with no flag. ...
nsIMsgFilter
throws an exception if the action is not label attribute nsmsglabelvalue label; junkscore attribute long junkscore; strvalue attribute autf8string strvalue; customid // action id if type is custom attribute acstring customid; customaction // custom action associated with customid // (which must be set prior to reading this attribute)
readonly attribute nsimsgfiltercustomaction customaction; methods addterm() void nsimsgfilter::addterm ( in nsmsgsearchattribvalue attrib, in nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in acstring arbitraryheader ) getterm() void nsimsgfilter::getterm ( in long termindex, ...
nsIMsgFilterCustomAction
opyservicelistener copylistener, in nsmsgfiltertypetype filtertype, in nsimsgwindow msgwindow); /* does this action start an async action? if so, a copy listener must * be used to continue filter processing after the action. this only * applies to after-the-fact (manual) filters. call onstopcopy when done * using the copylistener to continue. */
readonly attribute boolean isasync; /// does this action need the message body?
readonly attribute boolean needsbody; }; ...
nsIMsgFilterList
defined in comm-central/ mailnews/ base/ search/ public/ nsimsgfilterlist.idl attributes folder attribute nsimsgfolder nsimsgfilterlist::folder version
readonly attribute short nsimsgfilterlist::version arbitraryheaders
readonly attribute acstring nsimsgfilterlist::arbitraryheaders shoulddownloadallheaders
readonly attribute boolean nsimsgfilterlist::shoulddownloadallheaders filtercount
readonly attribute unsigned long nsimsgfilterlist::filtercount loggingenabled attribute boolean nsimsgfilterlist::loggingenabled defaultfile attribute nsilocalfile nsimsgfilterlist::defaultfile logstream attribute nsioutputstream nsimsgfilterlist::logstream logurl
readonly attribute acstring nsimsgfilterlist::logurl methods getfilterat() nsimsgfilter nsimsgfilterlist::getfilterat (in unsigned lon...
nsIMsgIdentity
requestreturnreceipt boolean
readonly: default request for return receipt option for this identity. if this is set, the return receipt menu item on the compose window will be checked. receiptheadertype long
readonly: requestdsn boolean
readonly: default request for dsn option for this identity. ...
nsIMsgRuleAction
throws an exception if the action is not label attribute nsmsglabelvalue label; // junkscore throws an exception if the action type is not junkscore attribute long junkscore; attribute autf8string strvalue; // action id if type is custom attribute acstring customid; // custom action associated with customid // (which must be set prior to reading this attribute)
readonly attribute nsimsgfiltercustomaction customaction; }; ...
nsIMsgSearchScopeTerm
defined in comm-central/ mailnews/ base/ search/ public/ nsimsgsearchscopeterm.idl [scriptable, uuid(934672c3-9b8f-488a-935d-87b4023fa0be)] interface nsimsgsearchscopeterm : nsisupports { nsiinputstream getinputstream(in nsimsgdbhdr ahdr); void closeinputstream();
readonly attribute nsimsgfolder folder;
readonly attribute nsimsgsearchsession searchsession; }; ...
nsIMsgSearchSession
chtype setsearchparam(in nsmsgsearchtype type, in voidptr param); [noscript] void addresultelement(in nsmsgresultelement element); boolean matchhdr(in nsimsgdbhdr amsghdr, in nsimsgdatabase adatabase); void addsearchhit(in nsimsgdbhdr header, in nsimsgfolder folder); attributes attribute type description searchterms nsisupportsarray
readonly: numsearchterms unsigned long
readonly: runningadapter nsimsgsearchadapter
readonly: searchparam voidptr not scriptable and
readonly: searchtype nsmsgsearchtype
readonly: numresults long
readonly: window nsimsgwindow constants name value description booleanor 0 ...
nsIMsgThread
subject acstring subject of the thread newestmsgdate unsigned long numchildren unsigned long
readonly: number of messages in the thread. numunreadchildren unsigned long
readonly: number of unread messages in the thread. ...
nsIMsgWindow
messagewindowdocshell nsidocshell
readonly: this retrieves the nsidocshell object for the message pane. you should not store this in a global variable. notificationcallbacks nsiinterfacerequestor these are currently used to set notification callbacks on protocol channels to handle things like bad cert exceptions. promptdialog nsiprompt
readonly: this is the equivalent of calling geti...
nsINavHistoryContainerResultNode
children
readonly boolean false if the node's list of children can be modified (by adding or removing children, or rearranging them), or true if the user interface should not allow the list of children to be altered. read-only. this is false for bookmark folder nodes unless the setfolder
readonly() method has been called to specifically make the folder read-only. ...
nsINavHistoryQueryOptions
exclude
readonlyfolders boolean set to true to exclude read-only folders from the query results. ...
nsIPasswordManager
void adduser(in autf8string ahost, in astring auser, in astring apassword); void removeuser(in autf8string ahost, in astring auser); void addreject(in autf8string ahost); void removereject(in autf8string ahost); attributes attribute type description enumerator nsisimpleenumerator
readonly: an enumeration of the stored usernames and passwords as nsipassword objects. enumerator nsisimpleenumerator
readonly: an enumeration of the rejected sites as nsipassword objects. ...
nsITelemetry
canrecordreleasedata
readonly boolean a flag indicating whether telemetry is recording release data. does not indicate whether telemetry will send any data. that is governed by user preference and other mechanisms. canrecordprereleasedata
readonly boolean a flag indicating whether telemetry is recording pre-release data. ...
nsIXPConnect
xt, in jsobjectptr ascope, in nsisupports acomobj, in nsiidref aiid); void wrapnativetojsval(in jscontextptr ajscontext, in jsobjectptr ascope, in nsisupports acomobj, in nswrappercacheptr acache, in nsiidptr aiid, in boolean aallowwrapper, out jsval aval, out nsixpconnectjsobjectholder aholder); attributes attribute type description collectgarbageonmainth
readonly prbool obsolete since gecko 1.9 currentjsstack nsistackframe read only. ...
nsIAbCard/Thunderbird3
l(in string name, in boolean value); void deleteproperty(in autf8string name); autf8string translateto(in autf8string atype); void copy(in nsiabcard srccard) boolean equals(in nsiabcard card) astring generatephoneticname(in boolean alastnamefirst) attributes attribute type description properties nsisimpleenumerator
readonly: a list of all the properties that this card has as an enumerator, whose members are all nsiproperty objects. ...
Address Book examples
use the nsiabcollection.
readonly attribute to determine the read-only status of an address book adding contacts create a card and set its properties using the nsiabcard interface (see the interface documentation for property names supported by the application): let card = components.classes["@mozilla.org/addressbook/cardproperty;1"] .createinstance(components.interfaces.nsiabcard); card.setproperty("fir...
Animation - Web APIs
animation.effect gets and sets the animationeffect
readonly associated with this animation. ...
BluetoothDevice - Web APIs
_top"><rect x="151" y="1" width="150" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="226" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">bluetoothdevice</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} interface interface bluetoothdevice {
readonly attribute domstring id;
readonly attribute domstring? name;
readonly attribute bluetoothremotegattserver? gatt;
readonly attribute frozenarray uuids; promise watchadvertisements(); void unwatchadvertisements();
readonly attribute boolean watchingadvertisements; }; bluetoothdevice implements eventtarget; bluetoothdevice implements bluetoothdeviceeventhandlers; bluetoothdevice implemen...
BluetoothRemoteGATTServer - Web APIs
interface interface bluetoothremotegattserver {
readonly attribute bluetoothdevice device;
readonly attribute boolean connected; promise<bluetoothremotegattserver> connect(); void disconnect(); promise<bluetoothremotegattservice> getprimaryservice(bluetoothserviceuuid service); promise<sequence<bluetoothremotegattservice>> getprimaryservices(optional bluetoothserviceuuid service); }; properties bluetoothremotegattserver.connectedread only a boolean value that returns true while this script execution environment is connected to this.device. ...
BluetoothRemoteGATTService - Web APIs
interface interface bluetoothremotegattservice : serviceeventhandlers {
readonly attribute uuid uuid;
readonly attribute boolean isprimary;
readonly attribute bluetoothdevice device; promise<bluetoothgattcharacteristic> getcharacteristic(bluetoothcharacteristicuuid characteristic); promise<sequence<bluetoothgattcharacteristic>> getcharacteristics(optional bluetoothcharacteristicuuid characteristic); promise<bluetoothgattservice> getincludedservice(bluetoothserviceuuid service); promise<sequence<bluetoothgattservice>> getincludedservices(optional bluetoothserviceuuid ...
CSSGroupingRule - Web APIs
interface cssgroupingrule : cssrule {
readonly attribute cssrulelist cssrules; unsigned long insertrule (domstring rule, unsigned long index); void deleterule (unsigned long index); } properties common to all cssgroupingrule instances the cssgroupingrule derives from cssrule and inherits all properties of this class. ...
CSSMediaRule - Web APIs
interface cssmediarule : cssconditionrule {
readonly attribute medialist media; } properties as a cssconditionrule, and therefore both a cssgroupingrule and a cssrule, cssmediarule also implements the properties of these interfaces. ...
CSS Object Model (CSSOM) - Web APIs
mathnegate cssmathproduct cssmathsum cssmathvalue cssmatrixcomponent cssnumericarray cssnumericvalue cssperspective csspositionvalue cssrotate cssscale cssskew cssskewx cssskewy cssstylevalue csstransformcomponent csstransformvalue csstranslate cssunitvalue cssunparsedvalue cssvariablereferencevalue stylepropertymap stylepropertymap
readonly obsolete cssom interfaces cssprimitivevalue cssvalue cssvaluelist tutorials determining the dimensions of elements (it needs some updating as it was made in the dhtml/ajax era). ...
DOMPointInit.y - Web APIs
there are two methods which use dompointinit: the static function dompoint
readonly.frompoint() takes an object that complies with dompointinit as its sole input parameter, to specify the coordinates and perspective value of the new point to be created. this method is, by inheritance, also available as dompoint.frompoint(). the dompoint
readonly.tojson() method returns a dompointinit object that describes the same point as the original point. ...
DOMPointInit.z - Web APIs
there are two methods which use dompointinit: the static function dompoint
readonly.frompoint() takes an object that complies with dompointinit as its sole input parameter, to specify the coordinates and perspective value of the new point to be created. this method is, by inheritance, also available as dompoint.frompoint(). the dompoint
readonly.tojson() method returns a dompointinit object that describes the same point as the original point. ...
Document: DOMContentLoaded event - Web APIs
ole.info('dom loaded'); } if (document.readystate === 'loading') { // loading hasn't finished yet document.addeventlistener('domcontentloaded', dosomething); } else { // `domcontentloaded` has already fired dosomething(); } live example html <div class="controls"> <button id="reload" type="button">reload</button> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="30"></textarea> </div> css body { display: grid; grid-template-areas: "control log"; } .controls { grid-area: control; display: flex; align-items: center; justify-content: center; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } #reload { height: 2rem; } js const log...
Document: readystatechange event - Web APIs
bubbles no cancelable no interface event event handler property onreadystatechange examples live example html <div class="controls"> <button id="reload" type="button">reload</button> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="30"></textarea> </div> css body { display: grid; grid-template-areas: "control log"; } .controls { grid-area: control; display: flex; align-items: center; justify-content: center; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } #reload { height: 2rem; } js const log...
EffectTiming.fill - Web APIs
"auto" if the animation effect the fill mode is being applied to is a keyframe effect (keyframeeffect or keyframeeffect
readonly), "auto" is equivalent to "none". ...
EffectTiming.iterations - Web APIs
element.animate(), keyframeeffect
readonly(), and keyframeeffect() all accept an object of timing properties including iterations. the value of iterations corresponds directly to animationeffecttiming
readonly.iterations in timing objects returned by animationeffect
readonly, keyframeeffect
readonly, and keyframeeffect. ...
Element: compositionend event - Web APIs
istener('compositionend', (event) => { console.log(`generated characters were: ${event.data}`); }); live example html <div class="control"> <label for="name">on macos, click in the textbox below,<br> then type <kbd>option</kbd> + <kbd>`</kbd>, then <kbd>a</kbd>:</label> <input type="text" id="example" name="example"> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="25"></textarea> <button class="clear-log">clear</button> </div> css body { padding: .2rem; display: grid; grid-template-areas: "control log"; } .control { grid-area: control; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } input[type="text"] { margin: .5rem 0; } kbd { b...
Element: compositionstart event - Web APIs
tener('compositionstart', (event) => { console.log(`generated characters were: ${event.data}`); }); live example html <div class="control"> <label for="name">on macos, click in the textbox below,<br> then type <kbd>option</kbd> + <kbd>`</kbd>, then <kbd>a</kbd>:</label> <input type="text" id="example" name="example"> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="25"></textarea> <button class="clear-log">clear</button> </div> css body { padding: .2rem; display: grid; grid-template-areas: "control log"; } .control { grid-area: control; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } input[type="text"] { margin: .5rem 0; } kbd { b...
Element: compositionupdate event - Web APIs
ener('compositionupdate', (event) => { console.log(`generated characters were: ${event.data}`); }); live example html <div class="control"> <label for="name">on macos, click in the textbox below,<br> then type <kbd>option</kbd> + <kbd>`</kbd>, then <kbd>a</kbd>:</label> <input type="text" id="example" name="example"> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="25"></textarea> <button class="clear-log">clear</button> </div> css body { padding: .2rem; display: grid; grid-template-areas: "control log"; } .control { grid-area: control; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } input[type="text"] { margin: .5rem 0; } kbd { b...
Element: error event - Web APIs
examples live example html <div class="controls"> <button id="img-error" type="button">generate image error</button> <img class="bad-img" /> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="30"></textarea> </div> css body { display: grid; grid-template-areas: "control log"; } .controls { grid-area: control; display: flex; align-items: center; justify-content: center; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } button { height: 2rem; margin: .5rem; } ...
Element - Web APIs
element.computedstylemap() returns a stylepropertymap
readonly interface which provides a read-only representation of a css declaration block that is an alternative to cssstyledeclaration. ...
FileReader: abort event - Web APIs
html <div class="example"> <div class="file-select"> <label for="avatar">choose a profile picture:</label> <input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg"> </div> <img src="" class="preview" height="200" alt="image preview..."> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css img.preview { margin: 1rem 0; } .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "select log" "preview log"; } .file-select { grid-area: select; } .preview { grid-area: prev...
FileReader: load event - Web APIs
html <div class="example"> <div class="file-select"> <label for="avatar">choose a profile picture:</label> <input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg"> </div> <img src="" class="preview" height="200" alt="image preview..."> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css img.preview { margin: 1rem 0; } .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "select log" "preview log"; } .file-select { grid-area: select; } .preview { grid-area: prev...
FileReader: loadend event - Web APIs
html <div class="example"> <div class="file-select"> <label for="avatar">choose a profile picture:</label> <input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg"> </div> <img src="" class="preview" height="200" alt="image preview..."> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css img.preview { margin: 1rem 0; } .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "select log" "preview log"; } .file-select { grid-area: select; } .preview { grid-area: prev...
FileReader: loadstart event - Web APIs
html <div class="example"> <div class="file-select"> <label for="avatar">choose a profile picture:</label> <input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg"> </div> <img src="" class="preview" height="200" alt="image preview..."> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css img.preview { margin: 1rem 0; } .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "select log" "preview log"; } .file-select { grid-area: select; } .preview { grid-area: prev...
FileReader: progress event - Web APIs
html <div class="example"> <div class="file-select"> <label for="avatar">choose a profile picture:</label> <input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg"> </div> <img src="" class="preview" height="200" alt="image preview..."> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css img.preview { margin: 1rem 0; } .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "select log" "preview log"; } .file-select { grid-area: select; } .preview { grid-area: prev...
FileSystemEntrySync - Web APIs
irectoryentrysync parent, optional domstring newname) raises (fileexception); filesystementrysync copyto(in directoryentrysync parent, optional domstring newname) raises (fileexception); domstring tourl(); void remove() raises (fileexception); directoryentrysync getparent(); attributes attribute type description filesystem
readonly filesystemsync the file system where the entry resides. fullpath
readonly domstring the full absolute path from the root to the entry. an absolute path is a relative path from the root directory, prepended with a '/'. isdirectory
readonly boolean true if filesystementrysync is a directory. isfile
readonly boolean true if the filesyste...
FileSystemSync - Web APIs
attributes attribute type description name
readonly domstring name of the file system. the name must be unique across the list of exposed file systems. root
readonly directoryentry the root directory of the file system. ...
Gamepad.axes - Web APIs
syntax
readonly attribute double[] axes; example function gameloop() { if(navigator.webkitgetgamepads) { var gp = navigator.webkitgetgamepads()[0]; } else { var gp = navigator.getgamepads()[0]; } if(gp.axes[0] != 0) { b -= gp.axes[0]; } else if(gp.axes[1] != 0) { a += gp.axes[1]; } else if(gp.axes[2] != 0) { b += gp.axes[2]; } else if(gp.axes[3] != 0) { a -= gp.axes[3]; } ball.style.left = a*2 + "px"; ball.style.top = ...
Gamepad.buttons - Web APIs
syntax
readonly attribute gamepadbutton[] buttons; example the following code is taken from my gamepad api button demo (you can view the demo live, and find the source code on github.) note the code fork — in chrome navigator.getgamepads needs a webkit prefix and the button values are stores as an array of double values, whereas in firefox navigator.getgamepads doesn't need a prefix, and the button va...
Gamepad.connected - Web APIs
syntax
readonly attribute boolean connected; example var gp = navigator.getgamepads()[0]; console.log(gp.connected); value a boolean. ...
Gamepad.id - Web APIs
syntax
readonly attribute domstring id; example window.addeventlistener("gamepadconnected", function() { var gp = navigator.getgamepads()[0]; gamepadinfo.innerhtml = "gamepad connected at index " + gp.index + ": " + gp.id + "."; }); value a string. ...
Gamepad.index - Web APIs
syntax
readonly attribute long index; example window.addeventlistener("gamepadconnected", function() { var gp = navigator.getgamepads()[0]; gamepadinfo.innerhtml = "gamepad connected at index " + gp.index + ": " + gp.id + "."; }); value a number. ...
Gamepad.mapping - Web APIs
if the browser is able to map controls on the device to that layout the mapping property will be set to the string standard. syntax
readonly attribute domstring mapping; example var gp = navigator.getgamepads()[0]; console.log(gp.mapping); value a string. ...
Gamepad.timestamp - Web APIs
note: this property is not currently supported anywhere. syntax
readonly attribute domhighrestimestamp timestamp; example var gp = navigator.getgamepads()[0]; console.log(gp.timestamp); value a domhighrestimestamp. ...
GamepadButton.value - Web APIs
syntax
readonly attribute double value; example var gp = navigator.getgamepads()[0]; if(gp.buttons[0].value > 0) { // respond to analog button being pressed in } value a double. ...
HTMLElement.innerText - Web APIs
html <h3>source element:</h3> <p id="source"> <style>#source { color: red; } #text { text-transform: uppercase; }</style> <span id=text>take a look at<br>how this text<br>is interpreted below.</span> <span style="display:none">hidden text</span> </p> <h3>result of textcontent:</h3> <textarea id="textcontentoutput" rows="6" cols="30"
readonly>...</textarea> <h3>result of innertext:</h3> <textarea id="innertextoutput" rows="6" cols="30"
readonly>...</textarea> javascript const source = document.getelementbyid("source"); const textcontentoutput = document.getelementbyid("textcontentoutput"); const innertextoutput = document.getelementbyid("innertextoutput"); textcontentoutput.value = source.textcontent; innertextoutput.value = source...
HTMLMediaElement: loadstart event - Web APIs
bubbles no cancelable no interface event event handler property onloadstart examples live example html <div class="example"> <button type="button">load video</button> <video controls width="250"></video> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "button log" "video log"; } button { grid-area: button; width: 10rem; margin: .5rem 0; } video { grid-area: video; } .event-...
HTMLMediaElement: progress event - Web APIs
bubbles no cancelable no interface event event handler property onprogress examples live example html <div class="example"> <button type="button">load video</button> <video controls width="250"></video> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents"></textarea> </div> </div> css .event-log-contents { width: 18rem; height: 5rem; border: 1px solid black; margin: .2rem; padding: .2rem; } .example { display: grid; grid-template-areas: "button log" "video log"; } button { grid-area: button; width: 10rem; margin: .5rem 0; } video { grid-area: video; } .event-...
IDBCursor.advance() - Web APIs
for a complete working example, see our idbcursor example (view example live.) function advanceresult() { list.innerhtml = ''; var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); cursor.advance(2); } else...
IDBCursor.continue() - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log(...
IDBCursor.direction - Web APIs
for a complete working example, see our idbcursor example (view example live.) function backwards() { list.innerhtml = ''; var transaction = db.transaction(['rushalbumlist'], '
readonly'); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor(null,'prev').onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); console...
IDBCursor.key - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.key); cursor.continue(); ...
IDBCursor.primaryKey - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.primarykey); cursor.conti...
IDBCursor.request - Web APIs
for example: function displaydata() { list.innerhtml = ''; var transaction = db.transaction(['rushalbumlist'], '
readonly'); var objectstore = transaction.objectstore('rushalbumlist'); var request = objectstore.opencursor(); request.onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); ...
IDBCursor.source - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.source); cursor.continue(...
IDBCursor - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log(...
IDBCursorWithValue.value - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.value); cursor.continue()...
IDBCursorWithValue - Web APIs
for a complete working example, see our idbcursor example (view example live.) function displaydata() { var transaction = db.transaction(['rushalbumlist'], "
readonly"); var objectstore = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log(...
IDBDatabase.transaction() - Web APIs
transactions are opened in one of three modes:
readonly, readwrite and readwriteflush (non-standard, firefox-only.) versionchange mode can't be specified here. if you don't provide the parameter, the default access mode is
readonly. ...
IDBDatabaseSync - Web APIs
aises (idbdatabaseexception); void removeobjectstore (in domstring storename) raises (idbdatabaseexception); void setversion (in domstring version); idbtransactionsync transaction (in optional domstringlist storenames, in optional unsigned int timeout) raises (idbdatabaseexception); attributes attribute type description description
readonly domstring the human-readable description of the connected database. name
readonly domstring the name of the connected database. objectstores
readonly domstringlist the names of the object stores that exist in the connected database. version
readonly domstring the version of the connected database. ...
IDBEnvironmentSync - Web APIs
the unimplemented idbenvironmentsync interface of the indexeddb api will be implemented by worker objects. attributes attribute type description indexeddbsync
readonly idbfactorysync provides a synchronous means of accessing the capabilities of indexed databases. ...
IDBIndex.count() - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); var countrequest = myindex.count(); countrequest.onsuccess = function() { console.log(countrequest.result); } myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tabl...
IDBIndex.get() - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); var getrequest = myindex.get('bungle'); getrequest.onsuccess = function() { console.log(getrequest.result); } myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tabl...
IDBIndex.getKey() - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); var getkeyrequest = myindex.getkey('bungle'); getkeyrequest.onsuccess = function() { console.log(getkeyrequest.result); } myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr')...
IDBIndex.isAutoLocale - Web APIs
function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.isautolocale); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + ...
IDBIndex.keyPath - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.keypath); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>...
IDBIndex.locale - Web APIs
function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.locale); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>'...
IDBIndex.multiEntry - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.multientry); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<...
IDBIndex.name - Web APIs
function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.name); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>' +...
IDBIndex.objectStore - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.objectstore); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '...
IDBIndex.openCursor() - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>' + cursor.value.lname + '</td>'...
IDBIndex.openKeyCursor() - Web APIs
function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); myindex.openkeycursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.key + '</td>' + '<td>' + cursor.primarykey + '</td>'; ...
IDBIndex.unique - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); console.log(myindex.unique); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>'...
IDBIndex - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>' + cursor.value.lname + '</td>' ...
IDBIndexSync - Web APIs
n) raises (idbdatabaseexception); void openobjectcursor (in optional idbkeyrange range, in optional unsigned short direction) raises (idbdatabaseexception); any put (in any value, in optional any key) raises (idbdatabaseexception); void remove (in any key) raises (idbdatabaseexception); attributes attribute type description keypath
readonly domstring the key path of this index. if this attribute is null, this index is not auto-populated. name
readonly domstring the name of this index. storename
readonly domstring this index's referenced object store. unique
readonly boolean if true, a key can have only one value within the index; if false, a key can have duplicate values. ...
IDBKeyRange.bound() - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at the idbkeyrange directory in the indexeddb-examples repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.bound("a", "f"); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.lower - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.bound("f", "w", true, true); console.log(keyrangevalue.lower); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.lowerBound() - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.lowerbound("f"); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.lowerOpen - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.bound("f", "w", true, true); console.log(keyrangevalue.loweropen); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.only() - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.only("a"); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.upper - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.bound("f", "w", true, true); console.log(keyrangevalue.upper); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.upperBound() - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.upperbound("f"); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange.upperOpen - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.bound("f", "w", true, true); console.log(keyrangevalue.upperopen); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.conti...
IDBKeyRange - Web APIs
note: for a more complete example allowing you to experiment with key range, have a look at our idbkeyrange-example repo (view the example live too.) function displaydata() { var keyrangevalue = idbkeyrange.bound("a", "f"); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); ...
IDBLocaleAwareKeyRange - Web APIs
examples function displaydata() { var keyrangevalue = idblocaleawarekeyrange.bound("a", "f"); var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); var myindex = objectstore.index('lname'); myindex.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>' + cur...
FileHandle.open() - Web APIs
summary the open method returns a lockedfile object that allows to safely write in the file. syntax var myfile = instanceoffilehandle.open(mode); parameters mode a string that specifies the writing mode for the file. it can be
readonly or readwrite. ...
IDBObjectStore.add() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description
readonlyerror the transaction associated with this operation is in read-only mode. ...
IDBObjectStore.clear() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description
readonlyerror the transaction associated with this operation is in read-only mode. ...
IDBObjectStore.count() - Web APIs
var transaction = db.transaction(['fthings'], '
readonly'); var objectstore = transaction.objectstore('fthings'); var countrequest = objectstore.count(); countrequest.onsuccess = function() { console.log(countrequest.result); } specification specification status comment indexed database api 2.0the definition of 'count()' in that specification. ...
IDBObjectStore.index() - Web APIs
for a complete working example, see our idbindex-example demo repo (view the example live.) function displaydatabyindex() { tableentry.innerhtml = ''; var transaction = db.transaction(['contactslist'], '
readonly'); var objectstore = transaction.objectstore('contactslist'); var myindex = objectstore.index('lname'); myindex.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.value.id + '</td>' + '<td>' + cursor.value.lname + '</td>' ...
IDBObjectStore.openCursor() - Web APIs
example in this simple fragment we create a transaction, retrieve an object store, then use a cursor to iterate through all the records in the object store: var transaction = db.transaction("name", "
readonly"); var objectstore = transaction.objectstore("name"); var request = objectstore.opencursor(); request.onsuccess = function(event) { var cursor = event.target.result; if(cursor) { // cursor.value contains the current record being iterated through // this is where you'd do something with the result cursor.continue(); } else { // no more results } }; specification ...
IDBObjectStore.openKeyCursor() - Web APIs
example in this simple fragment we create a transaction, retrieve an object store, then use a cursor to iterate through all the records in the object store: var transaction = db.transaction("name", "
readonly"); var objectstore = transaction.objectstore("name"); var request = objectstore.openkeycursor(); request.onsuccess = function(event) { var cursor = event.target.result; if(cursor) { // cursor.key contains the key of the current record being iterated through // note that there is no cursor.value, unlike for opencursor // this is where you'd do something with the result cursor.c...
IDBObjectStore.put() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description
readonlyerror the transaction associated with this operation is in read-only mode. ...
IDBObjectStoreSync - Web APIs
idbindexsync openindex (in domstring name) raises (idbdatabaseexception); any put (in any value, in optional any key) raises (idbdatabaseexception); void remove (in any key) raises (idbdatabaseexception); void removeindex (in domstring indexname) raises (idbdatabaseexception); attributes attribute type description indexnames
readonly domstringlist a list of the names of the indexes on this object store. keypath
readonly domstring the key path of this object store. if this attribute is set to null, then the application must provide a key for each modification operation. mode
readonly unsigned short the mode for isolating access to the data in this object store. ...
IDBTransaction.mode - Web APIs
syntax var mycurrentmode = idbtransaction.mode; value an idbtransactionmode object defining the mode for isolating access to data in the current object stores: value explanation
readonly allows data to be read but not changed. ...
IDBTransaction - Web APIs
(bug 888598) transactions can have one of three modes: constant value description read_only "
readonly" (0 in chrome) allows data to be read but not changed. ...
SVGPathSegList - Web APIs
gned long index) svgpathseg insertitembefore(in svgpathseg newitem, in unsigned long index) svgpathseg replaceitem(in svgpathseg newitem, in unsigned long index) svgpathseg removeitem(in unsigned long index) svgpathseg appenditem(in svgpathseg newitem) properties
readonly unsigned long numberofitems normative document svg 1.1 (2nd edition) properties name type description numberofitemsread only unsigned long the number of items in the list. ...
SVGPointList - Web APIs
svgpoint getitem(in unsigned long index) svgpoint insertitembefore(in svgpoint newitem, in unsigned long index) svgpoint replaceitem(in svgpoint newitem, in unsigned long index) svgpoint removeitem(in unsigned long index) svgpoint appenditem(in svgpoint newitem) properties
readonly unsigned long numberofitems normative document svg 1.1 (2nd edition) properties name type description numberofitems unsigned long the number of items in the list. ...
SVGRect - Web APIs
methods this interface also inherits properties from its parent, domrect
readonly. ...
SVGStringList - Web APIs
void clear() domstring initialize(in domstring newitem) domstring getitem(in unsigned long index) domstring insertitembefore(in domstring newitem, in unsigned long index) domstring replaceitem(in domstring newitem, in unsigned long index) domstring removeitem(in unsigned long index) domstring appenditem(in domstring newitem) properties
readonly unsigned long numberofitems
readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type description numberofitems unsigned long the number of items in the list. ...
SVGStylable - Web APIs
interface overview also implement none methods cssvalue getpresentationattribute(in domstring name) properties
readonly svganimatedstring classname
readonly cssstyledeclaration style normative document svg 1.1 (2nd edition) properties name type description classname svganimatedstring corresponds to attribute class on the given element. ...
SVGTransform - Web APIs
interface overview also implement none methods void setmatrix(in svgmatrix matrix) void settranslate(in float tx, in float ty) void setscale(in float sx, in float sy) void setrotate(in float angle, in float cx, in float cy) void setskewx(in float angle) void setskewy(in float angle) properties
readonly unsigned short type
readonly float angle
readonly svgmatrix matrix constants svg_transform_unknown = 0 svg_transform_matrix = 1 svg_transform_translate = 2 svg_transform_scale = 3 svg_transform_rotate = 4 svg_transform_skewx = 5 svg_transform_skewy = 6 normative document svg 1.1 (2nd edition) const...
SVGTransformList - Web APIs
vgtransform insertitembefore(in svgtransform newitem, in unsigned long index) svgtransform replaceitem(in svgtransform newitem, in unsigned long index) svgtransform removeitem(in unsigned long index) svgtransform appenditem(in svgtransform newitem) svgtransform createsvgtransformfrommatrix(in svgmatrix) svgtransform consolidate() properties
readonly unsigned long numberofitems
readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type description numberofitems unsigned long the number of items in the list. ...
URL API - Web APIs
url api interfaces the url api is a simple one, with only a couple of interfaces to its name: url urlsearchparams older versions of the specification included an interface called urlutils
readonly, which has since been merged into the workerlocation interface. ...
Using bounded reference spaces - Web APIs
this property contains an array of dompoint
readonly objects, each of which defines one of the points making up the space's border, moving around the room in clockwise order. ...
Window: error event - Web APIs
examples live example html <div class="controls"> <button id="script-error" type="button">generate script error</button> <img class="bad-img" /> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="30"></textarea> </div> css body { display: grid; grid-template-areas: "control log"; } .controls { grid-area: control; display: flex; align-items: center; justify-content: center; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } button { height: 2rem; margin: .5rem; } ...
Window: load event - Web APIs
fully loaded: window.addeventlistener('load', (event) => { console.log('page is fully loaded'); }); the same, but using the onload event handler property: window.onload = (event) => { console.log('page is fully loaded'); }; live example html <div class="controls"> <button id="reload" type="button">reload</button> </div> <div class="event-log"> <label>event log:</label> <textarea
readonly class="event-log-contents" rows="8" cols="30"></textarea> </div> css body { display: grid; grid-template-areas: "control log"; } .controls { grid-area: control; display: flex; align-items: center; justify-content: center; } .event-log { grid-area: log; } .event-log-contents { resize: none; } label, button { display: block; } #reload { height: 2rem; } js const log ...
XMLHttpRequest: abort event - Web APIs
event handler property onabort examples live example html <div class="controls"> <input class="xhr success" type="button" name="xhr" value="click to start xhr (success)" /> <input class="xhr error" type="button" name="xhr" value="click to start xhr (error)" /> <input class="xhr abort" type="button" name="xhr" value="click to start xhr (abort)" /> </div> <textarea
readonly class="event-log"></textarea> css .event-log { width: 25rem; height: 4rem; border: 1px solid black; margin: .5rem; padding: .2rem; } input { width: 11rem; margin: .5rem; } js const xhrbuttonsuccess = document.queryselector('.xhr.success'); const xhrbuttonerror = document.queryselector('.xhr.error'); const xhrbuttonabort = document.queryselector('.xhr.abort'); c...
XMLHttpRequest: error event - Web APIs
event handler property onerror examples live example html <div class="controls"> <input class="xhr success" type="button" name="xhr" value="click to start xhr (success)" /> <input class="xhr error" type="button" name="xhr" value="click to start xhr (error)" /> <input class="xhr abort" type="button" name="xhr" value="click to start xhr (abort)" /> </div> <textarea
readonly class="event-log"></textarea> css .event-log { width: 25rem; height: 4rem; border: 1px solid black; margin: .5rem; padding: .2rem; } input { width: 11rem; margin: .5rem; } js const xhrbuttonsuccess = document.queryselector('.xhr.success'); const xhrbuttonerror = document.queryselector('.xhr.error'); const xhrbuttonabort = document.queryselector('.xhr.abort'); c...
<input type="date"> - HTML: Hypertext Markup Language
among browsers with custom interfaces for selecting dates are chrome and opera, whose data control looks like so: the edge date control looks like: and the firefox date control looks like this: value a domstring representing a date in yyyy-mm-dd format, or empty events change and input supported common attributes autocomplete, list,
readonly, and step idl attributes list, value, valueasdate, valueasnumber. ...
<input type="range"> - HTML: Hypertext Markup Language
note: the following input attributes do not apply to the input range: accept, alt, checked, dirname, formaction, formenctype, formmethod, formnovalidate, formtarget, height, maxlength, minlength, multiple, pattern, placeholder,
readonly, required, size, src, and width. ...
Media - Progressive web apps (PWAs)
for example, an element that is disabled or read-only has the disabled attribute or the
readonly attribute. selectors can specify these attributes like any other attributes, by using square brackets: [disabled] or [
readonly]. ...
<a> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural elementsgradient elemen...
<circle> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic shape element, graphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specificati...
<ellipse> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic shape element, graphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specificati...
<foreignObject> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesnonepermitted contentany elements or character data specifications specification status comment scalable vector graphics (svg) 2the definitio...
<g> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural ele...
<line> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic shape element, graphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specificati...
<marker> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural elementsgradient elemen...
<path> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesgraphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specifications specifi...
<polygon> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic shape element, graphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specificati...
<polyline> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic shape element, graphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specificati...
<rect> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic shape element, graphics element, shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specificati...
<svg> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural ele...
<symbol> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural ele...
<text> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesgraphics element, text content elementpermitted contentcharacter data and any number of the following elements, in any order:animation elementsdescriptive elementstext con...
<textPath> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role xlink attributes xlink:title usage notes categoriestext content element, text content child elementpermitted contentcharacter data and any number of the following elements, in any order:descr...
<tspan> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriestext content element, text content child elementpermitted contentcharacter data and any number of the following elements, in any order:descriptive elements<a>, <altglyph>,...
<use> - SVG: Scalable Vector Graphics
, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-dropeffect, aria-errormessage, aria-expanded, aria-flowto, aria-grabbed, aria-haspopup, aria-hidden, aria-invalid, aria-keyshortcuts, aria-label, aria-labelledby, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-
readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role xlink attributes xlink:href, xlink:title usage notes categoriesgraphics element, graphics referencing element, structural elementpermitted contentany number of the following elements, in any...
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
svg root and <foreignobject> not overflow:hidden in ua style sheet implementation status unknown allow overflow: auto; to clip and show scroll bars implementation status unknown allow overflow: scroll; to show scroll bars on <svg> elements implementation status unknown basic data types and interfaces change notes dommatrix or dommatrix
readonly instead of svgmatrix implementation status unknown domrect or domrect
readonly instead of svgrect implementation status unknown dompoint or dompoint
readonly instead of svgpoint implementation status unknown members of svgstylable and svglangspace available in svgelement implementation status unknown svggraphicselement instead of svglocatable and svgt...