Search completed in 1.34 seconds.
Video presentations - Archive of obsolete content
mozilla is actively working to produce video
presentations that can help you learn how the mozilla codebase works and how to take advantage of its technology in your own applications and extensions.
... this article is a jumping-off point to help you find those
presentations.
... architecture these
presentations provide an architectural overview of the codebase.
...And 7 more matches
Using the presentation role - Accessibility
this technique demonstrates how to use the
presentation role and describes the effect it has on browsers and assistive technology.
... the
presentation role is used to remove semantic meaning from an element and any of its related child elements.
... for example, a table used for layout purposes could have the
presentation role applied to the table element to remove any semantic meaning from the table element and any of its table related children elements, such as table headers and table data elements.
...And 2 more matches
XTech 2006 Presentations - Archive of obsolete content
svg and canvas: graphics for web apps - vladimir vukićević this
presentation examines some of the strengths and weaknesses of the html 'canvas' and svg for adding rich graphical capabilities to web applications.
... converging rich-client and web application development with mozilla xulrunner (open office format) - benjamin smedberg this
presentation demonstrates the convergence of rich-client and web application development and discuss application deployment using mozilla xulrunner.
... etna, a wysiwyg xml relax ng- and gecko-based editor - daniel glazman this
presentation describes etna, a new wysiwyg xml editor based on gecko, the relax ng parser and validator disruptive innovations implemented for it and its query api, and relax ng extensions that were necessary to solve very old and well known problems in markup languages.
SVG Presentation Attributes - SVG: Scalable Vector Graphics
svg
presentation attributes are css properties that can be used as attributes on svg elements.
... value: nonezero|evenodd|inherit; animatable: yes color it provides a potential indirect value (currentcolor) for the fill, stroke, stop-color, flood-color and lighting-color
presentation attributes.
Index - Web APIs
466 cssstylerule.selectortext api, cssom, cssstylerule, reference the cssrule.selectortext property gets the textual re
presentation of the selector for the rule set.
... 1026 introduction to the dom beginner, dom, document, guide, html dom, introduction, tutorial the document object model (dom) is the data re
presentation of the objects that comprise the structure and content of a document on the web.
...pport for element.matches() (or a prefixed equivalent, meaning ie9+), a polyfill exists: 1108 element.computedstylemap() api, css typed object model api, element, experimental, houdini, method, reference, stylepropertymapreadonly, computedstylemap() the computedstylemap() method of the element interface returns a stylepropertymapreadonly interface which provides a read-only re
presentation of a css declaration block that is an alternative to cssstyledeclaration.
...And 40 more matches
Layout System Overview - Archive of obsolete content
layout's job: provide the
presentation layout is primarily concerned with providing a
presentation to an html or xml document.
... this
presentation is typically formatted in accordance with the requirements of the css1 and css2 specifications from the w3c.
...
presentation formatting is also required to provide compatibility with legacy browsers (microsoft internet explorer and netscape navigator 4.x).
...And 36 more matches
Index - Archive of obsolete content
140 package.json commonjs, jpm, sdk, add-on, package.json the package.json file contains manifest data for your add-on, providing not only descriptive information about the add-on for
presentation in the add-ons manager, but other metadata required of add-ons.
...the "document - dom nodes" pane on the left-hand side of the inspector window displays a tree re
presentation of the browser window's xul file.
... when you select a node in the tree, a red border flashes for several seconds around the visual re
presentation of that node in the browser window.
...And 27 more matches
fill - SVG: Scalable Vector Graphics
for shapes and text it's a
presentation attribute that defines the color (or any svg paint servers like gradients or patterns) used to paint the element; for animation it defines the final state of the animation.
... as a
presentation attribute, it can be applied to any element but it only has an effect on the following eleven elements: <altglyph>, <circle>, <ellipse>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan>.
... for <altglyph>, fill is a
presentation attribute that defines the color of the glyph.
...And 21 more matches
Index
135 ns_newlocalfile functions, functions:frozen, xpcom, xpcom api reference the ns_newlocalfile function creates an instance of nsilocalfile that provides a platform independent re
presentation of a file path.
... 136 ns_newnativelocalfile functions, functions:frozen, xpcom, xpcom api reference the ns_newnativelocalfile function creates an instance of nsilocalfile that provides a platform independent re
presentation of a file path.
... 164 iaccessiblecomponent interfaces, xpcom, xpcom interface reference this interface provides the standard mechanism for an assistive technology to retrieve information concerning the graphical re
presentation of an object.
...And 18 more matches
nsISyncJPAKE
void final( in acstring ab, in acstring agvb, in acstring arb, in acstring ahkdfinfo, out acstring aaes256key, out acstring ahmac256key ); parameters ab schnorr signature value b, in hex re
presentation.
... agvb schnorr signature value g^vb (vb is a random value), in hex re
presentation.
... arb schnorr signature value rb = vb - xb * h, in hex re
presentation.
...And 17 more matches
SVG documentation index - SVG: Scalable Vector Graphics
17 svg
presentation attributes attribute, beginner, draft, reference, svg svg
presentation attributes are css properties that can be used as attributes on svg elements.
...this allows re
presentation of values that would otherwise be clamped to 0 or 1.
... 40 clip svg, svg attribute the clip attribute is a
presentation attribute defining the visible region of an element.
...And 14 more matches
The Implementation of the Application Object Model - Archive of obsolete content
"couldn't you just perform a tree transformation on whatever re
presentation you have in memory?" the answer is "yes, provided there is one single common intermediate re
presentation of the collected and aggregated data to use as the basis for the translation." "why?" you ask.
... well, let's take this problem to the natural extreme, and assume that there are n total possible re
presentations for the same group of data.
... then without some common internal re
presentation of the data, it would be necessary to implement n*n total translators in order to guarantee that for whatever content model you happen to have built that the transformation could be applied.
...And 11 more matches
Notes on HTML Reflow - Archive of obsolete content
these are dispatched directly from the
presentation shell (e.g., nsipresshell::stylechangereflow), and affect the entire frame tree.
...incremental reflows are queued by the
presentation shell for batched dispatch.
...when reflow begins, the root reflow state is initialized with information about the top-level container for the document's
presentation; e.g., the width and height of the application window.
...And 10 more matches
@counter-style - CSS: Cascading Style Sheets
a @counter-style rule defines how to convert a counter value into a string re
presentation.
... system specifies the algorithm to be used for converting the integer value of a counter to a string re
presentation.
... negative lets the author specify symbols to be appended or prepended to the counter re
presentation if the value is negative.
...And 10 more matches
Intl.DateTimeFormat() constructor - JavaScript
the following properties describe the date-time components to use in formatted output, and their desired re
presentations.
... implementations are required to support at least the following subsets: weekday, year, month, day, hour, minute, second weekday, year, month, day year, month, day year, month month, day hour, minute, second hour, minute implementations may support other subsets, and requests will be negotiated against all available subset-re
presentation combinations to find the best match.
... weekday the re
presentation of the weekday.
...And 8 more matches
Mozilla XForms User Interface - Archive of obsolete content
ui common the ui common attribute set (see the spec) contains the attributes that are available for the xforms elements that are used to build the user interface
presentation in a form.
...this section contains a short description of each xforms element and its re
presentation.
... the xforms specification offers suggestions for some of the re
presentations, but some of the widgets we use are only available in the mozilla xforms processor.
...And 7 more matches
WebIDL bindings
or whatnot static already_addrefed<myclass> constructor(const globalobject& aglobal, errorresult& rv); static already_addrefed<myclass> constructor(const globalobject& aglobal, uint32_t asomenumber, errorresult& rv); }; c++ reflections of webidl types the exact c++ re
presentation for webidl types can depend on the precise way that they're being used (e.g., return values, arguments, and sequence or dictionary members might all have different re
presentations).
... unless stated otherwise, a type only has one re
presentation.
... in all cases, optional arguments which do not have a default value are represented by wrapping const optional<>& around the re
presentation of the argument type.
...And 7 more matches
<semantics> - MathML
in mathml there are two ways to mark up mathematics:
presentation mathml is used to control the layout of equations, whereas content mathml is designed to encode the semantic mathematical meaning and to make expressions understandable to computer algebra systems.
... the mathml elements <semantics>, <annotation> and <annotation-xml> are used to combine
presentation and content markup and to provide both, layout information and semantic meaning of mathematical expressions.
... the rules of determining the visible child in a <semantics> element are the following: if no rule other rule applies: by default only the first child is rendered, which is supposed to be
presentation markup.
...And 7 more matches
StringView - Archive of obsolete content
rawdata read only arraybufferview an arraybufferview containing the re
presentation of the string as array of 8-bit, 16-bit, or 32-bit integers (depending on the chosen encoding).
... bufferview read only arraybufferview an arraybufferview containing the re
presentation of the whole buffer as array of 8-bit, 16-bit, or 32-bit integers (depending on the chosen encoding).
... rawdata an arraybufferview containing the re
presentation of the string as an array of 8-bit, 16-bit, or 32-bit integers (depending on the chosen encoding).
...And 6 more matches
The Business Benefits of Web Standards - Archive of obsolete content
site wide consistent look and feel by separating structure (or content) from
presentation, web designers have a lot to gain.
... specifically,
presentation is defined using layout-oriented css language.
... storing css in a separate document (aka style sheet) and applying it to a set of html documents permits a complete change of
presentation for all these documents in a snap.
...And 5 more matches
Setting up adaptive streaming media sources - Developer guides
a media
presentation description (mpd) file is used to hold the information on the various streams and the bandwidths they are associated with.
...efficiently the sidx* is large and having to load it first slows down startup a little you want to use the original files for both dash and other forms of delivery (such as microsoft smooth streaming) as a transition strategy you can use the same media files for both live transmission and vod at a later stage *sidx or segmentindexbox is a structure describing a segment by giving its earliest
presentation time and other meta-data and can often make up a large portion of the mpd file.
... here's a simple example that provides an audio track re
presentation and four separate video re
presentations.
...And 5 more matches
Content negotiation - HTTP
in http, content negotiation is the mechanism that is used for serving different re
presentations of a resource at the same uri, so that the user agent can specify which is best suited for the user (for example, which language of a document, which image format, or which content encoding).
...the server uses this url to choose one of the variants it provides – each variant being called a re
presentation – and returns a specific re
presentation to the client.
... the overall resource, as well as each of the re
presentations, have a specific url.
...And 5 more matches
CSS - Archive of obsolete content
a slider control is one possible re
presentation of <input type="range">.::-ms-fill-upperthe ::-ms-fill-upper css pseudo-element is a microsoft extension that represents the upper portion of the track of a slider control; that is, the portion corresponding to values greater than the value currently selected by the thumb.
... a slider control is one possible re
presentation of <input type="range">.::-ms-revealthe ::-ms-reveal css pseudo-element is a microsoft extension that is used to display a password reveal button for use with a password field created by <input type="password">.
...a slider control is one possible re
presentation of <input type="range">.::-ms-ticks-afterthe ::-ms-ticks-after css pseudo-element is a microsoft extension that applies one or more styles to the tick marks that appear after the track of a slider control.
...And 4 more matches
system - CSS: Cascading Style Sheets
the system descriptor specifies the algorithm to be used for converting the integer value of a counter to a string re
presentation.
... if the algorithm specified in the system descriptor is unable to construct the re
presentation for a particular counter value, then that value's re
presentation will be constructed using the fallback system provided.
...on each successive pass through the cycle, the symbols used for the counter re
presentation are doubled, tripled, and so on.
...And 4 more matches
Expressions and operators - JavaScript
for example, the decimal number nine has a binary re
presentation of 1001.
... bitwise operators perform their operations on such binary re
presentations, but they return standard javascript numerical values.
... left shift a << b shifts a in binary re
presentation b bits to the left, shifting in zeros from the right.
...And 4 more matches
The Joy of XUL - Archive of obsolete content
separation of
presentation from application logic one of the major downfalls of most web applications is the tight coupling of user interface elements with client application logic.
... xul provides a clear separation among the client application definition and programmatic logic ("content" consisting of xul, xbl, and javascript),
presentation ("skin" consisting of css and images), and language-specific text labels ("locale" consisting of dtds and string bundles in .properties files).
...further, the application can be localized for different languages and regions independently of its logic or
presentation.
...And 3 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
27 base64 advanced, base64, javascript, typed arrays, uri, url, unicode problem, atob(), btoa() base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ascii string format by translating it into a radix-64 re
presentation.
... 175 glyph glossary, svg, typography a glyph is a term used in typography for the visual re
presentation of one or more characters.
... 264 media (audio-visual
presentation) audio, glossary, media, multimedia, video the term media (more accurately, multimedia) refers to audio, video, or combined audio-visual material such as music, recorded speech, movies, tv shows, or any other form of content that is presented over a period of time.
...And 3 more matches
An overview of NSS Internals
nss will usually create an in-memory (ram)
presentation of certificates, once a certificate has been received from the network, read from disk, or looked up from the database, and prepare in-memory data structures that contain the certificate's properties, as well as providing a handle for the programmer to use.
... when dealing with certificates (x.509), file formats such as pkcs#12 (certificates and keys), pkcs#7 (signed data), and message formats as cms, we should mention asn.1, which is a syntax for storing structured data in a very efficient (small sized)
presentation.
...in order to process data available in the asn.1 format, the usual approach is to parse it and transfer it to a
presentation that requires more space but is easier to work with, such as (nested) c data structures.
...And 3 more matches
Index
nss will usually create an in-memory (ram)
presentation of certificates, once a certificate has been received from the network, read from disk, or looked up from the database, and prepare in-memory data structures that contain the certificate's properties, as well as providing a handle for the programmer to use.
... when dealing with certificates (x.509), file formats such as pkcs#12 (certificates and keys), pkcs#7 (signed data), and message formats as cms, we should mention asn.1, which is a syntax for storing structured data in a very efficient (small sized)
presentation.
...in order to process data available in the asn.1 format, the usual approach is to parse it and transfer it to a
presentation that requires more space but is easier to work with, such as (nested) c data structures.
...And 3 more matches
XForms Accessibility
therefore accessible children are formed from any accessible child elements of form control element and from elements that are introduced by its
presentation.
...this section lists accessible
presentations for form control elements.
...the follwoing re
presentations input element are accessible: text field - see the docs.
...And 3 more matches
nsIDocShell
eldestpresshell nsipresshell
presentation shell for the oldest document, if this docshell is currently transitioning between documents.
...obsolete since gecko 1.8 prescontext nsprescontext
presentation context for the currently loaded document.
... presshell nsipresshell
presentation shell for the currently loaded document.
...And 3 more matches
nsISHEntry
void sync
presentationstate(); attributes attribute type description cachekey nsisupports set and get the cache key for the entry.
... contentviewer nsicontentviewer content viewer, for fast restoration of
presentation.
...the child shells are restored as children of the parent docshell, in this order, when the parent docshell restores a saved
presentation.
...And 3 more matches
Xray vision
in gecko, dom objects have a dual re
presentation: the canonical re
presentation is in c++, and this is reflected into javascript for the benefit of javascript code.
... any modifications to these objects, such as adding expandos or redefining standard properties, stays in the javascript reflection and does not affect the c++ re
presentation.
... the dual re
presentation enables an elegant implementation of xrays: the xray just directly accesses the c++ re
presentation of the original object, and doesn't go to the content's javascript reflection at all.
...And 3 more matches
Debugger.Memory - Firefox Developer Tools
strings spidermonkey has three re
presentations of strings: normal: the string’s text is counted in its size.
...this re
presentation may result in a small string retaining a very large string.
... spidermonkey converts strings from the more complex re
presentations to the simpler ones when it pleases.
...And 3 more matches
Element - Web APIs
element.computedstylemap() returns a stylepropertymapreadonly interface which provides a read-only re
presentation of a css declaration block that is an alternative to cssstyledeclaration.
... obsolete methods element.getattributenode() retrieves the node re
presentation of the named attribute from the current node and returns it as an attr.
... element.getattributenodens() retrieves the node re
presentation of the attribute with the specified name and namespace, from the current node and returns it as an attr.
...And 3 more matches
Digest - HTTP
in rfc 7231 terms this is the selected re
presentation of a resource.
... the selected re
presentation depends on the content-type and content-encoding header values: so a single resource may have multiple different digest values.
... the digest is calculated over the entire re
presentation.
...And 3 more matches
HTTP Index - HTTP
17 content negotiation content negotiation, content negotiation reference, http, reference in http, content negotiation is the mechanism that is used for serving different re
presentations of a resource at the same uri, so that the user agent can specify which is best suited for the user (for example, which language of a document, which image format, or which content encoding).
...web caches reduce latency and network traffic and thus lessen the time needed to display a re
presentation of a resource.
...it is used by the server to indicate which headers it used when selecting a re
presentation of a resource in a content negotiation algorithm.
...And 3 more matches
The "codecs" parameter in common media types - Web media technologies
f a one-digit flag indicating whether the color should be allowed to use the full range of possible values (1), or should be constrained to those values considered legal for the specified color configuration (that is, the studio swing re
presentation).
... the default is 0 (use the studio swing re
presentation).
...the studio swing re
presentation is indicated.
...And 3 more matches
Content type - SVG: Scalable Vector Graphics
for angle values in svg-specific properties and their corresponding
presentation attributes, the angle unit identifier is optional.
...in
presentation attributes for all properties, whether defined in svg1.1 or in css2, the angle identifier, if specified, must be in lower case.
...the funciri form is used in
presentation attributes .
...And 3 more matches
Treehydra Manual - Archive of obsolete content
instead of representing code in "easy" form like dehydra, treehydra relies on gimple, the gcc internals "middle-end" intermediate re
presentation.
...callbacks and gcc intermediate re
presentations like dehydra, treehydra sends program re
presentations to the user javascript via callbacks.
...to make things easier, we will first present recipes for accessing specific gcc intermediate re
presentations.
...And 2 more matches
Archived Mozilla and build documentation - Archive of obsolete content
building transformiix standalone calicalendarview an object implementing calicalendarview is generally intended to serve as a way of manipulating a set of dom nodes corresonding to a visual re
presentation of calievent and calitodo objects.
... sxsw 2007
presentations
presentations about the mozilla project given at the sxsw 2007 event in austin, texas.
... video
presentations mozilla is actively working to produce video
presentations that can help you learn how the mozilla codebase works and how to take advantage of its technology in your own applications and extensions.
...And 2 more matches
XForms Custom Controls - Archive of obsolete content
why do you need this you will probably find that your need for customization will fall into one of the following categories: custom
presentation - xforms controls as rendered by the mozilla xforms processor do not provide the right look and feel for you.
... custom data types - existing xforms controls are not able to work properly with your data type advanced xforms controls - you need your controls to be able to do more things than traditional xforms controls can do new host language - you'd like to support xforms in host languages other than xhtml or xul custom
presentation the mozilla xforms extension cannot anticipate all of the possible use cases that will evolve in web applications and web pages as xforms matures and the user base grows.
...every xforms control's
presentation has its own xbl binding.
...And 2 more matches
Python binding for NSS
convenience functions are provided to translate between the numeric value of an enumerated constant and it's string re
presentation and visa versa.
... python-nss tries to be flexible when generating a print re
presentation of complex objects.
...most people will probablby just print the string re
presentation of the returned certverifylog object.
...And 2 more matches
Index
77 js::tostring jsapi reference, reference, référence(2), spidermonkey js::tostring returns a string re
presentation of a javascript value.
... 120 jsid_is_zero jsapi reference, reference, référence(2), spidermonkey jsid_is_zero tests whether a specified js id, id, is zero (0 in its integer re
presentation).
... 503 js_versiontostring jsapi reference, spidermonkey js_versiontostring attempts to convert the version to a const char * string re
presentation.
...And 2 more matches
JS::Value
embeddings should not rely on observed re
presentation details or upon the size of js::value.
...the different re
presentations are visible using the separate int32/double methods but do not affect observable semantics (ignoring performance).
... the number mutators attempt to use int32_t re
presentation for compatible input values, returning true when int32 could be used and false when double re
presentation was required.
...And 2 more matches
Add to iPhoto
let's take a look at two of the routines declared here: this.cfurlcreatefromfilesystemre
presentation = this.lib.declare("cfurlcreatefromfilesystemre
presentation", ctypes.default_abi, this.cfurlref, // returns ctypes.voidptr_t, // input: allocator ctypes.unsigned_char.ptr, // input: pointer to string cfindex, ...
...the interesting things to note about the declaration of corefoundation.cfurlcreatefromfilesystemre
presentation() are: it returns a cfurlref, which is an opaque pointer similar to the cfstringref we noted above.
..."file system re
presentation" strings on mac os x are in utf-8 format.
...And 2 more matches
Request - Web APIs
request implements body, so it also has the following methods available to it: body.arraybuffer() returns a promise that resolves with an arraybuffer re
presentation of the request body.
... body.blob() returns a promise that resolves with a blob re
presentation of the request body.
... body.formdata() returns a promise that resolves with a formdata re
presentation of the request body.
...And 2 more matches
ARIA Test Cases - Accessibility
after drag and drop operation has completed, the new location of the item should be indicated in the virtual buffer re
presentation.
... markup used: role="img" notes: if the screen reader does not provide the required behavior, then most likely it is a browser issue, for not respecting "children
presentational: true" for that role.
...note: if this does not work, it means the browser is exposing the children instead of respecting the "children
presentational: true" rule for sliders as the user moves the slider, the new value is spoken markup used: role="slider" aria-valuemin, aria-valuenow, aria-valuemax notes: results: at firefox ie opera safari jaws 9 - - n/a n/a jaws 10 - - - - voiceover (leopard) n/a n/a - fail window-eyes - - - -...
...And 2 more matches
pad - CSS: Cascading Style Sheets
the pad descriptor can be used with custom counter style definitions when you need the marker re
presentations to have a minimum length.
... syntax pad: 3 "0"; values <integer> && <symbol> the <integer> specifies a minimum length that all counter re
presentations must reach.
...if the minimum length is not reached, the re
presentation will be padded with the specified <symbol>.
...And 2 more matches
HTML documentation index - HTML: Hypertext Markup Language
other technologies besides html are generally used to describe a web page's appearance/
presentation (css) or functionality/behavior (javascript).
... 13 data-* global attributes, html, reference the data-* global attributes form a class of attributes called custom data attributes, that allow proprietary information to be exchanged between the html and its dom re
presentation by scripts.
...a url for the source of the quotation may be given using the cite attribute, while a text re
presentation of the source can be given using the <cite> element.
...And 2 more matches
MathML documentation index - MathML
7 values guide, mathml, mathml reference several mathml
presentation elements have attributes that accept length values used for size or spacing.
... 8 mathml documentation index index, mathml found 40 pages: 9 mathml element reference mathml, mathml reference this is an alphabetical list of mathml
presentation elements.
...it accepts all attributes of all mathml
presentation elements with some exceptions and additional attributes listed below.
...And 2 more matches
Converting WebAssembly text format to wasm - WebAssembly
webassembly has an s-expression-based textual re
presentation, an intermediate form designed to be exposed in text editors, browser developer tools, etc.
... converting the text .wat into a binary .wasm file let’s have a go at converting the above .wat text re
presentation example into .wasm assembly format.
... we need to assemble this textual re
presentation into the assembly language the browser actually reads before we can use it.
...And 2 more matches
An Interview With Douglas Bowman of Wired News - Archive of obsolete content
how is the site styled now that you've ripped out all the html-based
presentation?
...a few changes to the css can completely alter the
presentation of thousands of pages.
...but a huge decrease in the amount [sic] of
presentation markup tags also plays a big role too.
...are you tired of the maintenance headaches caused by the glut of extra tables and
presentation tags in your markup?
XForms Input Element - Archive of obsolete content
re
presentations the xforms input element can be represented by the following widgets for the spcified data types (or types derived from these data types): text field - the default widget when no type is specified or the data is of type xsd:string (xhtml/xul) checkbox - used for xsd:boolean instance data.
...text field displaying a text field is the default
presentation.
...the lexical re
presentation for xsd:gmonth is the left and right truncated lexical re
presentation for xsd:date: --mm.
...the lexical re
presentation for xsd:gday is the left truncated lexical re
presentation for xsd:date: ---dd.
Dict.jsm
tojson() returns a json string re
presentation of the dictionary.
... return value a json string re
presentation of the dictionary's key/value pairs.
... tostring() returns a string re
presentation of the dictionary.
... return value a string re
presentation of the dictionary's key/value pairs.
nsIAccessibleRetrieval
apresshell the
presentation shell which contains layout info for the dom node.
... apresshell the
presentation shell which contains layout info for the dom node.
... ashell the
presentation shell which contains layout info for the dom node.
... ashell the
presentation shell which contains layout info for the dom node.
nsIEditorMailSupport
insertascitedquotation() insert a string as quoted text (whose re
presentation is dependent on the editor type), replacing the selected text (if any), including, if possible, a "cite" attribute.
...insertasquotation() insert a string as quoted text (whose re
presentation is dependent on the editor type), replacing the selected text (if any).
...void inserttextwithquotations( in domstring astringtoinsert ); parameters astringtoinsert the string to be inserted pasteascitedquotation() paste a string as quoted text, whose re
presentation is dependent on the editor type, replacing the selected text (if any) void pasteascitedquotation( in astring acitation, in long aselectiontype ); parameters acitation the "mid" url of the source message.
... pasteasquotation() paste the text in the os clipboard at the cursor position, as a quotation (whose re
presentation is dependent on the editor type), replacing the selected text (if any).
nsIParserUtils
at present, sanitizing css syntax in svg
presentational attributes is not supported, so this option flattens out svg.
... sanitizerdropnoncss
presentation (1 << 3) flag for sanitizer: drops non-css
presentational html elements and attributes, such as <font>, <center>, and the bgcolor attribute.
... by default, non-dangerous non-css
presentational html elements and attributes or forms are not removed.
... to remove these, use sanitizerdropnoncss
presentation and/or sanitizerdropforms.
WebXR permissions and security - Web APIs
the webxr device api has several areas of security to contend with, from establishing feature-policy to ensuring the user intends to use the mixed reality
presentation before activating it.
... immersive
presentation of vr first, any requests to activate the immersive-vr mode are rejected if the domain issuing the request does not have permission to enable an immersive session.
... inline
presentation when you request an xrsession with the mode set to inline, and any features are required or requested, the browser will only allow the session to be created if the call to requestsession() was made by code which is executing expressly due to user intent.
... if the user's intent to open an inline xr
presentation is not well understood, the request is denied.
Starting up and shutting down a WebXR session - Web APIs
confirming the session type you need is available before trying to create a new webxr session, it's often wise to first check to see if the user's hardware and software support the
presentation mode you wish to use.
... this can also be used to determine whether to use an immersive or an inline
presentation, for example.
... inline an on-screen
presentation of the xr imagery within the context of the document window.
... session.onend = (event) => { /* the session has shut down */ freeresources(); }; here, when the session has ended and the end event is received, a freeresources() function is called to release the resources previously allocated and/or loaded to handle the xr
presentation.
ARIA Screen Reader Implementors Guide - Accessibility
optionally, create a second, additional queue if the user configures a second hardware channel: if there are two channels for
presentation (e.g.
... text to speech and a braille display), then two queues can be maintained to allow for parallel
presentation.
... ideas for settings and heuristics allow for a different voice (in text-to-speech) or other varying
presentational characteristics to set live changes apart.
... allow global settings to turn off the
presentation of live changes, present all live changes, use markup, or be "smart" (use heuristics) details for processing via platform accessibility apis we hope browser manufacturers will work to provide consistent implementations.
Basic form hints - Accessibility
<h3 id="rg1_label">lunch options</h3> <ul class="radiogroup" id="rg1" role="radiogroup" aria-labelledby="rg1_label"> <li id="r1" tabindex="-1" role="radio" aria-checked="false"> <img role="
presentation" src="radio-unchecked.gif" /> thai </li> <li id="r2" tabindex="-1" role="radio" aria-checked="false"> <img role="
presentation" src="radio-unchecked.gif" /> subway </li> <li id="r3" tabindex="0" role="radio" aria-checked="true"> <img role="
presentation" src="radio-checked.gif" /> radio maria </li> </ul> describing with aria form controls sometimes have a description associ...
... web developers typically use
presentational strategies to indicate required or invalid fields.
... assistive technologies (ats) cannot necessarily infer this information from the
presentation.
...the second part of the example, a snippet of javascript validates the email format, and sets the aria-invalid attribute of the email field (line 12 of the html) according to the result (in addition to changing the
presentation of the element).
negative - CSS: Cascading Style Sheets
when defining custom counter styles, the negative descriptor lets you alter the re
presentations of negative counter values, by providing a way to specify symbols to be appended or prepended to the counter re
presentation when the value is negative.
... syntax /* <symbol> values */ negative: "-"; /* prepends '-' if value is negative */ negative: "(" ")"; /* surrounds value by '(' and ')' if it is negative */ values first <symbol> this symbol will be prepended to the re
presentation when the counter is negative.
... second <symbol> if present, this symbol will be appended to the re
presentation when the counter is negative.
... description if the counter value is negative, the symbol provided as value for the descriptor is prepended to the counter re
presentation; and a second symbol if specified, will be appended to the re
presentation.
Date - JavaScript
date.parse() parses a string re
presentation of a date and returns the number of milliseconds since 1 january, 1970, 00:00:00 utc, with leap seconds ignored.
... date.prototype.tolocaledatestring() returns a string with a locality sensitive re
presentation of the date portion of this date based on system settings.
... date.prototype.tolocalestring() returns a string with a locality-sensitive re
presentation of this date.
... date.prototype.tolocaletimestring() returns a string with a locality-sensitive re
presentation of the time portion of this date, based on system settings.
MathML element reference - MathML
this is an alphabetical list of mathml
presentation elements.
... the term
presentation markup is used to describe the layout structure of mathematical notation whereas content markup provides the underlying mathematical meaning and is not supposed to be rendered by the mathml parser (see bug 276028).
... mathml
presentation elements a to z math <math> (top-level element) a <maction> (binded actions to sub-expressions) <maligngroup> (alignment group) <malignmark> (alignment points) e <menclose> (enclosed contents) <merror> (enclosed syntax error messages) f <mfenced> (parentheses) <mfrac> (fraction) g <mglyph> (displaying non-standard symbols) i <mi> (identifier) l <mlabeledtr> (labeled row in a table or a matrix) <mlongdiv> (long division notation) m <mmultiscripts> (prescripts and tensor indices) n <mn> (number) o <mo> (operator) <mover> (overscript) p <mpadded> (space around co...
... (superscript) <msubsup> (subscript-superscript pair) t <mtable> (table or matrix) <mtd> (cell in a table or a matrix) <mtext> (text) <mtr> (row in a table or a matrix) u <munder> (underscript) <munderover> (underscript-overscript pair) other elements <semantics> (container for semantic annotations) <annotation> (data annotations) <annotation-xml> (xml annotations) mathml
presentation elements by category top-level elements <math> token elements <mglyph> <mi> <mn> <mo> <ms> <mspace> <mtext> general layout <menclose> <merror> <mfenced> <mfrac> <mpadded> <mphantom> <mroot> <mrow> <msqrt> <mstyle> script and limit elements <mmultiscripts> <mover> <mprescripts> <msub> <msubsup> <msup> <munder> <munderover> <none> tabular math <malig...
Using the WebAssembly JavaScript API - WebAssembly
now, to help us understand what is going on here, let’s look at the text re
presentation of our wasm module (which we also meet in converting webassembly format to wasm): (module (func $i (import "imports" "imported_func") (param i32)) (func (export "exported_func") i32.const 42 call $i)) in the second line, you will see that the import has a two-level namespace — the internal function $i is imported from imports.imported_func.
... the equivalent code would look like this: fetch('simple.wasm').then(response => response.arraybuffer() ).then(bytes => webassembly.instantiate(bytes, importobject) ).then(results => { results.instance.exports.exported_func(); }); viewing wasm in developer tools in firefox 54+, the developer tool debugger panel has functionality to expose the text re
presentation of any wasm code included in a web page.
... note: you can see the module’s text re
presentation at memory.wat.
... note: you can see the module’s text re
presentation at table.wat.
url - Archive of obsolete content
url methods tostring() returns a string re
presentation of the url.
... tojson() returns a string re
presentation of the url.
...for example: var url = require("sdk/url").url("https://developer.mozilla.org/add-ons?example=true&visible=yes#top"); console.log(url.search); // ?example=true&visible=yes dataurl methods tostring() returns a string re
presentation of the data url.
console/traceback - Archive of obsolete content
returns traceback : json re
presentation of the traceback or null if not found.
... get() returns json : returns the json re
presentation of the stack at the point that this function is called.
... format(tborexception) given a json re
presentation of the stack or an exception instance, returns a formatted plain text re
presentation of it, similar to python's formatted stack tracebacks.
lang/type - Archive of obsolete content
source(value, indent, limit) returns the textual re
presentation of value, containing property descriptors and types of properties contained within the object.
... }, { // [object object] // writable configurable enumerable id: 101, // writable configurable enumerable text: "javascript dubstep generator", "__proto__": { // [object object] } } ], "__proto__": { // [object object] } } */ parameters value : mixed the source object to create a textual re
presentation of.
... returns string : the textual re
presentation of value.
util/uuid - Archive of obsolete content
for more details about uuid re
presentations and what they are used for by the platform see the mdn documentation for jsid.
... generate uuid to generate a new uuid, call uuid() with no arguments: let uuid = require('sdk/util/uuid').uuid(); parsing uuid to convert a string re
presentation of a uuid to an nsid, pass the string re
presentation to uuid(): let { uuid } = require('sdk/util/uuid'); let firefoxuuid = uuid('{ec8030f7-c20a-464f-9b0e-13a3a9e97384}'); globals functions uuid(stringid) generate a new uuid, or convert a string re
presentation of a uuid to an nsid.
... parameters stringid : string string re
presentation of a uuid, such as: "8cbc9bf4-4a16-11e2-aef7-c1a56188709b" optional.
Custom XUL Elements with XBL - Archive of obsolete content
there are two conflicting patterns that you should always keep in mind: encapsulation and separation of
presentation and logic.
...on the other hand, a binding is really just a
presentation module.
... most xul elements have basic
presentation logic, and any other functionality is processed elsewhere.
Index of archived content - Archive of obsolete content
aq hostwindow installer scripting styling proxy ui pydom rdf api rdf datasource how-to reading textual data remote xul remote debugging rsyncing the cvs repository running windows debug builds downloaded from tinderbox sxsw 2007
presentations safe browsing safe browsing: design documentation safely loading uris same origin policy for xbl space manager detailed design space manager high level design standalone xpcom standard makefile header static analysis for windows code under linux stress testing string quick reference ...
...g pageload urischeme uris and urls uriloader using addresses of stack variables with nspr threads on win16 using cross commit using gdb on wimpy computers venkman using breakpoints in venkman venkman internals venkman introduction video
presentations when to use ifdefs writing textual data xml in mozilla xpinstall creating xpi installer modules install wizards (aka: stub installers) mac stub installer unix stub installer windows stub installer ...
...codes winprofile object methods winreg object methods winregvalue xpjs components proposal xre xtech 2005
presentations directions of the mozilla rdf engine extending gecko with xbl and xtf mozilla e4x rich web svg and canvas in mozilla xul - mozilla's xml user interface language xtech 2006
presentations xul explorer ...
Style System Overview - Archive of obsolete content
↓ ↘ title para class="emph" para ↓ ↓ quote quote ↓ span class="emph" example stylesheet doc { display: block; text-indent: 1em; } title { display: block; font-size: 3em; } para { display: block; } [class="emph"] { font-style: italic; } css style rule re
presentation each declaration block is represented by an nscssdeclaration an cssstyleruleimpl contains each selector associated with that declaration, and the declaration, and is the most important implementation of nsistylerule.
... css style rule re
presentation h1, h2 { color: green; text-align: right; text-indent: 0; } cssstyleruleimpl cssstyleruleimpl ↓ ↓ ↓ ↓ h1 nscssdeclaration h2 ↙ ↘ nscsscolor — color: green nscsstext — text-align: right text-indent: 0 css style rule re
presentation problem: the rule structures use too much memory (a few hundred kilobytes for all our chrome), and require large numbers of allocations to...
... various rules in nshtmlstylesheet.cpp do other things with
presentational color-related attributes and with tables.
A XUL Bestiary - Archive of obsolete content
skin the skin is the css and graphics that makes up the look or
presentation of xul.
...even prior to the skinning that takes place with the global skin, which is loaded in almost every xul file you see in mozilla (and whose absence from your own xul files can make your work look strange, senseless, or invisible altogether), a xul.css file is loaded which provides some very basic
presentational information for the widgets in the toolkit.
... object models: dom and aom the document object model is the re
presentation of a document as a series of scriptable objects.
Using Firebug and jQuery (Screencast) - Archive of obsolete content
note: this screencast is originally from: http://ejohn.org/blog/hacking-digg-w...ug-and-jquery/ this is an adaptation of a
presentation that i gave while at mashup camp boston.
... click the video link to begin (14:39 minutes long, 59mb): http://developer.mozilla.org/
presentations/screencasts/jresig-digg-firebug-jquery.mp4 download: right-click this link and select save as...
...(59mb) bookmarklets: in the
presentation, i refer to a bookmarklet that you can use to introduce jquery into a web page.
XForms Output Element - Archive of obsolete content
re
presentations the xforms output element can be represented by the following widgets for the specified data types (or types derived from these data types): text - default re
presentation for instance data of most types, especially static text (xhtml/xul).
... text displaying the data as text is the default
presentation.
... image if the bound instance node contains an image then you are free to use this re
presentation to show the image instead of the byte sequence of the image data (fx 3.0 only, xhtml/xul).
XForms Select1 Element - Archive of obsolete content
note, some re
presentations of the select1 element do not support visual grouping.
...possible values are open and closed, default is closed (see #re
presentations section to refer if the attribute is supported for every re
presentation).
... re
presentations the xforms select1 element can be represented by the following widgets for the specified appearance attribute values: combobox - default re
presentation (xhtml/xul) listbox - used when appearance = 'compact' (xhtml/xul) radio group - used when appearance = 'full' (xhtml/xul) combobox displaying a combobox is the default re
presentation (xhtml/xul).
XForms Switch Module - Archive of obsolete content
re
presentations the switch element doesn't have a visual re
presentation.
... re
presentations the case element doesn't have a visual re
presentation.
...attributes events special case - the idref of a case element to select re
presentations the case element doesn't have a visual re
presentation.
HTML: A good basis for accessibility - Learn web development
using
presentational html and line breaks, something like the following: <font size="7">my heading</font> <br><br> this is the first section of my document.
...note that the contents of the alt attribute should always provide a direct re
presentation of the image and what it conveys visually.
...another alternative is to use the aria role attribute role="
presentation" as this also stops screen readers from reading out alternative text.
HTML: A good basis for accessibility - Learn web development
using
presentational html and line breaks, something like the following: <font size="7">my heading</font> <br><br> this is the first section of my document.
...note that the contents of the alt attribute should always provide a direct re
presentation of the image and what it conveys visually.
...another alternative is to use the aria role attribute role="
presentation" as this also stops screen readers from reading out alternative text.
Introduction to the server side - Learn web development
client-side web frameworks simplify layout and
presentation tasks while server-side web frameworks provide a lot of “common” web server functionality that you might otherwise have to implement yourself (e.g.
...using a database allows these to be stored and shared efficiently, and it allows the
presentation of the information to be controlled in just one place.
... you've now learned that server-side code is run on a web server and that its main role is to control what information is sent to the user (while client-side code mainly handles the structure and
presentation of that data to the user).
SourceMap.jsm
this is useful as the final intermediate re
presentation a compiler might use before outputting the generated js and source map.
... sourcenode.prototype.tostring() return the string re
presentation of this source node.
... sourcenode.prototype.tostringwithsourcemap(startofsourcemap) returns the string re
presentation of this tree of source nodes, plus a sourcemapgenerator which contains all the mappings between the generated and original sources.
About NSPR
use of 64 bits allows a re
presentation of times approximately in the range of -30000 to the year 30000.
... there is a structural re
presentation (i.e., exploded view), routines to acquire the current time from the host system, and convert them to and from the 64-bit and structural re
presentation.
... additionally there are routines to convert to and from most well-known forms of ascii into the 64-bit nspr re
presentation.
Necko Architecture
given a string re
presentation of a url, you can ask the nsiioservice for a url instance representing that string.
... once you have a url interface in hand (nsiurl), you have a completely parsed re
presentation of the original url string, and you can query for the various parts of the url.
...there is a 1-to-1 relationship between uris and channels (if you go so far as to create a channel from a uri, which is not required if all you need is a parsed re
presentation of a uri string).
nsIJSID
the string re
presentation of the internal nsid.
... tostring() this methods returns a string re
presentation of the object.
...return value the name of the jsid if it has one, otherwise the string re
presentation of its nsid.
nsIMarkupDocumentViewer
obsolete since gecko 1.8 authorstyledisabled boolean disable entire author style level (including html
presentation hints) bidicharacterset octet whether to force the user's character set 1 - use the document character set 2 - use the character set chosen by the user.
... biditextdirection octet options for bidi
presentation.
...logical text will be reordered for
presentation using the unicode bidi algorithm.
nsIMsgMessageService
aurl a string re
presentation of the original url associated with the msg.
...you always can use streammessage to get the eml string re
presentation of the message and then write it using file i/o methods.
...the good thing about this method is that you can extract a standard re
presentation of any message, no matter if they are emails, rss, news, blogs, etc.
XPIDL
in addition, the jsval type is translated as the appropriate javascript value (since a jsval is the internal re
presentation of all javascript values), and objects that are marked nsivariant have their types automatically boxed and unboxed as appropriate.
... the equivalent re
presentations of all idl types in native code is given in the earlier tables; parameters of type inout follow their out form.
... re
presentations of types additionally depend on some of the many types of properties they may have.
DOMMatrixReadOnly - Web APIs
(in other words, down the first column from top to bottom, then the second column, and so forth.) dommatrixreadonly.tojson() returns a json re
presentation of the dommatrixreadonly object.
... dommatrixreadonly.tostring() creates and returns a domstring object which contains a string re
presentation of the matrix in css matrix syntax, using the appropriate css matrix notation.
... throws an invalidstateerror exception if any of the elements in the matrix are non-finite (even if, in the case of a 2d matrix, the non-finite values are in elements not used by the 2d matrix re
presentation).
Introduction to the DOM - Web APIs
the document object model (dom) is the data re
presentation of the objects that comprise the structure and content of a document on the web.
...the dom is an object-oriented re
presentation of the web page, which can be modified with a scripting language such as javascript.
...the page content is stored in the dom and may be accessed and manipulated via javascript, so that we may write this approximative equation: api = dom + javascript the dom was designed to be independent of any particular programming language, making the structural re
presentation of the document available from a single, consistent api.
SVGStylable - Web APIs
svg stylable interface the svgstylable interface is implemented on all objects corresponding to svg elements that can have style, class and
presentation attributes specified on them.
... interface overview also implement none methods cssvalue get
presentationattribute(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.
... methods name & arguments return description get
presentationattribute(in domstring name) cssvalue returns the base (i.e., static) value of a given
presentation attribute as an object of type cssvalue.
Using the aria-hidden attribute - Accessibility
deciding between aria-hidden="true", role="
presentation", and role="none" on the surface, the aria-hidden="true", role="
presentation", and role="none" attributes seem similar because they: hide content from assistive technology cannot be used on a focusable element cannot be used on the parent of an interactive element despite these similarities, the intent behind each attribute is different.
... role="
presentation" and role="none" will remove the semantic meaning of an element while still exposing it to assistive technology.
... specifications see also using the
presentation role role="none" ...
PUT - HTTP
the http put request method creates a new resource or replaces a re
presentation of the target resource with the request payload.
... request has body yes successful response has body no safe no idempotent yes cacheable no allowed in html forms no syntax put /new.html http/1.1 example request put /new.html http/1.1 host: example.com content-type: text/html content-length: 16 <p>new file</p> responses if the target resource does not have a current re
presentation and the put request successfully creates one, then the origin server must inform the user agent by sending a 201 (created) response.
... http/1.1 201 created content-location: /new.html if the target resource does have a current re
presentation and that re
presentation is successfully modified in accordance with the state of the enclosed re
presentation, then the origin server must send either a 200 (ok) or a 204 (no content) response to indicate successful completion of the request.
BigInt.prototype.toString() - JavaScript
for bigint objects, the tostring() method returns a string re
presentation of the object in the specified radix.
... the tostring() method parses its first argument, and attempts to return a string re
presentation in the specified radix (base).
...this is the case even if the radix is 2; the string returned is the positive binary re
presentation of the bigintobj preceded by a - sign, not the two's complement of the bigintobj.
Date.parse() - JavaScript
the date.parse() method parses a string re
presentation of a date, and returns the number of milliseconds since january 1, 1970, 00:00:00 utc or nan if the string is unrecognized or, in some cases, contains illegal date values (e.g.
...(other formats may be used, but results are implementation-dependent.) return value a number representing the milliseconds elapsed since january 1, 1970, 00:00:00 utc and the date obtained by parsing the given string re
presentation of a date.
... date time string format the standard string re
presentation of a date time string is a simplification of the iso 8601 calendar date extended format.
Math.clz32() - JavaScript
the math.clz32() function returns the number of leading zero bits in the 32-bit binary re
presentation of a number.
... return value the number of leading zero bits in the 32-bit binary re
presentation of the given number.
... // let p be the number of leading zero bits in // the 32-bit binary re
presentation of n.
Number.prototype.toString() - JavaScript
for number objects, the tostring() method returns a string re
presentation of the object in the specified radix.
... the tostring() method parses its first argument, and attempts to return a string re
presentation in the specified radix (base).
...this is the case even if the radix is 2; the string returned is the positive binary re
presentation of the numobj preceded by a - sign, not the two's complement of the numobj.
Authoring MathML - MathML
using mathml mathml in html pages you can use
presentation mathml inside html5 documents: <!doctype html> <html> <head> <title>mathml in html5</title> </head> <body> <h1>mathml in html5</h1> <p> square root of two: <math> <msqrt> <mn>2</mn> </msqrt> </math> </p> </body> </html> content mathml is not supported by browsers.
... it's recommended to convert your content mathml markup into
presentation mathml before publishing it, for example with the help of the ctop.xsl stylesheet.
... tools mentioned on this page generates
presentation mathml.
Image file type and format guide - Web media technologies
bmp theoretically supports a variety of internal data re
presentations.
... while other data re
presentations are defined in the specification, they are not widely used and often completely unimplemented.
...however, early versions of internet explorer introduced the ability for a web site to provide a ico file named favicon.ico in a web site's root directory to specify a favicon — an icon to be displayed in the favorites menu, and other places where an iconic re
presentation of the site would be useful.
Handling media support issues in web content - Web media technologies
one of the realities of working with audio and video
presentation and manipulation on the web is that there are a number of media formats available, of varying degrees of popularity and with a variety of capabilities.
... <img src="/images/stafff-photo-huge-progressive.jpg" alt="staff photo, taken in january of 1972"> when using a progressive image, the data is stored in such a way that the browser is able to render a low-quality re
presentation of the image as soon as possible, then update the image as it loads—or after it's finished loading—to present it in full quality.
... detecting playback errors adapting
presentation with css memory management ...
clip-path - SVG: Scalable Vector Graphics
the clip-path
presentation attribute defines or associates a clipping path with the element it is related to.
... note: as a
presentation attribute clip-path can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has noticeable effects mostly on the following nineteen elements: <a>, <circle>, <clippath>, <ellipse>, <g>, <glyph>, <image>, <line>, <marker>, <mask>, <path>, <pattern>, <polygon>, <polyline>, <rect>, <svg>, <symbol>, <text>, <use> html,body,svg { height:100% } <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <clippath id="myclip" clippathunits="objectboundingbox"> <circle cx=".5" cy=".5" r=".5" /> </clippath> <!-- top-left: apply a custom defined clipping path --> <rect x="1" y="1" width="8" height="8" stroke="green" clip-path="url(#myclip)" /> <!-- top-right: apply a css basic shape on a fill-box geometry.
fill-opacity - SVG: Scalable Vector Graphics
the fill-opacity attribute is a
presentation attribute defining the opacity of the paint server (color, gradient, pattern, etc) applied to a shape.
... note: as a
presentation attribute fill-opacity can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eleven elements: <altglyph>, <circle>, <ellipse>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 400 100" xmlns="http://www.w3.org/2000/svg"> <!-- default fill opacity: 1 --> <circle cx="50" cy="50" r="40" /> <!-- fill opacity as a number --> <circle cx="150" cy="50" r="40" fill-opacity="0.7" /> <!-- fill opacity as a percentage --> <circle cx="250" cy="50" r="40" fill-opacity="50%" /> <!-- fill opacity as a css property --> <circle cx="350" cy="50" r="40" style="fill-opacity: .25;" /> </svg> usage notes value [0-1] | <percentage> default val...
fill-rule - SVG: Scalable Vector Graphics
the fill-rule attribute is a
presentation attribute defining the algorithm to use to determine the inside part of a shape.
... note: as a
presentation attribute, fill-rule can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <path>, <polygon>, <polyline>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="-10 -10 220 120" xmlns="http://www.w3.org/2000/svg"> <!-- default value for fill-rule --> <polygon fill-rule="nonzero" stroke="red" points="50,0 21,90 98,35 2,35 79,90"/> <!-- the center of the shape has two path segments (shown by the red stroke) between it and infinity.
glyph-orientation-vertical - SVG: Scalable Vector Graphics
note: as a
presentation attribute, glyph-orientation-vertical can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following five elements: <altglyph>, <textpath>, <text>, <tref>, and <tspan> context notes value auto | <angle> default value auto animatable no auto fullwidth ideographic and fullwidth latin text will be set with a glyph orientation of 0 degrees.
...(this
presentation form does not disable auto-ligature formation or similar context-driven variations.) the determination of which characters should be auto-rotated may vary across user agents.
mask - SVG: Scalable Vector Graphics
the mask attribute is a
presentation attribute mainly used to bind a given <mask> element with the element the attribute belongs to.
... note: as a
presentation attribute mask can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has noticeable effects mostly on the following nineteen elements: <a>, <circle>, <clippath>, <ellipse>, <g>, <glyph>, <image>, <line>, <marker>, <mask>, <path>, <pattern>, <polygon>, <polyline>, <rect>, <svg>, <symbol>, <text>, <use> usage notes value see the css property mask default value none animatable ye...
pointer-events - SVG: Scalable Vector Graphics
the pointer-events attribute is a
presentation attribute that allows defining whether or when an element may be the target of a mouse event.
... note: as a
presentation attribute pointer-events can be used as a css property.
...ents="none" /> </svg> window.addeventlistener('mouseup', (e) => { // let's pick a random color between #000000 and #ffffff const color = math.round(math.random() * 0xffffff) // let's format the color to fit css requirements const fill = '#' + color.tostring(16).padstart(6,'0') // let's apply our color in the // element we actually clicked on e.target.style.fill = fill }) as a
presentation attribute, it can be applied to any element but it is mostly relevant only on the following twenty-three elements: <a>, <circle>, <clippath>, <defs>, <ellipse>, <foreignobject>, <g>, <image>, <line>, <marker>, <mask>, <path>, <pattern>, <polygon>, <polyline>, <rect>, <svg>, <switch>, <symbol>, <text>, <textpath>, <tspan>, <use> usage notes value bounding-box | visiblepainted | visib...
stroke-dashoffset - SVG: Scalable Vector Graphics
the stroke-dashoffset attribute is a
presentation attribute defining an offset on the rendering of the associated dash array.
... note: as a
presentation attribute stroke-dashoffset can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following twelve elements: <altglyph>, <circle>, <ellipse>, <path>, <line>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="-3 0 33 10" xmlns="http://www.w3.org/2000/svg"> <!-- no dash array --> <line x1="0" y1="1" x2="30" y2="1" stroke="black" /> <!-- no dash offset --> <line x1="0" y1="3" x2="30" y2="3" stroke="black" stroke-dasharray="3 1" /> <!-- the start of the dash array computation is pulled by 3 user units --> <line x1="0" y1="5" x2="30" y2="5" stroke="black" stroke-dasharray="3 1" stroke-dashoffset="3" /> <!-- the start of the dash array computation is pushed by 3 user units ...
stroke-linecap - SVG: Scalable Vector Graphics
the stroke-linecap attribute is a
presentation attribute defining the shape to be used at the end of open subpaths when they are stroked.
... note: as a
presentation attribute stroke-linecap can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <path>, <polyline>, <line>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"> <!-- effect of the (default) "butt" value --> <line x1="1" y1="1" x2="5" y2="1" stroke="black" stroke-linecap="butt" /> <!-- effect of the "round" value --> <line x1="1" y1="3" x2="5" y2="3" stroke="black" stroke-linecap="round" /> <!-- effect of the "square" value --> <line x1="1" y1="5" x2="5" y2="5" stroke="black" stroke-linecap="square" /> <!-- the following pink lines highlight the position of the path for each stroke --> <path d="m1,1 h4 m1,3 h4 m1,5 h4" ...
stroke-linejoin - SVG: Scalable Vector Graphics
the stroke-linejoin attribute is a
presentation attribute defining the shape to be used at the corners of paths when they are stroked.
... note: as a
presentation attribute stroke-linejoin can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following nine elements: <altglyph>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 18 12" xmlns="http://www.w3.org/2000/svg"> <!-- upper left path: effect of the "miter" value --> <path d="m1,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="none" stroke-linejoin="miter" /> <!-- center path: effect of the "round" value --> <path d="m7,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="none" stroke-linejoin="round" /> <!-- upper right path: effect of the "bevel" value --> <path d="m13,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="none" stroke-...
stroke-miterlimit - SVG: Scalable Vector Graphics
the stroke-miterlimit attribute is a
presentation attribute defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join.
... note: as a
presentation attribute stroke-miterlimit can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following nine elements: <altglyph>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 38 30" xmlns="http://www.w3.org/2000/svg"> <!-- impact of the default miter limit --> <path stroke="black" fill="none" stroke-linejoin="miter" id="p1" d="m1,9 l7 ,-3 l7 ,3 m2,0 l3.5 ,-3 l3.5 ,3 m2,0 l2 ,-3 l2 ,3 m2,0 l0.75,-3 l0.75,3 m2,0 l0.5 ,-3 l0.5 ,3" /> <!-- impact of the smallest miter limit (1) --> <path stroke="black" fill="none" stroke-linejoin="miter" stroke-miterlimit="1" id="p2" d="m1,19 l7 ,-3 l7 ,3 m2, 0 l3.5 ,-3 l3.5 ,3 ...
stroke-opacity - SVG: Scalable Vector Graphics
the stroke-opacity attribute is a
presentation attribute defining the opacity of the paint server (color, gradient, pattern, etc) applied to the stroke of a shape.
... note: as a
presentation attribute stroke-opacity can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following twelve elements: <altglyph>, <circle>, <ellipse>, <path>, <line>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 40 10" xmlns="http://www.w3.org/2000/svg"> <!-- default stroke opacity: 1 --> <circle cx="5" cy="5" r="4" stroke="green" /> <!-- stroke opacity as a number --> <circle cx="15" cy="5" r="4" stroke="green" stroke-opacity="0.7" /> <!-- stroke opacity as a percentage --> <circle cx="25" cy="5" r="4" stroke="green" stroke-opacity="50%" /> <!-- stroke opacity as a css property --> <circle cx="35" cy="5" r="4" stroke="green" style="stroke-opacity: .3;" /> </svg> usage...
JXON - Archive of obsolete content
jxon (lossless javascript xml object notation) is a generic name by which is defined the re
presentation of javascript objects using xml.
... in order to avoid conflicts, the re
presentation of nodes and attributes names is case insensitive (always rendered in lower case), so objects' local property names set using javascript must always have some kind of capitalization (that is, at least one capital letter somewhere in their names), as you can see below.
Finding the code to modify - Archive of obsolete content
the "document - dom nodes" pane on the left-hand side of the inspector window displays a tree re
presentation of the browser window's xul file.
... when you select a node in the tree, a red border flashes for several seconds around the visual re
presentation of that node in the browser window.
Editor Embedding Guide - Archive of obsolete content
getcommandstate "state_attribute" (cstring) docommand "state_attribute" (cstring) note for color values, use the cstring re
presentation of rrggbb, e.g., red="#ff0000" and black="#000000".
... getcommandstate "state_attribute" (cstring) docommand "state_attribute" (cstring) note for color values, use the cstring re
presentation of rrggbb, e.g., red="#ff0000" and black="#000000".
Nanojit - Archive of obsolete content
it is an acronym for "low-level intermediate re
presentation".
... a compiler's lir is typically one of several partly-compiled re
presentations of a program that a compiler produces on the way from raw source code to machine code.
The life of an HTML HTTP request - Archive of obsolete content
(7) since the
presentation shell (nspresshell) has registred as an documentobserver with the nsidocument it also gets notified of changes in the document/content tree.
...these get passed references to the
presentation context and a rendering context to do the drawing on.
XUL Structure - Archive of obsolete content
style sheets (css), images, and other technologies are used to control the
presentation.
... to summarize the points made above: mozilla renders both html and xul using the same underlying engine and uses css to specify their
presentation.
XUL accessibility guidelines - Archive of obsolete content
display it is often said that "
presentation is everything." while it is true that
presentation is essential, documents should also be structured so that the user can invoke display preferences that may be necessary for accessibility.
...
presentation should also be flexible to window and font resizing.
XML - Archive of obsolete content
humans read raw html often when they edit html documents, though this is changing as regular html editors are replaced by wysiwyg html editors, and so do html parsers, which use the markup to format the document in its
presentational form in web browsers.
... gecko was designed to be lightweight, standards-compliant and cross-platform, so rather than defining on its own how these widgets should be rendered, gecko depends for all but the most basic behavioral and
presentational aspects of the widgets upon cascading stylesheets.
Introduction to Public-Key Cryptography - Archive of obsolete content
for comprehensive information about dns, see a string re
presentation of distinguished names] at the following url: https://www.ietf.org/rfc/rfc1485.txt a typical certificate every x.509 certificate consists of two sections: the data section includes the following information: the version number of the x.509 standard supported by the certificate.
... information about the user's public key, including the algorithm used and a re
presentation of the key itself.
XForms Alert Element - Archive of obsolete content
re
presentations can be represented in two ways: modeless window that contains the alert element's message (default re
presentation).
...this re
presentation is used if the alert element has an inline display style.
XForms Message Element - Archive of obsolete content
special level - defines a re
presentation of message element type restrictions the message element can be bound to any simple content.
... re
presentations it may be represented in the following ways: modal window - if level attribute value is modal modeless window - if level attribute value is modeless tooltip window - if level attribute value is ephemeral note: message element doesn't define a default
presentation.
XForms Select Element - Archive of obsolete content
note, some re
presentations of the select element do not support visual grouping.
... re
presentations the xforms select element can be represented by the following widgets for the specified appearance attribute values: list - default re
presentation (xhtml/xul) check group- used when appearance = 'full' (xhtml/xul) list displaying a listbox is the default re
presentation (xhtml/xul).
XForms Submit Element - Archive of obsolete content
re
presentations the xforms submit element can be represented by the following widgets for the specified appearance attribute values: button - default re
presentation (xhtml/xul) link/clickable text - used when appearance = 'minimal' (xhtml only) button displaying a button is the default
presentation (xhtml/xul).
... characteristics analogous widgets are <html:input type="submit"/> and <xul:button/> link/clickable text xforms authors can use this re
presentation if they want to have a widget like a xhtml anchor (xhtml only).
XForms Trigger Element - Archive of obsolete content
re
presentations the xforms trigger element can be represented by the following widgets for the specified appearance attribute values: button - default re
presentation (xhtml/xul) link/clickable text - used when appearance = 'minimal' (xhtml only) button displaying a button is the default
presentation (xhtml/xul).
... characteristics analogous widgets are <html:input type="button"/> and <xul:button/> link/clickable text xforms authors can use this re
presentation if they want to have a widget like a xhtml anchor (xhtml only).
Gecko FAQ - Gecko Redirect 1
basically, a layout engine takes content (such as html, xml, image files, applets, and so on) and formatting information (such as cascading style sheets,
presentational html tags, etc.) and displays the formatted content on the screen.
...gecko enables a pioneering new class of dynamic content that is more interactive and offers greater
presentation control to web developers, using open and recommended internet standards instead of proprietary apis.
Base64 - MDN Web Docs Glossary: Definitions of Web-related terms
base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ascii string format by translating it into a radix-64 re
presentation.
... note that btoa() expects to be passed binary data, and will throw an exception if the given string contains any characters whose utf-16 re
presentation occupies more than one byte.
How CSS works - Learn web development
a real dom re
presentation rather than a long, boring explanation, let's look at an example to see how a real html snippet is converted into a dom.
...it will apply that rule to each one of the three <span>s, then paint the final visual re
presentation to the screen.
How to build custom form controls - Learn web development
to that end, we will use the role
presentation.
... to support the listbox role, we just have to update our html like this: <!-- we add the role="listbox" attribute to our top element --> <div class="select" role="listbox"> <span class="value">cherry</span> <!-- we also add the role="
presentation" to the ul element --> <ul class="optlist" role="
presentation"> <!-- and we add the role="option" attribute to all the li elements --> <li role="option" class="option">cherry</li> <li role="option" class="option">lemon</li> <li role="option" class="option">banana</li> <li role="option" class="option">strawberry</li> <li role="option" class="option">apple</li> </ul> </d...
Use HTML to solve common problems - Learn web development
to solve
presentation issues, use css, or use scripting to make your page interactive.
...it's one of the most complex html structures, and mastering it is not easy: how to create a data table how to make html tables accessible data re
presentation how to represent numeric and code values with html — see superscript and subscript, and representing computer code.
Deployment and next steps - Learn web development
to understand the motivations behind svelte, you should read rich harris's rethinking reactivity
presentation on youtube.
...if you liked it, you will also enjoy the return of 'write less, do more'
presentation, which rich harris gave at jscamp 2019.
Handling common HTML and CSS problems - Learn web development
note: of course, this may not be a great solution for your project's needs — the difference in visual
presentation is not great, plus it is harder to guarantee the data will be entered in the format you want it in.
... for example: const test = document.getelementbyid('hplogo'); now try to set a new value for the css property you are interested in on that element; you can do this using the style property of the element, for example try typing these into the javascript console: test.style.transform = 'rotate(90deg)' test.style.webkittransform = 'rotate(90deg)' as you start to type the property name re
presentation after the second dot (note that in javascript, css property names are written in lower camel case, not hyphenated), the javascript console should begin to autocomplete the names of the properties that exist in the browser and match what you've written so far.
Accessibility API cross-reference
none,
presentation <private> or perhaps <artifact> a section whose content is parenthetic or ancillary to the main content of the resource.
... n/a n/a canvas n/a <canvas> (accessible alternative richtext content may be nested inside, but the canvas itself is
presentational) a dialog for picking a color n/a color_chooser color_chooser n/a <input type=color> a dialog for picking a file n/a file_chooser file_chooser n/a invoked with <input type=file> no explanation given n/a n/a invalid n/a contains accessible info, but its role is not known ...
Mozilla accessibility architecture
for example, they all expose an accessible name, or text re
presentation, of each object, and they all use an enumerated integer value from a finite list, to expose the role of an object.
...mozilla keeps around its own tree of accessibility objects, which parallels the dom tree, but is not a full re
presentation.
Getting from Content to Layout
gecko maintains two separate re
presentations of a document in memory: the content tree and the frame tree.
... adds and removes frames to make the frame tree a proper re
presentation of the new content tree.
Introduction to Layout in Mozilla
overview basic data flow key data structures detailed walk-through incrementalism future tech-talks wrap-up, q&a basic data flow source document arrives via network apis incrementally “pumped” through the single-threaded layout engine parse, compute style, render; repeat css used for rendering all content content theoretically separate from “
presentation” key data structures content node elements, attributes, leaves dom frame rectangular formatting primitive geometric information [0..n] per content node 2nd thru nth are “continuations” style context non-geometric information may be shared by adjacent frames reference counted, owned by frame view ...
... clipping, z-order, transparency [0..1] per frame, owned by frame widget native window [0..1] per view, owned by view key data structures the document owns the content model, and one or more
presentations exposed programmatically via dom apis the
presentation owns the frame hierarchy frames own the style contexts, views, widgets
presentation has media type, dimensions, etc.
CustomizableUI.jsm
there are three main types of widgets: 'legacy' xul widgets, which are the way customizableui represents widgets whose dom re
presentation is present (or overlaid) into a window; api-style widgets, which are the new widgets customizableui can create and manage for you.
... 'special' widgets: these are the re
presentations of xul <toolbarseparator>, <toolbarspring> and <toolbarspacer> elements.
Downloads.jsm
this matches the serializable re
presentation of a download object.
...alternatively, may be the serializable re
presentation of a downloadsaver object.
MathML3Testsuite
the pages below contain our current results of the mathml 3 full testsuite for
presentation mathml.
... characters blocks symbols variants entitynames numericrefs utf8 general clipboard genattribs math
presentation css dynamicexpressions generallayout scriptsandlimits tablesandmatrices tokenelements topics accents bidi elementarymathexamples embellishedop largeop linebreak nesting stretchychars whitespace torturetests errorhandling original document information author(s): frédéric wang other contributors: last updated date: may 26, 2010 copyright information: portions of this content are...
Mozilla Style System
the barrier between these two halves consists of three abstract interfaces, plus some smaller structures associated with some methods on each: nsistylesheet nsistylesheet represents what one would think of as a style sheet: the in-memory re
presentation of a css file or other source of style data.
...there is also a style rule processor for style attributes (which contain css declarations) and one for
presentational attributes in html.
Date and Time
nspr provides types and constants for both re
presentations, and functions to convert time values between the two.
... absolute time re
presentation treats time instants as points along the time line.
PR_FindSymbol
pr_findsymbol() will return an untyped reference to a symbol in a particular library given the identity of the library and a textual re
presentation of the symbol in question.
... name a textual re
presentation of the symbol to resolve.
The JavaScript Runtime
when scripts are compiled in interpretive mode, an internal re
presentation of the compiled form is created and stored rather than generating a java class.
...not java.lang.long, since a double re
presentation of a long may lose precision.
Tracing JIT
the recorder records the activity of the interpreter, using nanojit to build an efficient, native re
presentation of the execution called a fragment.
... nanojit/lir.* the nanojit/lir.cpp and nanojit/lir.h files define the intermediate re
presentation lir, which is used as input to nanojit.
SpiderMonkey Internals
the re
presentation is 64 bits and uses nan-boxing on all platforms, although the exact nan-boxing format depends on the platform.
... jstypes.h fundamental re
presentation types and utility macros.
JS_ValueToString
if v is a number, conversion succeeds, and the result is a string re
presentation of that number as specified in ecma 262-3 §9.8.1.
...otherwise the result is a decimal re
presentation of the number, possibly using exponential notation.
JS_VersionToString
returns a string re
presentation of a jsversion value.
... description js_versiontostring attempts to convert the version to a const char * string re
presentation.
Shell global objects
functions available only in debug build dumpobject() dump an internal re
presentation of an object.
... dumpstringre
presentation(str) print a human-readable description of how the string str is represented.
Mozilla Projects
necko necko is a network library that provides a platform-independent api for several layers of networking, ranging from transport to
presentation layers.
...the core language does not define any graphical re
presentation - that is expected to be defined by the tools that integrate zest.
Building the WebLock UI
in gecko, css is used to do virtually all of the
presentation of the xul interface - its color, position, style, and to some extent its behavior as well.
...this tutorial makes use of only two different states, but you can further customize the look of the weblock using the three images if you wish.) since the
presentation of the weblock manager dialog itself doesn't require any special styles, these are all the rules you need in the weblock.css.
IAccessibleHyperlink
endindex() [propget] hresult endindex( [out] long index ); parameters index the 0 based character offset at which the textual re
presentation of the hyperlink ends.
...startindex() [propget] hresult startindex( [out] long index ); parameters index the 0 based character offset at which the textual re
presentation of the hyperlink starts.
nsIEditor
the selection controller for the current
presentation.
... shell obsolete since gecko 5.0 the nsipresshellptr representing the
presentation shell displaying the document.
nsISupportsCString
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsChar
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsDouble
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsFloat
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsID
methods tostring() this method returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsInterfacePointer
methods tostring() returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRBool
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRInt16
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRInt32
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRInt64
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRTime
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRUint16
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRUint32
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRUint64
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsPRUint8
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsISupportsString
methods tostring() this methods returns a string valued re
presentation of the object.
...return value a string valued re
presentation of the object.
nsIURI
spec autf8string returns a string re
presentation of the uri.
... specignoringref autf8string returns a string re
presentation of the uri without the ref (part after the #) portion.
nsIWebProgressListener
constant value description state_restoring 0x01000000 this flag indicates that the state transition corresponds to the start or stop of activity for restoring a previously-rendered
presentation.
... as such, there is no actual network activity associated with this request, and any modifications made to the document or
presentation when it was originally loaded will still be present.
Working with data
you can build the new number using the high and low 32-bit numbers, or you can create it using a string re
presentation.
... creating a 64-bit value using a string you can simply pass a string re
presentation of a 64-bit number into the int64 or uint64 constructor, like this: var num1 = ctypes.int64("400000000000"); var num2 = ctypes.uint64("-0x1234567890abcdef"); as you can see, you can use this technique with both decimal and hexadecimal source strings.
Int64
tostring() returns a string re
presentation of the object's numeric value.
... return value a string re
presentation of the value in the specified radix.
UInt64
tostring() returns a string re
presentation of the object's numeric value.
... return value a string re
presentation of the value in the specified radix.
ctypes
intptr_t a platform-dependent integer re
presentation of a pointer.
... uintptr_t a platform-dependent unsigned integer re
presentation of a pointer.
Mozilla
getting from content to layout gecko maintains two separate re
presentations of a document in memory: the content tree and the frame tree.
... javascript tips javascript-dom prototypes in mozilla when a dom node is accessed from javascript in mozilla, the native c++ dom node is wrapped using xpconnect and the wrapper is exposed to javascript as the javascript re
presentation of the dom node.
Debugger.Source - Firefox Developer Tools
if a given piece of source code is presented to the javascript implementation more than once, with the same origin metadata, the javascript implementation may generate a fresh debugger.source instance to represent each
presentation, or it may use a single debugger.source instance to represent them all.
... if the instance refers to webassembly code, the serialized text re
presentation.
Index - Firefox Developer Tools
for the former, it is the debugger api’s
presentation of a jsapi jsscript object.
... 44 tree map view the tree map view provides a visual re
presentation of the snapshot, that helps you quickly get an idea of which objects are using the most memory.
CSSStyleSheet - Web APIs
insertrule() inserts a new rule at the specified position in the stylesheet, given the textual re
presentation of the rule.
... this differs from insertrule(), which simply takes the textual re
presentation of the entire rule as a single string.
console.log() - Web APIs
the string re
presentations of each of these objects are appended together in the order listed and output.
...this is often useful when trying to see the full re
presentation of the dom js object.
console - Web APIs
console.dirxml() displays an xml/html element re
presentation of the specified object if possible or the javascript object view if it is not possible.
... there are two ways to use each of the output methods; you can simply pass in a list of objects whose string re
presentations get concatenated into one string, then output to the console, or you can pass in a string containing zero or more substitution strings followed by a list of objects to replace them.
How to create a DOM tree - Web APIs
"usa"/> </person> <person first-name="jed" last-name="brown"> <address street="321 north st" city="atlanta" state="ga" country="usa"/> <address street="123 west st" city="seattle" state="wa" country="usa"/> <address street="321 south avenue" city="denver" state="co" country="usa"/> </person> </people> the w3c dom api, supported by mozilla, can be used to create an in-memory re
presentation of this document like so: var doc = document.implementation.createdocument("", "", null); var peopleelem = doc.createelement("people"); var personelem1 = doc.createelement("person"); personelem1.setattribute("first-name", "eric"); personelem1.setattribute("middle-initial", "h"); personelem1.setattribute("last-name", "jung"); var addresselem1 = doc.createelement("address"); addresselem1.setattr...
... you can automate the creation of a dom tree using a jxon reverse algorithm in association with the following json re
presentation: { "people": { "person": [{ "address": [{ "@street": "321 south st", "@city": "denver", "@state": "co", "@country": "usa" }, { "@street": "123 main st", "@city": "arlington", "@state": "ma", "@country": "usa" }], "@first-name": "eric", "@middle-initial": "h", "@last-name": "jung" }, { ...
Introduction to the File and Directory Entries API - Web APIs
big concepts before you start using the file and directory entries api, you need to understand a few concepts: the file and directory entries api is a virtual re
presentation of a file system the file and directory entries api can use different storage types browsers impose storage quota the file and directory entries api has asynchronous and synchronous versions when using the asynchronous api, always use the error callbacks the file and directory entries api interacts with other apis the file and directory entries api is case-sensitive the file and directory...
... entries api is a virtual re
presentation of a file system the api doesn't give you access to the local file system, nor is the sandbox really a section of the file system.
Guide to the Fullscreen API - Web APIs
presentation differences it's worth noting a key difference here between the gecko and webkit implementations at this time: gecko automatically adds css rules to the element to stretch it to fill the screen: "width: 100%; height: 100%".
...pressing the return or enter key lets the user toggle between windowed and fullscreen
presentation of the video.
HTMLCanvasElement - Web APIs
the htmlcanvaselement interface provides properties and methods for manipulating the layout and
presentation of <canvas> elements.
... htmlcanvaselement.todataurl() returns a data-url containing a re
presentation of the image in the format specified by the type parameter (defaults to png).
HTMLElement.hidden - Web APIs
the hidden property applies to all
presentation modes and should not be used to hide content that is meant to be directly accessible to the user.
... appropriate use cases for hidden include: content that isn't yet relevant but may be needed later content that was previously needed but is not any longer content that is reused by other parts of the page in a template-like fashion creating an offscreen canvas as a drawing buffer inappropriate use cases include: hiding panels in a tabbed dialog box hiding content in one
presentation while intending it to be visible in others elements that are not hidden must not link to elements which are.
History.pushState() - Web APIs
because firefox saves state objects to the user's disk so they can be restored after the user restarts the browser, we impose a size limit of 640k characters on the serialized re
presentation of a state object.
... if you pass a state object whose serialized re
presentation is larger than this to pushstate(), the method will throw an exception.
Working with the History API - Web APIs
because firefox saves state objects to the user's disk so they can be restored after the user restarts the browser, we impose a size limit of 640k characters on the serialized re
presentation of a state object.
... if you pass a state object whose serialized re
presentation is larger than this to pushstate(), the method will throw an exception.
MediaTrackConstraints.cursor - Web APIs
for example, if your app needs to alter the stream by inserting a re
presentation of the cursor position if the stream doesn't include the rendered cursor, you can determine the need to do so by using code like this: let insertfakecursorflag = false; if (displaystream.getvideotracks()[0].getsettings().cursor === "never") { insertfakecursorflag = true; } following this code, insertfakecursorflag is true if there's no cursor rendered into the stream already.
... later code can detect this flag's value and if it's true, can manually look at some metadata that might be provided and insert a fake re
presentation of the cursor at the correct position.
RTCInboundRtpStreamStats.perDscpPacketsReceived - Web APIs
the perdscppacketsreceived property of the rtcinboundrtpstreamstats dictionary is a record comprised of key/value pairs in which each key is a string re
presentation of a differentiated services code point and the value is the number of packets received for that dcsp.
...each key is the string re
presentation of a single differentiated services code point (dscp)'s id number.
RTCOutboundRtpStreamStats.perDscpPacketsSent - Web APIs
the perdscppacketssent property of the rtcoutboundrtpstreamstats dictionary is a record comprised of key/value pairs in which each key is a string re
presentation of a differentiated services code point and the value is the number of packets sent for that dcsp.
...each key is the string re
presentation of a single differentiated services code point (dscp)'s id number.
WakeLockSentinel.type - Web APIs
the read-only type property of the wakelocksentinel interface returns a string re
presentation of the currently acquired wakelocksentinel type.
... syntax var type = wakelocksentinel.type; value a string re
presentation of the currently acquired wake lock type.
WebGL model view projection - Web APIs
in addition to a ray, it could also be thought of as a re
presentation of a directional vector.
...completely change the w component values for really trippy re
presentations of space.
Fundamentals of WebXR - Web APIs
these devices include phones, which show the resulting scene on the device's screen in a 2d
presentation, as well as goggles that use a pair of cameras, one for each eye, to capture the scene in stereo in order to retain the world's depth, with the webxr scene then rendered for each eye with that eye's captured background in place.
... types of webxr hardware the simplest xr
presentation involves rendering the scene directly to the user's screen, either in the context of a web document, or in full screen mode.
Geometry and reference spaces in WebXR - Web APIs
at a fundamental level, rendering of scenes for webxr
presentation in either augmented reality or virtual reality contexts is performed using webgl, so the two apis share much of the same design language.
... fundamentals of 3d geometry while we'll examine here the required math operations used to compute the positions, orientations, and movement of objects in virtual space—plus the need to integrate the human viewer of the scene into the mix—a thorough introduction to geometry and the use of matrices and vectors to manage 3d re
presentations of a scene is well beyond the scope of what can be accomplished in this article.
Inputs and input sources - Web APIs
profile strings each input source can have zero or more input profile name strings, found in the array profiles, each of which describes a preferred visual re
presentation of the input source within the 3d world as well as how the input source functions.
...the targeting ray is defined using an xrspace whose origin is located at the targeting ray's source (typically the outward-facing end of the controller or its re
presentation in the 3d world), and whose orientation has -z extending outward from the controller in the same direction as the xrinputsource's gripspace.
Spaces and reference spaces: Spatial tracking in WebXR - Web APIs
for example, if you wish to draw a hand controller's re
presentation using the controller's gripspace, you can get the pose needed like this: let controlpose = frame.getpose(worldrefspace, inputsource.gripspace); this converts the position and orientation of the input's grip space to use the world's coordinate system, then generates the corresponding xrpose, storing it in controlpose.
... you can then apply controlpose's transform to the vertices in the object model representing the controller to calculate the webgl coordinates to use when rendering the controller's re
presentation to the framebuffer.
WebXR Device API - Web APIs
creating a mixed reality experience starting up and shutting down a webxr session before actually presenting a scene using an xr device such as a headset or goggles, you need to create a webxr session bound to a rendering layer that draws the scene for
presentation in each of the xr device's displays so that the 3d effect can be presented to the user.
... permissions and security for webxr the webxr device api has several areas of security to contend with, from establishing feature-policy to ensuring the user intends to use the mixed reality
presentation before activating it.
Attestation and Assertion - Web APIs
the attestation format contains two basic arraybuffers: clientdatajson - an arraybuffer that contains a json re
presentation of what the browser saw when being asked to authenticate.
...an arraybuffer that contains a json re
presentation of what the browser saw when being asked to authenticate.
XMLSerializer.serializeToString() - Web APIs
syntax xmlstring = anxmlserializer.serializetostring(rootnode); parameters rootnode the node to use as the root of the dom tree or subtree for which to construct an xml re
presentation.
... return value a domstring containing the xml re
presentation of the specified dom tree.
XRInputSource.profiles - Web APIs
each input profile specifies the preferred visual re
presentation and behavior of the input source.
... usage notes input profile names an input profile name is a string describing a visual re
presentation and behavior the input source may be configured to use.
XRView - Web APIs
this matrix should be used directly in order to avoid
presentation distortions that may lead to potentially serious user discomfort.
...that object's views property is a list of all of the xrview objects representing the viewpoints which can be used to construct the scene for
presentation to the user.
Using the aria-valuenow attribute - Accessibility
when the rendered value cannot be accurately represented as a number, authors should use the aria-valuetext attribute in conjunction with aria-valuenow to provide a user-friendly re
presentation of the range's current value.
... value string re
presentation of a number possible effects on user agents and assistive technology for elements with role progressbar and scrollbar, assistive technologies should render the actual value as a percentage, calculated as a position on the range from aria-valuemin to aria-valuemax if both are defined, otherwise the actual value with a percent indicator.
Using the group role - Accessibility
<div id="tree1" role="tree" tabindex="-1"> <div id="animals" class="groupheader" role="
presentation" aria-owns="animalgroup" aria-expanded="true"> <img role="
presentation" tabindex="-1" src="images/treeexpanded.gif" /> <span role="treeitem" tabindex="0">animals</span> </div> <div id="animalgroup" role="group"> <div id="birds" role="treeitem"> <span tabindex="-1">birds</span> </div> <div id="cats" class="groupheader" role="
presentation" aria-owns="catgroup" aria-exp...
...anded="false"> <img role="
presentation" tabindex="-1" src="images/treecontracted.gif" /> <span role="treeitem" tabindex="0">cats</span> </div> <div id="catgroup" role="group"> <div id="siamese" role="treeitem"> <span tabindex="-1">siamese</span> </div> <div id="tabby" role="treeitem"> <span tabindex="-1">tabby</span> </div> </div> </div> </div> example 2: using the group role with a html drop-down menu the snippet below shows how the group role is added directly into the html source code.
ARIA: grid role - Accessibility
<table role="grid" aria-labelledby="id-select-your-seat"> <caption id="id-select-your-seat">select your seat</caption> <tbody role="
presentation"> <tr role="
presentation"> <td></td> <th>row a</th> <th>row b</th> </tr> <tr> <th scope="row">aisle 1</th> <td tabindex="0"> <button id="1a" tabindex="-1">1a</button> </td> <td tabindex="-1"> <button id="1b" tabindex="-1">1b</button> </td> <!-- more columns --> </tr> <tr> <th scope="row">aisle 2</th> <td tabindex="-1"> <button id="2a" tabindex="-1">2a</button> </td> <td tabindex="-1"...
...while it does not imply a specific visual
presentation, it implies a relationship among elements.
ARIA: switch role - Accessibility
assistive technologies may choose to represent switch widgets with a specialized
presentation to reflect the notion of an on/off switch.
... all elements that are descendants of an element with the switch role applied to it are automatically assigned role
presentation.
Architecture - Accessibility
they are in the nsiaccessible hierarchy to make it easy for nshypertextaccessible to piece its final text re
presentation together.
...they are in the nsiaccessible hierarchy to make it easy for nshypertextaccessible to piece its text re
presentation together.
Cognitive accessibility - Accessibility
all information, including structure and relationships conveyed through the
presentation, should be available in a form that can be perceived by all users to achieve this goal.
...making your content capable of being understood by the software is a good way to help ensure it can be used by alternate
presentational modes.
Accessibility documentation index - Accessibility
34 using the
presentation role aria, needscontent, section 508, wai-aria, wcag this technique demonstrates how to use the
presentation role and describes the effect it has on browsers and assistive technology.
... 98 perceivable accessibility, principle 1, wcag, web content accessibility guidelines, contrast, different
presentation, text alternatives, time-based media this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the perceivable principle of the web content accessibility guidelines (wcag) 2.0 and 2.1.
fallback - CSS: Cascading Style Sheets
the fallback descriptor can be used to specify a counter style to fall back to if the current counter style cannot create a marker re
presentation for a particular counter value.
... syntax /* keyword values */ fallback: lower-alpha; fallback: custom-gangnam-style; description if the specified fallback style is also unable to construct a re
presentation, then its fallback style will be used.
prefix - CSS: Cascading Style Sheets
the prefix descriptor of the @counter-style rule specifies content that will be prepended to the marker re
presentation.
... syntax /* <symbol> values */ prefix: "»"; prefix: "page "; prefix: url(bullet.png); values <symbol> specifies a <symbol> that is prepended to the marker re
presentation.
suffix - CSS: Cascading Style Sheets
the suffix descriptor of the@counter-style rule specifies content that will be appended to the marker re
presentation.
... syntax /* <symbol> values */ suffix: ""; suffix: ") "; suffix: url(bullet.png); values <symbol> specifies a <symbol> that is appended to the marker re
presentation.
CSS Grid Layout and Accessibility - CSS: Cascading Style Sheets
in moving to css we often spoke about css for layout enabling a separation of content and markup and
presentation.
...also the video of léonie’s
presentation from ffconf is helpful to understand more about how screen readers work with the visual re
presentation of things in css.
HTML5 - Developer guides
2d/3d graphics and effects: allowing a much more diverse range of
presentation options.
... new
presentational layouts in order to improve the flexibility of designs, two new layouts have been added: the css multi-column layouts and css flexible box layout.
Mobile-friendliness - Developer guides
it can be helpful to think of it in terms of three goals for improving your site’s user experience:
presentation, content, and performance.
... goal #1 (
presentation) “make websites that work well on a variety of screen sizes.” these days, users can access the web on devices in a wide range of form factors, including phones, tablets, and ereaders.
HTML attribute: rel - HTML: Hypertext Markup Language
values for the rel attribute, and the elements for which each is relevant rel value description <link> <a> and <area> <form> alternate alternate re
presentations of the current document.
... alternate indicates an alternate re
presentation of the current document.
<hr>: The Thematic Break (Horizontal Rule) element - HTML: Hypertext Markup Language
while it may still be displayed as a horizontal rule in visual browsers, this element is now defined in semantic terms, rather than
presentational terms, so if you wish to draw a horizontal line, you should do so using appropriate css.
... implicit aria role separator permitted aria roles
presentation or none dom interface htmlhrelement attributes this element's attributes include the global attributes.
<img>: The Image Embed element - HTML: Hypertext Markup Language
allowed values: sync decode the image synchronously, for atomic
presentation with other content.
...lt attribute: img with empty alt attribute: no corresponding role permitted aria roles with non-empty alt attribute: button checkbox link menuitem menuitemcheckbox menuitemradio option progressbar scrollbar separator slider switch tab treeitem with empty alt attribute, none or
presentation with no alt attribute, no role permitted dom interface htmlimageelement specifications specification status comment referrer policythe definition of 'referrer attribute' in that specification.
<input type="range"> - HTML: Hypertext Markup Language
value a domstring containing the string re
presentation of the selected numeric value; use valueasnumber to get the value as a number.
... value the value attribute contains a domstring which contains a string re
presentation of the selected number.
<small>: the side comment element - HTML: Hypertext Markup Language
the html <small> element represents side-comments and small print, like copyright and legal text, independent of its styled
presentation.
... recommendation notes although the <small> element, like the <b> and <i> elements, may be perceived to violate the principle of separation between structure and
presentation, all three are valid in html5.
<sup>: The Superscript element - HTML: Hypertext Markup Language
usage notes the <sup> element should only be used for typographical reasons—that is, to change the position of the text to comply with typographical conventions or standards, rather than solely for
presentation or appearance purposes.
...among the most common uses of superior lettering is the
presentation of certain abbreviations in french: <p>robert a présenté son rapport à m<sup>lle</sup> bernard.</p> the resulting output: ordinal numbers ordinal numbers, such as "fourth" in english or "quinto" in spanish may be abbreviated using numerals and language-specific text rendered in superscript: <p>the ordinal number "fifth" can be abbreviated in various languages as follows:</p> <ul> <li>...
HTML elements reference - HTML: Hypertext Markup Language
a url for the source of the quotation may be given using the cite attribute, while a text re
presentation of the source can be given using the <cite> element.
... <small> the html <small> element represents side-comments and small print, like copyright and legal text, independent of its styled
presentation.
class - HTML: Hypertext Markup Language
though the specification doesn't put requirements on the name of classes, web developers are encouraged to use names that describe the semantic purpose of the element, rather than the
presentation of the element.
...semantic names remain logical even if the
presentation of the page changes.
hidden - HTML: Hypertext Markup Language
the hidden attribute must not be used to hide content just from one
presentation.
... if something is marked hidden, it is hidden from all
presentations, including, for instance, screen readers.
Inline elements - HTML: Hypertext Markup Language
since this is a
presentational characteristic it is nowadays specified by css in the flow layout.
... changing element levels you can change the visual
presentation of an element using the css display property.
Common MIME types - HTTP
.jsonld json-ld format application/ld+json .mid .midi musical instrument digital interface (midi) audio/midi audio/x-midi .mjs javascript module text/javascript .mp3 mp3 audio audio/mpeg .mpeg mpeg video video/mpeg .mpkg apple installer package application/vnd.apple.installer+xml .odp opendocument
presentation document application/vnd.oasis.opendocument.
presentation .ods opendocument spreadsheet document application/vnd.oasis.opendocument.spreadsheet .odt opendocument text document application/vnd.oasis.opendocument.text .oga ogg audio audio/ogg .ogv ogg video video/ogg .ogx ogg application/ogg .opus opus audio ...
...t font/otf .png portable network graphics image/png .pdf adobe portable document format (pdf) application/pdf .php hypertext preprocessor (personal home page) application/x-httpd-php .ppt microsoft powerpoint application/vnd.ms-powerpoint .pptx microsoft powerpoint (openxml) application/vnd.openxmlformats-officedocument.
presentationml.
presentation .rar rar archive application/vnd.rar .rtf rich text format (rtf) application/rtf .sh bourne shell script application/x-sh .svg scalable vector graphics (svg) image/svg+xml .swf small web format (swf) or adobe flash document application/x-shockwave-flash .tar tape archive (tar) application/x-ta...
Compression in HTTP - HTTP
as content negotiation has been used to choose a re
presentation based on its encoding, the server must send a vary header containing at least accept-encoding alongside this header in the response; that way, caches will be able to cache the different re
presentations of the resource.
... hop-by-hop compression hop-by-hop compression, though similar to end-to-end compression, differs by one fundamental element: the compression doesn't happen on the resource in the server, creating a specific re
presentation that is then transmitted, but on the body of the message between any two nodes on the path between the client and the server.
Configuring servers for Ogg media - HTTP
html <audio> and <video> elements allow media
presentation without the need for the user to install any plug-ins or other software to do so.
...the output from oggz-info looks like this: $ oggz-info /g/media/bruce_vs_ironman.ogv content-duration: 00:01:00.046 skeleton: serialno 1976223438 4 packets in 3 pages, 1.3 packets/page, 27.508% ogg overhead
presentation-time: 0.000 basetime: 0.000 theora: serialno 0170995062 1790 packets in 1068 pages, 1.7 packets/page, 1.049% ogg overhead video-framerate: 29.983 fps video-width: 640 video-height: 360 vorbis: serialno 0708996688 4531 packets in 167 pages, 27.1 packets/page, 1.408% ogg overhead audio-samplerate: 44100 hz audio-channels: 2...
ETag - HTTP
a comparison of them can determine whether two re
presentations of a resource are the same.
...weak etag values of two re
presentations of the same resources might be semantically equivalent, but not byte-for-byte identical.
Warning - HTTP
2xx warn-codes describe some aspect of the re
presentation that is not rectified by a validation and won't be deleted by a cache after validation unless a full response is sent.
... 199 miscellaneous warning arbitrary, non-specific warning 214 transformation applied added by a proxy if it applies any transformation to the re
presentation, such as changing the content-coding, media-type or the like.
HTTP request methods - HTTP
get the get method requests a re
presentation of the specified resource.
... put the put method replaces all current re
presentations of the target resource with the request payload.
406 Not Acceptable - HTTP
the hypertext transfer protocol (http) 406 not acceptable client error response code indicates that the server cannot produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers, and that the server is unwilling to supply a default re
presentation.
... if a server returns such an error status, the body of the message should contain the list of the available re
presentations of the resources, allowing the user to choose among them.
HTTP response status codes - HTTP
226 im used (http delta encoding) the server has fulfilled a get request for the resource, and the response is a re
presentation of the result of one or more instance-manipulations applied to the current instance.
... 507 insufficient storage (webdav) the method could not be performed on the resource because the server is unable to store the re
presentation needed to successfully complete the request.
CSS Houdini
css parser api an api exposing the css parser more directly, for parsing arbitrary css-like languages into a mildly typed re
presentation.
... css properties and values api reference css properties and values api guide css typed om converting cssom value strings into meaningfully typed javascript re
presentations and back can incur a significant performance overhead.
BigInt.prototype.toLocaleString() - JavaScript
the tolocalestring() method returns a string with a language-sensitive re
presentation of this bigint.
... return value a string with a language-sensitive re
presentation of the given bigint.
Date.prototype.toJSON() - JavaScript
the tojson() method returns a string re
presentation of the date object.
... syntax dateobj.tojson() return value a string re
presentation of the given date.
Date.prototype.toString() - JavaScript
date.prototype.tostring() returns a string re
presentation of the date in the format specified in ecma-262 which can be summarised as: week day: 3 letter english week day name, e.g.
..."(" an implementation dependent string re
presentation of the timezone, which might be an abbreviation or full name (there is no standard for names or abbreviations of timezones), e.g.
Intl.Locale.prototype.toString() - JavaScript
description the locale object is a javascript re
presentation of a concept unicode locale identifier.
...the tostring method allows locale instances to be provided as an argument to existing intl constructors, serialized in json, or any other context where an exact string re
presentation is useful.
Math.fround() - JavaScript
the math.fround() function returns the nearest 32-bit single precision float re
presentation of a number.
... return value the nearest 32-bit single precision float re
presentation of the given number.
Number.isSafeInteger() - JavaScript
a safe integer is an integer that can be exactly represented as an ieee-754 double precision number, and whose ieee-754 re
presentation cannot be the result of rounding any other integer to fit the ieee-754 re
presentation.
...see what every programmer needs to know about floating point arithmetic for more information on floating point re
presentations of numbers.
Number.prototype.toLocaleString() - JavaScript
the tolocalestring() method returns a string with a language-sensitive re
presentation of this number.
... return value a string with a language-sensitive re
presentation of the given number.
String.prototype.normalize() - JavaScript
in the example below we normalize two re
presentations of the character "ñ": let string1 = '\u00f1'; // ñ let string2 = '\u006e\u0303'; // ñ string1 = string1.normalize('nfd'); string2 = string2.normalize('nfd'); console.log(string1 === string2); // true console.log(string1.length); // 2 console.log(string2.length); // 2 composed and decomposed forms note that the length of the normalized form under "nfd" is 2.
...but it may not be appropriate for display, because the visual re
presentation is different.
uneval() - JavaScript
the uneval() function creates a string re
presentation of the source code of an object.
... note: this will not return a json re
presentation of object.
<mstyle> - MathML
it accepts all attributes of all mathml
presentation elements with some exceptions and additional attributes listed below.
... the <mstyle> element accepts all attributes of all
presentation elements with the following exceptions: height, depth or width do not apply to <mglyph>, <mpadded> or <mtable>.
Web video codec guide - Web media technologies
recommendations for high-quality video
presentation if your mission is to present video at the highest possible quality, you will probably benefit from offering as many formats as possible, as the codecs capable of the best quality tend also to be the newest, and thus the most likely to have gaps in browser compatibility.
...other possible values are 8 and 10, but 12 is the highest-accuracy color re
presentation available in av1.
Digital video concepts - Web media technologies
without the other two components, the luma of each pixel in the frame produces a greyscale re
presentation of the image.
... yuv data re
presentation because the image is represented using more detail in greyscale than in color, the values of y', u, and v are not typically stored together, one sample per pixel, the way rgb images are stored in memory.
alignment-baseline - SVG: Scalable Vector Graphics
note: as a
presentation attribute alignment-baseline can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following four elements: <tspan>, <tref>, <altglyph>, and <textpath> usage notes value auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | top | center | bottom default value auto animatable yes auto the value is the dominant-baseline of the script to which the character belongs - i.e., use the dominant-baseline of the parent.
baseline-shift - SVG: Scalable Vector Graphics
note: as a
presentation attribute baseline-shift can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following four elements: <altglyph>, <textpath>, <tref>, and <tspan> usage notes value <length-percentage> | sub | super default value 0 animatable yes sub the dominant-baseline is shifted to the default position for subscripts.
clip - SVG: Scalable Vector Graphics
the clip attribute is a
presentation attribute defining the visible region of an element.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following six elements: <svg>, <symbol>, <image>, <foreignobject>, <pattern>, <marker> html,body,svg { height:100% } <svg viewbox="0 0 20 10" xmlns="http://www.w3.org/2000/svg"> <!-- auto clipping --> <svg x="0" width="10" height="10" clip="auto"> <circle cx="5" cy="5" r="4" stroke="green" /> </svg> <!-- rect(top, right, bottom, left) clipping --> <svg x="10" width="10" height="10" ...
color-interpolation-filters - SVG: Scalable Vector Graphics
note: as a
presentation attribute, color-interpolation can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has an effect on the following eighteen elements: <fespotlight>, <feblend>, <fecolormatrix>, <fecomponenttransfer>, <fecomposite>, <feconvolvematrix>, <fediffuselighting>, <fedisplacementmap>, <fedropshadow>, <feflood>, <fegaussianblur>, <feimage>, <femerge>, <femorphology>, <feoffset>, <fespecularlighting>, <fetile>, <feturbulence> usage notes value auto | srgb | linearrgb default value linearrgb animatable yes auto indicates that the user agent can choose either the srgb or linearrgb spaces for color interpolation.
color-interpolation - SVG: Scalable Vector Graphics
note: as a
presentation attribute, color-interpolation can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has an effect on the following 29 elements: <a>, <animate>, <animatecolor>, <circle>, <clippath>, <defs>, <ellipse>, <foreignobject>, <g>, <glyph>, <image>, <line>, <lineargradient>, <marker>, <mask>, <missing-glyph>, <path>, <pattern>, <polygon>, <polyline>, <radialgradient>, <rect>, <svg>, <switch>, <symbol>, <text>, <textpath>, <tspan>, and <use> usage notes value auto | srgb | linearrgb default value srgb animatable yes auto indicates that the user agent can choose either the srgb or linearrgb spaces for color interpolation.
color-profile - SVG: Scalable Vector Graphics
note: as a
presentation attribute, color-profile can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has an effect on the following element: <image> usage notes value auto | srgb | <name> | <iri> default value auto animatable yes auto all colors are presumed to be defined in the srgb color space unless a more precise embedded profile is specified within content data.
color-rendering - SVG: Scalable Vector Graphics
note: as a
presentation attribute, color-rendering can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has an effect on the following 29 elements: <a>, <animate>, <animatecolor>, <circle>, <clippath>, <defs>, <ellipse>, <foreignobject>, <g>, <glyph>, <image>, <line>, <lineargradient>, <marker>, <mask>, <missing-glyph>, <path>, <pattern>, <polygon>, <polyline>, <radialgradient>, <rect>, <svg>, <switch>, <symbol>, <text>, <textpath>, <tspan>, and <use> html, body, svg { height: 100%; } <svg viewbox="0 0 480 200" xmlns="http://www.w3.org/2000/svg"> <defs> <radialgradient id="gradient" cx="0.5" cy="0.5" r="0.5" fx="0.35" fy="0.35" fr="5%"> <stop offset="0%" stop-color="white"/> <stop offset="100%" stop-color="darkseagreen"/> </radialgradient> </defs> <circle cx="100" cy="100" r="100" fill="url(#gra...
color - SVG: Scalable Vector Graphics
note: as a
presentation attribute, color can be used as a css property.
... as a
presentation attribute, it can be applied to any element, but as noted above, it has no direct effect on svg elements.
cursor - SVG: Scalable Vector Graphics
as a
presentation attribute, it also can be used as a property directly inside a css stylesheet, see css cursor for further information.
... usage context categories
presentation attribute value [[<funciri>,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ]] | inherit animatable yes normative document svg 1.1 (2nd edition) <funciri> functional notation for a reference.
direction - SVG: Scalable Vector Graphics
for other cases, such as when using right-to-left languages, it may be sufficient to add the direction attribute to the outermost <svg> element, and allow that direction to inherit to all text elements: note: as a
presentation attribute, direction can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has effect on shapes and text context elements, including: <altglyph>, <textpath>, <text>, <tref>, and <tspan>.
dominant-baseline - SVG: Scalable Vector Graphics
note: as a
presentation attribute, dominant-baseline can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has effect on the text content elements, including: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } text { font: bold 14px verdana, helvetica, arial, sans-serif; } <svg viewbox="0 0 200 120" xmlns="http://www.w3.org/2000/svg"> <path d="m20,20 l180,20 m20,50 l180,50 m20,80 l180,80" stroke="grey" /> <text dominant-baseline="baseline" x="30" y="20">baseline</text> <text dominant-baseline="middle" x="30" y="50">middle</text> <text dominant-baseline="hanging" x="30" y="80">hanging</text> </svg> usage notes value auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging ...
enable-background - SVG: Scalable Vector Graphics
note: as a
presentation attribute, enable-background can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eleven elements: <a>, <defs>, <glyph>, <g>, <marker>, <mask>, <missing-glyph>, <pattern>, <svg>, <switch>, and <symbol> context notes value accumulate | new [ <x> <y> <width> <height> ]?
filter - SVG: Scalable Vector Graphics
note: as a
presentation attribute, filter can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it only has effect on container elements without the <defs> element, all graphics elements and the <use> element.
flood-color - SVG: Scalable Vector Graphics
note: as a
presentation attribute, flood-color can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following two elements: <feflood> and <fedropshadow> html, body, svg { height: 100%; } <svg viewbox="0 0 420 200" xmlns="http://www.w3.org/2000/svg"> <filter id="flood1"> <feflood flood-color="skyblue" x="0" y="0" width="200" height="200"/> </filter> <filter id="flood2"> <feflood flood-color="seagreen" x="0" y="0" width="200" height="200"/> </filter> <rect x="0" y="0" width="200" height="200" style="filter: url(#flood1);" /> <rect x="0" y="0" width="200" height="200" style="filter: url(#flood2); transform: translatex(220px);" /> </svg> usage notes value color initial value black animatable yes specifications specification ...
flood-opacity - SVG: Scalable Vector Graphics
note: as a
presentation attribute, flood-opacity can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following two elements: <feflood> and <fedropshadow> html, body, svg { height: 100%; } <svg viewbox="0 0 420 200" xmlns="http://www.w3.org/2000/svg"> <filter id="flood1"> <feflood flood-color="seagreen" flood-opacity="1" x="0" y="0" width="200" height="200"/> </filter> <filter id="flood2"> <feflood flood-color="seagreen" flood-opacity="0.3" x="0" y="0" width="200" height="200"/> </filter> <rect x="0" y="0" width="200" height="200" style="filter: url(#flood1);" /> <rect x="0" y="0" width="200" height="200" style="filter: url(#flood2); transform: translatex(220px);" /> </svg> usage notes value <alpha-value> initial value 1 animatable yes ...
font-family - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-family can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 200 30" xmlns="http://www.w3.org/2000/svg"> <text y="20" font-family="arial, helvetica, sans-serif">sans serif</text> <text x="100" y="20" font-family="monospace">monospace</text> </svg> usage notes value [ <family-name> | <generic-family> ]#where <family-name> = <string> | <custom-ident>+<generic-family> = serif | sans-serif | cursive | fantasy | monospace default value depends on user agent animatable yes for a description of the values, please refer to the css font-f...
font-size-adjust - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-size-adjust can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg width="600" height="80" viewbox="0 0 500 80" xmlns="http://www.w3.org/2000/svg"> <text y="20" font-family="times, serif" font-size="10px"> this text uses the times font (10px), which is hard to read in small sizes.
font-size - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-size can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 200 30" xmlns="http://www.w3.org/2000/svg"> <text y="20" font-size="smaller">smaller</text> <text x="100" y="20" font-size="2em">2em</text> </svg> usage notes value <absolute-size> | <relative-size> | <length-percentage> default value medium animatable yes for a description of the values, please refer to the css font-size property.
font-stretch - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-stretch can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> usage notes value <font-stretch-absolute>where <font-stretch-absolute> = normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage> default value normal animatable yes specifications specification status comment css fonts module level 4the definition of 'font-stretch' in that specification.
font-style - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-style can be used as a css property.
... as a
presentation attribute, it can be applied to any element but only has an effect on the following five elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 250 30" xmlns="http://www.w3.org/2000/svg"> <text y="20" font-style="normal">normal font style</text> <text x="150" y="20" font-style="italic">italic font style</text> </svg> usage notes value normal | italic | oblique default value normal animatable yes for a description of the values, please refer to the css font-style property.
font-variant - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-variant can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 250 30" xmlns="http://www.w3.org/2000/svg"> <text y="20" font-variant="normal">normal text</text> <text x="100" y="20" font-variant="small-caps">small-caps text</text> </svg> usage notes value normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornament...
font-weight - SVG: Scalable Vector Graphics
note: as a
presentation attribute, font-weight can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 200 30" xmlns="http://www.w3.org/2000/svg"> <text y="20" font-weight="normal">normal text</text> <text x="100" y="20" font-weight="bold">bold text</text> </svg> usage notes value normal | bold | bolder | lighter | <number> default value normal animatable yes for a description of the values, please refer to the css font-weight property.
glyph-orientation-horizontal - SVG: Scalable Vector Graphics
note: as a
presentation attribute, glyph-orientation-horizontal can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following five elements: <altglyph>, <textpath>, <text>, <tref>, and <tspan> context notes value <angle> default value 0deg animatable no <angle> the value of the angle is restricted to 0, 90, 180, and 270 degrees.
image-rendering - SVG: Scalable Vector Graphics
note: as a
presentation attribute, image-rendering can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following element: <image> usage notes value auto | optimizespeed | optimizequality default value auto animatable yes auto indicates that the user agent shall make appropriate tradeoffs to balance speed and quality, but quality shall be given more importance than speed.
kerning - SVG: Scalable Vector Graphics
note: as a
presentation attribute kerning can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following four elements: <altglyph>, <textpath>, <text>, <tref>, and <tspan> html, body, svg { height: 100%; font: 36px verdana, helvetica, arial, sans-serif; } <svg viewbox="0 0 150 125" xmlns="http://www.w3.org/2000/svg"> <text x="10" y="30" kerning="auto">auto</text> <text x="10" y="70" kerning="0">number</text> <text x="10" y="110" kerning="20px">length</text> </svg> usage notes value auto | <length> default value auto animatable yes auto this value indicates that the spacing between glyphs is adjusted based on kerning tables that are included in the font that will be used.
letter-spacing - SVG: Scalable Vector Graphics
note: as a
presentation attribute, letter-spacing can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 400 30" xmlns="http://www.w3.org/2000/svg"> <text y="20" letter-spacing="2">bigger letter-spacing</text> <text x="200" y="20" letter-spacing="-0.5">smaller letter-spacing</text> </svg> usage notes value normal | <length> default value normal animatable yes for a description of the values, please refer to the css letter-spacing property.
marker-end - SVG: Scalable Vector Graphics
note: as a
presentation attribute, marker-end can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following seven elements: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect> html, body, svg { height: 100%; } <svg viewbox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="triangle" viewbox="0 0 10 10" refx="1" refy="5" markerunits="strokewidth" markerwidth="10" markerheight="10" orient="auto"> <path d="m 0 0 l 10 5 l 0 10 z" fill="#f00"/> </marker> </defs> <polyline fill="none" stroke="black" points="20,100 40,60 70,80 100,20" marker-end="url(#triangle)"/> </svg> usage notes value none | <marker-ref> default value none animatable yes none indic...
marker-mid - SVG: Scalable Vector Graphics
note: as a
presentation attribute, marker-mid can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following seven elements: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect> html, body, svg { height: 100%; } <svg viewbox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="circle" markerwidth="8" markerheight="8" refx="4" refy="4"> <circle cx="4" cy="4" r="4" stroke="none" fill="#f00"/> </marker> </defs> <polyline fill="none" stroke="black" points="20,100 40,60 70,80 100,20" marker-mid="url(#circle)"/> </svg> usage notes value none | <marker-ref> default value none animatable yes none indicates that no marker symbol shall be drawn at the given vertices.
marker-start - SVG: Scalable Vector Graphics
note: as a
presentation attribute, marker-start can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following seven elements: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect> html, body, svg { height: 100%; } <svg viewbox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="triangle" viewbox="0 0 10 10" refx="1" refy="5" markerunits="strokewidth" markerwidth="10" markerheight="10" orient="auto"> <path d="m 0 0 l 10 5 l 0 10 z" fill="#f00"/> </marker> </defs> <polyline fill="none" stroke="black" points="20,100 40,60 70,80 100,20" marker-start="url(#triangle)"/> </svg> usage notes value none | <marker-ref> default value none animatable yes none ind...
opacity - SVG: Scalable Vector Graphics
note: as a
presentation attribute, opacity can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following elements: <a>, <audio>, <canvas>, <circle>, <ellipse>, <foreignobject>, <g>, <iframe>, <image>, <line>, <marker>, <path>, <polygon>, <polyline>, <rect>, <svg>, <switch>, <symbol>, <text>, <textpath>, <tspan>, <use>, <unknown>, and <video> html, body, svg { height: 100%; } <svg viewbox="0 0 200 100" xmlns="http://www.w3.org/2000/svg"> <defs> <lineargradient id="gradient" x1="0%" y1="0%" x2="0" y2="100%"> <stop offset="0%" style="stop-color:skyblue;" /> <stop offset="100%" style="stop-color:seagreen;" /> </lineargradient> </defs> <rect x="0" y="0" width="100%" height="100%" fill="url(#gradient)" /> <circle cx="50" cy...
overflow - SVG: Scalable Vector Graphics
note: as a
presentation attribute, overflow can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eight elements: <foreignobject>, <iframe>, <image>, <marker>, <pattern>, <symbol>, <svg>, and <text> html, body, svg { height: 100%; } <svg viewbox="0 0 200 30" xmlns="http://www.w3.org/2000/svg" overflow="auto"> <text y="20">this text is wider than the svg, so there should be a scrollbar shown.</text> </svg> usage notes value visible | hidden | scroll | auto default value visible animatable yes for a description of the values, please see the css overflow property.
paint-order - SVG: Scalable Vector Graphics
note: as a
presentation attribute, paint-order can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following ten elements: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, and <tspan> usage notes value normal | [ fill || stroke || markers ] default value normal animatable yes normal this value indicates that the fill will be painted first, then the stroke, and finally the markers.
shape-rendering - SVG: Scalable Vector Graphics
note: as a
presentation attribute, shape-rendering can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following seven elements: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect> html, body, svg { height: 100%; } <svg viewbox="0 0 420 200" xmlns="http://www.w3.org/2000/svg"> <circle cx="100" cy="100" r="100" shape-rendering="geometricprecision"/> <circle cx="320" cy="100" r="100" shape-rendering="crispedges"/> </svg> usage notes value auto | optimizespeed | crispedges | geometricprecision default value auto animatable yes auto this value indicates that the user agent shall make appropriate tradeoffs to balance speed, crisp edges and geometric precision, but with geometric precision given more importance than speed and crisp edge...
stop-color - SVG: Scalable Vector Graphics
note: as a
presentation attribute, stop-color can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following element: <stop> usage notes value currentcolor | <color> <icccolor> default value black animatable yes currentcolor this keyword denotes the current fill color and can be specified in the same manner as within a <paint> specification for the fill and stroke attributes.
stop-opacity - SVG: Scalable Vector Graphics
note: as a
presentation attribute, stop-opacity can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following element: <stop> usage notes value <opacity-value> default value 1 animatable yes <opacity-value> this value is either a <number> between 0 and 1 or a <percentage> value specifying the opacity of the color gradient stop.
stroke-dasharray - SVG: Scalable Vector Graphics
the stroke-dasharray attribute is a
presentation attribute defining the pattern of dashes and gaps used to paint the outline of the shape; note: as a
presentation attribute, stroke-dasharray can be used as a css property.
... as a
presentation attribute, it can be applied to any element, but it only has effect on the following twelve elements: <altglyph> <circle> <ellipse> <path> <line> <polygon> <polyline> <rect> <text> <textpath> <tref> <tspan> html,body,svg { height:100% } <svg viewbox="0 0 30 10" xmlns="http://www.w3.org/2000/svg"> <!-- no dashes nor gaps --> <line x1="0" y1="1" x2="30" y2="1" stroke="black" /> <!-- dashes and gaps of the same size --> <line x1="0" y1="3" x2="30" y2="3" stroke="black" stroke-dasharray="4" /> <!-- dashes and gaps of different sizes --> <line x1="0" y1="5" x2="30" y2="5" stroke="black" stroke-dasharray="4 1" /> <!-- dashes and gaps of various sizes with an odd number of values --> <line x1="0" y1="7" x2="30" y2="7" stro...
stroke-width - SVG: Scalable Vector Graphics
the stroke-width attribute is a
presentation attribute defining the width of the stroke to be applied to the shape.
... as a
presentation attribute, it can be applied to any element but it only has effect on shapes and text context elements, including: <altglyph>, <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 30 10" xmlns="http://www.w3.org/2000/svg"> <!-- default stroke width: 1 --> <circle cx="5" cy="5" r="3" stroke="green" /> <!-- stroke width as a number --> <circle cx="15" cy="5" r="3" stroke="green" stroke-width="3" /> <!-- stroke width as a percentage --> <circle cx="25" cy="5" r="3" stroke="green" stroke-width="2%" /> </svg> usage notes value <length> | <percentage> default value 1px animatable yes note: a percentag...
stroke - SVG: Scalable Vector Graphics
the stroke attribute is a
presentation attribute defining the color (or any svg paint servers like gradients or patterns) used to paint the outline of the shape; note: as a
presentation attribute stroke can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following twelve elements: <altglyph>, <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="0 0 20 10" xmlns="http://www.w3.org/2000/svg"> <!-- simple color stroke --> <circle cx="5" cy="5" r="4" fill="none" stroke="green" /> <!-- stroke a circle with a gradient --> <defs> <lineargradient id="mygradient"> <stop offset="0%" stop-color="green" /> <stop offset="100%" stop-color="white" /> </lineargradient> </defs> <circle cx="15" cy="5" r="4" fill="none" stroke="url(#mygradient)" /> </svg> usage notes value <paint> default val...
text-anchor - SVG: Scalable Vector Graphics
note: as a
presentation attribute, text-anchor can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following five elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"> <!-- materialisation of anchors --> <path d="m60,15 l60,110 m30,40 l90,40 m30,75 l90,75 m30,110 l90,110" stroke="grey" /> <!-- anchors in action --> <text text-anchor="start" x="60" y="40">a</text> <text text-anchor="middle" x="60" y="75">a</text> <text text-anchor="end" x="60" y="110">a</text> <!-- materialisation of anchors --> <circle cx="60" cy="40" r="3" fill="red" /> <circle cx="60" cy="75" r="3" fill="red" /> <circle cx="60" cy="110" r="3" fill="red" /> <style><![cdata[ text { font: bold 36px v...
text-decoration - SVG: Scalable Vector Graphics
note: as a
presentation attribute, text-decoration can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following five elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 250 50" xmlns="http://www.w3.org/2000/svg"> <text y="20" text-decoration="underline">underlined text</text> <text x="0" y="40" text-decoration="line-through">struck-through text</text> </svg> usage notes value <'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> default value see individual properties animatable yes for a description of the values, please refer to the css text-decoration property.
text-rendering - SVG: Scalable Vector Graphics
note: as a
presentation attribute, text-rendering can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following element: <text> html, body, svg { height: 100%; } <svg viewbox="0 0 140 40" xmlns="http://www.w3.org/2000/svg"> <text y="15" text-rendering="geometricprecision">geometric precision</text> <text y="35" text-rendering="optimizelegibility">optimized legibility</text> </svg> usage notes value auto | optimizespeed | optimizelegibility | geometricprecision default value auto animatable yes auto this value indicates that the user agent shall make appropriate tradeoffs to balance speed, legibility and geometric precision, but with legibility given more importance than speed and geometric p...
transform - SVG: Scalable Vector Graphics
lns:xlink="http://www.w3.org/1999/xlink"> <g fill="grey" transform="rotate(-10 50 100) translate(-36 45.5) skewx(40) scale(1 0.5)"> <path id="heart" d="m 10,30 a 20,20 0,0,1 50,30 a 20,20 0,0,1 90,30 q 90,60 50,90 q 10,60 10,30 z" /> </g> <use xlink:href="#heart" fill="none" stroke="red"/> </svg> note: as of svg2, transform is a
presentation attribute, meaning it can be used as a css property.
... as a
presentation attribute, transform can be used by any element (in svg 1.1, only these 16 elements were allowed to use it: <a>, <circle>, <clippath>, <defs>, <ellipse>, <foreignobject>, <g>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <switch>, <text>, and <use>).
unicode-bidi - SVG: Scalable Vector Graphics
note: as a
presentation attribute, unicode-bidi can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following eleven elements: <altglyph>, <textpath>, <text>, <tref>, and <tspan> context notes value normal | embed | isolate | bidi-override | isolate-override | plaintext default value normal animatable no for a description of the values, please refer to the css unicode-bidi property.
vector-effect - SVG: Scalable Vector Graphics
note: as a
presentation attribute, vector-effect can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following ten elements: <circle>, <ellipse>, <foreignobject>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath> <tspan>, and <use> usage notes value none | non-scaling-stroke | non-scaling-size | non-rotation | fixed-position default value none animatable yes none this value specifies that no vector effect shall be applied, i.e.
visibility - SVG: Scalable Vector Graphics
note: as a
presentation attribute, visibility can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following nineteen elements: <a>, <altglyph>, <audio>, <canvas>, <circle>, <ellipse>, <foreignobject>, <iframe>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textpath>, <tref>, <tspan>, <video> html, body, svg { height: 100%; } <svg viewbox="0 0 220 120" xmlns="http://www.w3.org/2000/svg"> <rect x="10" y="10" width="200" height="100" stroke="black" stroke-width="5" fill="transparent" /> <g stroke="seagreen" stroke-width="5" fill="skyblue"> <rect x="20" y="20" width="80" height="80" visibility="visible" /> <rect x="120" y="20" width="80" height="80" visibility="hidden"/> </g> </svg> usage notes va...
word-spacing - SVG: Scalable Vector Graphics
note: as a
presentation attribute, word-spacing can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following five elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewbox="0 0 250 50" xmlns="http://www.w3.org/2000/svg"> <text y="20" word-spacing="2">bigger spacing between words</text> <text x="0" y="40" word-spacing="-0.5">smaller spacing between words</text> </svg> usage notes value normal | <length> animatable yes default values normal for a description of the values, please refer to the css letter-spacing property.
writing-mode - SVG: Scalable Vector Graphics
(note that the inline-progression-direction can change within a <text> element due to the unicode bidirectional algorithm and properties direction and unicode-bidi.) note: as a
presentation attribute, writing-mode can be used as a css property.
... as a
presentation attribute, it can be applied to any element but it has effect only on the following five elements: <altglyph>, <text>, <textpath>, <tref>, and <tspan> usage notes default value horizontal-tb value horizontal-tb | vertical-rl | vertical-lr animatable yes horizontal-tb this value defines a top-to-bottom block flow direction.
<feDropShadow> - SVG: Scalable Vector Graphics
the drop shadow color and opacity can be changed by using the flood-color and flood-opacity
presentation attributes.
... value type: <number>; default value: 2; animatable: yes global attributes core attributes most notably: id styling attributes class, style filter primitive attributes height, in, result, x, y, width
presentation attributes most notably: flood-color, flood-opacity usage notes categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <script>, <set> specifications specification status comment filter effects module level 1the definition of '<fedropshadow>' in that specification.
<g> - SVG: Scalable Vector Graphics
html,body,svg { height:100% } <svg viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <!-- using g to inherit
presentation attributes --> <g fill="white" stroke="green" stroke-width="5"> <circle cx="40" cy="40" r="25" /> <circle cx="60" cy="60" r="25" /> </g> </svg> attributes this element only includes global attributes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlangua...
...ge event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, 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-l...
SVG 1.1 Support in Firefox - SVG: Scalable Vector Graphics
various
presentation attributes don't work (alignment-baseline, baseline-shift, dominant-baseline, kerning, letter-spacing, word-spacing, writing-mode, glyph-orientation-horizontal, glyph-orientation-vertical) recently implemented
presentation attributes: direction, unicode-bidi, font-variant, text-decoration svgtextelement recently imlemented bindings: selectsubstring recently implem...
... various
presentation attributes don't work (alignment-baseline, baseline-shift, dominant-baseline, kerning, letter-spacing, word-spacing, writing-mode, glyph-orientation-horizontal, glyph-orientation-vertical) recently implemented
presentation attributes: direction, unicode-bidi, font-variant, text-decoration svgtspanelement recently implemented bindings: selectsubstring recently implemented attributes: textlength, lengthadjust tref this feature, present in early draft of the spec, has been removed from it and is therefor not implemented (bug 273171).
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
svgexternalresourcesrequired removed never implemented svgelement.viewportelement and svgelement.ownersvgelement nullable implementation status unknown svgelement.get
presentationattribute() removed never implemented (prototype removed in bug 921456) svgcolor and svgicccolor removed never implemented svgelement.focus(), svgelement.blur() not implemented (bug 778654) svgelement.tabindex implemented (bug 778654) document.activeelement implementation status unknown globaleventhandlers on svgelement implementation ...
...ign> implementation status unknown use of white-space instead of deprecated xml:space attribute in ua style sheet implementation status unknown @font-face, ::first-letter and ::first-line on <text> implementation status unknown svg and html style sheets in html document with inline svg applying to whole document content implementation status unknown
presentation attributes on any svg namespaced element implementation status unknown display behavior of <style> defined via ua style sheet implementation status unknown !important user agent style rules controlling never-rendered elements implementation status unknown :focus and ::selection styles implementation status unknown geometry change notes ...
Index - XSLT: Extensible Stylesheet Language Transformations
since the xml data loaded only contains the raw information without any
presentation data, it can load quickly even on dialup.
... 13 transforming xml with xslt needsmigration, transforming_xml_with_xslt, xml, xslt the separation of content and
presentation is a key design feature of xml.
An Overview - XSLT: Extensible Stylesheet Language Transformations
before transformation can take place, the primary xml document(s) and the stylesheet document(s) must be run through a parser, which creates an abstract re
presentation of the structure of the document in memory.
... this re
presentation, called the tree, is what is actually manipulated by the processor.
Transforming XML with XSLT - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference: xslt elements, exslt functions, xpath functions, xpath axes an overview the separation of content and
presentation is a key design feature of xml.
...because a browser provides a familiar and highly flexible interface, it is an ideal mechanism for delivering such
presentation versions of xml content.
/loader - Archive of obsolete content
, "warn: "), error: dump.bind(dump, "error: ") } }, modules: { // expose legacy api via pseudo modules that eventually may be // replaced with a real ones :) "devtools/gcli": cu.import("resource:///modules/gcli.jsm", {}), "net/utils": cu.import("resource:///modules/netutil.jsm", {}) } }); loader instances the loader produces instances that are nothing more than re
presentations of the environment into which modules are loaded.
package.json - Archive of obsolete content
the package.json file contains manifest data for your add-on, providing not only descriptive information about the add-on for
presentation in the add-ons manager, but other metadata required of add-ons.
Tools - Archive of obsolete content
package.json the package.json file contains manifest data for your add-on, providing not only descriptive information about the add-on for
presentation in the add-ons manager, but other metadata required of add-ons.
Enhanced Extension Installation - Archive of obsolete content
if updated compatibility information is found this is written into the in-memory re
presentation of the the temporary install manifest and the install function is called recursively, supplying this updated install manifest as the source for _getinstalldata.
Chapter 4: Using XPCOM—Implementing advanced processes - Archive of obsolete content
ponents .classes['@mozilla.org/intl/converter-output-stream;1'] .createinstance(components.interfaces.nsiconverteroutputstream); converterstream.init(filestream, charset, string.length, components.interfaces.nsiconverterinputstream.default_replacement_character); converterstream.writestring(string); converterstream.close(); filestream.close(); character encoding conversion firefox's internal re
presentation of all text is in unicode.
Documentation for BiDi Mozilla - Archive of obsolete content
plicable) implementation comments nsibidi intl\unicharutil\public\nsibidi.h intl\unicharutil\src\nsbidiimp.cpp implementation of the unicode bidi algorithm nsiubidiutils intl\unicharutil\public\nsiubidiutils.h intl\unicharutil\src\nsbidiutilsimp.cpp utilities for bidi processing, including: character classification symmetric swapping reordering shaping numeric translation conversion to/from
presentation forms nsbidipresutils layout/base/nsbidipresutils.cpp utilities for the layout engine including: resolve frames by bidi level split framesreorder frames format bidi text support for deletion and insertion of frames by editor nsbiditextframe layout/generic/nsbidiframes.cpp subclass of nsframe with additional method setoffsets, to adjust mcontentoffset and mcontentlength during bidi process...
Space Manager Detailed Design - Archive of obsolete content
l for circular linked list of band rects frameinfo* mframeinfomap; nsintervalset mfloatdamage; static print32 scachedspacemanagercount; static void* scachedspacemanagers[ns_space_manager_cache_size]; nsspacemanager(const nsspacemanager&); // no implementation void operator=(const nsspacemanager&); // no implementation }; public api life cycle the constructor requires a
presentation shell, used for arena allocations mostly, and a frame that this space manager is rooted on.
Tamarin Acceptance Test Template - Archive of obsolete content
addtestcase is a function that is defined * in shell.as and takes three arguments: * - a string re
presentation of what is being tested * - the expected result * - the actual result * * for example, a test might look like this: * * var helloworld = "hello world"; * * addtestcase( * "var helloworld = 'hello world'", // description of the test * "hello world", // expected result * helloworld ); // actual result * */ // add your tests here var hellowo...
Example 5 - Learn web development
change states html content <form class="no-widget"> <select name="myfruit"> <option>cherry</option> <option>lemon</option> <option>banana</option> <option>strawberry</option> <option>apple</option> </select> <div class="select" role="listbox"> <span class="value">cherry</span> <ul class="optlist hidden" role="
presentation"> <li class="option" role="option" aria-selected="true">cherry</li> <li class="option" role="option">lemon</li> <li class="option" role="option">banana</li> <li class="option" role="option">strawberry</li> <li class="option" role="option">apple</li> </ul> </div> </form> css content .widget select, .no-widget .select { position : absolute; left : -5000...
Advanced text formatting - Learn web development
you should try having a play with these (try grabbing a copy of our other-semantics.html sample file): <pre><code>var para = document.queryselector('p'); para.onclick = function() { alert('owww, stop poking me!'); }</code></pre> <p>you shouldn't use
presentational elements like <code><font></code> and <code><center></code>.</p> <p>in the above javascript example, <var>para</var> represents a paragraph element.</p> <p>select all the text with <kbd>ctrl</kbd>/<kbd>cmd</kbd> + <kbd>a</kbd>.</p> <pre>$ <kbd>ping mozilla.org</kbd> <samp>ping mozilla.org (63.245.215.20): 56 data bytes 64 bytes from 63.245.215.20: icmp_seq=0 ttl=40 time=158.233 ...
HTML text fundamentals - Learn web development
elements like this, which only affect
presentation and not semantics, are known as
presentational elements and should no longer be used, because as we've seen before, semantics is so important to accessibility, seo, etc.
Graceful asynchronous programming with Promises - Learn web development
with old-style callbacks, a pseudo-code re
presentation of the above functionality might look something like this: choosetoppings(function(toppings) { placeorder(toppings, function(order) { collectorder(order, function(pizza) { eatpizza(pizza); }, failurecallback); }, failurecallback); }, failurecallback); this is messy and hard to read (often referred to as "callback hell"), requires the failurecallback() to be called multiple tim...
Manipulating documents - Learn web development
this is a "tree structure" re
presentation created by the browser that enables the html structure to be easily accessed by programming languages — for example the browser itself uses it to apply styling and other information to the correct elements as it renders a page, and developers like you can manipulate the dom with javascript after the page has been rendered.
Framework main features - Learn web development
a react re
presentation of this authorcredit component might look something like this: function authorcredit(props) { return ( <figure> <img src={props.src} alt={props.alt} /> <figcaption>{props.byline}</figcaption> </figure> ); } {props.src}, {props.alt}, and {props.byline} represent where our props will be inserted into the component.
Starting our Svelte Todo list app - Learn web development
to get rid of this, remove the name prop from src/main.js; it should now look like so: import app from './app.svelte' const app = new app({ target: document.body }) export default app now if you check your testing server url you'll see our todos.svelte component being rendered: adding static markup for the moment we will start with a static markup re
presentation of our app, so you can see what it will look like.
MathML Torture Test
addeventlistener("change", updatemathfont, false) } window.addeventlistener("load", load, false); the following test contains sample tex formulas from knuth's tex book and equivalent mathml re
presentations.
Various MathML Tests
overview of
presentation mathml elements testing tensor indices <mmultiscripts>: r i1 j2 k3 ; this with <none/>, a qp i a bit of calculus: ∫ a b f ( x ) dx ∂ ∂ x f ( x , y ) + ∂ ∂ y f ( x , y ) here is the alphabet with invisible portions wrapped by <mphantom> in between: a b c d e f g h i j k l m n o p q r s t u v w x y z .
Mozilla Web Developer FAQ
also, html was designed to adapt to different
presentation media, so different
presentations of the same document are to be expected.
Mozilla Style System Documentation
i'm reluctant to write it both since i don't know much about it.] problems:a bunch the code needs to be rewritten to prevent stylesheets from blocking the parser and to reduce string copying (although that partly goes with parsing).] parsing stylesheet re
presentation problems: the stylesheet re
presentation uses way too much memory.
TraceMalloc
build/dist/minefield.app/contents/macos/firefox --trace-malloc /dev/null --shutdown-leaks=sdleak.log # convert raw log to text re
presentation of call trees perl source/tools/trace-malloc/diffbloatdump.pl --depth=15 --use-address /dev/null sdleak.log > sdleak.tree.raw # frobulate trees to remove extraneous junk perl source/tools/rb/fix-macosx-stack.pl sdleak.tree.raw > sdleak.tree you can also use the leakstats program to analyze a log for shutdown leaks.
about:memory
various sub-trees have been expanded and others collapsed for the sake of
presentation.
PRHostEnt
h_length length of internal re
presentation of the address in bytes.
PRTime
a re
presentation of absolute times.
PR_FindSymbolAndLibrary
syntax #include <prlink.h> void* pr_findsymbolandlibrary ( const char *name, prlibrary **lib); parameters the function has these parameters: name the textual re
presentation of the symbol to locate.
NSS_3.12_release_notes.html
ect bug 416928: der decode error on this policy extension bug 375019: cache-enable pkix_ocspchecker_check bug 391454: libpkix does not honor nss's override trust flags bug 403682: cert_pkixverifycert never succeeds bug 324744: add generation of policy extensions to certutil bug 390973: add long option names to secu_parsecommandline bug 161326: need api to convert dotted oid format to/from octet re
presentation bug 376737: cert_importcerts routinely sets valid_peer or valid_ca override trust flags bug 390381: libpkix rejects cert chain when root ca cert has no basic constraints bug 391183: rename libpkix error string number type to pkix error number types bug 397122: nss 3.12 alpha treats a key3.db with no global salt as having no password bug 405966: unknown signature oid 1.3.14.3.2.29 causes sec_error...
NSS 3.16.1 release notes
in secmod.h secmod_internaltopubmechflags - converts from nss-internal to public re
presentation of mechanism flags.
Necko
necko is a network library that provides a platform-independent api for several layers of networking, ranging from transport to
presentation layers.
Rhino overview
in a typical client embedding, this object might be a string with the url of the server that supplied the script, or an object that contains a re
presentation of the signers of a piece of code for certificate-based security policies.
Bytecode Descriptions
implements: topropertykey, except that if the result would be the string re
presentation of some integer in the range 0..2^31, we push the corresponding int32 value instead.
Bytecodes
background spidermonkey bytecodes are the canonical form of code re
presentation that is used in the javascript engine.
Property cache
throughout this article, phrases such as "own property" should be taken to refer to the low-level re
presentation of properties in scopes and shape chains.
JSAPI Cookbook
/ javascript var v = computesomevalue(); var isstring = typeof v === "string"; var isnumber = typeof v === "number"; var isnull = v === null; var isboolean = typeof v === "boolean"; var isobject = typeof v === "object" && v !== null; /* jsapi */ js::rootedvalue v(cx, computesomevalue()); bool isstring = v.isstring(); bool isnumber = v.isnumber(); bool isint32 = v.isint32(); // note: internal re
presentation, not numeric value bool isnull = v.isnull(); bool isboolean = v.isboolean(); bool isobject = v.isobject(); // note: not broken like typeof === "object" is :-) to set a value use a correspondingly named member mutator function, or assign the result of the correspondingly named standalone function: // javascript var v; v = 0; v = 0.5; v = somestring; v = null; v = undefined; v = false; /* jsapi...
JS::ToString
description js::tostring returns a string re
presentation of a javascript value.
JSID_IS_ZERO
description jsid_is_zero tests whether a specified js id, id, is zero (0 in its integer re
presentation).
JS_AliasElement
this name corresponds to a string re
presentation of the element's current index number.
Parser API
note: because this library uses null for optional nodes, it is recommended that user-defined datatypes not use null as a re
presentation of an ast node.
SpiderMonkey 1.8.5
type changes jsval the base data type, jsval, which represents all possible values in javascript, has changed from 32- to 64-bits wide, and the underlying re
presentation has changed from a c integer type to a c struct.
SpiderMonkey 1.8.7
type changes jsval the base data type, jsval, which represents all possible values in javascript, has changed from 32- to 64-bits wide, and the underlying re
presentation has changed from a c integer type to a c struct.
Zest
the core language does not define any graphical re
presentation - that is expected to be defined by the tools that integrate zest.
Mozinfo
mozinfo also exports: choices: a dictionary of possible values for os, bits, and processor main: the console_script entry point for mozinfo unknown: a singleton denoting a value that cannot be determined unknown has the string re
presentation "unknown".
Redis Tips
bit strings bit strings are just that: compact re
presentations of ones and zeroes.
Gecko object attributes
applied to: any role exposed in aria: aria-live relevant space delimited string with keywords describing what kinds of changes in the subtree are informational, as opposed to
presentational.
Gecko events
event_page_changed a slide changed in a
presentation document or a page boundary was crossed in a word processing document.
The Publicity Stream API
possible error codes include: denied - if the user does not log in correctly permissiondenied - if the site is not allowed to access the publicity stream networkerror - if the publicity server is unreachable for_apps is a json list of apps that this store has (each represented as its origin url), so that stream events not relating to applications in a given
presentation context can be excluded from the return value.
Component Internals
additionally, it relates the components to the type libraries in which the binary re
presentations of the interfaces they support are defined.
Mozilla internal string guide
g except via the handle until you call finish() on the handle in the success case or you let the handle go out of scope without calling finish() in the failure case, in which case the destructor of the handle puts the string in a mostly harmless but consistent state (containing a single replacement character if a capacity greater than 0 was requested, or in the char case if the three-byte utf-8 re
presentation of the replacement character doesn't fit, an ascii substitute).
NS_NewLocalFile
« xpcom api reference summary the ns_newlocalfile function creates an instance of nsilocalfile that provides a platform independent re
presentation of a file path.
NS_NewNativeLocalFile
« xpcom api reference summary the ns_newnativelocalfile function creates an instance of nsilocalfile that provides a platform independent re
presentation of a file path.
Core XPCOM functions
ns_newlocalfilethe ns_newlocalfile function creates an instance of nsilocalfile that provides a platform independent re
presentation of a file path.ns_newnativelocalfilethe ns_newnativelocalfile function creates an instance of nsilocalfile that provides a platform independent re
presentation of a file path.ns_reallocreallocates a block of memory using the xpcom memory manager.ns_shutdownxpcomthe ns_shutdownxpcom function terminates use of xpcom in the calling process.nsresultthe nsresult data type is a strongly-typed enum used ...
PromiseFlatString (External)
parameters prunichar achar appendint void appendint(int, print32) - source append a string re
presentation of a number.
IAccessibleImage
1.0 66 introduced gecko 1.9 inherits from: iunknown last changed in gecko 1.9 (firefox 3) this interface is used for a re
presentation of images like icons on buttons.
imgIEncoder
post-multiplied alpha us used (for example 50% transparent red is 0xff000080) input_format_hostargb 2 input is host-endian argb: on big-endian machines each pixel is therefore argb, and for little-endian machiens (intel) each pixel is bgra (this is used by canvas to match it's internal re
presentation) pre-multiplied alpha is used (that is, 50% transparent red is 0x80800000, not 0x80ff0000) possible values for outputoptions.
nsIAccessibilityService
the container content node for the change is passed in, rather than the changed
presentation for the content node itself.
nsIAccessibleEvent
event_page_changed 0x005a 0x0056 a slide changed in a
presentation document or a page boundary was crossed in a word processing document.
nsIChromeRegistry
converts a chrome url into a canonical re
presentation by ensuring that the filename portion of the url is included, as in chrome://package/provider/file.
nsIDOMWindowUtils
this includes the text of the script and details about its internal re
presentation in spidermonkey, and counts for how often and in what ways each operation in the script executed.
nsIDispatchSupport
boolean isclassmarkedsafeforscripting( in nscidref cid, out boolean classexists ); parameters cid the nsid re
presentation of the clsid to test.
nsIException
name string the name of the error code (a string re
presentation of result) read only.
nsIFile
xpcom/io/nsifile.idlscriptable an instance of this interface is a cross-platform re
presentation of a location in the filesystem.
nsIMsgDBHdr
setting this property will probably result in an inconsistent database re
presentation, so only internal database code should set this attribute.
nsIPlacesView
for example, the re
presentation of selection differs between trees, menus, and other such lists.
nsIScriptableUnicodeConverter
if the other apis you are reading data from or writing data to don't require you to use this legacy re
presentation, you should use textdecoder and textencoder (available to chrome javascript via components.utils.importglobalproperties) instead of this api.
nsIServerSocketListener
the address of the client can be found by calling the nsisockettransport.getaddress() method or by inspecting nsisockettransport.gethost(), which returns a string re
presentation of the client's ip address, which may be either an ipv4 or an ipv6 address.
Using C struct and pointers
the call to structtype() returns a ctype object, and we then apply the new operator to it to create a specific instance of this newly defined type - a javascript re
presentation of the c struct.
Declaring and Using Callbacks
arguments and return values js-ctypes automatically handles the conversion between javascript and c value re
presentations.
Type conversion
types.void_t, [ctypes.char.ptr]); var myfunc = myfunctype.ptr(function(v) { console.log(v.tostring()); }); myfunc("abcde"); // 'ctypes.char.ptr(ctypes.uint64("0x101d1d680"))' myfunc(int32array([1, 2, 3])); // 'ctypes.char.ptr(ctypes.uint64("0x103b7ffe0"))' array types target type source converted value ctypes.char.array(n) js string (only if utf8 re
presentation fits to the array) null-terminated utf8 string ctypes.signed_char.array(n) ctypes.unsigned_char.array(n) ctypes.char16_t.array(n) js string (only if fits to the array) null-terminated utf16 string any array types js array (only if array length is same) convert each element implicitly any array types any arraybuffer object ...
js-ctypes reference
first, they provide a concrete re
presentation of different data types, allowing the programmer to describe the arguments and return type of a native function (see library.declare()).
3D view - Firefox Developer Tools
by clicking and dragging the view, you can rotate and re-orient the 3d
presentation of the dom hierarchy of your page to see it from different angles, to better examine its structure.
DOM allocation example - Firefox Developer Tools
var i = 0; i < toolbarbuttoncount; i++) { var toolbarbutton = createtoolbarbutton(); toolbar.appendchild(toolbarbutton); } return toolbar; } function createtoolbars() { var container = document.getelementbyid("container"); for (var i = 0; i < toolbarcount; i++) { var toolbar = createtoolbar(); container.appendchild(toolbar); } } createtoolbars(); a simple pseudocode re
presentation of how this code operates looks like this: createtoolbars() -> createtoolbar() // called 200 times, creates 1 div element each time -> createtoolbarbutton() // called 20 times per toolbar, creates 1 span element each time in total, then, it creates 200 htmldivelement objects, and 4000 htmlspanelement objects.
Work with animations - Firefox Developer Tools
if you hover over a dot, you'll see the value assigned to that property at that point in the timeline: this is essentially a visual re
presentation of the animation's keyframes: var iconkeyframeset = [ { transform: 'scale(1)', filter: 'grayscale(100%)' }, { filter: 'grayscale(100%)', offset: 0.333 }, { transform: 'scale(1.5)', offset: 0.666 }, { transform: 'scale(1.5)', filter: 'grayscale(0%)' } ]; application to the example applying all this to ...
AbstractRange - Web APIs
ction class="entry" id="entry1"> <h2>section 1: an interesting thing...</h2> <p>a <em>very</em> interesting thing happened on the way to the forum...</p> <aside class="callout"> <h2>aside</h2> <p>an interesting aside to share with you...</p> </aside> </section> </article> <pre id="log"></pre> </div> after loading the html and constructing the dom re
presentation of the document, the resulting dom tree looks like this: in this diagram, the nodes representing html elements are shown in green.
CSSRule - Web APIs
properties common to all cssrule instances cssrule.csstext represents the textual re
presentation of the rule, e.g.
CSSStyleRule - Web APIs
properties cssstylerule.selectortext returns the textual re
presentation of the selector for this rule, e.g.
HTMLImageElement.loading - Web APIs
to prevent this reflow from occurring, you should explicitly specify the size of the image's
presentation using the image element's width and height attributes.
HTMLInputElement - Web APIs
the htmlinputelement interface provides special properties and methods for manipulating the options, layout, and
presentation of <input> elements.
HTMLKeygenElement - Web APIs
the <keygen> elements expose the htmlkeygenelement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and
presentation of keygen elements.
HTMLMapElement - Web APIs
the htmlmapelement interface provides special properties and methods (beyond those of the regular object htmlelement interface it also has available to it by inheritance) for manipulating the layout and
presentation of map elements.
HTMLMeterElement - Web APIs
the html <meter> elements expose the htmlmeterelement interface, which provides special properties and methods (beyond the htmlelement object interface they also have available to them by inheritance) for manipulating the layout and
presentation of <meter> elements.
HTMLObjectElement - Web APIs
the htmlobjectelement interface provides special properties and methods (beyond those on the htmlelement interface it also has available to it by inheritance) for manipulating the layout and
presentation of <object> element, representing external resources.
HTMLOptGroupElement - Web APIs
the htmloptgroupelement interface provides special properties and methods (beyond the regular htmlelement object interface they also have available to them by inheritance) for manipulating the layout and
presentation of <optgroup> elements.
HTMLOutputElement - Web APIs
the htmloutputelement interface provides properties and methods (beyond those inherited from htmlelement) for manipulating the layout and
presentation of <output> elements.
HTMLProgressElement - Web APIs
the htmlprogresselement interface provides special properties and methods (beyond the regular htmlelement interface it also has available to it by inheritance) for manipulating the layout and
presentation of <progress> elements.
HTMLTableCellElement - Web APIs
the htmltablecellelement interface provides special properties and methods (beyond the regular htmlelement interface it also has available to it by inheritance) for manipulating the layout and
presentation of table cells, either header or data cells, in an html document.
HTMLTableElement - Web APIs
the htmltableelement interface provides special properties and methods (beyond the regular htmlelement object interface it also has available to it by inheritance) for manipulating the layout and
presentation of tables in an html document.
HTMLTableRowElement - Web APIs
the htmltablerowelement interface provides special properties and methods (beyond the htmlelement interface it also has available to it by inheritance) for manipulating the layout and
presentation of rows in an html table.
HTMLTableSectionElement - Web APIs
the htmltablesectionelement interface provides special properties and methods (beyond the htmlelement interface it also has available to it by inheritance) for manipulating the layout and
presentation of sections, that is headers, footers and bodies, in an html table.
HTMLTextAreaElement - Web APIs
the htmltextareaelement interface provides special properties and methods for manipulating the layout and
presentation of <textarea> elements.
VTTCue - Web APIs
the vttcue interface—part of the api for handling webvtt (text tracks on media
presentations)—describes and controls the text track associated with a particular <track> element.
VTTRegion - Web APIs
the vttregion interface—part of the api for handling webvtt (text tracks on media
presentations)—describes a portion of the video to render a vttcue onto.
Matrix math for the web - Web APIs
below is the re
presentation of a rotation about the x axis: let sin = math.sin; let cos = math.cos; // note: there is no perspective in these transformations, so a rotation // at this point will only appear to only shrink the div let a = math.pi * 0.3; //rotation amount in radians // rotate around z axis let rotatezmatrix = [ cos(a), -sin(a), 0, 0, sin(a), cos(a), 0, 0, 0, 0, 1, ...
Lighting a WebXR setting - Web APIs
since your scene is intended to represent a setting a person or their avatar can exist within, you should try to achieve some degree of consistency and realism in terms of the positioning and
presentation of your light sources.
Window.getSelection() - Web APIs
examples function foo() { var selobj = window.getselection(); alert(selobj); var selrange = selobj.getrangeat(0); // do stuff with the range } notes string re
presentation of the selection object in javascript, when an object is passed to a function expecting a string (like window.alert() or document.write()), the object's tostring() method is called and the returned value is passed to the function.
Window.name - Web APIs
window.name will convert all values to their string re
presentations by using the tostring method.
XREnvironmentBlendMode - Web APIs
alpha-blend used by headsets or goggles which use cameras to capture the real world and display it digitally on the screen or screens used to render the content for the user to see, this offers a way to create an ar
presentation using a vr device.
XRHandedness - Web APIs
examples one important usage scentario for handedness is to determine which hand a controller is in so you can draw a re
presentation of that hand (or the device that hand is controlling) in virtual space.
XRInputSource.handedness - Web APIs
examples one important usage scentario for handedness is to determine which hand a controller is in so you can draw a re
presentation of that hand (or the device that hand is controlling) in virtual space.
XRInputSource - Web APIs
profilesread only an array of domstring objects, each specifying the name of an input profile describing the preferred visual re
presentation and behavior of this input source.
XRRenderState.baseLayer - Web APIs
that context is passed into new xrwebgllayer() to create an xrwebgllayer which uses the contents of the webgl context gl as the source of the world's image during
presentation.
XRRenderState - Web APIs
these properties include the range of distances from the viewer within which content should be rendered, the vertical field of view (for inline
presentations), and a reference to the xrwebgllayer being used as the target for rendering the scene prior to it being presented on the xr device's display or displays.
XRSession.environmentBlendMode - Web APIs
alpha-blend used by headsets or goggles which use cameras to capture the real world and display it digitally on the screen or screens used to render the content for the user to see, this offers a way to create an ar
presentation using a vr device.
XRSession: selectend event - Web APIs
the mybegintracking() function would presumably start the
presentation of the object-dragging process, using the transform to perform a hit test, determining which object to pick up.
XRSession: selectstart event - Web APIs
the mybegintracking() function would presumably start the
presentation of the object-dragging process, using the transform to perform a hit test, determining which object to pick up.
XRSession: squeezeend event - Web APIs
the mybegintracking() function would presumably start the
presentation of the object-dragging process, using the transform to perform a hit test, determining which object to pick up.
XRSession: squeezestart event - Web APIs
the mybegintracking() function would presumably start the
presentation of the object-dragging process, using the transform to perform a hit test, determining which object to pick up.
XRSystem: devicechange event - Web APIs
navigator.xr.issessionsupported("immersive-vr") .then(immersiveok) => { if (immersiveok) { enablexrbutton.disabled = false; } else { enablexrbutton.disabled = true; } }); }); } when devicechange is received, the handler set up in this code calls the xr method issessionsupported() to find out if there's a device available that can handle immersive vr
presentations.
XRViewerPose - Web APIs
the viewer may be the virtual re
presentation of the user, or it may represent another device or interface which may serve as the source of a position and orientation that make up a view upon the scene.
ARIA guides - Accessibility
non virtual mode in at products using drag & drop notifying users of non-aria screen readers fixing structure with
presentation role hiding layout tables managing modal and non modal dialogs using aria with html5 how to test aria aria on mobile devices ...
Using the aria-valuemax attribute - Accessibility
value string re
presentation of a number possible effects on user agents and assistive technology if the aria-valuemax is indeterminate, or if aria-valuemin is not less than or equal to the value of aria-valuemax, this creates an error condition that will be handled by the assistive technology.
Using the aria-valuemin attribute - Accessibility
value string re
presentation of a number possible effects on user agents and assistive technology if aria-valuemin is not less than or equal to the value of aria-valuemax, this creates an error condition that will be handled by the assistive technology.
Using the aria-valuetext attribute - Accessibility
value string re
presentation of a number possible effects on user agents and assistive technology if the aria-valuetext attribute is absent, assistive technologies will rely solely on the aria-valuenow attribute for the current value.
Using the radio role - Accessibility
<h3 id="rg1_label">lunch options</h3> <ul class="radiogroup" id="rg1" role="radiogroup" aria-labelledby="rg1_label"> <li id="r1" tabindex="-1" role="radio" aria-checked="false"> <img role="
presentation" src="radio-unchecked.gif" /> thai </li> <li id="r2" tabindex="-1" role="radio" aria-checked="false"> <img role="
presentation" src="radio-unchecked.gif" /> subway </li> <li id="r3" tabindex="0" role="radio" aria-checked="true"> <img role="
presentation" src="radio-checked.gif" /> radio maria </li> </ul> working examples: notes aria attributes used related aria techniques ...
Using ARIA: Roles, states, and properties - Accessibility
combobox grid (including row, gridcell, rowheader, columnheader roles) listbox (including option role) menu menubar radiogroup (see radio role) tablist (including tab and tabpanel roles) tree treegrid document structure roles application article cell columnheader definition directory document feed figure group heading img list listitem math none note
presentation row rowgroup rowheader separator table term textbox toolbar tooltip landmark roles banner complementary contentinfo form main navigation region search live region roles alert log marquee status timer window roles alertdialog dialog states and properties widget attributes aria-autocomplete aria-checked aria-current aria-disabled aria-errormessa...
ARIA: List role - Accessibility
as an aside, note that if you are using the semantic html elements of ol or ul and apply a role of
presentation, each child li element inherits the
presentation role because aria requires the listitem elements to have the parent list element.
ARIA: img role - Accessibility
for example, if you use emojis in your text, the meaning might be obvious to a sighted user, but someone using a screenreader might get confused because the emojis might have either no text re
presentation at all, or the alternative text might be confusing and not match the context it is being used in.
WAI-ARIA Roles - Accessibility
alertdialog banner combobox command columnheader (estelle) complementary composite definition directory feed gridcell (eric e) group input landmark link - old page listbox log - old page marquee math menu menubar menuitem menuitemcheckbox menuitemradio none note option
presentation progressbar - old page radio - old page radiogroup range region roletype rowheader(estelle) scrollbar searchbox section sectionhead select separator slider - old page spinbutton status - old page structure tab tablist (michiel) tabpanel (michiel) term timer toolbar tooltip tree treegrid treeitem widget window ...
Perceivable - Accessibility
1.4.8 visual
presentation (aaa) for text content
presentation, the following should be true: foreground and background colors should be user-selectable.
:fullscreen - CSS: Cascading Style Sheets
syntax :fullscreen usage notes the :fullscreen pseudo-class lets you configure your stylesheets to automatically adjust the size, style, or layout of content when elements switch back and forth between full-screen and traditional
presentations.
Ordering Flex Items - CSS: Cascading Style Sheets
this allows authors to manipulate the visual
presentation while leaving the source order intact for non-css uas and for linear models such as speech and sequential navigation.” - ordering and orientation if your items were links or some other element that the user could tab to, then the tabbing order would be the order that these items appear in the document source — not your visual order.
display - CSS: Cascading Style Sheets
more accessible markup with display: contents | hidde de vries display: contents is not a css reset | adrian roselli tables changing the display value of a <table> element to block, grid, or flex will alter its re
presentation in the accessibility tree.
flex-direction - CSS: Cascading Style Sheets
accessibility concerns using the flex-direction property with values of row-reverse or column-reverse will create a disconnect between the visual
presentation of content and dom order.
position - CSS: Cascading Style Sheets
mdn understanding wcag, guideline 1.4 explanations visual
presentation: understanding sc 1.4.8 | understanding wcag 2.0 performance & accessibility scrolling elements containing fixed or sticky content can cause performance and accessibility issues.
touch-action - CSS: Cascading Style Sheets
multiple directions may be combined except when there is a simpler re
presentation (for example, "pan-left pan-right" is invalid since "pan-x" is simpler, but "pan-left pan-down" is valid).
will-change - CSS: Cascading Style Sheets
via stylesheet it may be appropriate to include will-change in your style sheet for an application that does page flips on key presses like an album or a slide deck
presentation where the pages are large and complex.
CSS: Cascading Style Sheets
cascading style sheets (css) is a stylesheet language used to describe the
presentation of a document written in html or xml (including xml dialects such as svg, mathml or xhtml).
Demos of open web technologies
s impress.js (source code) games ioquake3 (source code) kai 'opua (source code) web apis notifications api html5 notifications (source code) web audio api web audio fireworks oscope.js - javascript oscilloscope html5 web audio showcase (source code) html5 audio visualizer (source code) graphical filter editor and visualizer (source code) file api slide my text -
presentation from plain text files web workers web worker fractals photo editor coral generator raytracer hotcold touch typing ...
Overview of events and handlers - Developer guides
"eventprototype" : "objectprototype"; alert("we got a click event at " + ev.timestamp + " with an argument object derived from: " + objkind ); }; and second register our function with the the button object, either on the scripting side using the dom (document object model) re
presentation of the html page: var buttondomelement = document.queryselector('#buttonone'); buttondomelement.addeventlistener('click', example_click_handler); or within the html page by adding the function as the value of the 'onclick' attribute, although this second approach is usually only used in very simple web pages.
Content categories - Developer guides
main content categories metadata content elements belonging to the metadata content category modify the
presentation or the behavior of the rest of the document, set up links to other documents, or convey other out of band information.
Index - Developer guides
it can be helpful to think of it in terms of three goals for improving your site’s user experience:
presentation, content, and performance.
Localizations and character encodings - Developer guides
to specify that a page is using, for example, the utf-8 character encoding (as per the recommendation), simply place the following line in the <head> block: <meta charset="utf-8"> details and browser internals when the encoding is declared by web content like the html specification requires, firefox will use that encoding for turning the bytes into the internal re
presentation.
Developer guides
css learning area cascading style sheets (css) is a stylesheet language used to define the
presentation of a document written in html.
<footer> - HTML: Hypertext Markup Language
implicit aria role contentinfo, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region permitted aria roles group,
presentation or none dom interface htmlelement attributes this element only includes the global attributes.
<form> - HTML: Hypertext Markup Language
permitted parents any element that accepts flow content implicit aria role form if the form has an accessible name, otherwise no corresponding role permitted aria roles search, none or
presentation dom interface htmlformelement attributes this element includes the global attributes.
<header> - HTML: Hypertext Markup Language
implicit aria role banner, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region permitted aria roles group,
presentation or none dom interface htmlelement usage notes the <header> element is not sectioning content and therefore does not introduce a new section in the outline.
<i>: The Idiomatic Text element - HTML: Hypertext Markup Language
he lang attribute to identify the language technical terms transliterations thoughts (such as "she wondered,what is this writer talking about, anyway?") ship or vessel names in western writing systems (such as "they searched the docks for the empress of the galaxy, the ship to which they were assigned.") in earlier versions of the html specification, the <i> element was merely a
presentational element used to display text in italics, much like the <b> element was used to display text in bold letters.
<input type="color"> - HTML: Hypertext Markup Language
the element's
presentation may vary substantially from one browser and/or platform to another—it might be a simple textual input that automatically validates to ensure that the color information is entered in the proper format, or a platform-standard color picker, or some kind of custom color picker window.
<li> - HTML: Hypertext Markup Language
implicit aria role listitem when child of an ol, ul or menu permitted aria roles menuitem, menuitemcheckbox, menuitemradio, option, none,
presentation, radio, separator, tab, treeitem dom interface htmllielement attributes this element includes the global attributes.
<menu> - HTML: Hypertext Markup Language
implicit aria role list permitted aria roles directory, group, listbox, menu, menubar, none,
presentation, radiogroup, tablist, toolbar or tree dom interface htmlmenuelement attributes this element includes the global attributes.
<ol>: The Ordered List element - HTML: Hypertext Markup Language
implicit aria role list permitted aria roles directory, group, listbox, menu, menubar, none,
presentation, radiogroup, tablist, toolbar, tree dom interface htmlolistelement attributes this element also accepts the global attributes.
<section>: The Generic Section element - HTML: Hypertext Markup Language
implicit aria role region if the element has an accessible name, otherwise no corresponding role permitted aria roles alert, alertdialog, application, banner, complementary, contentinfo, dialog, document, feed, log, main, marquee, navigation, none, note,
presentation, search, status, tabpanel dom interface htmlelement attributes this element only includes the global attributes.
<ul>: The Unordered List element - HTML: Hypertext Markup Language
implicit aria role list permitted aria roles directory, group, listbox, menu, menubar, none,
presentation, radiogroup, tablist, toolbar, tree dom interface htmlulistelement attributes this element includes the global attributes.
data-* - HTML: Hypertext Markup Language
the data-* global attributes form a class of attributes called custom data attributes, that allow proprietary information to be exchanged between the html and its dom re
presentation by scripts.
dir - HTML: Hypertext Markup Language
as the directionality of the text is semantically related to its content and not to its
presentation, it is recommended that web developers use this attribute instead of the related css properties when possible.
HTML: Hypertext Markup Language
other technologies besides html are generally used to describe a web page's appearance/
presentation (css) or functionality/behavior (javascript).
Data URLs - HTTP
encoding data into base64 format base64 is a group of binary-to-text encoding schemes that represent binary data in an ascii string format by translating it into a radix-64 re
presentation.
HTTP caching - HTTP
web caches reduce latency and network traffic and thus lessen the time needed to display a re
presentation of a resource.
Content-Disposition - HTTP
on: form-data; name="field1" value1 --boundary content-disposition: form-data; name="field2"; filename="example.txt" value2 --boundary-- specifications specification title rfc 7578 returning values from forms: multipart/form-data rfc 6266 use of the content-disposition header field in the hypertext transfer protocol (http) rfc 2183 communicating
presentation information in internet messages: the content-disposition header field ...
CSP: sandbox - HTTP
allow-
presentation allows embedders to have control over whether an iframe can start a
presentation session.
Index - HTTP
it is used by the server to indicate which headers it used when selecting a re
presentation of a resource in a content negotiation algorithm.
Vary - HTTP
it is used by the server to indicate which headers it used when selecting a re
presentation of a resource in a content negotiation algorithm.
Want-Digest - HTTP
header, listing the algorithms that it does support: request: get /item want-digest: sha;q=1 response: http/1.1 400 bad request want-digest: sha-256, sha-512 specifications specification title draft-ietf-httpbis-digest-headers-latest resource digests for http this header was originally defined in rfc 3230, but the definition of "selected re
presentation" in rfc 7231 made the original definition inconsistent with current http specifications.
DELETE - HTTP
a 200 (ok) status code if the action has been enacted and the response message includes a re
presentation describing the status.
GET - HTTP
the http get method requests a re
presentation of the specified resource.
PATCH - HTTP
contrast this with put; which is a complete re
presentation of a resource.
HTTP resources and specifications - HTTP
al spec hypertext transfer protocol (http) keep-alive header informational (expired) draft spec http client hints ietf draft rfc 7578 returning values from forms: multipart/form-data proposed standard rfc 6266 use of the content-disposition header field in the hypertext transfer protocol (http) proposed standard rfc 2183 communicating
presentation information in internet messages: the content-disposition header field only a subset of syntax of the content-disposition header can be used in the context of http messages.
A typical HTTP session - HTTP
the most common requests are get and post: the get method requests a data re
presentation of the specified resource.
507 Insufficient Storage - HTTP
it indicates that a method could not be performed because the server cannot store the re
presentation needed to successfully complete the request.
clip-rule - SVG: Scalable Vector Graphics
/> </g> as a
presentation attribute, it also can be used as a property directly inside a css stylesheet usage context categories
presentation attribute value nonzero | evenodd | inherit animatable yes normative document svg 1.1 (2nd edition) nonzero see description of fill-rule property.
fx - SVG: Scalable Vector Graphics
fr="5%"> <stop offset="0%" stop-color="white"/> <stop offset="100%" stop-color="darkseagreen"/> </radialgradient> </defs> <circle cx="100" cy="100" r="100" fill="url(#gradient1)" /> <circle cx="100" cy="100" r="100" fill="url(#gradient2)" style="transform: translatex(240px);" /> </svg> usage notes value <length> default value coincides with the
presentational value of cx for the element whether the value for cx was inherited or not.
fy - SVG: Scalable Vector Graphics
fr="5%"> <stop offset="0%" stop-color="white"/> <stop offset="100%" stop-color="darkseagreen"/> </radialgradient> </defs> <circle cx="100" cy="100" r="100" fill="url(#gradient1)" /> <circle cx="100" cy="100" r="100" fill="url(#gradient2)" style="transform: translatex(240px);" /> </svg> usage notes value <length> default value coincides with the
presentational value of cy for the element whether the value for cy was inherited or not.
repeatDur - SVG: Scalable Vector Graphics
dur="1s" repeatdur="5s"/> </rect> <rect x="120" y="0" width="100" height="100"> <animate attributetype="xml" attributename="y" from="0" to="50" dur="1s" repeatdur="indefinite"/> </rect> </svg> usage notes value <clock-value> | indefinite default values none animatable no <clock-value> this value specifies the duration in
presentation time to repeat the animation.
<a> - SVG: Scalable Vector Graphics
value type: <url> ; default value: none; animatable: yes global attributes core attributes most notably: id, lang, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, document element event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes most notably: xlink...
<altGlyph> - SVG: Scalable Vector Graphics
value type: <iri> ; default value: none; animatable: no global attributes core attributes most notably: id lang styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, document element event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, transform, vector-effect, visibility xlink...
<circle> - SVG: Scalable Vector Graphics
global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<clipPath> - SVG: Scalable Vector Graphics
value type: userspaceonuse|objectboundingbox ; default value: userspaceonuse; animatable: yes global attributes core attributes most notably: id styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage
presentation attributes most notably: clip-path, clip-rule, color, display, fill, fill-opacity, fill-rule, filter, mask, opacity, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility usage notes categoriesnonepermitted contentany number of the following elements, in any order:ani...
<defs> - SVG: Scalable Vector Graphics
offset="90%" stop-color="red" /> </lineargradient> </defs> <!-- using my graphical objects --> <use x="5" y="5" xlink:href="#mycircle" fill="url('#mygradient')" /> </svg> attributes global attributes core attributes most notably: id lang styling attributes class, style event attributes global event attributes, document element event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility usage notes categoriescontainer ele...
<ellipse> - SVG: Scalable Vector Graphics
global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<feBlend> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in in2 mode dom interface this element implements the svgfeblendelement interface.
<feColorMatrix> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in type values dom interface this element implements the svgfecolormatrixelement interface.
<feComponentTransfer> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<fefunca>, <fefuncr>, <fefuncb>, <fefuncg> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in dom interface this element implements the svgfecomponenttransferelement interface.
<feComposite> - SVG: Scalable Vector Graphics
2 + k4 where: i1 and i2 indicate the corresponding pixel channel values of the input image, which map to in and in2 respectively k1, k2, k3 and k4 indicate the values of the attributes with the same name usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes »
presentation attributes » filter primitive attributes » class style specific attributes in in2 operator k1 k2 k3 k4 dom interface this element implements the svgfecompositeelement interface.
<feConvolveMatrix> - SVG: Scalable Vector Graphics
ng default values for attributes ‘divisor’, ‘targetx’ and ‘targety’, then resulting color value will be: (9* 0 + 8* 20 + 7* 40 + 6*100 + 5*120 + 4*140 + 3*200 + 2*220 + 1*240) / (9+8+7+6+5+4+3+2+1) usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in order kernelmatrix divisor bias targetx targety edgemode kernelunitlength preservealpha dom interface this element implements the svgfeconvolvematrixelement interface.
<feDiffuseLighting> - SVG: Scalable Vector Graphics
attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in surfacescale diffuseconstant kernelunitlength dom interface this element implements the svgfediffuselightingelement interface.
<feDisplacementMap> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in in2 scale xchannelselector ychannelselector dom interface this element implements the svgfedisplacementmapelement interface.
<feFlood> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <animatecolor>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes flood-color flood-opacity dom interface this element implements the svgfefloodelement interface.
<feGaussianBlur> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in stddeviation edgemode dom interface this element implements the svgfegaussianblurelement interface.
<feImage> - SVG: Scalable Vector Graphics
the <feimage> svg filter primitive fetches image data from an external source and provides the pixel data as output (meaning if the external source is an svg image, it is rasterized.) usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <animatetransform>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes xlink attributes class style externalresourcesrequired specific attributes preserveaspectratio xlink:href dom interface this element implements the svgfeimageelement interface.
<feMerge> - SVG: Scalable Vector Graphics
fset in="sourcegraphic" dx="60" dy="60" /> <fegaussianblur stddeviation="5" result="blur2" /> <femerge> <femergenode in="blur2" /> <femergenode in="sourcegraphic" /> </femerge> </filter> <rect x="40" y="40" width="100" height="100" style="stroke: #000000; fill: green; filter: url(#feoffset);" /> </svg> result attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes none dom interface this element implements the svgfemergeelement interface.
<feMorphology> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in operator radius dom interface this element implements the svgfemorphologyelement interface.
<feOffset> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in dx dy dom interface this element implements the svgfeoffsetelement interface.
<feSpecularLighting> - SVG: Scalable Vector Graphics
attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in surfacescale specularconstant specularexponent kernelunitlength dom interface this element implements the svgfespecularlightingelement interface.
<feTile> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes in dom interface this element implements the svgfetileelement interface.
<feTurbulence> - SVG: Scalable Vector Graphics
usage context categoriesfilter primitive elementpermitted contentany number of the following elements, in any order:<animate>, <set> attributes global attributes core attributes
presentation attributes filter primitive attributes class style specific attributes basefrequency numoctaves seed stitchtiles type dom interface this element implements the svgfeturbulenceelement interface.
<filter> - SVG: Scalable Vector Graphics
usage context categoriesnonepermitted contentany number of the following elements, in any order:descriptive elementsfilter primitive elements<animate>, <set> attributes global attributes core attributes
presentation attributes xlink attributes class style externalresourcesrequired specific attributes x y width height filterres filterunits primitiveunits xlink:href dom interface this element implements the svgfilterelement interface.
<font> - SVG: Scalable Vector Graphics
usage context categoriesfont elementpermitted contentany number of the following elements, in any order:descriptive elements<font-face>, <glyph>, <hkern>, <missing-glyph>, <vkern> attributes global attributes core attributes
presentation attributes class style externalresourcesrequired specific attributes horiz-origin-x horiz-origin-y horiz-adv-x vert-origin-x vert-origin-y vert-adv-y dom interface this element implements the svgfontelement interface.
<foreignObject> - SVG: Scalable Vector Graphics
global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes, document event attributes, document element event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<glyph> - SVG: Scalable Vector Graphics
mentpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> attributes global attributes core attributes
presentation attributes class style specific attributes d horiz-adv-x vert-origin-x vert-origin-y vert-adv-y unicode glyph-name orientation arabic-form lang dom interface this element implements the svgglyphelement interface.
<glyphRef> - SVG: Scalable Vector Graphics
usage context categoriestext content elementpermitted contentempty attributes global attributes core attributes »
presentation attributes » xlink attributes » class style specific attributes x y dx dy glyphref format xlink:href dom interface this element implements the svgglyphrefelement interface.
<hatch> - SVG: Scalable Vector Graphics
usage context categoriesnever-rendered element, paint server elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements<hatchpath>, <script>, <style> attributes global attributes core attributes global event attributes
presentation attributes style attributes specific attributes x y pitch rotate hatchunits hatchcontentunits transform href dom interface this element implements the svghatchelement interface.
<hatchpath> - SVG: Scalable Vector Graphics
usage context categoriesnonepermitted contentany number of the following elements, in any order:animation elementsdescriptive elements<script>, <style> attributes global attributes core attributes global event attributes
presentation attributes style attributes specific attributes d offset dom interface this element implements the svghatchpathelement interface.
<image> - SVG: Scalable Vector Graphics
usage context categoriesgraphics element, graphics referencing elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements attributes global attributes conditional processing attributes core attributes graphical event attributes
presentation attributes xlink attributes class style externalresourcesrequired transform specific attributes x: positions the image horizontally from the origin.
<line> - SVG: Scalable Vector Graphics
value type: <number> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<linearGradient> - SVG: Scalable Vector Graphics
value type: <length> ; default value: 0%; animatable: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes xlink:href, xlink:t...
<marker> - SVG: Scalable Vector Graphics
value type: <list-of-numbers> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<mask> - SVG: Scalable Vector Graphics
value type: <length> ; default value: 120%; animatable: yes global attributes core attributes most notably: id styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage
presentation attributes most notably: clip-path, clip-rule, color, display, fill, fill-opacity, fill-rule, filter, mask, opacity, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility usage notes categoriescontainer elementpermitted contentany number of the following elements, in ...
<missing-glyph> - SVG: Scalable Vector Graphics
nonepermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> attributes global attributes core attributes
presentation attributes class style specific attributes d horiz-adv-x vert-origin-x vert-origin-y vert-adv-y dom interface this element implements the svgmissingglyphelement interface.
<path> - SVG: Scalable Vector Graphics
value type: <number> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<pattern> - SVG: Scalable Vector Graphics
value type: <length>|<percentage> ; default value: 0; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes most notably: xlink...
<polygon> - SVG: Scalable Vector Graphics
value type: <number> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<polyline> - SVG: Scalable Vector Graphics
value type: <number> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<radialGradient> - SVG: Scalable Vector Graphics
value type: <iri> ; default value: none; animatable: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes xlink:href, xlink:t...
<rect> - SVG: Scalable Vector Graphics
global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<stop> - SVG: Scalable Vector Graphics
value type: <opacity>; default value: 1; animatable: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes
presentation attributes most notably: color, display, stop-color, stop-opacity, visibility usage notes categoriesgradient elementpermitted contentany number of the following elements, in any order:<animate>, <animatecolor>, <set> specifications specification status comment scalable vector graphics (svg) 2the definition of '<stop>' in that specification.
<svg> - SVG: Scalable Vector Graphics
global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes, document event attributes, document element event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<switch> - SVG: Scalable Vector Graphics
usage context categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elementsshape elements<a>, <foreignobject>, <g>, <image>, <svg>, <switch>, <text>, <use> attributes global attributes conditional processing attributes core attributes graphical event attributes
presentation attributes class style externalresourcesrequired transform dom interface this element implements the svgswitchelement interface.
<symbol> - SVG: Scalable Vector Graphics
value type: <length>|<percentage> ; default value: 0; animatable: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<text> - SVG: Scalable Vector Graphics
entage> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, transform, vector-effect, visibility aria ...
<textPath> - SVG: Scalable Vector Graphics
value type: <length>|<percentage>|<number> ; default value: auto; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
<tref> - SVG: Scalable Vector Graphics
usage context categoriestext content element, text content child elementpermitted contentany number of the following elements, in any order:descriptive elements<animate>, <animatecolor>, <set> attributes global attributes conditional processing attributes core attributes graphical event attributes
presentation attributes xlink attributes class style externalresourcesrequired specific attributes xlink:href dom interface this element implements the svgtrefelement interface.
<tspan> - SVG: Scalable Vector Graphics
value type: <length>|<percentage> ; default value: none; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, transform, vector-effect, visibility aria ...
<use> - SVG: Scalable Vector Graphics
global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes
presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendan...
XPath
jxon jxon (lossless javascript xml object notation) is a generic name by which is defined the re
presentation of javascript objects using xml.
WebAssembly Concepts - WebAssembly
in the same fashion as physical assembly languages, the webassembly binary format has a text re
presentation — the two have a 1:1 correspondence.
Exported WebAssembly functions - WebAssembly
an example let's look at an example to clear things up (you can find this on github as table-set.html; see it running live also, and check out the wasm text re
presentation): var othertable = new webassembly.table({ element: "anyfunc", initial: 2 }); webassembly.instantiatestreaming(fetch('table.wasm')) .then(obj => { var tbl = obj.instance.exports.tbl; console.log(tbl.get(0)()); // 13 console.log(tbl.get(1)()); // 42 othertable.set(0,tbl.get(0)); othertable.set(1,tbl.get(1)); console.log(othertable.get(0)()); console.log(othertable.get(1)()); }); ...
Index - WebAssembly
6 converting webassembly text format to wasm webassembly, assembly, conversion, text format, wabt, wasm, wast2wasm, wat2wasm webassembly has an s-expression-based textual re
presentation, an intermediate form designed to be exposed in text editors, browser developer tools, etc.
WebAssembly
this is the low-level textual re
presentation of a .wasm module shown in browser developer tools when debugging.