Search completed in 1.29 seconds.
SpiderMonkey 45
It continues to improve performance over previous SpiderMonkey releases. It also contains new language and API features described in detail below. Please let us know about your experiences with this release by posting in the mozilla.dev.tech.js-engine newsgroup. ...
...It continues to improve performance over previous SpiderMonkey releases. It also contains new language and API features described in detail below. Please let us know about your experiences with this release by posting in the mozilla.dev.tech.js-engine newsgroup. ...
...It continues to improve performance over previous SpiderMonkey releases. It also contains new language and API features described in detail below. Please let us know about your experiences with this release by posting in the mozilla.dev.tech.js-engine newsgroup. ...
...And 6 more matches
NSS 3.45 release notes
Introduction The NSS team has released Network Security Services (NSS) 3.
45 on 5 July 2019, which is a minor release. The NSS team would like to recognize first-time contributors: Bastien Abadie Christopher Patton Jeremie Courreges-Anglas Marcus Burghardt Michael Shigorin Tomas Mraz Distribution Information The HG tag is NSS_3_
45_RTM. NSS 3.
45 requires NSPR 4.21 or newer. NSS 3.
45 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_
45_RTM/src/ Other releases are available in NSS Releases. ...
...If no such certificates can be found, returns SECSuccess and sets *results to NULL. ...
...b.h: PK11_FindRawCertsWithSubject - Finds all certificates on the given slot with the given subject distinguished name and returns them as DER bytes. If no such certificates can be found, returns SECSuccess and sets *results to NULL. If a failure is encountered while fetching any of the matching certificates, SECFailure is returned and *results will be NULL. ...
...And 4 more matches
451 Unavailable For Legal Reasons - HTTP
Note: the Link header might also contain a rel="blocked-by" relation identifying the entity and implementing blockage, not any other entity mandating it. Any attempt to identify the entity ultimately responsible for the resource being unavailable belongs in the response body, not in the rel="blocked-by" link. ...
...tain a rel="blocked-by" relation identifying the entity and implementing blockage, not any other entity mandating it. Any attempt to identify the entity ultimately responsible for the resource being unavailable belongs in the response body, not in the rel="blocked-by" link. This includes the name of the person or organization that made a legal demand resulting in the content's removal. ...
... <h1>Unavailable For Legal Reasons</h1> <p>This request may not be serviced in the Roman Province of Judea due to the Lex Julia Majestatis, which disallows access to resources hosted on servers deemed to be operated by the People's Front of Judea.</p> </body> </html> Specifications Specification Title RFC 7725:
451 Unavailable For Legal Reasons An HTTP Status Code to Report Legal Obstacles ...
Index - Web APIs
(), when using the AES-CTR algorithm. 44 AesGcmParams API, AesGcmParams, Dictionary, Reference, Web Crypto API The AesGcmParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.encrypt(), SubtleCrypto.decrypt(), SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(), when using the AES-GCM algorithm.
45 AesKeyGenParams API, AesKeyGenParams, Dictionary, Reference, Web Crypto API See the examples for SubtleCrypto.generateKey(). 46 Ambient Light Events Ambient Light The ambient light events are a handy way to make a web page or an application aware of any change in the light intensity. It allows them to react to such a change, for example by changing the color con...
...lue representing the amount of pitch shift to use when rendering a doppler effect. 144 AudioListener.forwardX API, Audio, AudioListener, Property, Reference, Web Audio API, forwardX The forwardX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in. 1
45 AudioListener.forwardY API, Audio, AudioListener, Property, Reference, Web Audio API, forwardY The forwardY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the forward direction the listener is pointing in. 146 AudioListener.forwardZ API, Audio, AudioListener, Property, Reference, Web Audio A...
... output of an OscillatorNode. 243 BaseAudioContext.createScriptProcessor() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createScriptProcessor A ScriptProcessorNode. 244 BaseAudioContext.createStereoPanner() API, AudioContext, BaseAudioContext, Media, Method, Reference, Web Audio API, createStereoPanner A StereoPannerNode. 2
45 BaseAudioContext.createWaveShaper() API, AudioContext, BaseAudioContext, Method, Reference, Web Audio API, createWaveShaper A WaveShaperNode. 246 BaseAudioContext.currentTime API, AudioContext, BaseAudioContext, Property, Reference, Web Audio API, currentTime The currentTime read-only property of the BaseAudioContext interface returns a double representing an ev...
...And 172 more matches
Index - Archive of obsolete content
rence Create a page that does not contain navigational elements. 42 base64 Add-on SDK No summary! 43 clipboard Add-on SDK Interact with the system clipboard, setting and getting its contents. 44 context-menu Add-on SDK, Add-ons, Extensions, Firefox, SDK Adds items, submenus, and menu separators to the page's context menu.
45 hotkeys Add-on SDK Assign hotkey combinations to functions in your add-on. 46 indexed-db Add-on SDK Exposes the IndexedDB API to add-ons. 47 l10n Add-on SDK Localize strings appearing in the add-on's JavaScript code. 48 notifications Add-on SDK, Notifications Display transient, toaster-style desktop messages to the user.
...the add-on for presentation in the Add-ons Manager, but other metadata required of add-ons. ...
...), in order to reduce clutter when presenting a particular user interface. This is done, for example, by the about:addons page. 243 Hotfix Extension This document has been moved to the Add-ons wiki. 244 How to convert an overlay extension to restartless Add-ons, Code snippets, Extensions, Firefox, Firefox OS, Guide, Preferences system No summary! 2
45 Inline options Add-ons, Extensions, XUL No summary! 246 Install Manifests Add-ons, Archive, Extensions, Manifests, Toolkit API An Install Manifest is the file an Add-on Manager-enabled XUL application (e.g. Firefox or Thunderbird) uses to determine information about an add-on as it is being installed. It contains metadata identifying the add-on, providing inform...
...And 33 more matches
Index
ject's scope, and aren't cross-component wrappers. 44 Components.utils.reportError XPCOM:Language Bindings, XPConnect Components.utils.reportError reports a JavaScript Error object to the Error Console, and returns. It is meant for use by extension developers who have exception handler blocks which want to "eat" an exception, but still want to report it to the console.
45 Components.utils.schedulePreciseGC Guide, NeedsContent, XPCOM, XPCOM:Language Bindings, XPConnect This method lets scripts schedule a garbage collection cycle. The garbage collection cycle will occur sometime in the future, when no JavaScript code is executing. This is useful particularly when testing for memory leaks, because normal garbage collection is conservative when JavaScrip...
...t from nsMsgDBFolder, which implements a lot of the core functionality. RSS feeds are implemented by nsLocalMailFolder. 141 NS ENSURE SUCCESS XPCOM, XPCOM_Macros Macro 142 NS ENSURE TRUE XPCOM, XPCOM_Macros Macro 143 NS_ABORT_IF_FALSE This was removed in bug 1127201 144 NS_ADDREF XPCOM, XPCOM_Macros Macro 1
45 NS_ASSERTION XPCOM, XPCOM_Macros Macro 146 NS_ENSURE_ARG_POINTER XPCOM, XPCOM_Macros Macro 147 NS_ERROR XPCOM, XPCOM_Macros Throws a assertion (NS_ASSERTION) with the text "Error: (error text)", so writes this text to console (stderr) and to debug logs (NSPR logging). This macro is meant for critical errors; like assertions, NS_ERRORs should...
...mary! 238 firstChildNode No summary! 239 innerHTML For the DOM property, see Element.innerHTML. ...
...And 20 more matches
Localization and Plurals
"plural;plurals" where the first word is the singular form and the second is the general plural form. Plural rule #0 (1 form) Families: Asian (Chinese, Japanese, Korean), Persian, Turkic/Altaic (Turkish), Thai, Lao everything: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, ... Plural rule #1 (2 forms) Families: Germanic (Danish, Dutch, English, Faroese, Frisian, German, Norwegian, Swedish), Finno-Ugric (Estonian, Finnish, Hungarian), Language isolate (Basque), Latin/Greek (Greek), Semitic (Hebrew), Romanic (Italian, Portuguese, Spanish, Catalan), Vietnamese is 1: 1 everything else: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
... Plural rule #3 (3 forms) Families: Baltic (Latvian, Latg...
... Plural rule #3 (3 forms) Families: Baltic (Latvian, Latgalian) ends in 0: 0 ends in 1, excluding 11: 1, 21, 31, 41, 51, 61, 71, 81, 91, 101, 121, 131, 141, 151, 161, 171, 181, 191, 201, 221, 231, 241, 251, 261, 271, 281, 291, ... ...
...And 14 more matches
<blend-mode> - CSS: Cascading Style Sheets
using a keyword value chosen from the list below. Values normal The final color is the top color, regardless of what the bottom color is. The effect is like two opaque pieces of paper overlapping. <div id="div"></div> #div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), url('https://mdn.mozillademos.org/files/85
45/tr.png'); background-blend-mode: normal; } multiply The final color is the result of multiplying the top and bottom colors. A black layer leads to a black final layer, and a white layer leads to no change. The effect is like two images printed on transparent film overlapping. <div id="div"></div> #div { width: 300px; height: 300px; background: url('https://mdn.moz...
...result of multiplying the top and bottom colors. A black layer leads to a black final layer, and a white layer leads to no change. The effect is like two images printed on transparent film overlapping. <div id="div"></div> #div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), url('https://mdn.mozillademos.org/files/85
45/tr.png'); background-blend-mode: multiply; } screen The final color is the result of inverting the colors, multiplying them, and inverting that value. A black layer leads to no change, and a white layer leads to a white final layer. The effect is like two images shone onto a projection screen. <div id="div"></div> #div { width: 300px; height: 300px; background: ur...
...g the colors, multiplying them, and inverting that value. A black layer leads to no change, and a white layer leads to a white final layer. The effect is like two images shone onto a projection screen. <div id="div"></div> #div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), url('https://mdn.mozillademos.org/files/85
45/tr.png'); background-blend-mode: screen; } overlay The final color is the result of multiply if the bottom color is darker, or screen if the bottom color is lighter. This blend mode is equivalent to hard-light but with the layers swapped. <div id="div"></div> #div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), ...
...And 14 more matches
Index
Monkey JS::Float32Value converts a C floating-point number of type float to JS::Value, the type of JavaScript values. 44 JS::GetDeflatedUTF8StringLength JSAPI Reference, Reference, Reference(2), SpiderMonkey JS::GetDeflatedUTF8StringLength returns the length of the char buffer required to encode s as UTF8. The returned length does not include the null-terminator.
45 JS::GetFirstArgumentAsTypeHint JSAPI Reference, Reference, Reference(2), SpiderMonkey JS::GetFirstArgumentAsTypeHint converts first argument of @@toPrimitive method to JSType. 46 JS::GetSelfHostedFunction JSAPI Reference, Reference, Reference(2), SpiderMonkey JS::GetSelfHostedFunction creates a new JavaScript function implemented in self-hosted JavaScript. ...
... are used to determine its privileges. A principals object is like a Java CodeSource. 144 JSPrincipalsTranscoder Advanced, Constructor, NeedsExample, Reference, SpiderMonkey JSPrincipalsTranscoder is the type of a security callback that can be configured using JS_SetPrincipalsTranscoderJSAPI 1.8 and earlier or JS_SetRuntimeSecurityCallbacksAdded in SpiderMonkey 1.8.1. 1
45 JSProperty JSAPI Reference, Obsolete, Reference, SpiderMonkey JSProperty is the abstract base class of all object properties. It is used internally in JSObjectOps.lookupProperty, getAttributes, setAttributes, and dropProperty. 146 JSPropertyDescriptor JSAPI Reference, Reference, Reference(2), SpiderMonkey A descriptor is an object that can have the following key...
...JS_DestroyRuntime garbage collects and frees the memory previously allocated by JS_NewRuntime. 244 JS_DestroyScript JSAPI Reference, Obsolete, SpiderMonkey JS_DestroyScript destroys the given compiled script, freeing the memory allocated to it. The script must not be currently executing (in any context, at any level of the stack) and must not be used again afterwards. 2
45 JS_DoubleIsInt32 JSAPI Reference, SpiderMonkey JS_DoubleIsInt32 returns true if d i sequal to *ip. 246 JS_DoubleToInt32 JSAPI Reference, Obsolete, SpiderMonkey JS_DoubleToInt32 converts a C floating-point number of type double to int32, a signed 32-bit integer. 247 JS_DropExceptionState JSAPI Reference, SpiderMonkey This function destroys th...
...And 12 more matches
Index - Archive of obsolete content
XUL Attributes, XUL Reference No summary! 41 buttondisabledaccept XUL Attributes, XUL Reference No summary! 42 buttonlabelaccept XUL Attributes, XUL Reference No summary! 43 buttonlabelcancel XUL Attributes, XUL Reference No summary! 44 buttonlabeldisclosure XUL Attributes, XUL Reference No summary!
45 buttonlabelextra1 XUL Attributes, XUL Reference No summary! 46 buttonlabelextra2 XUL Attributes, XUL Reference No summary! 47 buttonlabelhelp XUL Attributes, XUL Reference No summary! 48 buttonorient XUL Attributes, XUL Reference No summary! 49 buttonpack XUL Attributes, XUL Reference No summary! ...
...ummary! 140 hideheader XUL Attributes, XUL Reference No summary! 141 hideseconds XUL Attributes, XUL Reference No summary! 142 hidespinbuttons XUL Attributes, XUL Reference No summary! 143 highlightaccesskey No summary! 144 highlightnonmatches XUL Attributes, XUL Reference No summary! 1
45 homepage XUL Attributes, XUL Reference No summary! 146 href XUL Attributes, XUL Reference No summary! 147 icon XUL Attributes, XUL Reference No summary! 148 iconsize Toolbar, XUL, XUL Attribute No summary! 149 id XUL Attributes, XUL Reference No summary! 150 iframe.transparent N...
... onpaneload XUL Attributes, XUL Reference No summary! 241 onpopuphidden XUL Attributes, XUL Reference No summary! 242 onpopuphiding XUL Attributes, XUL Reference No summary! 243 onpopupshowing XUL Attributes, XUL Reference No summary! 244 onpopupshown XUL Attributes, XUL Reference No summary! 2
45 onsearchbegin XUL, XUL Attributes, XUL Reference No summary! 246 onsearchcomplete XUL Attributes, XUL Reference No summary! 247 onselect No summary! 248 ontextcommand XUL Attributes, XUL Reference No summary! 249 ontextentered XUL Attributes, XUL Reference No summary! 250 ontextrevert ...
...And 11 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
rn browsers, it usually is a tab, but can be a window or even only parts of a page, like a frame or an iframe. 44 Bezier curve Bezier curve, Glossary, Graphics, Reference A Bezier curve (pronounced [bezje]) is a mathematically described curve used in computer graphics and animation. In vector images, they are used to model smooth curves that can be scaled indefinitely.
45 CDN Glossary, Infrastructure A CDN (Content Delivery Network) is a group of servers spread out over many locations. These servers store duplicate copies of data so that servers can fulfill data requests based on which servers are closest to the respective end-users. CDNs make for fast service less affected by high traffic. 46 CIA Glossary, Security CIA (Confiden...
...e sources of web fonts. 144 Fetch metadata request header Fetch Metadata Request Headers, Glossary A fetch metadata request header is a HTTP request header that provides additional information about the context the request originated from. These header names are prefixed with Sec- and thus they are forbidden header names so headers can not be modified from JavaScript. 1
45 Firefox OS B2G, Boot2Gecko, Firefox OS, Glossary, Infrastructure, Intro Firefox OS is Mozilla's mobile operating system, based on Linux and Firefox's powerful Gecko rendering engine. Firefox OS consists mainly of Gaia, Gecko, and Gonk. 146 First CPU idle Glossary, Lighthouse, Performance, Web Performance First CPU Idle measures when a page is minimally interacti...
...such as Node.js. 243 Key Cryptography, Glossary, Security A key is a piece of information used by a cipher for encryption and/or decryption. 244 Keyword Glossary, Keyword, Search, keyword search A keyword is a word or phrase that describes content. Online keywords are used as queries for search engines or as words identifying content on websites. 2
45 LGPL Glossary, License, OpenPractices, Remixing, Sharing LGPL (GNU Lesser General Public License) is a free software license published by the Free Software Foundation. The LGPL provides a more permissive alternative for the strictly copyleft GPL. While any derivative work using a GPL-licensed program must be released under the same terms (free to use, share, study, and modify), the ...
...And 11 more matches
NSS_3.12_release_notes.html
urns pointer to a freed memory if the function fails to allocate a lock Bug 399236: pkix wrapper must print debug output into stderr Bug 399300: PKIX error results not freed after use. Bug 414985: Crash in pkix_pl_OcspRequest_Destroy Bug 421870: Strsclnt crashed in PKIX tests. ...
...) to NSS Bug 433386: when system clock is off by more than two days, OSCP check fails, can result in crash if user tries to view certificate [[@ SECITEM_CompareItem_Util] [[@ memcmp] Bug 396256: certutil and pp do not print all the GeneralNames in a CRLDP extension Bug 398019: correct confusing and erroneous comments in DER_AsciiToTime Bug 422866: vfychain -pp command crashes in NSS_shutdown Bug 3
45779: Useless assignment statements in ec_GF2m_pt_mul_mont Bug 349011: please stop exporting these crmf_ symbols Bug 397178: Crash when entering chrome://pippki/content/resetpassword.xul in URL bar Bug 403822: pkix_pl_OcspRequest_Create can leave some members uninitialized Bug 403910: CERT_FindUserCertByUsage() returns wrong certificate if multiple certs with same subject available Bug 404919: memo...
...Bug 357015: On Windows, ReadSystemFiles reads 21 files as opposed to 10 files in C:\WINDOWS\system32. Bug 361076: Clean up the USE_PTHREADS related code in coreconf/SunOS5.mk. Bu...
...And 8 more matches
MathML Accessibility in Mozilla
lus 2 x + y ab __________ a over b __________ fraction start, a over b, end of fraction fraction start. a over b. fraction end. a numerator b denominator fraction ab\frac a b ab __________ a over b __________ fraction start, a over b, end of fraction. See WebKit's bug 146
454 fraction without bar, start. a over b. fraction end. a numerator b denominator fraction without bar ab __________ a sub b __________ a, subscript b a. subscript b a base b subscript scripted ab __________ a raised to the b __________ a, superscript b a. superscript b a base b superscript...
...b overscript c a base b underscript c overscript scripted a __________ the square root of a __________ square root of a, end of root square root of a. root end. a square root abc __________ the square root of the quantity a b c end root __________ square root of a, end of root. See WebKit's bug 146
452 square root of a b c. root end. a b c square root a2 __________ the second root of a __________ square root of a, end of root square root of a. root end. a base root index root a3 __________ the third root of a __________ cube root of a, end of root cube root of a. root end. ...
... 1 row 2 e column 2 f column 3 math table with 3 columns and 2 rows abcde __________ multi-scripts with base a and 1 prescript and 1 post-script pre-scripts lower d upper e post-scripts lower b upper c end multi-scripts __________ Not supported yet. See bug 1176983 and WebKit's bug 146
454 a. pre-subscript d pre-superscript e subscript b.superscript c a base b subscript c superscript d presubscript e presuperscript scripted a b c d e __________ multi-scripts with base a and 2 post-scripts lower b upper c lower d upper e end multi-scripts __________ Not supported yet. See bug...
...And 7 more matches
NSS_3.12.2_release_notes.html
nctions in the nss shared library: SEC_PKCS12AddCertOrChainAndKey (see p12.h) New PKCS11 errors (see secerr.h) SEC_ERROR_PKCS11_GENERAL_ERROR SEC_ERROR_PKCS11_FUNCTION_FAILED SEC_ERROR_PKCS11_DEVICE_ERROR Bugs Fixed The following bugs have been fixed in NSS 3.12.2. ...
...ive the subject from the cert if none is specified. Bug 444974: Crash upon reinsertion of E-Identity smartcard Bug 447563: modutil -add prints no error explanation on failure Bug 448431: PK11_CreateMergeLog() declaration causes gcc warning when compiling with -Wstrict-prototypes Bug 449334: pk12util has duplicate options letters Bug 449725: signver is still using static libraries. ...
...upon reinsertion of E-Identity smartcard Bug 447563: modutil -add prints no error explanation on failure Bug 448431: PK11_CreateMergeLog() declaration causes gcc warning when compiling with -Wstrict-prototypes Bug 449334: pk12util has duplicate options letters Bug 449725: signver is still using static libraries. ...
...And 7 more matches
Index
43 NSS 3.15.4 release notes Network Security Services (NSS) 3.15.4 is a patch release for NSS 3.15. The bug fixes in NSS 3.15.4 are described in the "Bugs Fixed" section below. 44 NSS 3.15.5 release notes Network Security Services (NSS) 3.15.5 is a patch release for NSS 3.15. The bug fixes in NSS 3.15.5 are described in the "Bugs Fixed" section below.
45 NSS 3.16 release notes The NSS team has released Network Security Services (NSS) 3.16, which is a minor release. 46 NSS 3.16.1 release notes Network Security Services (NSS) 3.16.1 is a patch release for NSS 3.16. The bug fixes in NSS 3.16.1 are described in the "Bugs Fixed" section below. 47 NSS 3.16.2 release notes Network Security Servi...
... release notes Network Security Services (NSS) 3.44.3 is a patch release for NSS 3.44. The bug fixes in NSS 3.44.3 are described in the "Bugs Fixed" section below. It was released on 19 November 2019. 137 NSS 3.44.4 release notes The NSS team has released Network Security Services (NSS) 3.44.4 on 19 May 2020. This is a security patch release. 138 NSS 3.
45 release notes The NSS team has released Network Security Services (NSS) 3.
45 on 5 July 2019, which is a minor release. 139 NSS 3.46 release notes The NSS team has released Network Security Services (NSS) 3.46 on 30 August 2019, which is a minor release. 140 NSS 3.46.1 release notes Network Security Services (NSS) 3.46.1 is a patch release for...
... 143 NSS 3.48 release notes The NSS team has released Network Security Services (NSS) 3.48 on 5 December 2019, which is a minor release. 144 NSS 3.48.1 release notes Network Security Services (NSS) 3.48.1 is a patch release for NSS 3.48. The bug fixes in NSS 3.48.1 are described in the "Bugs Fixed" section below. It was released on 13 January 2020. 1
45 NSS 3.49 release notes The NSS team has released Network Security Services (NSS) 3.49 on 3 January 2020, which is a minor release. 146 NSS 3.49.1 release notes Network Security Services (NSS) 3.49.1 is a patch release for NSS 3.49. The bug fixes in NSS 3.49.1 are described in the "Bugs Fixed" section below. It was released on 13 January 2020. 147 NS...
...And 6 more matches
Fullscreen API - Web APIs
generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...o the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...bledIE Full support 11Alternate Name Full support 11Alternate Name Alternate Name Uses the non-standard name: msFullScreenEnabledOpera Full support YesSafari ? ...
...And 6 more matches
text-overflow - CSS: Cascading Style Sheets
elit.</p> Result Note: Live results in the following table may be shown incorrectly due to a limitation of the MDN Editor which removes the all contents of style attributes which have text-overflow properties with string value. ...
... Note: Live results in the following table may be shown incorrectly due to a limitation of the MDN Editor which removes the all contents of style attributes which have text-overflow properties with string value. ...
...ng table may be shown incorrectly due to a limitation of the MDN Editor which removes the all contents of style attributes which have text-overflow properties with string value. ...
...And 6 more matches
Using CSS gradients - CSS: Cascading Style Sheets
e second color stop, and transition to the adjacent color stop's color through the adjacent color stop's first position. ...
... first position. ...
... In the second example, the second color stop for each color is at the same location as the first color stop for the adjacent color, creating a striped effect. In both examples, the gradient is written twice: the first is the CSS Images Level 3 method of repeating the color for each stop and the s...
...And 5 more matches
BigInt.prototype.toLocaleString() - JavaScript
eturned. var bigint = 3500n; bigint.toLocaleString(); // Displays "3,500" if in U.S. English locale Using locales This example shows some of the variations in localized number formats. ...
... var bigint = 3500n; bigint.toLocaleString(); // Displays "3,500" if in U.S. English locale Using locales This example shows some of the variations in localized number formats. ...
...locales This example shows some of the variations in localized number formats. In order to get the format of the language used in the user interface of your application, make sure to specify that language (and possibly some fallback languages) using the locales argument: var bigint = 123
456789123
456789n; // German uses period for thousands console.log(bigint.toLocaleString('de-DE')); // -> 123.
456.789.123.
456.789 // Arabic in most Arabic speaking countries uses Eastern Arabic digits console.log(bigint.toLocaleString('ar-EG')); // -> ??????????????????????? // India uses thousands/lakh/crore separators console.log(bigint.toLocaleString('en-IN')); // -> 1,23,
45,67,89,12,34,56,789 // the nu extension key requests a numbering system, e.g. Chinese decimal console.log(bigint.toLocaleString('...
...And 5 more matches
Lexical grammar - JavaScript
} // Illegal. Identifiers with special meanings A few identifiers have a special meaning in some contexts without being keywords of any kind. They include: arguments get set Literals Null literal See also null for more information. null Boolean literal See also Boolean for more information. true false Numeric literals The Number and BigInt types use numeric literals. Decimal 123
4567890 42 // Caution when using with a leading zero: 0888 // 888 parsed as decimal 0777 // parsed as octal, 511 in decimal Note that decimal literals can start with a zero (0) followed by another decimal digit, but If all digits after the leading 0 are smaller than 8, the number is interpreted as an octal number. This won't throw in JavaScript, see bug 957513. See also the page about parseInt() ...
...83648 var FLT_EXPONENT = 0b01111111100000000000000000000000; // 2139095040 var FLT_MANTISSA = 0B00000000011111111111111111111111; // 8388607 Octal Octal number syntax uses a leading zero followed by a lowercase or uppercase Latin letter "O" (0o or 0O). Because this syntax is new in ECMAScript 2015, see the browser compatibility table, below. ...
... the range (0123
4567), the following SyntaxError is thrown: "Missing octal digits after 0o". var n = 0O755; // 493 var m = 0o644; // 420 // Also possible with just a leading zero (see note about decimals above) 0755 0644 Hexadecimal Hexadecimal number syntax uses a leading zero followed by a lowercase or uppercase Latin letter "X" (0x or 0X). If the digits after 0x are outside the range (0123
456789ABCDEF), the following SyntaxError is thrown: "Identifier starts immediately after numeric literal". 0xFFFFFFFFFFFFFFFFF // 295147905179352830000 0x123
456789ABCDEF // 81985529216486900 0XA // 10 BigInt literal The BigInt type is a numeric primitive in JavaScript that can represent integers with arbitrary precision. BigInt literals are created by appending n to the end of ...
...And 5 more matches
Paths - SVG: Scalable Vector Graphics
they behave. The final two parameters designate the x and y coordinates to end the stroke. Together, these four values define the basic structure of the arc. The third parameter describes the rotation of the arc. This is best explained with an example: <svg width="320" height="320" xmlns="http://www.w3.org/2000/svg"> <path d="M 10 315 L 110 215 A 30 50 0 0 1 162.55 162.
45 L 172.55 152.
45 A 30 50 -
45 0 1 215.1 109.9 L 315 10" stroke="black" fill="green" stroke-width="2" fill-opacity="0.5"/> </svg> The example shows a <path> element that goes diagonally across the page. At its center, two elliptical arcs have been cut out (x radius = 30, y radius = 50). In the first one, the x-axis-rotation has been left at 0, so the ellipse that th...
...2" fill-opacity="0.5"/> </svg> The example shows a <path> element that goes diagonally across the page. At its center, two elliptical arcs have been cut out (x radius = 30, y radius = 50). In the first one, the x-axis-rotation has been left at 0, so the ellipse that the arc travels around (shown in gray) is oriented straight up and down. For the second arc, though, the x-axis-rotation is set to -
45 degrees. This rotates the ellipse so that it is aligned with its minor axis along the path direction, as shown by the second ellipse in the example image. For the unrotated ellipse in the image above, there are only two different arcs and not four to choose from because the line drawn from the start and end of the arc goes through the center of the ellipse. In a slightly modified example the two...
...t arcs and not four to choose from because the line drawn from the start and end of the arc goes through the center of the ellipse. ...
...And 5 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
1.x, but fortunatly not the case for Thunderbird !). ...
...../mozilla/dist/bin/TestCookie; fi; gmake[5]: quittant le rA(C)pertoire A<< /usr/local/Moz/commsrc/mail/app A>> gmake[4]: quittant le rA(C)pertoire A<< /usr/local/Moz/commsrc/mail A>> gmake[3]: quittant le rA(C)pertoire A<< /usr/local/Moz/commsrc A>> gmake[2]: quittant le rA(C)pertoire A<< /usr/local/Moz/commsrc A>> make[1]: quittant le rA(C)pertoire A<< /usr/local/Moz/commsrc A>> real 23m33.8
45s user 20m34.356s sys 1m49.752s Install Then install (--enable-static and --disable-shared necessary in .mozconfig !) [root@b008-02 commsrc]# make install -n /usr/bin/gmake -C mail/installer install gmake[1]: entrant dans le repertoire << /usr/local/Moz/commsrc/mail/installer >> rm -rf ../../mozilla/dist/thunderbird ../../mozilla/dist/thunderbird-3.0b3pre.en-US.linux-i686.tar ../../moz...
.../local/thunderbirdDebug/bin rm -f -f /usr/local/thunderbirdDebug/bin/thunderbird ln -s /usr/local/thunderbirdDebugLibs/thunderbird-3.0b3pre/thunderbird /usr/local/thunderbirdDebug/bin gmake[1]: quittant le repertoire << /usr/local/Moz/commsrc/mail/installer >> [root@b008-02 commsrc]# ls -l /usr/local/thunderbirdDebugLibs/thunderbird-3.0b3pre/ | grep ^d drwxr-xr-x 3 root root 4096 juil. ...
...And 4 more matches
JSAPI reference
key 31 JS_GetObjectRuntime Added in SpiderMonkey 17 JS_GetContextPrivate JS_SetContextPrivate JS_GetSecondContextPrivate Added in SpiderMonkey 17 JS_SetSecondContextPrivate Added in SpiderMonkey 17 JS_SetInterruptCallback Added in SpiderMonkey 31 JS_GetInterruptCallback Added in SpiderMonkey 31 JS_RequestInterruptCallback Added in SpiderMonkey 31 JS_CheckForInterrupt Added in JSAPI
45 JS_DestroyContextMaybeGC Obsolete since JSAPI 14 JS_SetBranchCallback Obsolete since JavaScript 1.9.1 JS_SetOperationCallback Obsolete since JSAPI 30 JS_GetOperationCallback Obsolete since JSAPI 30 JS_TriggerOperationCallback Obsolete since JSAPI 30 JS_ClearOperationCallback Obsolete since JavaScript 1.9.1 JS_GetOperationLimit Obsolete since JavaScript 1.9.1 JS_SetOperationLimit Obsole...
...nctionPrototype Added in SpiderMonkey 17 JS_GetArrayPrototype Added in SpiderMonkey 24 JS_GetConstructor JS_GetGlobalForObject JS_GetInstancePrivate JS_GetPrototype JS_SetPrototype JS_GetPrivate JS_SetPrivate JS_FreezeObject Added in SpiderMonkey 1.8.5 JS_DeepFreezeObject Added in SpiderMonkey 1.8.5 JS_IsExtensible Added in SpiderMonkey 1.8.5 JS_PreventExtensions Added in SpiderMonkey
45 JS_InstanceOf JS_HasInstance JS_IsNative Added in SpiderMonkey 17 JS::ToPrimitiveAdded in SpiderMonkey
45 JS::NewFunctionFromSpecAdded in SpiderMonkey
45 JS_DefaultValueObsolete since JSAPI 44 JS_GET_CLASS Obsolete since JSAPI 13 JS_SealObject Obsolete since JavaScript 1.8.5 JS_GetParent Obsolete since JSAPI 39 JS_SetParent Obsolete since JSAPI 39 Standard Objects enum JSProtoKe...
...ed in SpiderMonkey 24 Properties These functions correspond directly to the ways scripts access object properties: JS_GetProperty JS_GetUCProperty JS_GetPropertyById Added in SpiderMonkey 1.8.1 JS_SetProperty JS_SetUCProperty JS_SetPropertyById Added in SpiderMonkey 1.8.1 JS_HasProperty JS_HasUCProperty JS_HasPropertyById Added in SpiderMonkey 1.8.1 JS_HasOwnProperty Added in JSAPI
45 JS_HasOwnPropertyById Added in JSAPI
45 JS_DeleteProperty JS_DeletePropertyById Added in SpiderMonkey 1.8.1 JS_DeleteProperty2 Obsolete since JSAPI 39 JS_DeleteUCProperty2 Obsolete since JSAPI 39 JS_DeletePropertyById2 Added in SpiderMonkey 1.8.1 Obsolete since JSAPI 39 The following functions are lower-level, allowing the JSAPI application more access to details of how properties are ...
...And 3 more matches
Guide to the Fullscreen API - Web APIs
generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...o the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...bledIE Full support 11Alternate Name Full support 11Alternate Name Alternate Name Uses the non-standard name: msFullScreenEnabledOpera Full support YesSafari ? ...
...And 3 more matches
Example and tutorial: Simple synth keyboard - Web APIs
value is the frequency, in Hertz, of that note. function createNoteTable() { let noteFreq = []; for (let i=0; i< 9; i++) { noteFreq[i] = []; } noteFreq[0]["A"] = 27.500000000000000; noteFreq[0]["A#"] = 29.135235094880619; noteFreq[0]["B"] = 30.867706328507756; noteFreq[1]["C"] = 32.703195662574829; noteFreq[1]["C#"] = 34.647828872109012; noteFreq[1]["D"] = 36.7080959896759
45; noteFreq[1]["D#"] = 38.890872965260113; noteFreq[1]["E"] = 41.203444614108741; noteFreq[1]["F"] = 43.653528929125485; noteFreq[1]["F#"] = 46.249302838954299; noteFreq[1]["G"] = 48.999429497718661; noteFreq[1]["G#"] = 51.913087197493142; noteFreq[1]["A"] = 55.000000000000000; noteFreq[1]["A#"] = 58.270470189761239; noteFreq[1]["B"] = 61.735412657015513; ... several octaves not...
...[1]["G"] = 48.999429497718661; noteFreq[1]["G#"] = 51.913087197493142; noteFreq[1]["A"] = 55.000000000000000; noteFreq[1]["A#"] = 58.270470189761239; noteFreq[1]["B"] = 61.735412657015513; ... several octaves not shown for brevity ... ...
... = 92.498605677908599; noteFreq[2]["G"] = 97.998858995437323; noteFreq[2]["G#"] = 103.826174394986284; noteFreq[2]["A"] = 110.000000000000000; noteFreq[2]["A#"] = 116.540940379522479; noteFreq[2]["B"] = 123.470825314031027; noteFreq[3]["C"] = 130.812782650299317; noteFreq[3]["C#"] = 138.591315488436048; noteFreq[3]["D"] = 146.832383958703780; noteFreq[3]["D#"] = 155.563491861040
455; noteFreq[3]["E"] = 164.813778
456434964; noteFreq[3]["F"] = 174.614115716501942; noteFreq[3]["F#"] = 184.997211355817199; noteFreq[3]["G"] = 195.997717990874647; noteFreq[3]["G#"] = 207.652348789972569; noteFreq[3]["A"] = 220.000000000000000; noteFreq[3]["A#"] = 233.081880759044958; noteFreq[3]["B"] = 246.941650628062055; noteFreq[4]["C"] = 261.625565300598634; noteFreq[4]["...
...And 3 more matches
linear-gradient() - CSS: Cascading Style Sheets
ion between two or more colors along a straight line. Its result is an object of the <gradient> data type, which is a special kind of <image>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...s an object of the <gradient> data type, which is a special kind of <image>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...If specified, it consists of the word to and up to two keywords: one indicates the horizontal side (left or right), and the other the ...
...And 3 more matches
Styling the Amazing Netscape Fish Cam Page - Archive of obsolete content
idea was to have the fish listed in a side-by-side arrangement, sort of like a two-column table, only without the table. This was most easily accomplished by floating the div elements themselves. Since I wanted them to be side by side, it was important to be sure the total width of the element boxes (including margins) was less than 50%, so the first step was this: div.card {float: left; width:
45%; margin: 1em 2% 0 2%;} By making the content of each card
45% the width of the containing element, and adding 2% margin to both the left and right sides, each card's element box is 49% as wide as the parent. Two of them side by side will take up 98% the width of the parent element. This leaves out 2% as "wasted space," so to speak. I did it that way because it's a lot less likely to trigger a...
...ish weren't laid out next to each other, so I moved on. Floating Fish With the cards set up to float, the next step was to place the images appropriately. This involved floating the image inside the floated div. It just seemed like a Fish Cam page should have a lot of floating for some reason. I also added a border to the image, so that it would have a nice frame. div.card {float: left; width:
45%; margin: 1em 2% 0 2%;} div.card img {float: left; border: 1px solid #339;} That done, it was time to style the fish names. These are enclosed in h3 elements, so the field was pretty wide open in terms of what we could do. Since the image was floated, any background or border we set on the h3 would "slide under" the image; this is an expected effect with floated elements. Rather than try to fi...
...e under" the image; this is an expected effect with floated elements. Rather than try to fight it or push the image below the h3's element box, I let the image mostly overlap the h3, but with a slight offset. I then set up a thicker double border on the left, a one-pixel border the rest of the way around, and set the background to match the rest of the design. ...
...And 2 more matches
NSS 3.54 release notes
rce tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_54_RTM/src/ Other releases are available in NSS Releases. Notable Changes in NSS 3.54 Support for TLS 1.3 external pre-shared keys (Bug 1603042). Use ARM Cryptography Extension for SHA256, when available. (Bug 1528113). ...
... Notable Changes in NSS 3.54 Support for TLS 1.3 external pre-shared keys (Bug 1603042). Use ARM Cryptography Extension for SHA256, when available. (Bug 1528113). ...
... Bug 1641716 - Microsoft ECC Root Certificate Authority 2017 SHA-256 Fingerprint: 358DF39D764AF9E1B766E9C972DF352EE15CFAC227AF6AD1D70E8E4A6EDCBA02 Bug 1641716 - Microsoft RSA Root Certificate Authority 2017 SHA-256 Fingerprint: C741F70F4B2A8D88BF2E71C14122EF53EF10EBA0CFA5E64CFA20F418853073E0 The following CA certificates were Removed: Bug 16
45199 - AddTrust Class 1 CA Root SHA-256 Fingerprint: 8C7209279AC04E275E16D07FD3B775E80154B5968046E31F52DD25766324E9A7 Bug 16
45199 - AddTrust External CA Root SHA-256 Fingerprint: 687FA
451382278FFF0C8B11F8D43D576671C6EB2BCEAB413FB83D965D06D2FF2 Bug 1641718 - LuxTrust Global Root 2 SHA-256 Fingerprint: 54
455F7129C20B1447C418F997168F24C...
...And 2 more matches
SpiderMonkey 38
: .... These and other changes are explained in detail below. New JavaScript language features JavaScript 38 includes significant updates to language features, yo. New C++ APIs JSAPI is now a C++-only API. Please note that SpiderMonkey reserves the JS:: namespace for itself (and the js:: namespace for internal use). ...
...significant updates to language features, yo. New C++ APIs JSAPI is now a C++-only API. Please note that SpiderMonkey reserves the JS:: namespace for itself (and the js:: namespace for internal use). ...
... for itself (and the js:: namespace for internal use). ...
...And 2 more matches
KeyboardEvent: code values - Web APIs
"Space" "Space" 0x003A "CapsLock" "CapsLock" 0x003B "F1" "F1" 0x003C "F2" "F2" 0x003D "F3" "F3" 0x003E "F4" "F4" 0x003F "F5" "F5" 0x0040 "F6" "F6" 0x0041 "F7" "F7" 0x0042 "F8" "F8" 0x0043 "F9" "F9" 0x0044 "F10" "F10" 0x00
45 "Pause" "Pause" 0x0046 "ScrollLock" "ScrollLock" 0x0047 "Numpad7" "Numpad7" 0x0048 "Numpad8" "Numpad8" 0x0049 "Numpad9" "Numpad9" 0x004A "NumpadSubtract" "NumpadSubtract" 0x004B "Numpad4" "Numpad4" 0x004C "Numpad5" "Numpad5" 0x004D "Numpad6" "Numpad6" 0x004E "N...
..."Unidentified" "" 0xE035 "NumpadDivide" "NumpadDivide" 0xE036 "Unidentified" "" 0xE037 "PrintScreen" "PrintScreen" 0xE038 "AltRight" "AltRight" 0xE039, 0xE03A "Unidentified" "" 0xE03B "Unidentified" "Help" 0xE03C~ 0xE044 "Unidentified" "" 0xE0
45 "NumLock" "NumLock" 0xE046 (Ctrl + Pause) "Pause" "Pause" 0xE047 "Home" "Home" 0xE048 "ArrowUp" "ArrowUp" 0xE049 "PageUp" "PageUp" 0xE04A "Unidentified" "" 0xE04B "ArrowLeft" "ArrowLeft" 0xE04C "Unidentified" "" 0xE04D "ArrowRight" "ArrowRight" 0...
...t" kVK_RightControl (0x3E) "ControlRight" "ControlRight" kVK_Function (0x3F) "Fn" (no events fired actually) "" (no events fired actually) kVK_F17 (0x40) "F17" "F17" kVK_ANSI_KeypadDecimal (0x41) "NumpadDecimal" "NumpadDecimal" kVK_ANSI_KeypadMultiply (0x43) "NumpadMultiply" "NumpadMultiply" kVK_ANSI_KeypadPlus (0x
45) "NumpadAdd" "NumpadAdd" kVK_ANSI_KeypadClear (0x47) "NumLock" "NumLock" kVK_VolumeUp (0x48) "AudioVolumeUp" (was "VolumeUp" until Firefox 48) "AudioVolumeUp" (was "VolumeUp" until Chrome 50) kVK_VolumeDown (0x49) "AudioVolumeDown" (was "VolumeDown" until Firefox 49) "AudioVolumeDown" (was "VolumeDown" until Chrome 50) kVK_Mute (0x4A) ...
...And 2 more matches
offset-path - CSS: Cascading Style Sheets
The offset-path CSS property specifies a motion path for an element to follow and defines the element's positioning within the parent container or SVG coordinate system. ...
...tical to the <path> element in the SVG. The path, as can be seen in the rendering of the SVG code, is a line drawing of a house with a chimney. SVG The top and bottom halves of the scissors would appear in the top left of the canvas were they not positioned along the starting point of the motion path defined by offset-path. ...
...g the starting point of the motion path defined by offset-path. ...
...And 2 more matches
rotate() - CSS: Cascading Style Sheets
For example, if you rotate before translating, the translation will be along the new axis of rotation! HTML <div>Normal</div> <div class="rotate">...
...For example, if you rotate before translating, the translation will be along the new axis of rotation! HTML <div>Normal</div> <div class="rotate">Rotated</div> <div class="ro...
... Working Draft Initial definition ...
...And 2 more matches
Date and time formats used in HTML - HTML: Hypertext Markup Language
me-local month time week Examples Before getting into the intricacies of how date and time strings are written and parsed in HTML, here are some examples that should give you a good idea what the more commonly-used date and time string formats look like. ...
... month time week Examples Before getting into the intricacies of how date and time strings are written and parsed in HTML, here are some examples that should give you a good idea what the more commonly-used date and time string formats look like. ...
... Before getting into the intricacies of how date and time strings are written and parsed in HTML, here are some examples that should give you a good idea what the more commonly-used date and time string formats look like. ...
...And 2 more matches
Intl.NumberFormat - JavaScript
r = 3500; console.log(new Intl.NumberFormat().format(number)); // -> '3,500' if in US English locale Using locales This example shows some of the variations in localized number formats. ...
...he variations in localized number formats. In order to get the format of the language used in the user interface of your application, make sure to specify that language (and possibly some fallback languages) using the locales argument: var number = 123
456.789; // German uses comma as decimal separator and period for thousands console.log(new Intl.NumberFormat('de-DE').format(number)); // -> 123.
456,789 // Arabic in most Arabic speaking countries uses real Arabic digits console.log(new Intl.NumberFormat('ar-EG').format(number)); // -> ?????????? // India uses thousands/lakh/crore separators console.log(new Intl.NumberFormat('en-IN').format(number)); // -> 1,23,
456.789 // the nu extension key requests a numbering system, e.g. Chinese decimal console.log(new Intl.NumberFormat('zh-Hans-CN-u...
...; // -> 1,23,
456.789 // the nu extension key requests a numbering system, e.g. ...
...And 2 more matches
Number.prototype.toLocaleString() - JavaScript
bal Intl object, checks that it's not null and that it has a NumberFormat property that is a function. Using locales This example shows some of the variations in localized number formats. ...
...shows some of the variations in localized number formats. In order to get the format of the language used in the user interface of your application, make sure to specify that language (and possibly some fallback languages) using the locales argument: var number = 123
456.789; // German uses comma as decimal separator and period for thousands console.log(number.toLocaleString('de-DE')); // -> 123.
456,789 // Arabic in most Arabic speaking countries uses Eastern Arabic digits console.log(number.toLocaleString('ar-EG')); // -> ?????????? // India uses thousands/lakh/crore separators console.log(number.toLocaleString('en-IN')); // -> 1,23,
456.789 // the nu extension key requests a numbering system, e.g. Chinese decimal console.log(number.toLocaleString('zh-Hans-CN-u-nu-hanidec')); // -> ???,?
...umber.toLocaleString('en-IN')); // -> 1,23,
456.789 // the nu extension key requests a numbering system, e.g. ...
...And 2 more matches
Document Loading - From Load Start to Finding a Handler - Archive of obsolete content
can't do anything else with a load, we give it to the nsIExternalHelperAppService and let it look for a helper app, put up the "what do I do now?" dialog, and so forth. ...
...o anything else with a load, we give it to the nsIExternalHelperAppService and let it look for a helper app, put up the "what do I do now?" dialog, and so forth. ...
...ramMap"><area alt="(13) DoContent()" coords="534,239,715,300" href="#nsIExternalHelperAppService::DoContent"> <area alt="(10) GetCategoryEntry()" coords="575,418,821,418,821,
455,629,
455,629,484,575,484" href="#CategoryManager" shape="poly"> <area alt="(12)" coords="539,133,583,163" href="#stream-converter"> <area alt="(11)" coords="485,133,537,163" href="#ContentHandler"> <area alt="(9)" coords="4
45,132,484,165" href="#nsDocumentOpenInfo::DispatchContent"> <area alt="(8)" coords="405,133,439,162" href="#OnStartRequest-innards"> <area alt="(7) OnStartRequest()" coords="639,129,703,129,703,165,833,165,833,204,639,204" href="#OnStartRequest" shape="poly"> <area alt="(6) AsyncOpen()" coords="637,121,709,121,709,96,783,96,783,58,637,58" href="#AsyncOpen" shape="poly"> <area alt="(5) Open()" coord...
...The prose description below has been updated. The changes do not affect functionality and the step numbers in the diagram ar...
Using the Right Markup to Invoke Plugins - Archive of obsolete content
a few caveats that this section outlines. Traditionally, the object element has been used differently by Microsoft Internet Explorer and by Mozilla-based browsers such as Netscape 7. In IE, the object element is used to invoke a plugin that is built on the ActiveX architecture. ...
...ement, or else keep going inwards till they can find something to display. IE displays everything as if they are in series, and not nested. ...
...hat support ActiveX, such as IE, create an object element with a classid attribute, and on browsers that support the Netscape Plugin architecture, use a MIME type. ...
...element. The Embed Element The embed element has been used to invoke plugins since the early days of Netscape browsers. Typically, the embed element is nested within an object element, such that the outer object element invokes an ActiveX control for IE, whereas the inner embed element invokes a Netscape Plugin. ...
Index - Learn web development
an work right away for many readers. 44 The web and web standards Beginner, Front-end, Learn, Web, Web Standards This article provides some useful background on the Web -- how it came about, what web standard technologies are, how they work together, why "web developer" is a great career to choose, and what kinds of best practices you'll learn about through the course.
45 What will your website look like? Assets, Beginner, Composing, Content, Deprecated, Design, Fonts, Learn, Simple, l10n:priority, step by step Before doing anything, you need some ideas. What should your website actually do? A website can do basically anything, but, for your first try, you should keep things simple. We'll start by creating a simple webpage with a heading, an image, a...
...ojects. 144 Grids Article, Beginner, CSS, CSS Grids, CodingScripting, Grids, Guide, Layout, Learn, Tutorial, grid design, grid framework, grid system In this overview we have toured the main features of CSS Grid Layout. You should be able to start using it in your designs. To dig further into the specification, read our guides to Grid Layout, which can be found below. 1
45 Introduction to CSS layout Article, Beginner, CSS, Floats, Grids, Introduction, Layout, Learn, Positioning, Tables, flexbox, flow This article has provided a brief summary of all the layout technologies you should know about. Read on for more information on each individual technology! 146 Legacy layout methods Beginner, CSS, Floats, Guide, Layout, Learn, grid system, ...
...hey are useful to know about, and how to include SVG inside your webpages. It was never intended to be a full guide to learning SVG, just a pointer so you know what SVG is if you meet it in your travels around the Web. So don't worry if you don't feel like you are an SVG expert yet. We've included some links below that might help you if you wish to go and find out more about how it works. ...
... This article looks at optimizing image and video to improve web performance. 343 Multimedia: video Images, Media, Performance, Video, Web Performance This article looks at optimizing video to improve web performance. 344 Perceived performance Perceived Performance, Web Performance Perceived performance is how fast a website seems to the user. 3
45 The "why" of web performance Beginner, Introduction, Learn, Performance, Reference, Tutorial, Web Performance Web performance is all about making websites fast, including making slow processes seem fast. This article provides an introduction into why web performance is important to site visitors and for your business goals. 346 The business case for web performance We...
NSS 3.12.4 release notes
encoding/decoding of PKIX_PL_OID to and from ascii string Bug 405297: Problems building nss/lib/ckfw/capi/ with MingW GCC Bug 420991: libPKIX returns wrong NSS error code Bug 427135: Add super-H (sh3,4) architecture support Bug 431958: Improve DES and SHA512 for x86_64 platform Bug 433791: Win16 support should be deleted from NSS Bug 449332: SECU_ParseCommandLine does not validate its inputs Bug
453735: When using cert9 (SQLite3) DB, set or change master password fails Bug 463544: warning: passing enum* for an int* argument in pkix_validate.c Bug 469588: Coverity errors reported for softoken Bug 470055: pkix_HttpCertStore_FindSocketConnection reuses closed socket Bug 470070: Multiple object leaks reported by tinderbox Bug 470479: IO timeout during cert fetching makes libpkix abort validatio...
...g 470055: pkix_HttpCertStore_FindSocketConnection reuses closed socket Bug 470070: Multiple object leaks reported by tinderbox Bug 470479: IO timeout during cert fetching makes libpkix abort validation. ...
...2 Crash Report [[@ nssutil3.dll@0x34c0 ] Bug 482742: Enable building util independently of the rest of nss Bug 483653: unable to build certutil.exe for fennec/wince Bug 4851
45: Miscellaneous crashes in signtool on Windows Bug 485155: NSS_ENABLE_PKIX_VERIFY=1 causes sec_error_unknown_issuer errors Bug 485527: Rename the _X86_ macro in lib/freebl Bug 485658: vfychain -p reports revoked cert Bug 4857
45: modify fipstest.c to support CAVS 7.1 DRBG testing Bug 486304: cert7.db/cert8.db corruption when importing a large certificate (>64K) Bug 486405: Allocator mismatches in pk12util.c Bug 486537: Disable execstack in freebl x86_64 builds on Linux Bug 486698: Facilitate the building of major components independently and in a chain manner by downstream distributions Bug 486999: Calling SSL_SetSockPee...
...Bug 505561: Need a generic function a la SECMOD_OpenUserDB() that can be used on non-softoken modules. Bug 505858: NSS_RegisterShutdown can return without unlocking nssShutdownList.lock Bug 507041: Invalid build options for VC6 B...
NSS 3.41 release notes
for TLS. ...
..._SHA384 New Functions none Notable Changes in NSS 3.41 The following CA certificates were Added: CN = Certigna Root CA SHA-256 Fingerprint: D48D3D23EEDB50A
459E55197601C27774B9D7B18C94D5A059511A10250B93168 CN = GTS Root R1 SHA-256 Fingerprint: 2A575471E31340BC21581CBD2CF13E158463203ECE94BCF9D3CC196BF09A5472 CN = GTS Root R2 SHA-256 Fingerprint: C
45D7BB08E6D67E62E4235110B564E5F78FD92EF058C840AEA4E6
455D7585C60 CN = GTS Root R3 SHA-256 Fingerprint: 15D5B8774619EA7D54CE1CA6D0B0C403E037A917F131E8A04E1E6B7A71BABCE5 CN = GTS Root R4 SHA-256 Fingerprint: 71CCA5391F9E794B04802530B363E121DA8A3043BB26662FEA4DCA7FC951A4BD CN = UCA Global G2 Root SHA-256 Fingerprint: 9BEA11C976FE014764C1BE56A6F914B5A560317ABD998...
...FB294EB41EE71722924D24 The following CA certificates were Removed: CN = AC Raiz Certicamara S.A. ...
...F9107AAE8203857FE198E3E769E343085C CN = Certplus Root CA G1 SHA-256 Fingerprint: 152A402BFCDF2CD548054D2275B39C7FCA3EC0978078B0F0EA76E561A6C7433E CN = Certplus Root CA G2 SHA-256 Fingerprint: 6CC05041E64
45E74696C4CFBC9F80F543B7EABBB44B4CE6F787C6A9971C42F17 CN = OpenTrust Root CA G1 SHA-256 Fingerprint: 56C77128D98C18D91B4CFDFFBC25EE9103D4758EA2ABAD826A90F3
457D460EB4 CN = OpenTrust Root CA G2 SHA-256 Fingerprint: 27995829FE6A7515C1BFE848F9C4761DB16C225929257BF40D0894F29EA8BAF2 CN = OpenTrust Root CA G3 SHA-256 Fingerprint: B7C36231706E81078C367CB896198F1E3208DD926949DD8F5709A410F75B6292 Bugs fixed in NSS 3.41 Bug 1412829, Reject empty supported_signature_algorithms in Certificate Request in TLS 1.2 Bug...
NSS_3.12.3_release_notes.html
distinct types Bug 438870: Free Freebl hashing code of dependencies on NSPR and libUtil Bug 439115: DB merge allows nickname conflicts in merged DB Bug 439199: SSE2 instructions for bignum are not implemented on Windows 32-bit Bug 441321: Tolerate incorrect encoding of DSA signatures in SSL 3.0 handshakes Bug 444404: libpkix reports unknown issuer for nearly all certificate errors Bug
452391: certutil -K incorrectly reports ec private key as an orphan Bug
453234: Support for SEED Cipher Suites to TLS RFC4010 Bug
453364: Improve PK11_CipherOp error reporting (was: PK11_CreateContextBySymKey returns NULL Bug
456406: Slot list leaks in symkeyutil Bug 461085: RFE: export function CERT_CompareCerts Bug 462293: Crash on fork after Softoken is dlClose'd on some Unix platforms ...
...
453234: Support for SEED Cipher Suites to TLS RFC4010 Bug
453364: Improve PK11_CipherOp error reporting (was: PK11_CreateContextBySymKey returns NULL Bug
456406: Slot list leaks in symkeyutil Bug 461085: RFE: export function CERT_CompareCerts Bug 462293: Crash on fork after Softoken is dlClose'd on some Unix platforms in NSS 3.12 Bug 463342: move some headers to freebl/softoken Bug 463
452: SQL DB creation does not set files protections to 0600 Bug 463678: Need to add RPATH to 64-bit libraries on HP-UX Bug 464088: Option to build NSS without dbm (handy for WinCE) Bug 464223: Certutil didn't accept certificate request to sign. Bug 464406: Fix signtool regressions Bug 465270: uninitialised value in devutil.c::create_object() Bug 465273: dead assignment in devutil.c::nssS...
...il.c::create_object() Bug 465273: dead assignment in devutil.c::nssSlotArray_Clone() Bug 465926: During import of PKCS #12 files Bug 466180: SSL_ConfigMPServerSIDCache with default parameters fails on {Net Bug 466194: CERT_DecodeTrustString should take a const char * input trusts string. ...
...ted Bug 473147: pk11mode tests fails on AIX when using shareable DBs. Bug 473357: ssltap incorrectly parses handshake messages that span record boundaries Bug 473365: Incompatible argument in pkix_validate.c. Bug 473505: softoken's C_Initialize and C_Finalize should succeed after a fork in a child process Bug 473944: Trust anchor is not trusted when requireFreshInfo flag is set. Bug 47
4532: Softoken cannot import certs with empty subjects and non-empty nicknames Bug 474777: Wrong deallocation when modifying CRL. Bug 476126: CERT_AsciiToName fails when AVAs in an RDN are separated by '+' Bug 477186: Infinite loop in CERT_GetCertChainFromCert Bug 477777: Selfserv crashed in client/server tests. Bug 478171: Consolidate the coreconf/XXX.mk files for Windows Bug 478563: Ad...
JS_ExecuteScript
Execute a compiled script. ...
... Execute a compiled script. ...
...Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext. ...
...the script, and JS_ExecuteScript returns true. Otherwise it returns false, and the value left in rval is unspecified. The JSAPI User Guide contains example code using compiled scripts. To execute a script that has not been compiled, use JS::Evaluate instead. See Also MXR ID Search for JS_ExecuteScript MXR ID Search for JS::CloneAndExecuteScript JS::Compile JS::Evaluate bug 993438 bug 11
45294 -- removed obj from JS::CloneAndExecuteScript. bug 1097987 -- removed obj from JS_ExecuteScript ...
Applying styles and colors - Web APIs
nt paths, demonstrating each of these three lineJoin property settings; the output is shown above. ...
...ings; the output is shown above. function draw() { var ctx = document.getElementById('canvas').getContext('2d'); var lineJoin = ['round', 'bevel', 'miter']; ctx.lineWidth = 10; for (var i = 0; i < lineJoin.length; i++) { ctx.lineJoin = lineJoin[i]; ctx.beginPath(); ctx.moveTo(-5, 5 + i * 40); ctx.lineTo(35,
45 + i * 40); ctx.lineTo(75, 5 + i * 40); ctx.lineTo(115,
45 + i * 40); ctx.lineTo(155, 5 + i * 40); ctx.stroke(); } } <canvas id="canvas" width="150" height="150"></canvas> draw(); ScreenshotLive sample A demo of the miterLimit property As you've seen in the previous example, when joining two lines with the miter option, the outside edges of the two joining lines are extended up to the point where they meet. For lines which are at large ...
... the gradient, we can achieve more complex effects than we would normally have in the "classic" radial gradients we see in, for instance, Photoshop (that is, a gradient with a single center point where the gradient expands outward in a circular shape). ...
... gradient, we can achieve more complex effects than we would normally have in the "classic" radial gradients we see in, for instance, Photoshop (that is, a gradient with a single center point where the gradient expands outward in a circular shape). ...
Basic animations - Web APIs
te when running in background tabs. For more information about the animation loop, especially for games, see the article Anatomy of a video game in our Game development zone. An animated solar system This example animates a small model of our solar system. ...
...nshotLive sample A looping panorama In this example, a panorama is scrolled left-to-right. We're using an image of Yosemite National Park we took from Wikipedia, but you could use any image that's larger than the canvas. var img = new Image(); // User Variables - customize these to change the image being scrolled, its // direction, and the speed. ...
... var cn; //= document.getElementById('cw'); var c; var u = 10; const m = { x: innerWidth / 2, y: innerHeight / 2 }; window.onmousemove = function(e) { m.x = e.clientX; m.y = e.clientY; } function gc() { var s = "0123
456789ABCDEF"; var c = "#"; for (var i = 0; i < 6; i++) { c += s[Math.ceil(Math.random() * 15)] } return c } var a = []; window.onload = function myfunction() { cn = document.getElementById('cw'); c = cn.getContext('2d'); for (var i ...
...s.w, this.h), c.strokeStyle = "#E91E63", c.font = "30px serif", c.strokeStyle = "#9E9E9E", i.length - 1 != e && 0 != e && c.strokeRect(t.x, t.y, this.w, this.h), 0 == e && (c.beginPath(), c.fillStyle = "#F44336", c.arc(t.x + 10, t.y + 2, 5, 360, 0), c.fill()), c.arc(t.x + 10, t.y + 2, 5, 360, 0), c.fill(), c.beginPath() }) } } function gc() { for (var t = "0123
456789ABCDEF", e = "#", i = 0; i < 6; i++) e += t[Math.ceil(15 * Math.random())]; return e } function food() { this.x = 0, this.y = 0, this.b = 10, this.w = this.b, this.h = this.b, this.color = gc(), this.renew = function () { this.x = Math.floor(Math.random() * (w - 200) + 10), this.y = Math.floor(Math.random() * (h - 200) + 30), this.color = gc() }, th...
Element.scroll() - Web APIs
is page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...dge Full support 79Firefox Full support 36IE No support NoOpera Full support 32Safari Full support 10WebView Android Full support
45Chrome Android Full support
45Firefox Android Full support 36Opera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0ScrollToOptions para...
...
45Firefox Android Full support 36Opera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0ScrollToOptions parameterChrome Full support
45Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support ...
...Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support
45Chrome Android Full support
45Firefox Android Full support YesOpera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0Legend ...
Element.scrollTo() - Web APIs
page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...dge Full support 79Firefox Full support 36IE No support NoOpera Full support 32Safari Full support 10WebView Android Full support
45Chrome Android Full support
45Firefox Android Full support 36Opera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0ScrollToOptions para...
...
45Firefox Android Full support 36Opera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0ScrollToOptions parameterChrome Full support
45Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support ...
...Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support
45Chrome Android Full support
45Firefox Android Full support YesOpera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0Legend ...
SubtleCrypto.unwrapKey() - Web APIs
5,165,226,46,119,27,97,183,23,197,227,85,138, 235,79,158,167,59,62,194,34,210,214,240,215,101,233,63,138,53,87,253,189, 27,66,150,76,242,76,102,174,179,163,184,205,11,161,224,19,110,34,175,192, 101,117,169,86,66,56,241,128,13,156,165,125,139,110,138,50,108,129,251,137, 26,186,110,117,113,207,179,59,213,18,175,14,203,192,2,97,131,125,167,227, 182,87,72,123,54,156,60,195,88,224,96,46,126,2
45,251,247,147,110,147,173, 82,106,93,210,55,71,127,133,41,37,181,17,106,16,158,220,136,43,75,133,96, 240,151,116,40,44,254,2,32,74,226,193,172,48,211,71,109,163,143,30,92,28, 30,183,25,16,176,207,77,93,139,242,114,91,218,126,123,234,18,9,2
45,53,46, 172,215,62,92,249,191,17,27,0,58,151,33,23,169,93,177,253,152,147,198,196, 226,42,202,166,99,250,127,40,221,196,121,195,198,235,30,159,159,95,...
...,191,150,70,10,90,178, 198,40,233,233,225,146,231,209,254,2,90,216,5,97,105,204,82,88,81,99,92, 159,116,192,223,148,252,12,24,197,211,187,212,98,252,201,154,184,65,54,47, 13,106,151,168,208,112,212,74,204,36,233,98,104,58,103,1,194,13,26,109,101, 60,42,3,215,20,25,99,176,63,28,112,102,121,190,96,198,228,196,78,38,82,37, 248,42,150,115,6,10,22,101,42,237,175,69,232,212,231,40,193,70,211,2
45,106, 231,175,150,88,105,170,139,238,196,64,218,250,47,165,22,36,196,161,30,79, 175,14,133,88,129,182,56,140,147,168,134,91,68,172,110,195,134,156,68,78, 249,215,68,250,11,23,70,59,156,99,75,249,159,84,16,206,93,16,130,34,66,210, 82,252,53,251,84,59,226,212,154,15,20,163,58,228,109,53,214,151,237,10,169, 107,180,123,174,159,182,8,240,115,115,220,131,128,79,80,61,133,58,24,98, 193,225,5...
...133,88,129,182,56,140,147,168,134,91,68,172,110,195,134,156,68,78, 249,215,68,250,11,23,70,59,156,99,75,249,159,84,16,206,93,16,130,34,66,210, 82,252,53,251,84,59,226,212,154,15,20,163,58,228,109,53,214,151,237,10,169, 107,180,123,174,159,182,8,240,115,115,220,131,128,79,80,61,133,58,24,98, 193,225,56,36,159,254,199,49,44,160,28,81,140,163,24,143,114,31,237,235, 250,83,72,215,44,232,182,
45,39,182,193,248,65,174,186,52,219,30,198,48,1, 134,151,81,114,38,124,7,213,205,138,28,22,216,76,46,224,241,88,156,7,62, 23,104,34,54,25,156,93,212,133,182,61,93,255,195,68,244,234,53,132,151,140, 72,146,127,113,227,34,243,218,222,47,218,113,18,173,203,158,133,90,156,214, 77,20,113,1,231,164,52,55,69,132,24,68,131,212,7,153,34,179,113,156,81, 127,83,57,29,195,90,64,211,115,202,188,5,42,18...
...*/ let signingKey; const signButton = document.querySelector(".pkcs8 .sign-button"); /* Convert an array of byte values to an ArrayBuffer. */ function bytesToArrayBuffer(bytes) { const bytesAsArrayBuffer = new ArrayBuffer(bytes.length); const bytesUint8 = new Uint8Array(bytesAsArrayBuffer); bytesUint8.set(bytes); return by...
Writing a WebSocket server in C# - Web APIs
Introduction If you would like to use the WebSocket API, it is useful if you have a server. In this article I will show you how to write one in C#. You can do it in any server-side language, but to keep things simple and more understandable, I chose Microsoft's language. This server conforms to RFC 6
455 so it will only handle connections from Chrome version 16, Firefox 11, IE 10 and over. First steps WebSockets communicate over a TCP (Transmission Control Protocol) connection. Luckily, C# has a TcpListener class which does as the name suggests. It is in the System.Net.Sockets namespace. It is a good idea to include the namespace with the using keyword in order to write less. It allows usage of a namespace's classes without typing the full namespace every time. TcpListener Co...
...or enough bytes to be available } Byte[] bytes = new Byte[client.Available]; stream.Read(bytes, 0, bytes.Length); //translate bytes of request to string String data = Encoding.UTF8.GetString(bytes); if (Regex.IsMatch(data, "^GET")) { } else { } The response is easy to build, but might be a little bit difficult to understand. ...
...ut might be a little bit difficult to understand. The full explanation of the Server handshake can be found in RFC 6
455, section 4.2.2. For our purposes, we'll just build a simple response. ...
...g(bytes); if (Regex.IsMatch(s, "^GET", RegexOptions.IgnoreCase)) { Console.WriteLine("=====Handshaking from client=====\n{0}", s); // 1. Obtain the value of the "Sec-WebSocket-Key" request header without any leading or trailing whitespace // 2. Concatenate it with "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" (a special GUID specified by RFC 6
455) // 3. Compute SHA-1 and Base64 hash of the new value // 4. Write the hash back as the value of "Sec-WebSocket-Accept" response header in an HTTP response string swk = Regex.Match(s, "Sec-WebSocket-Key: (.*)").Groups[1].Value.Trim(); string swka = swk + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; byte[] swkaSha1 = System...
repeating-linear-gradient() - CSS: Cascading Style Sheets
t has no natural or preferred size, nor a preferred ratio. Its concrete size will match the size of the element it applies to. Because <gradient>s belong to the <image> data type, they can only be used where <image>s can be used. For this reason, repeating-linear-gradient() won't work on background-color and other properties that use the <color> data type. ...
...e of the element it applies to. Because <gradient>s belong to the <image> data type, they can only be used where <image>s can be used. For this reason, repeating-linear-gradient() won't work on background-color and other properties that use the <color> data type. Syntax /* A repeating gradient tilted
45 degrees, starting blue and finishing red, repeating 3 times */ repeating-linear-gradient(
45deg, blue, red 33.3%); /* A repeating gradient going from the bottom right to the top left, starting blue and finishing red, repeating every 20px */ repeating-linear-gradient(to left top, blue, red 20px); /* A gradient going from the bottom to top, starting blue, turning green after 40%, and finishing red. This gradient doesn't repeat because the last color stop defaults to 100% */ r...
... | bottom] and <color-stop-list> = [ <linear-color-stop> [, <color-hint>? ]? ]#, <linear-color-stop> and <linear-color-stop> = <color> [ <color-stop-length> ]? ...
...r-stop-length> = [ <percentage> | <length> ]{1,2} and <color-hint> = [ <percentage> | <length> ] Examples Zebra stripes body { width: 100vw; height: 100vh; } body { background-image: repeating-linear-gradient(-
45deg, transparent, transparent 20px, black 20px, black 40px); /* with multiple color stop lengths */ background-image: repeating-linear-gradient(-
45deg, transparent 0 20px, black 20px 40px); } Ten repeating horizontal bars body { width: 100vw; height: 100vh; } body { background-image: repeating-linear-gradient(to bottom, rgb(26,198,204), rgb(26,198,204) 7%, rgb(100,100,100) 10%); } Because the last color stop is 10% and the gradient is vertical, each gradient in the repeated gradient is 10% of t...
HTTP Index - HTTP
ts, where the result, and even the success of a request, can be changed by comparing the affected resources with the value of a validator. Such requests can be useful to validate the content of a cache, and sparing a useless control, to verify the integrity of a document, like when resuming a download, or when preventing to lose updates when uploading or modifying a document on the server.
45 HTTP cookies Advertising, Browser, Cookies, Cookies Article, Guide, HTTP, History, JavaScript, Privacy, Protocols, Server, Storage, Web Development, data, request, tracking An HTTP cookie (web cookie, browser cookie) is a small piece of data that a server sends to the user's web browser. The browser may store it and send it back with the next request to the same server. 46 ...
...TP Feature-Policy header speaker directive controls whether the current document is allowed to play audio via any methods. 144 Feature-Policy: sync-xhr Directive, Feature Policy, Feature-Policy, HTTP, Reference, XMLHttpRequest The HTTP Feature-Policy header sync-xhr directive controls whether the current document is allowed to make synchronous XMLHttpRequest requests. 1
45 Feature-Policy: unoptimized-images Directive, Feature-Policy, HTTP, Image, Reference The HTTP Feature-Policy header unoptimized-images directive controls whether the current document is allowed to download and display unoptimized images. 146 Feature-Policy: unsized-media Directive, Feature-Policy, HTTP, Reference The HTTP Feature-Policy header unsized-media dire...
...t Timeout response status code means that the server would like to shut down this unused connection. It is sent on an idle connection by some servers, even without any previous request by the client. 244 409 Conflict Client error, HTTP, HTTP Status Code, Reference The HTTP 409 Conflict response status code indicates a request conflict with current state of the server. 2
45 410 Gone Client error, HTTP, Reference, Status code The HyperText Transfer Protocol (HTTP) 410 Gone client error response code indicates that access to the target resource is no longer available at the origin server and that this condition is likely to be permanent. 246 411 Length Required Client error, HTTP, HTTP Status Code, Reference, Status code The HyperTex...
...indicates the user has sent too many requests in a given amount of time ("rate limiting"). 259 431 Request Header Fields Too Large Client error, HTTP, HTTP Status Code, Reference, Status code The HTTP 431 Request Header Fields Too Large response status code indicates that the server refuses to process the request because the request's HTTP headers are too long. 260
451 Unavailable For Legal Reasons Client error, HTTP, Reference, Status code The HyperText Transfer Protocol (HTTP)
451 Unavailable For Legal Reasons client error response code indicates that the user requested a resource that is not available due to legal reasons, such as a web page for which a legal action has been issued. 261 500 Internal Server Error HTTP, Server error, ...
Numbers and dates - JavaScript
ry large. There are caveats to using BigInt, however; for example, you can't mix and match BigInt and Number values in the same operation, and you can't use the Math object with BigInt values. See also JavaScript data types and structures for context with other primitive types in JavaScript. You can use four types of number literals: decimal, binary, octal, and hexadecimal. Decimal numbers 123
4567890 42 // Caution when using leading zeros: 0888 // 888 parsed as decimal 0777 // parsed as octal in non-strict mode (511 in decimal) Note that decimal literals can start with a zero (0) followed by another decimal digit, but if every digit after the leading 0 is smaller than 8, the number gets parsed as an octal number. Binary numbers Binary number syntax uses a leading zero followed by a...
...al numbers Octal number syntax uses a leading zero. If the digits after the 0 are outside the range 0 through 7, the number will be interpreted as a decimal number. var n = 0755; // 493 var m = 0644; // 420 Strict mode in ECMAScript 5 forbids octal syntax. ...
...supported in all browsers by prefixing the octal number with a zero: 0644 === 420 and "\0
45" === "%". In ECMAScript 2015, octal numbers are supported if they are prefixed with 0o, e.g.: var a = 0o10; // ES2015: 8 Hexadecimal numbers Hexadecimal number syntax uses a leading zero followed by a lowercase or uppercase Latin letter "X" (0x or 0X). If the digits after 0x are outside the range (0123
456789ABCDEF), the following SyntaxError is thrown: "Identifier starts immediately after numeric literal". ...
...re prefixed with 0o, e.g.: var a = 0o10; // ES2015: 8 Hexadecimal numbers Hexadecimal number syntax uses a leading zero followed by a lowercase or uppercase Latin letter "X" (0x or 0X). If the digits after 0x are outside the range (0123
456789ABCDEF), the following SyntaxError is thrown: "Identifier starts immediately after numeric literal". 0xFFFFFFFFFFFFFFFFF // 295147905179352830000 0x123
456789ABCDEF // 81985529216486900 0XA // 10 Exponentiation 1E3 // 1000 2e6 // 2000000 0.1e2 // 10 Number object The built-in Number object has properties for numerical constants, such as maximum value, not-a-number, and infinity. You cannot change the values of these properties and you use them as follows: var biggestNum = Number.MAX_VALUE; var smallestNum = Number.MIN_VA...
RegExp - JavaScript
and no more match. With the global flag g, all 6 digits would be matched, not just 3. Regular expressi...
...and no more match. With the global flag g, all 6 digits would be matched, not just 3. Regular expression and Unicode characters \w and \W only matches ASCII based characters; for example, a t...
...and no more match. ...
...and no more match. With the global flag g, all 6 digits would be matched, not just 3. ...
SVG documentation index - SVG: Scalable Vector Graphics
> definitions. 43 clipPathUnits SVG, SVG Attribute The clipPathUnits attribute indicates which coordinate system to use for the contents of the <clipPath> element. 44 color SVG, SVG Attribute The color attribute is used to provide a potential indirect value, currentcolor, for the fill, stroke, stop-color, flood-color, and lighting-color attributes.
45 color-interpolation NeedsExample, SVG, SVG Attribute The color-interpolation attribute specifies the color space for gradient interpolations, color animations, and alpha compositing. 46 color-interpolation-filters NeedsExample, SVG, SVG Attribute The color-interpolation-filters attribute specifies the color space for imaging operations performed via filter effec...
...mode attribute defines the blending mode on the <feBlend> filter primitive. 143 name Deprecated, SVG, SVG Attribute The name attribute specifies either the name of a color profile or a font face. 144 numOctaves Filters, SVG, SVG Attribute The numOctaves attribute defines the number of octaves for the noise function of the <feTurbulence> primitive. 1
45 onclick SVG, SVG Attribute, events The onclick attribute specifies some script to run when the element is clicked. 146 opacity SVG, SVG Attribute The opacity attribute specifies the transparency of an object or of a group of objects, that is, the degree to which the background behind the element is overlaid. 147 operator Filters, NeedsCompatTable,...
...y oriented text. 243 vert-origin-y Deprecated, SVG, SVG Attribute The vert-origin-y attribute indicates the y-coordinate in the font coordinate system of the origin of a glyph to be used when drawing vertically oriented text. 244 viewBox SVG, SVG Attribute The viewBox attribute defines the position and dimension, in user space, of an SVG viewport. 2
45 viewTarget SVG, SVG Attribute The viewTarget attribute indicates the target object associated with the view. 246 visibility SVG, SVG Attribute The visibility attribute lets you control the visibility of graphical elements. With a value of hidden or collapse the current graphics element is invisible. 247 width SVG, SVG Attribute The width att...
...reignObject> SVG element includes elements from a different XML namespace. In the context of a browser, it is most likely (X)HTML. 343 <g> Element, Reference, SVG, SVG Container The <g> SVG element is a container used to group other SVG elements. 344 <glyph> Element, Reference, SVG, SVG Text Content A <glyph> defines a single glyph in an SVG font. 3
45 <glyphRef> Deprecated, Element, NeedsExample, Reference, SVG, SVG Text Content The glyphRef element provides a single possible glyph to the referencing <altGlyph> substitution. 346 <hatch> Element, Experimental, Filters, NeedsBrowserCompatibility, NeedsMobileBrowserCompatibility, Reference, SVG The <hatch> SVG element is used to fill or stroke an object using on...
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
mplemented (bug 1239100). The methods isPointInFill() and isPointInStroke() are not implemented yet (bug 1325319). ...
...ements defined by UA style sheet Not implemented Clipping, Masking, and Compositing Change Notes overflow respected on outermost <svg> elements inline in HTML Implementation status unknown Interactivity Change Notes tabindex attribute Implemented (bug 778654) bounding-box on pointer-events Not implemented (bug 9
45187) load, abort, error, and unload instead of SVGLoad, SVGAbort, SVGError, and SVGUnload Not implemented (bug 620002) Only structurally external elements and outermost <svg> element fire load events Implementation status unknown resize and scroll instead of SVGResize and SVGScroll Implementation status unknown DOMActivate removed Implementation stat...
...rsor> element deprecated Implementation status unknown Linking Change Notes Link SVG resources with fragment identifiers Implementation status unknown xlink:type, xlink:role, xlink:arcrole, xlink:show, and xlink:actuate attributes removed Implementation status unknown xlink:href attribute deprecated in favor of href Implemented (bug 12
45751) xlink:title attribute deprecated in favor of child <title> Implementation status unknown Spaces in SVG view fragments Implementation status unknown pixel: and percent: spatial media fragments Implementation status unknown Linking to <view> elements does not cause implicit box transformation to show nearest ancestor <svg> element Implementation s...
...VG view fragment parameters don't cause corresponding attributes to be reset to initial values Implementation status unknown viewTarget attribute of <view> and corresponding SVG view fragment parameter removed Implementation status unknown Fragment-only URLs are always same-document Implementation status unknown Additional attributes on <a> Implemented (bug 1
451823) Scripting Change Notes contentScriptType removed Implementation status unknown AnimationEvents.onload removed Implementation status unknown Fonts Change Notes <font>, <glyph>, <missing-glyph>, <hkern>, <vkern>, <font-face>, <font-face-src>, <font-face-uri>, <font-face-format>, and <font-face-name> and correspond...
Basic shapes - SVG: Scalable Vector Graphics
R...
... Rectangle The <rect> element draws a rectangle on the screen. There are 6 basic attributes that control the position and shape of the rectangles on...
..."50" y1="110" y2="150"/> x1 The x position of point 1. y1 The y position of point 1. x2 The x position of point 2. y2 The y position of point 2. Polyline A <polyline> is a group of connected straight lines. Since the list of points can get quite long, all the points are included in one attribute: <polyline points="60, 110 65, 120 70, 115 75, 130 80, 125 85, 140 90, 135 95, 150 100, 1
45"/> points A list of points. Each number must be separated by a space, comma, EOL, or a line feed character. Each point must contain two numbers: an x coordinate and a y coordinate. So, the list (0,0), (1,1), and (2,2) would be written as 0, 0 1, 1 2, 2. Polygon A <polygon> is similar to a <polyline>, in that it is composed of straight line segments connecting a list of points. For poly...
...f straight line segments connecting a list of points. For polygons though, the path automatically connects the last point with the first, creating a closed shape. Note: A rectangle is a type of polygon, so a polygon can be used to create a <rect/> element in cases where you need a little more flexibility. <polygon points="50, 160 55, 180 70, 180 60, 190 65, 205 50, 195 35, 205 40, 190 30, 180
45, 180"/> points A list of points, each number separated by a space, comma, EOL, or a line feed character. Each point must contain two numbers: an x coordinate and a y coordinate. So, the list (0,0), (1,1), and (2,2) would be written as 0, 0 1, 1 2, 2. The drawing then closes the path, so a final straight line would be drawn from (2,2) to (0,0). Path A <path> is the most general shape that c...
Using Spacers - Archive of obsolete content
Both buttons will change size evenly. Example 2 here, both buttons will grow, but the Find button will grow ten times as much as the Cancel button, because it has a flex value that is 10 times the flex value of the Find button. Available space w...
...Both buttons will change size evenly. Example 2 here, both buttons will grow, but the Find button will grow ten times as much as the Cancel button, because it has a flex value that is 10 times the flex value of the Find button. Available space will be divided into 10 parts for the Fi...
...o be exact). Example 5 here, the two buttons are placed inside a div element. Flexibility is meaningless here as the buttons are not directly in a box. The effect would be the same if the flex attributes were left out. Example 6 because the flex values are the same on both buttons, they will flex equally. This would work just as well with flex values of one instead of 1
45. There's no difference in this case. It is recommended that you use lower numbers for readability. Note that other factors, such as the button labels and button minimum sizes, will affect the actual sizes of the buttons. For instance, a button won't shrink less than the space needed to fit its label. Specifying a flex value of 0 has the same effect as leaving the flex attribute out entirely. It ...
How do you make sure your website works properly? - Learn web development
already note it would have been better to use a CDN. That doesn't matter very much when we're only serving one image, but it would be critical for a high-bandwidth website serving many thousands of images. ...
...se a CDN. That doesn't matter very much when we're only serving one image, but it would be critical for a high-bandwidth website serving many thousands of images. ...
... one image, but it would be critical for a high-bandwidth website serving many thousands of images. Is the server responsive enough? ping is a useful shell tool that tests the domain name you provide and tells you if the server's responding or not: $ ping mozilla.org PING mozilla.org (63.2
45.215.20): 56 data bytes 64 bytes from 63.2
45.215.20: icmp_seq=0 ttl=44 time=148.741 ms 64 bytes from 63.2
45.215.20: icmp_seq=1 ttl=44 time=148.541 ms 64 bytes from 63.2
45.215.20: icmp_seq=2 ttl=44 time=148.734 ms 64 bytes from 63.2
45.215.20: icmp_seq=3 ttl=44 time=147.857 ms ^C --- mozilla.org ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 147.857/148.468/148.741/0.362 ms Just keep in mind a handy keyboard shortcut: Ctrl+C. Ctrl+C sends...
Example 1 - Learn web development
ancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1px 25px 2px 5px */ width : 10em; /* 100px */ border : 0.2em solid #000; /* 2px */ border-radius : 0.4em; /* 4px */ box-shadow : 0 0.1em 0.2em rgba(0,0,0,.
45); /* 0 1px 2px */ background : #F0F0F0; background : linear-gradient(0deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); } .select .value { display : inline-block; width : 100%; overflow : hidden; white-space : nowrap; text-overflow : ellipsis; vertical-align: top; } .select:after { content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ t...
...dden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1px 25px 2px 5px */ width : 10em; /* 100px */ border : 0.2em solid #000; /* 2px */ border-radius : 0.4em; /* 4px */ box-shadow : 0 0.1em 0.2em rgba(0,0,0,.
45); /* 0 1px 2px */ background : #F0F0F0; background : linear-gradient(0deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); } .select .value { display : inline-block; width : 100%; overflow : hidden; white-space : nowrap; text-overflow : ellipsis; vertical-align: top; } .select:after { content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ t...
...y Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1px 25px 2px 5px */ width : 10em; /* 100px */ border : 0.2em solid #000; /* 2px */ border-radius : 0.4em; /* 4px */ box-shadow : 0 0.1em 0.2em rgba(0, 0, 0, .
45); /* 0 1px 2px */ background : #F0F0F0; background : linear-gradient(0deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); } .select .value { display : inline-block; width : 100%; overflow : hidden; white-space : nowrap; text-overflow : ellipsis; vertical-align: top; } .select:after { content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ t...
Looping code - Learn web development
eturn just the number we wanted to find? ...
...rn just the number we wanted to find? ...
...nt = 'Contact not found.'; } } }); Hidden code 3 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Simple contact search example</title> <style> </style> </head> <body> <label for="search">Search by contact name: </label> <input id="search" type="text"> <button>Search</button> <p></p> <script> const contacts = ['Chris:2232322', 'Sarah:3
453
456', 'Bill:7654322', 'Mary:9998769', 'Dianne:9384975']; const para = document.querySelector('p'); const input = document.querySelector('input'); const btn = document.querySelector('button'); btn.addEventListener('click', function() { let searchName = input.value.toLowerCase(); input.value = ''; input.focus(); for (let i = 0; i < contacts.length; i++) { ...
MathML Torture Test
/option> <option value="TeXGyreSchola">TeX Gyre Schola</option> <option value="TeXGyreTermes">TeX Gyre Termes</option> <option value="XITS">XITS</option> </select> <br/> </p> <table> <tr> <td></td> <th scope="col">As rendered by TeX</th> <th scope="col">As rendered by your browser</th></tr> <tr> <td>1</td> <td><img src="https://udn.realityripple.com/samples/
45/d5a0dbbca3.png" width="38" height="22" alt="TeXbook, 16.2-16.3" /></td> <td> <math display="block"> <mrow> <msup> <mi>x</mi> <mn>2</mn> </msup> <msup> <mi>y</mi> <mn>2</mn> </msup> </mrow> </math> </td></tr> <tr> <td>2</td> <td><img src="https://udn.real...
... <mo stretchy="false">(</mo> <mi>t</mi> <mo stretchy="false">)</mo> <mspace width="thinmathspace"/> <mi>d</mi> <mi>π</mi> <mo stretchy="false">(</mo> <mi>t</mi> <mo stretchy="false">)</mo> </mrow> </math> </td></tr> <tr> <td>22</td> <td><img src="https://udn.realityripple.com/samples/dc/c12
454a963.png" width="159" height="81" alt="TeXbook, 18.41" /></td> <td> <math display="block"> <mrow> <mo stretchy="false">{</mo> <munder> <mrow> <mover> <mrow> <mpadded width="0em"><mphantom><mo>(</mo></mphantom></mpadded> <mi>a</mi> <mo>,</mo> <mo>.
...>⏟</mo> <mrow> <mi>k</mi> <mo>+</mo> <mi>ℓ</mi> <mtext> elements</mtext> </mrow> </munder> </munder> <mo stretchy="false">}</mo> </mrow> </math> </td> </tr> <tr> <td>23</td> <td><img src="https://udn.realityripple.com/samples/
45/c73ac26e1d.png" width="213" height="108" alt="TeXbook, 18.42" /></td> <td> <math display="block"> <mrow> <mo>(</mo> <mtable> <mtr> <mtd columnalign="center"> <mrow> <mo>(</mo> <mtable> <mtr> <mtd columnalign="center"> ...
NSS 3.28.1 release notes
SHA-256 Fingerprint: 1B:A5:B2:AA:8C:65:40:1A:82:96:01:18:F8:0B:EC:4F:62:30:4D:83:CE:C4:71:3A:19:C3:9C:01:1E:A4:6D:B4 CN = Amazon Root CA 3 SHA-256 Fingerprint: 18:CE:6C:FE:7B:F1:4E:60:B2:E3:47:B8:DF:E8:68:CB:31:D0:2E:BB:3A:DA:27:15:69:F5:03:43:B4:6D:B3:A4 CN = Amazon Root CA 4 SHA-256 Fingerprint: E3:5D:28:41:9E:D0:20:25:CF:A6:90:38:CD:62:39:62:
45:8D:A5:C6:95:FB:DE:A3:C2:2B:0B:FB:25:89:70:92 CN = LuxTrust Global Root 2 SHA-256 Fingerprint: 54:
45:5F:71:29:C2:0B:14:47:C4:18:F9:97:16:8F:24:C5:8F:C5:02:3B:F5:DA:5B:E2:EB:6E:1D:D8:90:2E:D5 CN = Symantec Class 1 Public Primary Certification Authority - G4 SHA-256 Fingerprint: 36:3F:3C:84:9E:AB:03:B0:A2:A0:F6:36:D7:B8:6D:04:D3:AC:7F:CF:E2:6A:0A:91:21:AB:...
...7:C4:18:F9:97:16:8F:24:C5:8F:C5:02:3B:F5:DA:5B:E2:EB:6E:1D:D8:90:2E:D5 CN = Symantec Class 1 Public Primary Certification Authority - G4 SHA-256 Fingerprint: 36:3F:3C:84:9E:AB:03:B0:A2:A0:F6:36:D7:B8:6D:04:D3:AC:7F:CF:E2:6A:0A:91:21:AB:97:95:F6:E1:76:DF CN = Symantec Class 1 Public Primary Certification Authority - G6 SHA-256 Fingerprint: 9D:19:0B:2E:31:
45:66:68:5B:E8:A8:89:E2:7A:A8:C7:D7:AE:1D:8A:AD:DB:A3:C1:EC:F9:D2:48:63:CD:34:B9 CN = Symantec Class 2 Public Primary Certification Authority - G4 SHA-256 Fingerprint: FE:86:3D:08:22:FE:7A:23:53:FA:48:4D:59:24:E8:75:65:6D:3D:C9:FB:58:77:1F:6F:61:6F:9D:57:1B:C5:92 CN = Symantec Class 2 Public Primary Certification Authority - G6 SHA-256 Fingerprint: CB:62:7...
... Bugs fixed in NSS 3.28.1 Bug 1296697 - December 2016 batch of root CA changes Bug 1322496 - Internal error assert when the other...
NSS 3.39 release notes
quires the encoding to contain the NULL parameter. The tstclnt and selfserv test utilities no longer accept the -z parameter, as support for TLS compression was removed in a previous NSS version. The CA certificates list was updated to version 2.26. ...
...s were Added: OU = GlobalSign Root CA - R6 SHA-256 Fingerprint: 2CABEAFE37D06CA22ABA7391C0033D25982952C
453647349763A3AB5AD6CCF69 CN = OISTE WISeKey Global Root GC CA SHA-256 Fingerprint: 8560F91C3624DABA9570B5FEA0DBE36FF11A8323BE9486854FB3F34A5571198D The following CA certificate was Removed: CN = ComSign SHA-256 Fingerprint: AE4
457B40D9EDA96677B0D3C92D57B5177ABD7AC1037958356D1E09
4518BE5F2 The following CA certificates had the Websites trust bit disabled: CN = Certplus Root CA G1 SHA-256 Fingerprint: 152A402BFCDF2CD548054D2275B39C7FCA3EC0978078B0F0EA76E561A6C7433E CN = Certplus Root CA G2 SHA-256 Fingerprint: 6CC05041E64
45E74696C4CFBC9F80F543B7EABBB44B4CE6F787C6A9971C42F1...
...st bit disabled: CN = Certplus Root CA G1 SHA-256 Fingerprint: 152A402BFCDF2CD548054D2275B39C7FCA3EC0978078B0F0EA76E561A6C7433E CN = Certplus Root CA G2 SHA-256 Fingerprint: 6CC05041E64
45E74696C4CFBC9F80F543B7EABBB44B4CE6F787C6A9971C42F17 CN = OpenTrust Root CA G1 SHA-256 Fingerprint: 56C77128D98C18D91B4CFDFFBC25EE9103D4758EA2ABAD826A90F3
457D460EB4 CN = OpenTrust Root CA G2 SHA-256 Fingerprint: 27995829FE6A7515C1BFE848F9C4761DB16C225929257BF40D0894F29EA8BAF2 CN = OpenTrust Root CA G3 SHA-256 Fingerprint: B7C36231706E81078C367CB896198F1E3208DD926949DD8F5709A410F75B6292 Bugs fixed in NSS 3.39 Bug 1483128 - NSS responded to an SSLv2-compatible ClientHello with a ServerHello...
NSS 3.47 release notes
ee Bug 1573118 for details. TLS extended master secret will be enabled by default, where possible. See Bug 1575411 for details. ...
...on.c Bug 1579060 - mozilla::pkix tag definitions for issuerUniqueID and subjectUniqueID shouldn't have the CONSTRUCTED bit set Bug 1583068 - NSS 3.47 should pick up fix from bug 1575821 (NSPR 4.23) Bug 1152625 - Support AES HW acceleration on ARMv8 Bug 1549225 - Disable DSA signature schemes for TLS 1.3 Bug 1586947 - PK11_ImportAndReturnPrivateKey does not store nickname for EC keys Bug 1586
456 - Unnecessary conditional in pki3hack, pk11load and stanpcertdb Bug 1576307 - Check mechanism param and param length before casting to mechanism-specific structs Bug 1577953 - Support longer (up to RFC maximum) HKDF outputs Bug 1508776 - Remove refcounting from sftk_FreeSession (CVE-2019-11756) Bug 1494063 - Support TLS Exporter in tstclnt and selfserv Bug 1581024 - Heap overflow in NSS uti...
... Bug 1578751 - Ensure a consistent style for pk11_find_certs_unittest.cc Bug 1570501 - Add CMAC to FreeBL and PKCS #11 libraries Bug 657379 - NSS uses the wrong OID for signatureAlgorithm field of signerInfo in CMS for DSA and ECDSA Bug 1576664 - Remove -mms-bitfields from mingw NSS build. Bug 1577038 - add PK11_GetCertsFromPrivateKey to return all certificates wit...
NSS 3.48 release notes
- G4 Cert SHA-256 Fingerprint: DB3517D1F6732A2D5AB97C533EC70779EE3270A62FB4AC4238372460E6F01E88 Upcoming Changes in NSS 3.49 The legacy DBM database, libnssdbm, will no longer be built by default. See Bug 1594933 for details. ...
...1600775 - Require NSPR 4.24 for NSS 3.48 Bug 1593401 - Fix race condition in self-encrypt functions Bug 15995
45 - Fix assertion and add test for early Key Update Bug 1597799 - Fix a crash in nssCKFWObject_GetAttributeSize Bug 1591178 - Add Entrust Root Certification Authority - G4 certificate to NSS Bug 1590001 - Prevent negotiation of versions lower than 1.3 after HelloRetryRequest Bug 1596
450 - Added a simplified and unified MAC implementation for HMAC and CMAC behind PKCS#11 Bug 1522203 - Remove an old Pentium Pro performance workaround Bug 1592557 - Fix PRNG known-answer-test scripts Bug 1586176 - EncryptUpdate should use maxout not block size (CVE-2019-117
45) Bug 1593141 - add `notBefore` or similar "beginning-of-validity-period" parameter to mozilla::pkix::TrustDomain::CheckR...
...tionally for legacy key3.db storage Bug 1590972 - Use -std=c99 rather than -std=gnu99 Bug 1590676 - Fix build if ARM doesn't support NEON Bug 1575411 - Enable TLS extended master secret by default Bug 1590970 - SSL_SetTimeFunc has incomplete coverage Bug 1590678 - Remove -Wmaybe-uninitialized warning in tls13esni.c Bug 1588244 - NSS changes for Delegated Credential key strength checks Bug 1
459141 - Add more CBC padding tests that missed NSS 3.47 Bug 1590339 - Fix a memory leak in btoa.c Bug 1589810 - fix uninitialized variable warnings from certdata.perl Bug 1573118 - Enable TLS 1.3 by default in NSS This Bugzilla query returns all the bugs fixed in NSS 3.48: https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Components&query_format=advanced&product=NSS&tar...
sslerr.html
sage from another server. This probably indicates a flaw in the remote peer's implementation. ...
...UERY -8148 Not encrypted: you do not have certificates for each of the recipients. SEC_ERROR_NOT_A_RECIPIENT -8147 Cannot decrypt: you are not a recipient, or matching certificate and private key not found. SEC_ERROR_PKCS7_KEYALG_MISMATCH -8146 Cannot decrypt: key encryption algorithm does not match your certificate. SEC_ERROR_PKCS7_BAD_SIGNATURE -81
45 Signature verification failed: no signer found, too many signers found, \ or improper or corrupted data. SEC_ERROR_UNSUPPORTED_KEYALG -8144 Unsupported or unknown key algorithm. SEC_ERROR_DECRYPTION_DISALLOWED -8143 Cannot decrypt: encrypted using a disallowed algorithm or key size. XP_SEC_FORTEZZA_BAD_CARD -8142 FORTEZZA card has not been p...
...ntifier." SEC_ERROR_OCSP_INVALID_SIGNING_CERT -8048 "Invalid OCSP signing certificate in OCSP response." SEC_ERROR_REVOKED_CERTIFICATE_CRL -8047 "Certificate is revoked in issuer's certificate revocation list." SEC_ERROR_REVOKED_CERTIFICATE_OCSP -8046 "Issuer's OCSP responder reports certificate is revoked." SEC_ERROR_CRL_INVALID_VERSION -80
45 "Issuer's Certificate Revocation List has an unknown version number." SEC_ERROR_CRL_V1_CRITICAL_EXTENSION -8044 "Issuer's V1 Certificate Revocation List has a critical extension." SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION -8043 "Issuer's V2 Certificate Revocation List has an unknown critical extension." SEC_ERROR_UNKNOWN_OBJECT_TYPE -8042 "Unknown ob...
JS_NewObject
Requires request. ...
...ng a default prototype Like many JSAPI functions, JS_NewObject selects an appropriate prototype for the newly created object if you don't supply one yourself. If the new object's class (here, clasp) is a built-in class, then its associated prototype is used as the new object's prototype. Otherwise, Object.prototype is used as the new object's prototype. Previous behaviour Obsolete since JSAPI
45 Here's how the process works in detail: First, we must identify a global object. If the parent is non-NULL, we assume it is part of a scope chain, walk to the end of that chain, and use the global object we find there. If the parent is NULL, we use the global object at the end of the scope chain in which the context is currently executing. In other words, the context's current scope acts as a ...
...n they are available. Finally, we must find a prototype. ...
nsACString_internal
It represents a single contiguous array of characters, which may or may not be null-terminated. This type is not instantiated directly. A sub-class is instantiated instead. For example, see nsTString. NAMES: nsAString for wide characters nsACString for narrow characters Many of the accessors on nsTSubstring are inlined as an optimization. ...
...3" href="http://developer.mozilla.org/en/nsACString_internal" shape="rect" title="nsACString_internal"> <area alt="" coords="415,101,497,149" href="http://developer.mozilla.org/en/nsCString" shape="rect" title="nsCString"> <area alt="" coords="521,101,689,149" href="http://developer.mozilla.org/en/nsDependentCSubstring" shape="rect" title="nsDependentCSubstring"> <area alt="" coords="172,197,289,2
45" href="http://developer.mozilla.org/en/nsFixedCString" shape="rect" title="nsFixedCString"> <area alt="" coords="315,197,437,2
45" href="http://developer.mozilla.org/en/nsXPIDLCString" shape="rect" title="nsXPIDLCString"> <area alt="" coords="461,197,611,2
45" href="http://developer.mozilla.org/en/nsDependentCString" shape="rect" title="nsDependentCString"> <area alt="" coords="635,197,787,2
45" hre...
...veloper.mozilla.org/en/nsCAutoString" shape="rect" title="nsCAutoString"> <area alt="" coords="5,389,227,437" href="http://developer.mozilla.org/en/NS_LossyConvertUTF16toASCII" shape="rect" title="NS_LossyConvertUTF16toASCII"> <area alt="" coords="251,389,435,437" href="http://developer.mozilla.org/en/NS_ConvertUTF16toUTF8" shape="rect" title="NS_ConvertUTF16toUTF8"> <area alt="" coords="309,293,4
45,341" href="http://developer.mozilla.org/en/nsAdoptingCString" shape="rect" title="nsAdoptingCString"> </map> Method Overview Constructors BeginReading EndReading BeginWriting EndWriting Data Length IsEmpty IsVoid IsTerminated CharAt operator[] First Last CountChar FindChar Equals EqualsASCII EqualsLiteral(const char E...
Zombie compartments
out:memory" into the address bar and click on the Measure button. In the results, you'll find a js-main-runtime-compartments tree (whcih you may need to expand further) that lists all system (Firefox and add-ons) and user (website) compartments, These compartments are also listed in more detail in the Explicit Allocations section. ...
... When are compartments created? Any compartments with the following forms are created by Firefox for its own internal use, and can usually be ignored when looking for zombie compartments. js-compartment([System Principal], 0x7f10f1250000) compartment(atoms) js-compartment(about:home) js-compartment(about:blank) compartment([S...
...e, that is extremely helpful. If you're confident you've found a zombie compartment, please file a bug that includes all the information you've gathered, add "[MemShrink]" to its whiteboard, and mark it as blocking bug 668871. Attaching the full contents of about:memory?verbose is very helpful (and you can just cut and paste the page contents, there's no need to take a screenshot). See bug 6695
45 for an example. If the zombie compartment is caused by an add-on, please mark the bug as also blocking bug 700547. It really is best to follow these instructions. In particular, if you have multiple tabs open it's easy to mis-identify whether a compartment should still be alive. If you only have about:memory open, things are much simpler. Proactive checking of add-ons It's not uncommon for...
Plug-in Basics - Plugins
determine which directories a Gecko program checks with the Linux strace command, for example: strace -e open /usr/bin/firefox 2>&1 | grep plugin But with version firefox-41.0.2 we can not check. I found other way how check which paths support Firefox : $ strace -y /usr/bin/firefox 2>&1 | grep acces | grep -v search | grep plugins access("/home/user_name/.mozilla/firefox/dqh2nb5k.default-144186
4569209/plugins", F_OK) = -1 ENOENT (No such file or directory) access("/home/user_name/.mozilla/plugins", F_OK) = -1 ENOENT (No such file or directory) access("/usr/lib64/firefox/browser/plugins", F_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/mozilla/plugins", F_OK) = 0 This output I have after close Firefox. I checked also this command with above script (with environment variable...
...amples demonstrate this use of nested object elements with markup more congenial to Gecko included as children of the parent object element. ...
...e and location of elements within an HTML page. border: Draw a border 25 pixels wide around the plug-in. align: Align the plug-in at the right side of the web page. The following example shows an embed element nested within an object element, which is necessary for browsers that do not support the embed element. ...
Using the CSS properties and values API - Web APIs
operty is then transitioned on hover or focus to a different color. ...
...age: linear-gradient(to right, #fff, var(--registered)); transition: --registered 1s ease-in-out; } .registered:hover, .registered:focus { --registered: #b4d
455; } .unregistered { --unregistered: #c0ffee; background-image: linear-gradient(to right, #fff, var(--unregistered)); transition: --unregistered 1s ease-in-out; } .unregistered:hover, .unregistered:focus { --unregistered: #b4d
455; } <button class="registered">Background Registered</button> <button class="unregistered">Background Not Registered</button> .registered { --registered: #c0ffee; background-image: linear-gradient(to right, #fff, var(--registered)); transition: --registered 1s ease-in-out; } .registered:hover, .registered:focus { --registered: #b4d
455; } .unregistered { --unregistered: #c0ffee; ...
...age: linear-gradient(to right, #fff, var(--registered)); transition: --registered 1s ease-in-out; } .registered:hover, .registered:focus { --registered: #b4d
455; } .unregistered { --unregistered: #c0ffee; background-image: linear-gradient(to right, #fff, var(--unregistered)); transition: --unregistered 1s ease-in-out; } .unregistered:hover, .unregistered:focus { --unregistered: #b4d
455; } button { height: 40vh; display: block; width: 100%; font-size: 3vw; } window.CSS.registerProperty({ name: '--registered', syntax: '<color>', inherits: false, initialValue: 'red', }); While not functionally accurate, a good way to think about the difference between the unregistered property in the above example and the registered property is the difference between a <cu...
Drawing shapes with canvas - Web APIs
m the previous page, but now it is making use of these three functions. Rectangular shape example <html> <body onload="draw();"> <canvas id="canvas" width="150" height="150"></canvas> </body> </html> function draw() { var canvas = document.getElementById('canvas'); if (canvas.getContext) { var ctx = canvas.getContext('2d'); ctx.fillRect(25, 25, 100, 100); ctx.clearRect(
45,
45, 60, 60); ctx.strokeRect(50, 50, 50, 50); } } This example's output is shown below. ScreenshotLive sample The fillRect() function draws a large black square 100 pixels on each side. The clearRect() function then erases a 60x60 pixel square from the center, and then strokeRect() is called to create a rectangular outline 50x50 pixels within the cleared square. In upcoming pages we'll ...
...We then use the moveTo() method to move the starting point to the desired position. Below this, two lines are drawn which make up two sides of the triangle. ScreenshotLive sample You'll notice the difference between the filled and stroked triangle. This is, as ...
...We then use the moveTo() method to move the starting point to the desired position. Below this, two lines are drawn which make up two sides of the triangle. ScreenshotLive sample You'll notice the difference between the filled and stroked triangle. This is, as mentioned above, bec...
HTMLImageElement.currentSrc - Web APIs
ted from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. DesktopMobileChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetcurrentSrc ExperimentalChrome Full support
45Edge Full support 13Firefox Full support 38 Full support 38 No support 32 -- 52Disabled Disabled From version 32 until version 52 (exclusive): this feature is behind the dom.image.srcset.enabled preference (needs to be set to true). To cha...
...s behind the dom.image.srcset.enabled preference (needs to be set to true). ...
...To change preferences in Firefox, visit about:config.Opera Andr...
HTMLImageElement.sizes - Web APIs
enerated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. DesktopMobileChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internetsizes ExperimentalChrome Full support
45Edge Full support 13Firefox Full support 38 Full support 38 No support 33 -- 52Disabled Disabled From version 33 until version 52 (exclusive): this feature is behind the dom.image.picture.enabled preference (needs to be set to true). To ch...
...e is behind the dom.image.picture.enabled preference (needs to be set to true). ...
...ue). To change preferences in Firefox, visit about:config.IE No support NoOpera Full support YesSafari No support NoWebView Android Full support
45Chrome Android Full support
45Firefox Android Full support 38 Full support 38 No support 33 -- 52Disabled Disabled From version 33 until version 52 (exclusive): this feature is behind the dom.image.picture.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.Opera And...
Key Values - Web APIs
KEYCODE_TV_MEDIA_CONTEXT_MENU (257) "TVNetwork" Toggle the TV's network connection on and off. ...
... The fourth generic application launcher button. GDK_KEY_Launch3 (0x1008FF43) Qt::Key_Launch3 (0x010000A5) "LaunchApplication5" The fifth generic application launcher button. GDK_KEY_Launch4 (0x1008FF44) Qt::Key_Launch4 (0x010000A6) "LaunchApplication6" The sixth generic application launcher button. GDK_KEY_Launch5 (0x1008FF
45) Qt::Key_Launch5 (0x010000A7) "LaunchApplication7" The seventh generic application launcher button. GDK_KEY_Launch6 (0x1008FF46) Qt::Key_Launch6 (0x010000A8) "LaunchApplication8" The eighth generic application launcher button. GDK_KEY_Launch7 (0x1008FF47) Qt::Key_Launch7 (0x010000A9) "LaunchApplication9" The ninth g...
..." The 12 key found on certain media numeric keypads. "Multiply" [1] The numeric keypad's multiplication key, *. VK_MULTIPLY (0x6A) kVK_ANSI_KeypadMultiply (0x43) GDK_KEY_KP_Multiply (0xFFAA) Qt::Key_Multiply (0x0D7) KEYCODE_NUMPAD_MULTIPLY (155) "Add" [1] The numeric keypad's addition key, +. VK_ADD (0x6B) kVK_ANSI_KeypadPlus (0x
45) GDK_KEY_KP_Add (0xFFAB) KEYCODE_NUMPAD_ADD (157) "Clear" The numeric keypad's Clear key. kVK_ANSI_KeypadClear (0x47) GDK_KEY_Clear (0xFF0B) Qt::Key_Clear (0x0100000B) KEYCODE_CLEAR (28) "Divide" [1] The numeric keypad's division key, /. VK_DIVIDE (0x6F) kVK_ANSI_KeypadDivide (0x4B) GDK_KEY_KP_Divide (0xFFAF) Qt::Key_Slash (0x2F) KE...
WebGL constants - Web APIs
o get the current lineWidth (set by the lineWidth method). ALIASED_POINT_SIZE_RANGE 0x846D Passed to getParameter to get the current size of a point drawn with gl.POINTS ALIASED_LINE_WIDTH_RANGE 0x846E Passed to getParameter to get the range of available widths for a line. Returns a length-2 array with the lo value at 0, and hight at 1. CULL_FACE_MODE 0x0B
45 Passed to getParameter to get the current value of cullFace. Should return FRONT, BACK, or FRONT_AND_BACK FRONT_FACE 0x0B46 Passed to getParameter to determine the current value of frontFace. Should return CW or CCW. DEPTH_RANGE 0x0B70 Passed to getParameter to return a length-2 array of floats giving the current depth range. DEPTH_WRITEMASK 0x0B72 ...
...ENT_VERTEX_ATTRIB 0x8626 Passed to getVertexAttrib to read back the current vertex attribute. VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 VERTEX_ATTRIB_ARRAY_SIZE 0x8623 VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 VERTEX_ATTRIB_ARRAY_TYPE 0x8625 VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A VERTEX_ATTRIB_ARRAY_POINTER 0x86
45 VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F Culling Constants passed to WebGLRenderingContext.cullFace(). Constant name Value Description CULL_FACE 0x0B44 Passed to enable/disable to turn on/off culling. Can also be used with getParameter to find the current culling method. FRONT 0x0404 Passed to cullFace to specify tha...
...ENT_WAIT_TIMEOUT_WEBGL 0x9247 Constants defined in WebGL extensions ANGLE_instanced_arrays Constant name Value Description VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE Describes the frequency divisor used for instanced rendering. WEBGL_debug_renderer_info Constant name Value Description UNMASKED_VENDOR_WEBGL 0x92
45 Passed to getParameter to get the vendor string of the graphics driver. UNMASKED_RENDERER_WEBGL 0x9246 Passed to getParameter to get the renderer string of the graphics driver. EXT_texture_filter_anisotropic Constant name Value Description MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF Returns the maximum available anisotropy. TEXTURE_MA...
Adding 2D content to a WebGL context - Web APIs
hing gl.enable(gl.DEPTH_TEST); // Enable depth testing gl.depthFunc(gl.LEQUAL); // Near things obscure far things // Clear the canvas before we start drawing on it. gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT); // Create a perspective matrix, a special matrix that is // used to simulate the distortion of perspective in a camera. ...
...l.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT); // Create a perspective matrix, a special matrix that is // used to simulate the distortion of perspective in a camera. // Our field of view is
45 degrees, with a width/height // ratio that matches the display size of the canvas // and we only want to see objects between 0.1 units // and 100 units away from the camera. const fieldOfView =
45 * Math.PI / 180; // in radians const aspect = gl.canvas.clientWidth / gl.canvas.clientHeight; const zNear = 0.1; const zFar = 100.0; const projectionMatrix = mat4.create(); // note: glmatrix.js always has the first argument // as the destination to receive the result. mat4.perspective(projectionMatrix, fieldOfView, aspect, ...
... false, projectionMatrix); gl.uniformMatrix4fv( programInfo.uniformLocations.modelViewMatrix, false, modelViewMatrix); { const offset = 0; const vertexCount = 4; gl.drawArrays(gl.TRIANGLE_STRIP, offset, vertexCount); } } The first step is to clear the canvas to our background color; then we establish the camera's perspective. We set a field of view of
45?, with a width to height ratio that matches the display dimensions of our canvas. We also specify that we only want objects between 0.1 and 100 units from the camera to be rendered. Then we establish the position of the square plane by loading the identity position and translating away from the camera by 6 units. After that, we bind the square's vertex buffer to the attribute the shader is using...
border-image-slice - CSS: Cascading Style Sheets
rded by default, but is used like a background image if the keyword fill is set. The border-image-repeat, border-image-width, and border-image-outset properties determine how these regions are used to form the final border image. Syntax /* All sides */ border-image-slice: 30%; /* vertical | horizontal */ border-image-slice: 10% 30%; /* top | horizontal | bottom */ border-image-slice: 30 30%
45; /* top | right | bottom | left */ border-image-slice: 7 12 14 5; /* Using the `fill` keyword */ border-image-slice: 10% fill 7 12; /* Global values */ border-image-slice: inherit; border-image-slice: initial; border-image-slice: unset; The border-image-slice property may be specified using one to four <number-percentage> values to represent the position of each image slice. Negative values ...
... width of the border. The sampled image size is scaled to fit inside the border, which means that if the width is bigger than the slice, the image can start to look somewhat pixellated (unless of course you use an SVG image). ...
... of course you use an SVG image). ...
conic-gradient() - CSS: Cascading Style Sheets
r wheels. The result of the conic-gradient() function is an object of the <gradient> data type, which is a special kind of <image>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...the <gradient> data type, which is a special kind of <image>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
... <position> Using the same length, order and keyterm values as the background-position property, the position defines center of the gradient. If omitted, the default value is center, meaing the gradient will be centered, .
<input type="image"> - HTML: Hypertext Markup Language
h the same way as a regular <img> element, but with the capabilities of a submit button. Essential image input features Let's look at a basic example that includes all the essential features you'd need to use (These work exactly the same as they do on the <img> element.): <input id="image" type="image" width="100" height="30" alt="Login" src="/static/external/62/62ac2ecddbec0e0b540098c28
451e57203e5cab46dfed7ab0115d5a659fcfb7b.png"> The src attribute is used to specify the path to the image you want to display in the button. The alt attribute provides alt text for the image, so screen reader users can get a better idea of what the button is used for. It will also display if the image can't be shown for any reason (for example if the path is misspelled). If possible, use text w...
... included in the context of a typical login form. ...
...oning using object-fit and object-position. ...
HTTP resources and specifications - HTTP
Hypertext Transfer Protocol (HTTP/1.1): Authentication Proposed Standard RFC 6265 HTTP State Management Mechanism Defines Cookies Proposed Standard Draft spec Cookie Prefixes IETF Draft Draft spec Same-Site Cookies IETF Draft Draft spec Deprecate modification of 'secure' cookies from non-secure origins IETF Draft RFC 21
45 Use and Interpretation of HTTP Version Numbers Informational RFC 6585 Additional HTTP Status Codes Proposed Standard RFC 7538 The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect) Proposed Standard RFC 7725 An HTTP Status Code to Report Legal Obstacles On the standard track RFC 2397 The "data" URL scheme Proposed Sta...
...er 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. Proposed Standard RFC 7239 Forwarded HTTP Extension Proposed Standard RFC 6
455 The WebSocket Protocol Proposed Standard RFC 5246 The Transport Layer Security (TLS) Protocol Version 1.2 This specification has been modified by subsequent RFCs, but these modifications have no effect on the HTTP protocol. Proposed Standard RFC 8446 The Transport Layer Security (TLS) Protocol Version 1.3 Supersedes TLS 1.2. Proposed Standard ...
...roposed Standard RFC 7541 HPACK: Header Compression for HTTP/2 On the standard track RFC 7838 HTTP Alternative Services On the standard track RFC 7301 Transport Layer Security (TLS) Application-Layer Protocol Negotiation Extension Used to negotiate HTTP/2 at the transport to save an extra request/response round trip. Proposed Standard RFC 6
454 The Web Origin Concept Proposed Standard FetchThe definition of 'CORS' in that specification. Cross-Origin Resource Sharing Living Standard RFC 7034 HTTP Header Field X-Frame-Options Informational RFC 6797 HTTP Strict Transport Security (HSTS) Proposed Standard Upgrade Insecure Requests Upgrade Insecure Requests Candidate Recommen...
JavaScript modules - JavaScript
support 60 Full support 60 No support 54 -- 60Disabled Disabled From version 54 until version 60 (exclusive): this feature is behind the dom.moduleScripts.enabled preference. ...
...support 60 Full support 60 No support 54 -- 60Disabled Disabled From version 54 until version 60 (exclusive): this feature is behind the dom.moduleScripts.enabled preference. ...
...support 60 Full support 60 No support 54 -- 60Disabled Disabled From version 54 until version 60 (exclusive): this feature is behind the dom.moduleScripts.enabled preference. ...
JSON.stringify() - JavaScript
as key and potentially an object as value), you will have to keep track of the iteration count (if it is beyond the first iteration, it is a genuine empty string key). ...
...the iteration count (if it is beyond the first iteration, it is a genuine empty string key). Example replacer, as a function function replacer(key, value) { // Filtering out properties if (typeof value === 'string') { return undefined; } return value; } var foo = {foundation: 'Mozilla', model: 'box', week:
45, transport: 'car', month: 7}; JSON.stringify(foo, replacer); // '{"week":
45,"month":7}' Example replacer, as an array If replacer is an array, the array's values indicate the names of the properties in the object that should be included in the resulting JSON string. JSON.stringify(foo, ['week', 'month']); // '{"week":
45,"month":7}', only keep "week" and "month" properties The space argument The space argument may be used to control spacing in the final string. ...
...Example of using JSON.stringify() with localStorage In a case where you want to store an object created by your user and allowing it to be restored even after the browser has been closed, the following example is a model for the applicability of JSON.stringify(): // Creating an example of JSON var session = { 'screens': [], 'state': true }; session.screens.push({ 'name': 'screenA', 'width':
450, 'height': 250 }); session.screens.push({ 'name': 'screenB', 'width': 650, 'height': 350 }); session.screens.push({ 'name': 'screenC', 'width': 750, 'height': 120 }); session.screens.push({ 'name': 'screenD', 'width': 250, 'height': 60 }); session.screens.push({ 'name': 'screenE', 'width': 390, 'height': 120 }); session.screens.push({ 'name': 'screenF', 'width': 1240, 'height': 650 }); // Conve...
Web audio codec guide - Web media technologies
cases. ...
...he 20 kHz point anyway. This saves some space in the encoded audio. Vorbis Vorbis is an open format from the Xiph.org Foundation which supports a wide range of channel combinations, including monaural, stereo, polyphonic, quadraphonic, 5.1 surround, ambisonic, or up to 255 discrete audio channels. Depending on the quality setting used during encoding, the resulting bit rate can vary from around
45 kbps to 500 kbps. Vorbis inherently uses variable bit rate encoding; the bit rate can vary from one sample to the next as needed during the compression process. Generally, Vorbis is more efficient in terms of size and bit rate than MP3 at similar quality levels. This and its free and open license, make it a good choice for many kinds of audio data as long as its high latency isn't a problem. ...
...rently uses variable bit rate encoding; the bit rate can vary from one sample to the next as needed during the compression process. Generally, Vorbis is more efficient in terms of size and bit rate than MP3 at similar quality levels. This and its free and open license, make it a good choice for many kinds of audio data as long as its high latency isn't a problem. Supported bit rates
45 kbps - 500 kbps Variable Bit Rate (VBR) support Yes Supported sample formats 16-bit integer Supported sample rates 8 kHz - 192 kHz Recommended minimum bit rate for stereo sound 192 kbps at 48 kHz; this is typically accomplished by setting the quality level to 6 to 8. Compression Lossy Maximum audio channels 255 Audio...
requiredFeatures - SVG: Scalable Vector Graphics
his attribute: <a>, <altGlyph>, <animate>, <animateColor>, <animateMotion>, <animateTransform>, <circle>, <clipPath>, <cursor>, <defs>, <ellipse>, <foreignObject>, <g>, <image>, <line>, <mask>, <path>, <pattern>, <polygon>, <polyline>, <rect>, <set>, <svg>, <switch>, <text>, <textPath>, <tref>, <tspan>, <use> html, body, svg { height: 100%; } text { fill: white; } <svg viewBox="0 0 250
45" xmlns="http://www.w3.org/2000/svg"> <g> <rect fill="forestgreen" x="10" y="10" height="25" width="230" /> <text x="20" y="27">requiredFeatures supported</text> </g> <g requiredFeatures=""> <rect fill="crimson" x="10" y="10" height="25" width="230" /> <text x="20" y="27">requiredFeatures not supported</text> </g> </svg> Usage notes Value <list-of-features>...
...rn>, <font-face-src>, <font-face-uri>, <font-face-format> and <font-face-name> elements http://www.w3.org/TR/SVG11/feature#BasicFont The browser supports the <font>, <font-face>, <glyph>, <missing-glyph>, <hkern>, <font-face-src> and <font-face-name> elements http://www.w3.org/TR/SVG11/feature#Extensibility The browser supports the <foreignObject> element Example SVG <svg width="
450" height="1170" xmlns="http://www.w3.org/2000/svg"> <!-- Testing : http://www.w3.org/TR/SVG11/feature#SVG --> <rect class="ko" x="10" y="10" height="25" width="430" /> <rect class="ok" x="10" y="10" height="25" width="430" requiredFeatures="http://www.w3.org/TR/SVG11/feature#SVG" /> <text x="20" y="27">http://www.w3.org/TR/SVG11/feature#SVG</text> <!-- Testing : http://www.w3.org/T...
... requiredFeatures="http://www.w3.org/TR/SVG11/feature#Shape" /> <text x="20" y="427">http://www.w3.org/TR/SVG11/feature#Shape</text> <!-- Testing : http://www.w3.org/TR/SVG11/feature#Text --> <rect class="ko" x="10" y="435" height="25" width="430" /> <rect class="ok" x="10" y="435" height="25" width="430" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Text" /> <text x="20" y="
452">http://www.w3.org/TR/SVG11/feature#Text</text> <!-- Testing : http://www.w3.org/TR/SVG11/feature#BasicText --> <rect class="ko" x="10" y="460" height="25" width="430" /> <rect class="ok" x="10" y="460" height="25" width="430" requiredFeatures="http://www.w3.org/TR/SVG11/feature#BasicText" /> <text x="20" y="477">http://www.w3.org/TR/SVG11/feature#BasicText</text> <!-- Testing : ...
Basic Transformations - SVG: Scalable Vector Graphics
h="10" height="10" transform="translate(30,40)" /> </svg> The example will render a rectangle, translated to the point (30,40) instead of (0,0). If the second value is not given, it is assumed to be 0. Rotation Rotating an element is quite a common task. Use the rotate() transformation for this: <svg width="31" height="31"> <rect x="12" y="-10" width="20" height="20" transform="rotate(
45)" /> </svg> This example shows a square that is rotated by
45 degrees. The value for rotate() is given in degrees. Multiple transformations Transformations can be concatenated easily just by separating them with spaces. For example, translate() and rotate() are common used transformations. <svg width="40" height="50" style="background-color:#bff;"> <rect x="0" y="0" width="10" height...
... Skewing To make a rhombus out of our rectangle, the skewX() and skewY() transformations are available. Each one takes an angle that determines how far the element will be skewed. Scaling scale() changes the size of an element. ...
...s Transformations can be concatenated easily just by separating them with spaces. For example, translate() and rotate() are common used transformations. <svg width="40" height="50" style="background-color:#bff;"> <rect x="0" y="0" width="10" height="10" transform="translate(30,40) rotate(
45)" /> </svg> This example shows again the small square shown above that this time is also rotated by
45 degrees. Skewing To make a rhombus out of our rectangle, the skewX() and skewY() transformations are available. Each one takes an angle that determines how far the element will be skewed. Scaling scale() changes the size of an element. It takes two numbers, the first being the x scale factor and the second being the y scale factor. The factors are taken as the ratio of the transformed dimen...
Installing Extensions and Themes From Web Pages - Archive of obsolete content
The HTML <a> is the install link. The href attribute contains a direct link to the extension XPI file, this is what will show in the location bar when the link is moused over. Users can save the XPI file to disk easily by right clicking on the link and choosing "Save Link As..." ...
..., and should be 32x32 pixels in size. Hash The Hash property specifies a cryptographic hash of the XPI file contents. This is used to verify the downloaded file, to protect against a corrupted file being served by a mirror download server, for example. You can use any hash function supported by nsICryptoHash. The hash is specified as hash function:hash value, for example, sha1:28857e60d043447c5f
4550853f2d40770b326a13. toString() The toString() property should return the XPI URL, for compatibility with Firefox browsers older than version 1.0, and other applications such as Seamonkey. Themes Pretty much everything I've described applies to themes too, except you'll use the installChrome function. Because so many sites installed extensions by direct-linking the XPI file and relying on con...
Running Tamarin acceptance tests - Archive of obsolete content
n: inconsistencies in different debug output, need to implement regex matching of diffs 2527 running abcasm/branchToCommon.abs 2530 running abcasm/arithmetic.abs 2529 running abcasm/bkpt.abs 2528 running abcasm/bkptline.abs 2526 running abcasm/bug_476556.abs 2524 running abcasm/bug_491056.abs ... test run PASSED! Tests complete at 2010-09-28 10:39:26.751797 Start Date: 2010-09-28 10:38:07.221
457 End Date : 2010-09-28 10:39:26.751797 Test Time : 0:01:19.530340 passes : 59291 failures : 0 expected failures : 75 tests skipped : 76 The -f flag tells runtests.py to force recompilation of all the scripts. For help on runtests.py options, see below or use python runtests.py -h. Notes on using acceptance runtests.py Threading In order to speed up the execu...
...droid/android_runner.sh /data/local/tamarin/android_runner.sh $ adb shell 'chmod 777 /data/loca/android_runner.sh' Test it out with a simple .abc or no args for usage (should return EXITCODE=0) $ tamarin-redux/platform/android/android_shell.py hello.abc hello EXITCODE=0 Test it out by retrieving the version information of the shell on the android device $ $AVM -Dversion shell 1.4 debug build 6299:
455bca95
4565 features AVMSYSTEM_32BIT;AVMSYSTEM_UNALIGNED_INT_ACCESS;AVMSYSTEM_LITTLE_ENDIAN;AVMSYSTEM_ARM;AVMSYSTEM_UNIX; AVMFEATURE_JIT;AVMFEATURE_ABC_INTERP;AVMFEATURE_SELFTEST;AVMFEATURE_EVAL;AVMFEATURE_PROTECT_JITMEM; AVMFEATURE_SHARED_GCHEAP;AVMFEATURE_CACHE_GQCN;AVMFEATURE_SAFEPOINTS;AVMFEATURE_SWF12;AVMFEATURE_SWF13;AVMTWEAK_EXACT_TRACING; Running Acceptance Tests --androidthreads sets the n...
SeaMonkey - making custom toolbar (SM ver. 1.x) - Archive of obsolete content
(If you leave both sections in the file, then your button's appearance will match the classic theme.) Save the file. Explanati...
...(If you leave both sections in the file, then your button's appearance will match the classic theme.) Save the file. Explanation: This CSS stylesheet specifies how the button is diaplayed. It links to the but...
2006-10-27 - Archive of obsolete content
Gavin responded to Tony's posting saying that the log file shows a "no space left on device" error when trying to link the final executable. On the same day Tony replied to Gavin's posting stating the possible choices to solve the problem. ...
... Gavin responded to Tony's posting saying that the log file shows a "no space left on device" error when trying to link the final executable. On the same day Tony replied to Gavin's posting stating the possible choices to solve the problem. ...
Updating an extension to support multiple Mozilla applications - Archive of obsolete content
e sample Updating the install manifest The first step is to revise the extension's install manifest to indicate that it can be installed in Thunderbird and Sunbird. ...
...-> <em:targetApplication> <Description> <em:id>{3550f703-e582-4d05-9a08-
453d09bdfdc6}</em:id> <em:minVersion>1.5</em:minVersion> <em:maxVersion>2.0.0.*</em:maxVersion> </Description> </em:targetApplication> <!-- Describe the Sunbird versions we support --> <em:targetApplication> <Description> <em:id> {718e30fb-e89b-41dd-9da7-e25a
45638b28}</em:id> <em:minVersion>0.2</em:minVersion> <em:maxVersion>0.4.*</em:maxVersion> </Description> </em:targetApplication> These two blocks indicate that the extension supports Thunderbird versions 1.5 through 2.0.0.x, Sunbird versions 0.2 through 0.4.x. After inserting this code, you can successfully install the extension into any (or all) of Firefox, Thunderbird, a...
Browser Detection and Cross Browser Support - Archive of obsolete content
id not. The solution was either to provide the lowest-common denominator of HTML or to use browser detection techniques on the web server to send customized content to each browser depending on what level of support the browser provided. Server side browser detection using user agent strings was born. User agent strings are defined in the HTTP protocol and are available to web servers (see RFC 19
45 - Hypertext Transfer Protocol 1.0 and RFC 2068 - Hypertext Transfer Protocol 1.1). The most common approach at this time was to distinguish user agents by vendor and version using the reported user agent string. Although this approach was considered reasonable at the time, this approach caused problems for browser vendors right from the beginning. The original Netscape browsers used a user agent...
... maintanance costs as well as increase the dynamic and compelling content which will attract visitors and increase your revenue. The choice is yours... ...
CSS values and units - Learn web development
ng are all classed as numeric: Data type Description <integer> An <integer> is a whole number such as 1024 or -55. <number> A <number> represents a decimal number -- it may or may not have a decimal point with a fractional component, for example 0.255, 128, or -1.2. <dimension> A <dimension> is a <number> with a unit attached to it, for example
45deg, 5s, or 10px. <dimension> is an umbrella category that includes the <length>, <angle>, <time>, and <resolution> types. <percentage> A <percentage> represents a fraction of some other value, for example 50%. Percentage values are always relative to another quantity, for example an element's length is relative to its parent element's length. Lengths The numeric type you will ...
...olor> value. Try playing with different color values in the live examples below, to get more of an idea how they work. Hexadecimal RGB values The next type of color value you are likely to encounter is hexadecimal codes. Each hex value consists of a hash/pound symbol (#) followed by six hexadecimal numbers, each of which can take one of 16 values between 0 and f (which represents 15) -- so 0123
456789abcdef. Each pair of values represents one of the channels -- red, green and blue -- and allows us to specify any of the 256 available values for each (16 x 16 = 256.) These values are a bit more complex and less easy to understand, but they are a lot more versatile than keywords -- you can use hex values to represent any color you want to use in your color scheme. Again, try changing the...
Practical positioning examples - Learn web development
To begin with, add the following between your opening and closing <style> tags: html { font-family: sans-serif; } * { box-sizing: border-box; } body { margin: 0; } This is just some general setup to set a sans-serif font on our page, use the border-box box-sizing model, and get rid of the default <body> margin. Next, add the following just below your previous CSS: .info-box { width:
450px; height: 400px; margin: 0 auto; } This sets a specific width and height on the content, and centers it on the screen using the old margin: 0 auto trick. Previously in the course we advised against setting a fixed height on content containers if at all possible; it is ok in this circumstance because we have fixed content in our tabs. It also looks a bit jarring to have different tabs at di...
...ntent for some real content if you like. Changes to the existing CSS Next we need to make some small changes to the existing CSS, to get the info-box placed and positioned. Change your .info-box rule to get rid of margin: 0 auto; (we no longer want the info-box centered), add position: fixed;, and stick it to the top of the browser viewport. It should now look like this: .info-box { width:
450px; height: 400px; position: fixed; top: 0; } Styling the main content The only thing left for this example is to provide the main content with some styling. Add the following rule underneath the rest of your CSS: .fake-content { background-color: #a60000; color: white; padding: 10px; height: 2000px; margin-left: 470px; } To start with, we give the content the same background-...
How to build custom form controls - Learn web development
*/ background : #F0F0F0; background : linear-gradient(0deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); } .select .value { /* Because the value can be wider than our control, we have to make sure it will not change the control's width. If the content overflows, we display an ellipsis */ display : inline-block; ...
...adio] { position: absolute; left: -100vw; top: -100vh; } .styledSelect label { margin: 0; line-height: 2; padding: 0 0 0 4px; } .styledSelect:not(:focus-within) input:not(:checked) + label { height: 0; outline: none; overflow: hidden; } .styledSelect:not(:focus-within) input:checked + label { border: .2em solid #000; border-radius: .4em; box-shadow: 0 .1em .2em rgba(0,0,0,.
45); } .styledSelect:not(:focus-within) input:checked + label::after { content : "?"; background: black; float: right; color: white; padding: 0 4px; margin: 0 -4px 0 4px; } .styledSelect:focus-within { border: .2em solid #000; border-radius: .4em; box-shadow: 0 .1em .2em rgba(0,0,0,.
45); } .styledSelect:focus-within input:checked + label { background-color: #333; color: #fff; ...
Front-end web developer - Learn web development
e: 1.5-2 hours Prerequisites Nothing except basic computer literacy. How will I know I'm ready to move on? There are no assessments in this part of the course. But make sure you don't skip. It is important to get you set up and ready to do work for exercises later on in the course. Guides Installing basic software -- basic tool setup (15 min read) Background on the web and web standards (
45 min read) Learning and getting help (
45 min read) Semantics and structure with HTML Time to complete: 35-50 hours Prerequisites Nothing except basic computer literacy, and a basic web development environment. How will I know I'm ready to move on? The assessments in each module are designed to test your knowledge of the subject matter. Completing the assessments confirms that you are read...
...ic HTML knowledge before starting to learn CSS. You should at least study Introduction to HTML first. How will I know I'm ready to move on? The assessments in each module are designed to test your knowledge of the subject matter. Completing the assessments confirms that you are ready to move on to the next module. Modules CSS first steps (10-15 hour read/exercises) CSS building blocks (35-
45 hour read/exercises) Styling text (15-20 hour read/exercises) CSS layout (30-40 hour read/exercises) Additional resources CSS layout cookbook Interactivity with JavaScript Time to complete: 135-185 hours Prerequisites It is recommended that you have basic HTML knowledge before starting to learn JavaScript. You should at least study Introduction to HTML first. How will I know I'm read...
Advanced text formatting - Learn web development
For example: <time datetime="2016-01-20">20 January 2016</time> Why is this useful? Well, there are many different ways that humans ...
...For example: <time datetime="2016-01-20">20 January 2016</time> Why is this useful? Well, there are many different ways that humans write down dates. The above date could be wr...
Useful string methods - Learn web development
ass="a11y-label">Press Esc to move focus away from the code area (Tab inserts a tab character).</p> <textarea id="code" class="playable-code" style="height: 285px; width: 95%"> const list = document.querySelector('.output ul'); list.innerHTML = ''; let stations = ['MAN675847583748sjt567654;Manchester Piccadilly', 'GNF576746573fhdg4737dh4;Greenfield', 'LIV5hg65hd737
456236dch46dg4;Liverpool Lime Street', 'SYB4f65hf75f736463;Stalybridge', 'HUD5767ghtyfyr
4536dh
45dg
45dg3;Huddersfield']; for (let i = 0; i < stations.length; i++) { let input = stations[i]; // write your code just below here let result = input; let listItem = document.createElement('li'); listItem.textContent = result; list.appendChild(listItem); } </text...
...= 'Hide solution'; } else { textarea.value = userEntry; solution.value = 'Show solution'; } updateCode(); }); const jsSolution = 'const list = document.querySelector(\'.output ul\');' + '\nlist.innerHTML = \'\';' + '\nlet stations = [\'MAN675847583748sjt567654;Manchester Piccadilly\',' + '\n \'GNF576746573fhdg4737dh4;Greenfield\',' + '\n \'LIV5hg65hd737
456236dch46dg4;Liverpool Lime Street\',' + '\n \'SYB4f65hf75f736463;Stalybridge\',' + '\n \'HUD5767ghtyfyr
4536dh
45dg
45dg3;Huddersfield\'];' + '\n' + '\nfor (let i = 0; i < stations.length; i++) {' + '\n let input = stations[i];' + '\n let code = input.slice(0,3);' + '\n let semiC = input.indexOf(\';\');' + '\n let name = input.slice(semiC + 1);' + '\n let result = ...
Chrome registration
ually do what you want or expect it to do). Also, the path inside overridden files is relative to the overridden path, not the original one (this can be annoying and/or useful in CSS files, for example). Note: There was a bug in Gecko 1.8.1.5 (Firefox 2.0.0.5) and earlier where you could not use a relative URL for the new-resolved-URI parameter. You needed to provide an absolute URL. See bug 323
455. resource Aliases can be created using the resource instruction: resource aliasname uri/to/files/ [flags] This will create a mapping for resource://<aliasname>/ URIs to the path given. Note: There are no security restrictions preventing web content from including content at resource: URIs, so take care what you make visible there. Manifest flags Manifest lines can have multiple, spa...
...the line is applied if any of the flags match. This example shows how a different overlay can be used for different applications: overlay chrome://browser/content/browser.xul chrome://myaddon/content/ffOverlay.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} overlay chrome://messenger/content/mailWindowOverlay.xul chrome://myaddon/content/tbOverlay.xul application={3550f703-e582-4d05-9a08-
453d09bdfdc6} overlay chrome://songbird/content/xul/layoutBaseOverlay.xul chrome://myaddon/content/sbOverlay.xul application=songbird@songbirdnest.com appversion Extensions may install into multiple versions of an application. There may be chrome registration lines which only apply to a particular application version. The flag appversion=version appversion<version appversion<=version appversion>...
Creating Custom Events That Can Pass Data
a function the way that everyone else does. You can find the prototypes for the function in nsIPrivateDOMEvent. Your event In order for your event to work you must do the following: Create a scriptable interface called nsIDOM{YourEventName} inheriting from nsIDOMEvent. A good place to put this .idl is in mozilla/dom/public/idl/events/. #include "nsIDOMEvent.idl" [scriptable, uuid(08bea243-8a7b-
4554-9ee9-70d7785d741b)] interface nsIDOMMyEvent: nsIDOMEvent { //put members here! }; Implement the interface you created with a class that inherits from nsDOMEvent. Use nsDOMEvent.h's NS_FORWARD_TO_NSDOMEVENT macro so that you don't have to forward manually (unless you plan on overriding one of nsDOMEvent's original functions). Example TBP Note for extension developers In order for your even...
...face(aDoc); //change interfaces so you can create interfaces. docEvent->CreateEvent(NS_LITERAL_STRING("nsDOMMyEvent"), getter_AddRefs(event)); //create the event event->InitEvent(NS_LITERAL_STRING("nsDOMMyEvent"), PR_TRUE, PR_TRUE); //initialize it tWindow = do_QueryInterface(aWindow); //use the window for a target. myEvent = do_QueryInterface(event); myEvent->SetMyProperty(
45); //set my property of my event to (e.g.)
45. PRBool defaultActionEnabledWin; PRBool defaultActionEnabledDoc; nsCOMPtr<nsIPrivateDOMEvent> privEvt(do_QueryInterface(event)); privEvt->SetTrusted(PR_TRUE); //make the event trusted tWindow->DispatchEvent(event, &defaultActionEnabledWin); //dispatch it (i.e. send it out into the wild) ...
Experimental features in Firefox
75 No Developer Edition 75 No Beta 75 No Release 75 No Preference name devtools.webconsole.input.context Mobile gesture support in Responsive Design Mode Mouse gestures are used to simulate mobile gestures like swiping/scrolling, double-tap and pinch-zooming and long-press to select/open the context menu. See bug 1621781, bug 12
45183, and bug 1401304 for more details. Release channel Version added Enabled by default? Nightly 76[1] Yes Developer Edition 76[1] Yes Beta 76[1] Yes Release 76[1] No Preference name n/a [1] Support for zooming using the double-tap gesture was added in Firefox 76. The other gestures were added for Fi...
... Release channel Version added Enabled by default? Nightly 42 No Developer Edition 42 No Beta 42 No Release 42 No Preference name apz.allow_zooming and (on Windows) apz.windows.use_direct_manipulation ...
MathML Demo: <mfrac> - fractions
Inline, auto, thick line x 2 + 1 x , the superscripted 2 should be script-script size. Inline, display style, thick line x - 1 0.98 x 10 2 + y , the superscripted 2 should be script size. Inline, text style, thick line x 2 + 1 x x 2 + 1 x the end. Inline, auto, no line x 2 + 1 x the end. Inline, display style, no line 1.23
4567 89 + x the end. Inline, text style, no line x 2 + 1 x the end. Inline binomial, auto, no line ( 5 8 ) the end. Inline binomial, display style, no line ( n - k n ) the end. Inline binomial, text style, no line ( log x y ) the end. Inline built-in verts, auto, no line | sin ? M | the end. Inline up arrows, display st...
...own arrows, text style, normal line ? sin ? M ? the end. Inline double up arrows, auto, thick line ? sin ? M ? the end. Inline double down arrows, display style, thick line ? sin ? M ? the end. Inline double up down arrows, text style, thick line ? sin ? M ? the end. Inline, styles auto, display and text 1 2 - 1 2 + 1.23
456 7890 , the rendering should be script-size, normal-size and script-size in this example. Fraction lines should align vertically with the math axis. The same expression 1 2 - 1 2 + 1.23
456 7890 in a display. Inline fenced nested fractions [ || sin ? + 1 11 || - x x 2 a 1 ] + [ 1.0 ] etc. The same expression [ || sin ? + 1 11 |...
BloatView
Total blank mozilla yahoo netscape Total TOTAL 1754408 432556 179828 404184 2770976 nsStr 20 6261600 3781900 1120920 1791340 12955760 222760 48760 13280 76160 360960 nsHashKey 8 610568 1842400 2
457872 113
4592 60
45432 32000 536 568 1216 34320 nsTextTransformer 548 8220 469088 1414936 1532756 3425000 0 0 0 0 0 nsStyleContextData 736 259808 325312 489440 338560 1413120 141312 220800 -11040 94944 446016 nsLineLayout 1100 2200 225500 402600 ...
...ather than bytes. Comparing Bloat Logs You can also compare any two bloat logs (either those produced when the program shuts down, or written to the bloatlogs directory) by running the following program. ...
TimerFirings logging
ation where they were created. They can come from chrome code within Firefox, or from web content. The informative labels are only present on function timers that have had their creation site annotated. For unannotated function timers, there are three possible behaviours. First, on Mac the code uses dladdr to get the name immediately, and the output will look like the following. 2082435840[1004
45640]: [81190] fn timer (ONE_SHOT 8000 ms): [from dladdr] gfxFontInfoLoader::DelayedStartCallback(nsITimer*, void*) Second, on Linux the code uses dladdr to get the symbol library and address, which can be post-processed by tools/rb/fix_stacks.py. The following two lines show the output before and after being post-processed by that script. 2088737280[7f606bf68140]: [30710] fn timer (ONE_SHOT ...
...e.com/vrs.js:6:9423 103 801266240[7f7c1f248000]: [7163] fn timer (ONE_SHOT 50 ms): [content] http://static.dynamicyield.com/scripts/12086/dy-min.js?v=12086:3:3389 94 801266240[7f7c1f248000]: [7163] fn timer (ONE_SHOT 50 ms): [content] https://ad.doubleclick.net/ddm/adi/N7921.1283839CADREON.COM.AU/B9038144.122190976;sz=300x600;click=http://pixel.mathtag.com/click/img?mt_aid=274
4535504761193354&mt_id=1895890&mt_adid=148611&mt_sid=973379&mt_exid=9&mt_inapp=0&mt_uuid=353d5460-19f6-4400-9bbd-d0fcc3bcf595&mt_3pck=http%3A//beacon-apac-hkg1.rubiconproject.com/beacon/t/d1f9921d-4e47-448f-b6ba-36cae1c31b65/&redirect=;ord=274
4535504761193354?:83:0 94 801266240[7f7c1f248000]: [7163] fn timer (ONE_SHOT 160 ms): nsBrowserStatusFilter::TimeoutHandler 92 -495057024[7f74e1...
about:memory
| | | | +--0.05 MB (00.02%) -- property-tables | | | +---9.61 MB (05.01%) ++ (18 tiny) | | +---4.39 MB (02.29%) -- js-zone(0x7f69425b5800) | +--15.75 MB (08.21%) ++ top(http://techcrunch.com/, id=20) | +--12.85 MB (06.69%) ++ top(http://arstechnica.com/, id=14) | +---6.40 MB (03.33%) ++ top(chrome://browser/content/browser.xul, id=3) | +---3.59 MB (01.87%) ++ (4 tiny) +---
45.74 MB (23.84%) ++ js-non-window +---33.73 MB (17.58%) -- heap-unclassified +---22.51 MB (11.73%) ++ heap-overhead +----6.62 MB (03.
45%) ++ images +----5.82 MB (03.03%) ++ workers/workers(chrome) +----5.36 MB (02.80%) ++ (16 tiny) +----4.07 MB (02.12%) ++ storage +----2.74 MB (01.43%) ++ startup-cache +----2.16 MB (01.12%) ++ xpconnect Some expertise is required to understand the full details her...
...20%) ++ jid1-xUfzOsOFlzSOXg@jetpack/js-non-window/zones/zone(0x100496800) | +---5,574,608 B (00.58%) -- {59c81df5-4b7a-477b-912d-4e0fdf64e5f2} | | +--5,529,280 B (00.57%) -- window-objects | | | +--4,175,584 B (00.43%) ++ top(chrome://chatzilla/content/chatzilla.xul, id=4293) | | | +--1,353,696 B (00.14%) ++ top(chrome://chatzilla/content/output-window.html, id=4298) | | +-----
45,328 B (00.00%) ++ js-non-window/zones/zone(0x100496800)/compartment([System Principal], file:///Users/njn/Library/Application%20Support/Firefox/Profiles/puna0zr8.new/extensions/%7B59c81df5-4b7a-477b-912d-4e0fdf64e5f2%7D/components/chatzilla-service.js) | +---1,872,144 B (00.19%) ++ treestyletab@piro.sakura.ne.jp/js-non-window/zones/zone(0x100496800) More things worth pointing out are as follow...
NSS_3.11.10_release_notes.html
y distributions to get the NSPR 4.7.1 header files and shared libraries, which NSS 3.11.10 requires. NSPR 4.7.1 binary distributions are in https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.7.1/. Bugs Fixed The following bugs have been fixed in NSS 3.11.10. Bug 291384: certutil -K behavior doesn't match usage Bug 374247: modutil -disable command not disabling modules' slots Bug 384
459: Certification path validation fails when Authority Key Identifier extension contains key identifier Bug 385946: Can't import certificate into cert database in FIPS mode (certutil). Bug 387892: Add Entrust root CA certificate(s) to NSS Bug 396999: PK11_Authenticate Bug 397478: Lock from ssl_InitSymWrapKeysLock not freed on selfserv shutdown. Bug 397486: Session cache locks not freed on...
...New and revised documents available since the release of NSS 3.9 include the following: ...
NSS 3.12.6 release notes
ingle patch) Bug 528741: pkix_hash throws a null-argument exception on empty strings Bug 530907: The peerID argument to SSL_SetSockPeerID should be declared const Bug 531188: Decompression failure with https://livechat.merlin.pl/ Bug 532417: Build problem with spaces in path names Bug 534943: Clean up the makefiles in lib/ckfw/builtins Bug 5349
45: lib/dev does not need to include headers from lib/ckfw Bug 535669: Move common makefile code in if and else to the outside Bug 536023: DER_UTCTimeToTime and DER_GeneralizedTimeToTime ignore all bytes after an embedded null Bug 536474: Add support for logging pre-master secrets Bug 537356: Implement new safe SSL3 & TLS renegotiation Bug 537795: NSS_Ini...
... 537829: Allow NSS to build for Android Bug 540304: Implement SSL_HandshakeNegotiatedExtension Bug 541228: Remove an obsolete NSPR version check in lib/util/secport.c Bug 541231: nssinit.c doesn't need to include ssl.h and sslproto.h. Bug 542538: NSS: Add function for recording OCSP stapled replies Bug 544191: Use system zlib on Mac OS X Bug 54
4584: segmentation fault when enumerating the nss database Bug 54
4586: Various nss-sys-init patches from Fedora Bug 5
45273: Remove unused function SEC_Init Bug 546389: nsssysinit binary built inside source tree Documentation For a list of the primary NSS documentation pages on mozilla.org, see NSS Documentation. New and rev...
NSS 3.16.3 release notes
The Trust Bits were changed for the following CA certificates OU = Class 3 Public Primary Certification Authority SHA1 Fingerprint: A1:DB:63:93:91:6F:17:E4:18:55:09:40:04:15:C7:02:40:B0:AE:6B Turned off websites and code signing trust bits (1024-bit root) OU = Class 3 Public Primary Certification Authority SHA1 Fingerprint: 74:2C:31:92:E6:07:E4:24:EB:
45:49:54:2B:E1:BB:C5:3E:61:74:E2 Turned off websites and code signing trust bits (1024-bit root) OU = Class 2 Public Primary Certification Authority - G2 SHA1 Fingerprint: B3:EA:C4:47:76:C9:C8:1C:EA:F2:9D:95:B6:CC:A0:08:1B:67:EC:9D Turned off code signing trust bit (change requested by CA) CN = VeriSign Class 2 Public Primary Certification Authority - G3 ...
...7:EC:9D Turned off code signing trust bit (change requested by CA) CN = VeriSign Class 2 Public Primary Certification Authority - G3 SHA-1 Fingerprint: 61:EF:43:D7:7F:CA:D4:61:51:BC:98:E0:C3:59:12:AF:9F:EB:63:11 Turned off code signing trust bit (change requested by CA) CN = AC Raiz Certicamara S.A. ...
NSS 3.18 release notes
tem, if it is version 3.5 or newer. ...
... CN = Staat der Nederlanden EV Root CA SHA1 Fingerprint: 76:E2:7E:C1:4F:DB:82:C1:C0:A6:75:B5:05:BE:3D:29:B4:ED:DB:BB CN = IdenTrust Commercial Root CA 1 SHA1 Fingerprint: DF:71:7E:AA:4A:D9:4E:C9:55:84:99:60:2D:48:DE:5F:BC:F0:3A:25 CN = IdenTrust Public Sector Root CA 1 SHA1 Fingerprint: BA:29:41:60:77:98:3F:F4:F3:EF:F2:31:05:3B:2E:EA:6D:4D:
45:FD CN = S-TRUST Universal Root CA SHA1 Fingerprint: 1B:3D:11:14:EA:7A:0F:95:58:54:41:95:BF:6B:25:82:AB:40:CE:9A CN = Entrust Root Certification Authority - G2 SHA1 Fingerprint: 8C:F4:27:FD:79:0C:3A:D1:66:06:8D:E8:1E:57:EF:BB:93:22:72:D4 CN = Entrust Root Certification Authority - EC1 SHA1 Fingerprint: 20:D8:06:40:DF:9B:25:F5:12:25:...
NSS 3.19.2.3 release notes
NSS_3_19_2_3_RTM. NSS 3.19.2.3 requires NSPR 4.10.10 or newer. NSS 3.19.2.3 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_19_2_3_RTM/src/ New in NSS 3.19.2.3 New Functionality No new functionality is introduced in this release. Security Fixes in NSS 3.19.2.3 Bug 12
45528 / CVE-2016-1950 - Fixed a heap-based buffer overflow related to the parsing of certain ASN.1 structures. An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Acknowledgements The NSS development team would like to thank security researcher Francis Gabriel for responsibly discl...
...ed a heap-based buffer overflow related to the parsing of certain ASN.1 structures. An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Acknowledgements The NSS development team would like to thank security researcher Francis Gabriel for responsibly disclosing the issue in Bug 12
45528. Compatibility NSS 3.19.2.3 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.19.2.3 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future version...
NSS 3.19 release notes
twork Security Services (NSS) 3.19, which is a minor security release. Distribution Information The HG tag is NSS_3_19_RTM. NSS 3.19 requires NSPR 4.10.8 or newer. NSS 3.19 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_19_RTM/src/ Security Fixes in NSS 3.19 Bug 10861
45 / CVE-2015-2721 - Fixed a bug related to the ordering of TLS handshake messages. This was also known as SMACK. New in NSS 3.19 New Functionality For some certificates, such as root CA certificates that don't embed any constraints, NSS might impose additional constraints such as name constraints. A new API (CERT_GetImposedNameConstraints) has been added that allows one to lookup imposed cons...
...2 signature (bug 1155922). Bugs fixed in NSS 3.19 This Bugzilla query returns all the bugs fixed in NSS 3.19: https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Components&query_format=advanced&product=NSS&target_milestone=3.19 Acknowledgements The NSS development team would like to thank Karthikeyan Bhargavan from INRIA for responsibly disclosing the issue in bug 10861
45. Compatibility NSS 3.19 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.19 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future versions of the NS...
NSS 3.21.1 release notes
he HG tag is NSS_3_21_1_RTM. NSS 3.21.1 requires NSPR 4.10.10 or newer. NSS 3.21.1 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_21_1_RTM/src/ New in NSS 3.21.1 New Functionality No new functionality is introduced in this release. Security Fixes in NSS 3.21.1 Bug 12
45528 / CVE-2016-1950 - Fixed a heap-based buffer overflow related to the parsing of certain ASN.1 structures. An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Acknowledgements The NSS development team would like to thank security researcher Francis Gabriel for responsibly discl...
...ed a heap-based buffer overflow related to the parsing of certain ASN.1 structures. An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Acknowledgements The NSS development team would like to thank security researcher Francis Gabriel for responsibly disclosing the issue in Bug 12
45528. Compatibility NSS 3.21.1 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.21.1 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future versions of...
NSS 3.22.2 release notes
he HG tag is NSS_3_22_2_RTM. NSS 3.22.2 requires NSPR 4.12 or newer. NSS 3.22.2 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_22_2_RTM/src/ New in NSS 3.22.2 New Functionality No new functionality is introduced in this release. Security Fixes in NSS 3.22.2 Bug 12
45528 / CVE-2016-1950 - Fixed a heap-based buffer overflow related to the parsing of certain ASN.1 structures. An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Notable Changes in NSS 3.22.2 Bug 1247990 - The root CA changes from NSS 3.23 have been backported. Acknowledgement...
...ate a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Notable Changes in NSS 3.22.2 Bug 1247990 - The root CA changes from NSS 3.23 have been backported. Acknowledgements The NSS development team would like to thank security researcher Francis Gabriel for responsibly disclosing the issue in Bug 12
45528. Compatibility NSS 3.22.2 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.22.2 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future versions of...
NSS 3.23 release notes
An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. Bugs fixed in NSS 3.23 This Bugzilla query returns all the bugs fixed in NSS 3.23: https://bugzilla.mozilla.org/buglis...
...e permissions of the user. Bugs fixed in NSS 3.23 This Bugzilla query returns all the bugs fixed in NSS 3.23: https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Components&query_format=advanced&product=NSS&target_milestone=3.23 Acknowledgements The NSS development team would like to thank security researcher Francis Gabriel for responsibly disclosing the issue in Bug 12
45528. Compatibility NSS 3.23 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.23 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future versions of the...
NSS 3.25 release notes
CA certificate was Removed CN = Sonera Class1 CA SHA-256 Fingerprint: CD:80:82:84:CF:74:6F:F2:FD:6E:B5:8A:A1:D5:9C:4A:D4:B3:CA:56:FD:C6:27:4A:89:26:A7:83:5F:32:31:3D The following CA certificates were Added CN = Hellenic Academic and Research Institutions RootCA 2015 SHA-256 Fingerprint: A0:40:92:9A:02:CE:53:B4:AC:F4:F2:FF:C6:98:1C:E4:49:6F:75:5E:6D:
45:FE:0B:2A:69:2B:CD:52:52:3F:36 CN = Hellenic Academic and Research Institutions ECC RootCA 2015 SHA-256 Fingerprint: 44:B5:
45:AA:8A:25:E6:5A:73:CA:15:DC:27:FC:36:D2:4C:1C:B9:95:3A:06:65:39:B1:15:82:DC:48:7B:48:33 CN = Certplus Root CA G1 SHA-256 Fingerprint: 15:2A:40:2B:FC:DF:2C:D5:48:05:4D:22:75:B3:9C:7F:CA:3E:C0:97:80:78:B0:F0:EA:76:E5:61:A6:C7:43:3E ...
...B:FC:DF:2C:D5:48:05:4D:22:75:B3:9C:7F:CA:3E:C0:97:80:78:B0:F0:EA:76:E5:61:A6:C7:43:3E CN = Certplus Root CA G2 SHA-256 Fingerprint: 6C:C0:50:41:E6:44:5E:74:69:6C:4C:FB:C9:F8:0F:54:3B:7E:AB:BB:44:B4:CE:6F:78:7C:6A:99:71:C4:2F:17 CN = OpenTrust Root CA G1 SHA-256 Fingerprint: 56:C7:71:28:D9:8C:18:D9:1B:4C:FD:FF:BC:25:EE:91:03:D4:75:8E:A2:AB:AD:82:6A:90:F3:
45:7D:46:0E:B4 CN = OpenTrust Root CA G2 SHA-256 Fingerprint: 27:99:58:29:FE:6A:75:15:C1:BF:E8:48:F9:C4:76:1D:B1:6C:22:59:29:25:7B:F4:0D:08:94:F2:9E:A8:BA:F2 CN = OpenTrust Root CA G3 SHA-256 Fingerprint: B7:C3:62:31:70:6E:81:07:8C:36:7C:B8:96:19:8F:1E:32:08:DD:92:69:49:DD:8F:57:09:A4:10:F7:5B:62:92 Bugs fixed in NSS 3.25 This Bugzilla que...
NSS 3.44 release notes
ce tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_44_RTM/src/ Other releases are available in NSS Releases. New in NSS 3.44 New Functionality New Functions in lib/certdb/cert.h CERT_GetCertificateDer - Access the DER-encoded form of a CERTCertificate. Notable Changes in NSS 3.44 It is now possible to build NSS as a static library (Bug 15435
45) Initial support for building for iOS. Bugs fixed in NSS 3.44 1501542 - Implement CheckARMSupport for Android 1531244 - Use __builtin_bswap64 in crypto_primitives.h 1533216 - CERT_DecodeCertPackage() crash with Netscape Certificate Sequences 1533616 - sdb_GetAttributeValueNoLock should make at most one sql query, rather than one for each attribute 1531236 - Provide accessor for CERTCert...
...break when using record layer separation 1521578 - x25519 support in pk11pars.c 1540205 - freebl build fails with -DNSS_DISABLE_CHACHAPOLY 1532312 - post-handshake auth doesn't interoperate with OpenSSL 1542741 - certutil -F crashes with segmentation fault 1546925 - Allow preceding text in try comment 1534468 - Expose ChaCha20 primitive 1418944 - Quote CC/CXX variables passed to nspr 15435
45 - Allow to build NSS as a static library 1487597 - Early data that arrives before the handshake completes can be read afterwards 1548398 - freebl_gtest not building on Linux/Mac 1548722 - Fix some Coverity warnings 1540652 - softoken/sdb.c: Logically dead code 1549413 - Android log lib is not included in build 1537927 - IPsec usage is too restrictive for existing deployments 1549608 - Sign...
NSS 3.46 release notes
NSS 3.46 Certificate Authority Changes The following CA certificates were Removed: Bug 1574670 - Remove expired Class 2 Primary root certificate SHA-256 Fingerprint: 0F993C8AEF97BAAF5687140ED59AD1821BB4AFACF0AA9A58B5D57A338A3AFBCB Bug 1574670 - Remove expired UTN-USERFirst-Client root certificate SHA-256 Fingerprint: 43F257412D440D627476974F877DA8F1FC244
4565A367AE60EDDC27A412531AE Bug 1574670 - Remove expired Deutsche Telekom Root CA 2 root certificate SHA-256 Fingerprint: B6191A50D0C3977F7DA99BCDAAC86A227DAEB9679EC70BA3B0C9D92271C170D3 Bug 1566569 - Remove Swisscom Root CA 2 root certificate SHA-256 Fingerprint: F09B122C7114F4A09BD4EA4F4A99D558B46E4C25CD81140D29C05613914C3841 Upcoming cha...
...- mp_set_ulong and mp_set_int should return errors on bad values Bug 1572791 - Read out-of-bounds in DER_DecodeTimeChoice_Util from SSLExp_DelegateCredential Bug 1560593 - Cleanup.sh script does not set error exit code for tests that "Failed with core" Bug 1566601 - Add Wycheproof test vectors for AES-KW Bug 1571316 - curve25519_32.c:280: undefined reference to `PR_Assert' when building NSS 3.
45 on armhf-linux Bug 1516593 - Client to generate new random during renegotiation Bug 1563258 - fips.sh fails due to non-existent "resp" directories Bug 1561598 - Remove -Wmaybe-uninitialized warning in pqg.c Bug 1560806 - Increase softoken password max size to 500 characters Bug 1568776 - Output paths relative to repository in NSS coverity Bug 1
453408 - modutil -changepw fails in FIPS mode i...
NSS 3.50 release notes
599603 - NIST SP800-108 KBKDF - PKCS#11 implementation Bug 1606992 - Cache the most recent PBKDF1 password hash, to speed up repeated SDR operations, important with the increased KDF iteration counts. ...
... Bug 1547639 - Update zlib in NSS to 1.2.11 Bug 1609181 - Detect ARM (32-bit) CPU features on FreeBSD Bug 1602386 - Fix build on FreeBSD/powerpc* Bug 1608151 - Introduce NSS_DISABLE_ALTIVEC Bug...
NSS 3.52 release notes
AT will yield the old definition. See the bug for more information. Bug 1623374 - Support new PKCS #11 v3.0 Message Interface for AES-GCM and ChaChaPoly. Bug 1612493 - Integrate AVX2 ChaCha20, Poly1305, and ChaCha20Poly1305 from HACL*. Bugs fixed in NSS 3.52 Bug 1633498 - Fix unused variable 'getauxval' error on iOS compilation. Bug 1630721 - Add Softoken functions for FIPS. Bug 1630
458 - Fix problem of GYP MSVC builds not producing debug symbol files. Bug 1629663 - Add IKEv1 Quick Mode KDF. Bug 1629661 - MPConfig calls in SSL initialize policy before NSS is initialized. Bug 1629655 - Support temporary session objects in ckfw. Bug 1629105 - Add PKCS11 v3.0 functions to module debug logger. Bug 1626751 - Fix error in generation of fuzz32 docker image after updates. Bug 162...
...pdate HACL* dependencies for libintvector.h Bug 1613238 - Add vector accelerated SHA2 for POWER 8+. Bug 1612493 - Integrate AVX2 ChaCha20, Poly1305, and ChaCha20Poly1305 from HACL*. Bug 1612281 - Maintain PKCS11 C_GetAttributeValue semantics on attributes that lack NSS database columns. Bug 1612260 - Add Wycheproof RSA test vectors. Bug 1608250 - broken fipstest handling of KI_len. Bug 16082
45 - Consistently handle NULL slot/session. Bug 1603801 - Avoid dcache pollution from sdb_measureAccess(). Bug 1603628 - Update NSS to support PKCS #11 v3.0. Bug 1561637 - TLS 1.3 does not work in FIPS mode. Bug 1531906 - Fix overzealous assertion when evicting a cached sessionID or using external cache. Bug 1465613 - Fix issue where testlib makefile build produced extraneous object files. Bug...
NSS API Guidelines
ecrng.h, secrngt.h, secerr.h, watcomfx.h Naming Conventions This section describes the rules that (ideally) should be followed for naming and identifying new files, functions, and data types. CVS ID Each file should include a CVS ID string for identification. The preferred format is: "@(#) $RCSfile: nss-guidelines.html, v $ $Revision: 48936 $ $Date: 2009-08-11 07:
45:57 -0700 (Tue, 11 Aug 2009) $ $Name$" You can put the string in a comment or in a static char array. Use #ifdef DEBUG to include the array in debug builds only. The advantage of using an array is that you can use strings(1) to pull the ID tags out of a (debug) compiled library. You can even put them in header files; the header files are protected from double inclusion. The only catch is that yo...
...he ID tags out of a (debug) compiled library. You can even put them in header files; the header files are protected from double inclusion. The only catch is that you have to determine the name of the array. Here is an example from lib/base/baset.h: #ifdef DEBUG static const char BASET_CVS_ID[] = "@(#) $RCSfile: nss-guidelines.html, v $ $Revision: 48936 $ $Date: 2009-08-11 07:
45:57 -0700 (Tue, 11 Aug 2009) $ $Name$"; #endif /* DEBUG */ The difference, between this and Id, is that Id has some useless information (every file is "experimental"), and doesn't have Name. Name is the tag (if any) from which this file was pulled. If you're good with tagging your releases, and then checking out (or exporting!) from the tag for your build, this saves you from messing around ...
nss tech note2
.nyc.rr.com [20] 1024[805ef10]: CKA_TOKEN = CK_TRUE [1] 1024[805ef10]: CKA_CLASS = CKO_CERTIFICATE [4] 1024[805ef10]: rv = 0x0 1024[805ef10]: C_FindObjects 1024[805ef10]: hSession = 0x1000001 1024[805ef10]: phObject = 0x806d810 1024[805ef10]: ulMaxObjectCount = 16 1024[805ef10]: pulObjectCount = 0xbffff38c 1024[805ef10]: *pulObjectCount = 0x1 1024[805ef10]: phObject[0] = 0xf6
457d04 1024[805ef10]: rv = 0x0 1024[805ef10]: C_FindObjectsFinal 1024[805ef10]: hSession = 0x1000001 1024[805ef10]: rv = 0x0 1024[805ef10]: C_GetAttributeValue 1024[805ef10]: hSession = 0x1000001 1024[805ef10]: hObject = 0xf6
457d04 1024[805ef10]: pTemplate = 0xbffff2d0 1024[805ef10]: ulCount = 2 1024[805ef10]: CKA_TOKEN = 0 [1] 1024[805ef10]: CKA_LABEL = 0 [20] 1024[805ef10]: ...
...Collect performance data. This mode is most useful in optimized builds. ...
NSS tools : pk12util
irectory] [-P dbprefix] [-k slotPasswordFile|-K slotPassword] [-w p12filePasswordFile|-W p12filePassword] For example, this prints the default ASCII output: # pk12util -l certs.p12 Enter password for PKCS12 file: Key(shrouded): Friendly Name: Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ...
...is written to a sequentially-number file, beginning with file0001.der and continuing through file000N.der, incrementing the number for every certificate: # pk12util -l test.p12 -r Enter password for PKCS12 file: Key(shrouded): Friendly Name: Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ID Encryption algorithm: PKCS #12 V2 PBE With SHA-1 And 3KEY Triple DES-CBC Parameters: Salt:
45:2e:6a:a0:03:4d:7b:a1:63:3c:15:ea:67:37:62:1f Iteration Count: 1 (0x1) Certificate Friendly Name: Thawte Personal Freemail Issuing CA - Thawte Consulting Certificate Friendly Name: Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ID Password Encryption PKCS#12 provides for not only the protection of the private keys but also the certificate and meta-data associated with the keys. Passwo...
NSS tools : pk12util
otPassword] [-w p12filePasswordFile|-W p12filePassword] For example, this prints the default ASCII output: # pk12util -l certs.p12 Enter password for PKCS12 file: Key(shrouded): Friendly Name: Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ...
...ning with file0001.der and continuing through file000N.der, incrementing the number for every certificate: # pk12util -l test.p12 -r Enter password for PKCS12 file: Key(shrouded): Friendly Name: Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ID Encryption algorithm: PKCS #12 V2 PBE With SHA-1 And 3KEY Triple DES-CBC Parameters: Salt:
45:2e:6a:a0:03:4d:7b:a1:63:3c:15:ea:67:37:62:1f Iteration Count: 1 (0x1) Certificate Friendly Name: Thawte Personal Freemail Issuing CA - Thawte Consulting Certificate Friendly Name: Thawte Freemail Member's Thawte Consulting (Pty) Ltd. ID Password Encryption PKCS#12 provides for not only the protection of the private keys but also the certificate and meta-data associat...
JS_SameValue
5th edition. SameValue slightly differs from strict equality (===) in that +0 and -0 are not the same and in that NaN is the same as NaN. The SameValue algorithm is equivalent to the following JavaScript: function SameValue(v1, v2) { if (v1 === 0 && v2 === 0) return 1 / v1 === 1 / v2; if (v1 !== v1 && v2 !== v2) return true; return v1 === v2; } Syntax // Added in SpiderMonkey
45 bool JS_SameValue(JSContext *cx, JS::Handle<JS::Value> v1, JS::Handle<JS::Value> v2, bool *same); // Obsolete since JSAPI 39 bool JS_SameValue(JSContext *cx, jsval v1, jsval v2, bool *same); Name Type Description cx JSContext * Pointer to a JS context from which to derive runtime information. Requires request. In a JS_THREADSAFE build, the caller mu...
...request on this JSContext. ...
JS_StrictlyEqual
Requires request. ...
... comparison attempt was successful, the method returns true and stores the result in *equal; otherwise it returns false. Comparing jsvals directly in C++, as in v1 == v2, does not produce a meaningful result, since it is possible for two distinct JSStrings or jsdoubles to represent the same string or number. See Also MXR ID Search for JS_StrictlyEqual JS_LooselyEqual JS_SameValue bug 11320
45 -- use handle ...
nsAString_internal
-class is instantiated instead. For example, see nsTString. NAMES: nsAString for wide characters nsACString for narrow characters Many of the accessors on nsTSubstring are inlined as an optimization. ...
...,553,53" href="http://developer.mozilla.org/en/nsAString_internal" shape="rect" title="nsAString_internal"> <area alt="" coords="379,101,
451,149" href="http://developer.mozilla.org/en/nsString" shape="rect" title="nsString"> <area alt="" coords="475,101,635,149" href="http://developer.mozilla.org/en/nsDependentSubstring" shape="rect" title="nsDependentSubstring"> <area alt="" coords="151,197,257,2
45" href="http://developer.mozilla.org/en/nsFixedString" shape="rect" title="nsFixedString"> <area alt="" coords="284,197,396,2
45" href="http://developer.mozilla.org/en/nsXPIDLString" shape="rect" title="nsXPIDLString"> <area alt="" coords="420,197,559,2
45" href="http://developer.mozilla.org/en/nsDependentString" shape="rect" title="nsDependentString"> <area alt="" coords="583,197,727,2
45" href="htt...
nsIAccessibleEvent
ED 0x003F 0x003B A table's row description changed. EVENT_TABLE_ROW_HEADER_CHANGED 0x0040 0x003C A table's row header changed. EVENT_TABLE_ROW_INSERT 0x0041 0x003D EVENT_TABLE_ROW_DELETE 0x0042 0x003E EVENT_TABLE_ROW_REORDER 0x0043 0x003F EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED 0x0044 0x0040 A table's column description changed. ...
... EVENT_TABLE_ROW_REORDER 0x0043 0x003F EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED 0x0044 0x0040 A table's column description changed. EVENT_TABLE_COLUMN_HEADER_CHANGED 0x00
45 0x0041 A table's column header changed. ...
nsMsgSearchAttrib
Defined in comm-central/ mailnews/ base/ search/ public/ nsMsgSearchCore.idl typedef long nsMsgSearchAttribValue; /** * Definitions of search attribute types. The numerical order * from here will also be used to determine the order that the * attributes display in the filter editor. ...
...e = 28; const nsMsgSearchAttribValue City = 29; const nsMsgSearchAttribValue Street = 30; const nsMsgSearchAttribValue Title = 31; const nsMsgSearchAttribValue Organization = 32; const nsMsgSearchAttribValue Department = 33; // 34 - 43, reserved for ab / LDAP; const nsMsgSearchAttribValue HasAttachmentStatus = 44; const nsMsgSearchAttribValue JunkStatus =
45; const nsMsgSearchAttribValue JunkPercent = 46; const nsMsgSearchAttribValue JunkScoreOrigin = 47; const nsMsgSearchAttribValue Label = 48; /* mail only...can search by label */ const nsMsgSearchAttribValue HdrProperty = 49; // uses nsIMsgSearchTerm::hdrProperty const nsMsgSearchAttribValue FolderFlag = 50; // uses nsIMsgSearchTerm::status const nsMsgSearchAttribValu...
Building a Thunderbird extension 3: install manifest
The first portion is the short name of the extension and must be ...
...add-on Manager. <em:version>1.0</em:version>: This is the version number of your extension. It must be updated each time you release a new version of your extension. It is not the Thunderbird version number (which is stored in the minVersion and maxVersion fields). <em:creator>jenzed</em:creator>: This optional value is used to store the extension author's name. <em:id>{3550f703-e582-4d05-9a08-
453d09bdfdc6}</em:id>: This element contains the version id of the application that this add on is developed for. It is defined by Mozilla. A list of valid application ids can be found here. Normally the id does not change and is always the same even for different versions of Thunderbird. <em:minVersion>1.5</em:minVersion>: This element indicates the earliest version of Thunderbird for which the ex...
Working with data
sented by a JavaScript Number, you have two options. You can build the new number using the high and low 32-bit numbers, or you can create it using a string representation. Creating a 64-bit value using a string You can simply pass a string representation of a 64-bit number into the Int64 or UInt64 constructor, like this: var num1 = ctypes.Int64("400000000000"); var num2 = ctypes.UInt64("-0x123
4567890ABCDEF"); As you can see, you can use this technique with both decimal and hexadecimal source strings. Creating a 64-bit value using join() The join() method offered by the Int64 and UInt64 objects provides another way to construct 64-bit integers. It accepts as its input parameters the high and low 32-bit values and returns a new 64-bit integer. For example: var num = ctypes.Int64.join(...
...BCDEF"); As you can see, you can use this technique with both decimal and hexadecimal source strings. Creating a 64-bit value using join() The join() method offered by the Int64 and UInt64 objects provides another way to construct 64-bit integers. It accepts as its input parameters the high and low 32-bit values and returns a new 64-bit integer. For example: var num = ctypes.Int64.join(-0x123
45678, 0x90ABCDEF); Performing arithmetic with 64-bit values The Int64 and UInt64 objects don't provide any methods for performing arithmetic, which means you'll have to do it yourself by pulling out the high and low 32-bit portions and doing math on them, then joining them back together if necessary to get the complete result. You'll also have to handle carry from the low to high word and back a...
Index - Firefox Developer Tools
of the objects that they keep alive through references. 43 Monster example This article describes a very simple web page that we'll use to illustrate some features of the Memory tool. 44 Tree map view The Tree map view provides a visual representation of the snapshot, that helps you quickly get an idea of which objects are using the most memory.
45 Migrating from Firebug Firebug, Migration When migrating from Firebug to the Firefox Developer Tools, you may wonder where the features you loved in Firebug are available in the Developer Tools. The following list aims to help Firebug users to find their way into the Developer Tools. 46 Network Monitor Debugging, Dev Tools, Firefox, Guide, Networking, Tools, l10n:prio...
... developer tools that are built into Firefox. 143 Validators Tools, Website validator, html5 validator, validator This document lists different resources for developers to validate web pages. 144 View Source DevTools, Firefox, view page source View Source lets you look at the HTML or XML source for the page you're viewing. To activate View Source: 1
45 Web Audio Editor Firefox, Mozilla, Tools, Web Audio API With the Web Audio API, developers create an audio context. Within that context they then construct a number of audio nodes, including: 146 Web Console Debugging, Guide, Security, Tools, Web Development, Web Development:Tools, l10n:priority, web console The Web Console: 147 Console messages ...
Network request details - Firefox Developer Tools
}, { "name": "X-Firefox-Spdy", "value": "h2" }, { "name": "x-frame-options", "value": "SAMEORIGIN" }, { "name": "x-powered-by", "value": "HHVM/3.18.6-dev" }, { "name": "x-search-id", "value": "esvan0r5bnnwscyk2wq09i1im" }, { "name": "x-varnish", "value": "766019
457, 417549316" } ] }, "Request headers (665 B)": { "headers": [ { "name": "Accept", "value": "*/*" }, { "name": "Accept-Encoding", "value": "gzip, deflate, br" }, { "name": "Accept-Language", "value": "en-US,en;q=0.5" }, { "name": "Connection", "value": "keep-alive" }, ...
...th formatting, or as plain, unformatted text. Cookies tab This tab lists full details of any cookies sent with the request or response: As with headers, you can filter the list of cookies displayed. The full list of cookie attributes is shown--see the following screenshot showing Response cookies with further attributes shown. The samesite attribute has been shown since Firefox 62 (bug 1
452715). Params tab This tab displays the GET parameters and POST data of a request: Response tab The complete content of the response. If the response is HTML, JS, or CSS, it will be shown as text: If the response is JSON, it will be shown as an inspectable object: If the response is an image, the tab displays a preview: For network responses that are initiated by a WebSocket connect...
Network request list - Firefox Developer Tools
e blocked with content blocking enabled. Timeline The request list also displays a timeline for the different parts of each request. Each timeline is given a horizontal position in its row relative to the other network requests, so you can see the total time taken to load the page. For more details on the color-coding used here, see the section on the Timings page. Starting in Firefox
45, the timeline also contains two vertical lines: The blue line marks the point at which the page's DOMContentLoaded event is triggered. The red line marks the point at which the page's load event is triggered. Blocking specific URLs If you want to view your page as it would look without a resource (e.g., if it were blocked by the browser or an extension), you can block requests matching pat...
... status-code Shows resources that have the specific HTTP status code. status-code:304 method Shows resources that have were requested via the specific HTTP request method. method:post domain Shows resources coming from a specifc domain. domain:mozilla.org remote-ip Shows resources coming from a server with the specified IP. remote-ip:63.2
45.215.53 remote-ip:[2400:cb00:2048:1::6810:2802] cause Shows resources matching a specific cause type. The types can be found in the description of the cause column. cause:js cause:stylesheet cause:img transferred Shows resources having a specific transferred size or a transferred size close to the one specified. k can be used as suffix for kilobytes and m fo...
Call Tree - Firefox Developer Tools
. Walking up the call tree Next to each function name is a disclosure arrow: Click that, and you can see the path back up the call tree, from the function in which the sample was taken, to the root. For example, we can expand the entry for bubbleSort(): So we can see the call graph is like this: sortAll() -> sort() -> bubbleSort() Note also that Self Cost for sort() here is 1.
45%, and note that this is the same as for the separate entry for sort() later in the list. This is telling us that some samples were taken in sort() itself, rather than in the functions it calls. Sometimes there's more than one path back from an entry to the top level. Let's expand the entry for swap(): There were 253 samples taken inside swap(). But swap() was reached by two different paths: b...
...ch. This result means that bubble sort is even less efficient than we had thought! It can shoulder the blame for another 252 samples, or almost another 10% of the total cost. With this kind of digging, we can figure out the whole call graph, with associated sample count: sortAll() // 8 -> sort() // 37 -> bubbleSort() // 13
45 -> swap() // 252 -> selectionSort() // 190 -> swap() // 1 -> quickSort() // 103 -> partition() // 12 Platform data You'll also see some rows labeled Gecko, Input & Events, and so on. These represent internal browser calls. This can be useful information too. If your site is making ...
CanvasPattern.setTransform() - Web APIs
svg> JavaScript var canvas = document.getElementById('canvas'); var ctx = canvas.getContext('2d'); var svg1 = document.getElementById('svg1'); var matrix = svg1.createSVGMatrix(); var img = new Image(); img.src = 'https://mdn.mozillademos.org/files/222/Canvas_createpattern.png'; img.onload = function() { var pattern = ctx.createPattern(img, 'repeat'); pattern.setTransform(matrix.rotate(-
45).scale(1.5)); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 400, 400); }; Note that newer browser versions started to support DOMMatrix as an input to setTransform(), so for example you could replace the SVGMatrix in the above example with the following: const matrix = new DOMMatrix([1, .2, .8, 1, 0, 0]); Edit the code below and see your changes update live in the canvas: Playable code <...
...able-buttons"> <input id="edit" type="button" value="Edit" /> <input id="reset" type="button" value="Reset" /> </div> <textarea id="code" class="playable-code" style="height:120px"> var img = new Image(); img.src = 'https://mdn.mozillademos.org/files/222/Canvas_createpattern.png'; img.onload = function() { var pattern = ctx.createPattern(img, 'repeat'); pattern.setTransform(matrix.rotate(-
45).scale(1.5)); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 400, 400); };</textarea> var canvas = document.getElementById('canvas'); var ctx = canvas.getContext('2d'); var textarea = document.getElementById('code'); var reset = document.getElementById('reset'); var edit = document.getElementById('edit'); var code = textarea.value; var svg1 = document.getElementById('svg1'); var matrix = svg1...
CanvasRenderingContext2D.drawImage() - Web APIs
t properties of the created instance to properly calculate things like crop and scale regions, rather than element.width and element.height. The same goes for videoWidth and videoHeight if the element is a <video> element, and so on. ...
...en image has loaded // Load an image of intrinsic size 300x227 in CSS pixels image.src = 'https://udn.realityripple.com/samples/db/f374e9c6fc.jpg'; function drawImageActualSize() { // Use the intrinsic size of image in CSS pixels for the canvas element canvas.width = this.naturalWidth; canvas.height = this.naturalHeight; // Will draw the image as 300x227, ignoring the custom size of 60x
45 // given in the constructor ctx.drawImage(this, 0, 0); // To use the custom size we'll have to specify the scale parameters // using the element's width and height properties - lets draw one // on top in the corner: ctx.drawImage(this, 0, 0, this.width, this.height); } Result Specifications Specification Status Comment HTML Living StandardThe definition o...
CanvasRenderingContext2D.resetTransform() - Web APIs
Transform() method of the Canvas 2D API resets the current transform to the identity matrix. Syntax void ctx.resetTransform(); Examples Resetting the matrix This example draws a rotated rectangle after modifying the matrix, and then resets the matrix using the resetTransform() method. ...
...g the matrix, and then resets the matrix using the resetTransform() method. HTML <canvas id="canvas"></canvas> JavaScript The rotate() method rotates the transformation matrix by
45?. The fillRect() method draws a filled rectangle, adjusted according to that matrix. const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); // Draw a rotated rectangle ctx.rotate(
45 * Math.PI / 180); ctx.fillRect(60, 0, 100, 30); // Reset transformation matrix to the identity matrix ctx.resetTransform(); Result Continuing with a regular matrix Whenever you're done drawing transformed shapes, you should call resetTransform() before rendering anything else. In this example, the first two shapes are drawn with a skew transformation, and the last two are drawn with the id...
CanvasRenderingContext2D.rotate() - Web APIs
ion matrix. Syntax void ctx.rotate(angle); Parameters angle The rotation angle, clockwise in radians. You can use degree * Math.PI / 180 to calculate a radian from a degree. The rotation center point is always the canvas origin. To change the center point, you will need to move the canvas by using the translate() method. Examples Rotating a shape This example rotates a rectangle by
45?. Note that the center of rotation is the top-left corner of the canvas, and not a location relative to any shape. HTML <canvas id="canvas"></canvas> JavaScript const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); // Point of transform origin ctx.arc(0, 0, 5, 0, 2 * Math.PI); ctx.fillStyle = 'blue'; ctx.fill(); // Non-rotated rectangle ctx.fillStyle = 'gra...
...anvas, and not a location relative to any shape. HTML <canvas id="canvas"></canvas> JavaScript const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); // Point of transform origin ctx.arc(0, 0, 5, 0, 2 * Math.PI); ctx.fillStyle = 'blue'; ctx.fill(); // Non-rotated rectangle ctx.fillStyle = 'gray'; ctx.fillRect(100, 0, 80, 20); // Rotated rectangle ctx.rotate(
45 * Math.PI / 180); ctx.fillStyle = 'red'; ctx.fillRect(100, 0, 80, 20); // Reset transformation matrix to the identity matrix ctx.setTransform(1, 0, 0, 1, 0, 0); Result The center of rotation is blue. The non-rotated rectangle is gray, and the rotated rectangle is red. Rotating a shape around its center This example rotates a shape around its center point. To do this, the following steps a...
Transformations - Web APIs
Next we save this state and make changes to the fill color. We t...
...Next we save this state and make changes to the fill color. We then ...
Using images - Web APIs
use of the Node.insertBefore method. insertBefore() is a method of the parent node (a table cell) of the element (the image) before which we want to insert our new node (the canvas element). ...
...udn.realityripple.com/samples/46/a786c5dda0.jpg"></td> <td><img src="https://udn.realityripple.com/samples/92/bfe5ac0c11.jpg"></td> </tr> <tr> <td><img src="https://udn.realityripple.com/samples/f7/4b60a25d49.jpg"></td> <td><img src="https://udn.realityripple.com/samples/a5/a82eed408d.jpg"></td> <td><img src="https://udn.realityripple.com/samples/6e/d8d5
45e955.jpg"></td> <td><img src="https://udn.realityripple.com/samples/b7/86ecdc3e8d.jpg"></td> </tr> </table> <img id="frame" src="https://udn.realityripple.com/samples/57/952c634159.png" width="132" height="150"> </body> </html> And here's some CSS to make things look nice: body { background: 0 -100px repeat-x url(https://mdn.mozillademos.org/files/5415/bg_gallery.png)...
DOMTokenList.forEach() - Web APIs
s page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
...dge Full support 16Firefox Full support 50IE No support NoOpera Full support 32Safari Full support 10WebView Android Full support
45Chrome Android Full support
45Firefox Android Full support 50Opera Android Full support 32Safari iOS Full support 10Samsung Internet Android Full support 5.0Legend ...
HTMLOrForeignElement.dataset - Web APIs
rator can be used to check whether a given attribute exists. Setting values When an attribute is set, its value is always converted into a string. For example: null is converted into the string "null". To remove an attribute, you can use the delete operator. Syntax const dataAttrMap = element.dataset Value A DOMStringMap. ...
... For example: null is converted into the string "null". To remove an attribute, you can use the delete operator. Syntax const dataAttrMap = element.dataset Value A DOMStringMap. ...
Intersection Observer API - Web APIs
<div class="label bottomLeft"></div> <div class="label bottomRight"></div> </div> </template> <main> <div class="contents"> <div class="wrapper"> </div> </div> </main> .contents { position: absolute; width: 700px; height: 1725px; } .wrapper { position: relative; top: 600px; } .sampleBox { position: relative; left: 175px; width: 150px; background-color: rgb(2
45, 170, 140); border: 2px solid rgb(201, 126, 17); padding: 4px; margin-bottom: 6px; } #box1 { height: 200px; } #box2 { height: 75px; } #box3 { height: 150px; } #box4 { height: 100px; } .label { font: 14px "Open Sans", "Arial", sans-serif; position: absolute; margin: 0; background-color: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.7); width: 3em; hei...
.... The result, given the default value of numSteps (20), is the following list of thresholds: # Ratio # Ratio 1 0.05 11 0.55 2 0.1 12 0.6 3 0.15 13 0.65 4 0.2 14 0.7 5 0.25 15 0.75 6 0.3 16 0.8 7 0.35 17 0.85 8 0.4 18 0.9 9 0.
45 19 0.95 10 0.5 20 1.0 We could, of course, hard-code the array of thresholds into our code, and often that's what you'll end up doing. But this example leaves room for adding configuration controls to adjust the granularity, for example. Handling intersection changes When the browser detects that the target element (in our case, the one with the ID "box") has been...
MediaStream.getTracks() - Web APIs
ted from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
... Full support 12Firefox Full support YesIE No support NoOpera Full support YesSafari Full support YesWebView Android Full support
45Chrome Android Full support
45Firefox Android Full support YesOpera Android No support NoSafari iOS Full support YesSamsung Internet Android Full support 5.0Legend ...
PannerNode.coneInnerAngle - Web APIs
ea in which it can be heard: // this value determines the size of the area in which the sound volume is constant // if coneInnerAngle == 30, it means that when the sound is rotated // by at most 15 (30/2) degrees either direction, the volume won't change panner.coneInnerAngle = 30; // this value determines the size of the area in which the sound volume decreases gradually // if coneOuterAngle ==
45 and coneInnerAngle == 30, it means that when the sound is rotated // by between 15 (30/2) and 22.5 (
45/2) degrees either direction, // the volume will decrease gradually panner.coneOuterAngle =
45; // this value determines the volume of the sound outside of both inner and outer cone // setting it to 0 means there is no sound, so we can clearly hear when we leave the cone // 0 is also the default ...
...ion // this means the sound will play at full volume const [x1, y1, z1] = yRotationToVector(0); // schedule the no-rotation vector immediately panner.orientationX.setValueAtTime(x1, context.currentTime); panner.orientationY.setValueAtTime(y1, context.currentTime); panner.orientationZ.setValueAtTime(z1, context.currentTime); // calculate the vector for -22.4 degrees // since our coneOuterAngle is
45, this will just about make the sound audible // if we set it to +/-22.5, the sound volume will be 0, as the threshold is exclusive const [x2, y2, z2] = yRotationToVector(-22.4); panner.orientationX.setValueAtTime(x2, context.currentTime + 2); panner.orientationY.setValueAtTime(y2, context.currentTime + 2); panner.orientationZ.setValueAtTime(z2, context.currentTime + 2); Finally, let's connect al...
PannerNode.coneOuterAngle - Web APIs
ea in which it can be heard: // this value determines the size of the area in which the sound volume is constant // if coneInnerAngle == 30, it means that when the sound is rotated // by at most 15 (30/2) degrees either direction, the volume won't change panner.coneInnerAngle = 30; // this value determines the size of the area in which the sound volume decreases gradually // if coneOuterAngle ==
45 and coneInnerAngle == 30, it means that when the sound is rotated // by between 15 (30/2) and 22.5 (
45/2) degrees either direction, // the volume will decrease gradually panner.coneOuterAngle =
45; // this value determines the volume of the sound outside of both inner and outer cone // setting it to 0 means there is no sound, so we can clearly hear when we leave the cone // 0 is also the default ...
...ion // this means the sound will play at full volume const [x1, y1, z1] = yRotationToVector(0); // schedule the no-rotation vector immediately panner.orientationX.setValueAtTime(x1, context.currentTime); panner.orientationY.setValueAtTime(y1, context.currentTime); panner.orientationZ.setValueAtTime(z1, context.currentTime); // calculate the vector for -22.4 degrees // since our coneOuterAngle is
45, this will just about make the sound audible // if we set it to +/-22.5, the sound volume will be 0, as the threshold is exclusive const [x2, y2, z2] = yRotationToVector(-22.4); panner.orientationX.setValueAtTime(x2, context.currentTime + 2); panner.orientationY.setValueAtTime(y2, context.currentTime + 2); panner.orientationZ.setValueAtTime(z2, context.currentTime + 2); Finally, let's connect al...
PannerNode.coneOuterGain - Web APIs
ea in which it can be heard: // this value determines the size of the area in which the sound volume is constant // if coneInnerAngle == 30, it means that when the sound is rotated // by at most 15 (30/2) degrees either direction, the volume won't change panner.coneInnerAngle = 30; // this value determines the size of the area in which the sound volume decreases gradually // if coneOuterAngle ==
45 and coneInnerAngle == 30, it means that when the sound is rotated // by between 15 (30/2) and 22.5 (
45/2) degrees either direction, // the volume will decrease gradually panner.coneOuterAngle =
45; // this value determines the volume of the sound outside of both inner and outer cone // setting it to 0 means there is no sound, so we can clearly hear when we leave the cone // 0 is also the default ...
...ion // this means the sound will play at full volume const [x1, y1, z1] = yRotationToVector(0); // schedule the no-rotation vector immediately panner.orientationX.setValueAtTime(x1, context.currentTime); panner.orientationY.setValueAtTime(y1, context.currentTime); panner.orientationZ.setValueAtTime(z1, context.currentTime); // calculate the vector for -22.4 degrees // since our coneOuterAngle is
45, this will just about make the sound audible // if we set it to +/-22.5, the sound volume will be 0, as the threshold is exclusive const [x2, y2, z2] = yRotationToVector(-22.4); panner.orientationX.setValueAtTime(x2, context.currentTime + 2); panner.orientationY.setValueAtTime(y2, context.currentTime + 2); panner.orientationZ.setValueAtTime(z2, context.currentTime + 2); Finally, let's connect al...
PannerNode.orientationX - Web APIs
ea in which it can be heard: // this value determines the size of the area in which the sound volume is constant // if coneInnerAngle == 30, it means that when the sound is rotated // by at most 15 (30/2) degrees either direction, the volume won't change panner.coneInnerAngle = 30; // this value determines the size of the area in which the sound volume decreases gradually // if coneOuterAngle ==
45 and coneInnerAngle == 30, it means that when the sound is rotated // by between 15 (30/2) and 22.5 (
45/2) degrees either direction, // the volume will decrease gradually panner.coneOuterAngle =
45; // this value determines the volume of the sound outside of both inner and outer cone // setting it to 0 means there is no sound, so we can clearly hear when we leave the cone // 0 is also the default ...
...ion // this means the sound will play at full volume const [x1, y1, z1] = yRotationToVector(0); // schedule the no-rotation vector immediately panner.orientationX.setValueAtTime(x1, context.currentTime); panner.orientationY.setValueAtTime(y1, context.currentTime); panner.orientationZ.setValueAtTime(z1, context.currentTime); // calculate the vector for -22.4 degrees // since our coneOuterAngle is
45, this will just about make the sound audible // if we set it to +/-22.5, the sound volume will be 0, as the threshold is exclusive const [x2, y2, z2] = yRotationToVector(-22.4); panner.orientationX.setValueAtTime(x2, context.currentTime + 2); panner.orientationY.setValueAtTime(y2, context.currentTime + 2); panner.orientationZ.setValueAtTime(z2, context.currentTime + 2); Finally, let's connect al...
PannerNode.orientationY - Web APIs
ea in which it can be heard: // this value determines the size of the area in which the sound volume is constant // if coneInnerAngle == 30, it means that when the sound is rotated // by at most 15 (30/2) degrees either direction, the volume won't change panner.coneInnerAngle = 30; // this value determines the size of the area in which the sound volume decreases gradually // if coneOuterAngle ==
45 and coneInnerAngle == 30, it means that when the sound is rotated // by between 15 (30/2) and 22.5 (
45/2) degrees either direction, // the volume will decrease gradually panner.coneOuterAngle =
45; // this value determines the volume of the sound outside of both inner and outer cone // setting it to 0 means there is no sound, so we can clearly hear when we leave the cone // 0 is also the default ...
...ion // this means the sound will play at full volume const [x1, y1, z1] = yRotationToVector(0); // schedule the no-rotation vector immediately panner.orientationX.setValueAtTime(x1, context.currentTime); panner.orientationY.setValueAtTime(y1, context.currentTime); panner.orientationZ.setValueAtTime(z1, context.currentTime); // calculate the vector for -22.4 degrees // since our coneOuterAngle is
45, this will just about make the sound audible // if we set it to +/-22.5, the sound volume will be 0, as the threshold is exclusive const [x2, y2, z2] = yRotationToVector(-22.4); panner.orientationX.setValueAtTime(x2, context.currentTime + 2); panner.orientationY.setValueAtTime(y2, context.currentTime + 2); panner.orientationZ.setValueAtTime(z2, context.currentTime + 2); Finally, let's connect al...
PannerNode.orientationZ - Web APIs
ea in which it can be heard: // this value determines the size of the area in which the sound volume is constant // if coneInnerAngle == 30, it means that when the sound is rotated // by at most 15 (30/2) degrees either direction, the volume won't change panner.coneInnerAngle = 30; // this value determines the size of the area in which the sound volume decreases gradually // if coneOuterAngle ==
45 and coneInnerAngle == 30, it means that when the sound is rotated // by between 15 (30/2) and 22.5 (
45/2) degrees either direction, // the volume will decrease gradually panner.coneOuterAngle =
45; // this value determines the volume of the sound outside of both inner and outer cone // setting it to 0 means there is no sound, so we can clearly hear when we leave the cone // 0 is also the default ...
...ion // this means the sound will play at full volume const [x1, y1, z1] = yRotationToVector(0); // schedule the no-rotation vector immediately panner.orientationX.setValueAtTime(x1, context.currentTime); panner.orientationY.setValueAtTime(y1, context.currentTime); panner.orientationZ.setValueAtTime(z1, context.currentTime); // calculate the vector for -22.4 degrees // since our coneOuterAngle is
45, this will just about make the sound audible // if we set it to +/-22.5, the sound volume will be 0, as the threshold is exclusive const [x2, y2, z2] = yRotationToVector(-22.4); panner.orientationX.setValueAtTime(x2, context.currentTime + 2); panner.orientationY.setValueAtTime(y2, context.currentTime + 2); panner.orientationZ.setValueAtTime(z2, context.currentTime + 2); Finally, let's connect al...
RTCIceCandidate - Web APIs
containing the value of the candidate property instead of a RTCIceCandidateInit object, since the candidate includes all of the information that RTCIceCandidateInit does and more. Properties candidate Read only A DOMString representing the transport address for the candidate that can be used for connectivity checks. The format of this address is a candidate-attribute as defined in RFC 52
45. This string is empty ("") if the RTCIceCandidate is an "end of candidates" indicator. component Read only A DOMString which indicates whether the candidate is an RTP or an RTCP candidate; its value is either "rtp" or "rtcp", and is derived from the "component-id" field in the candidate a-line string. The permitted values are listed in the RTCIceComponent enumerated type. foundation Read onl...
...relatedPort property is null. sdpMid Read only A DOMString specifying the candidate's media stream identification tag which uniquely identifies the media stream within the component with which the candidate is associated, or null if no such association exists. sdpMLineIndex Read only If not null, sdpMLineIndex indicates the zero-based index number of the media description (as defined in RFC
4566) in the SDP with which the candidate is associated. tcpType Read only If protocol is "tcp", tcpType represents the type of TCP candidate. Otherwise, tcpType is null. type Read only A DOMString indicating the type of candidate as one of the strings from the RTCIceCandidateType enumerated type. usernameFragment Read only A DOMString containing a randomly-generated username fragment ("ice...
RTCSessionDescription.sdp - Web APIs
The property RTCSessionDescription.sdp is a read-only DOMString containing the SDP which describes the session. ...
... The property RTCSessionDescription.sdp is a read-only DOMString containing the SDP which describes the session. ...
Window.scroll() - Web APIs
18Firefox Android Full support 4Opera Android Full support 10.1Safari iOS Full support 1Samsung Internet Android Full support 1.0ScrollToOptions parameterChrome Full support
45Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support ...
...Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support
45Chrome Android Full support
45Firefox Android Full support YesOpera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0Legend ...
Window.scrollBy() - Web APIs
18Firefox Android Full support 4Opera Android Full support 10.1Safari iOS Full support 1Samsung Internet Android Full support 1.0ScrollToOptions parameterChrome Full support
45Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support ...
...Edge Full support 79Firefox Full support YesIE No support NoOpera Full support 32Safari No support NoWebView Android Full support
45Chrome Android Full support
45Firefox Android Full support YesOpera Android Full support 32Safari iOS No support NoSamsung Internet Android Full support 5.0Legend ...
Color picker tool - CSS: Cascading Style Sheets
hsla(0, 0%, 50%, 0) 100%); background: -o-linear-gradient(top, hsl(0, 0%, 100%) 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 100%), -o-linear-gradient(left, hsl(0, 0%, 50%) 0%, hsla(0, 0%, 50%, 0) 100%); background-color: #F00; } .ui-color-picker .picker { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #FFF; position: absolute; top:
45%; left:
45%; } .ui-color-picker .picker:before { width: 8px; height: 8px; content: ""; position: absolute; border: 1px solid #999; border-radius: 50%; } .ui-color-picker .hue, .ui-color-picker .alpha { width: 198px; height: 28px; margin: 5px; border: 1px solid #FFF; float: left; } .ui-color-picker .hue { background: url("https://mdn.mozillademos.org/files/5701/hue.png") center; b...
...x; font-family: Arial, Helvetica, sans-serif; color: #777; float: left; } #color-palette .container { width: 100%; height: 50px; line-height: 50px; overflow: hidden; float: left; transition: all 0.5s; } #color-palette .container > * { float: left; } #color-palette .title { width: 100px; padding: 0 10px; text-align: right; line-height: inherit; } #color-palette .palette { width:
456px; height: 38px; margin: 3px; padding: 3px; display: table; background-color: #FFF; } #color-palette .palette .sample { width: 30px; height: 30px; margin: 3px; position: relative; border: 1px solid #DDD; float: left; transition: all 0.2s; } #color-palette .palette .sample:hover { cursor: pointer; border-color: #BBB; transform: scale(1.15); border-radius: 3px; } #color-palette ...
Linear-gradient Generator - CSS: Cascading Style Sheets
%); background: -o-linear-gradient(top, hsl(0, 0%, 100%) 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 100%), -o-linear-gradient(left, hsl(0, 0%, 50%) 0%, hsla(0, 0%, 50%, 0) 100%); background-color: #F00; } .ui-color-picker .picker { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1px solid #FFF; position: absolute; top:
45%; left:
45%; } .ui-color-picker .picker:before { width: 8px; height: 8px; content: ""; position: absolute; border: 1px solid #999; border-radius: 50%; } .ui-color-picker .hue, .ui-color-picker .alpha { width: 198px; height: 28px; margin: 5px; border: 1px solid #FFF; float: left; } .ui-color-picker .hue { background: url("images/hue_mask.png"); background: -moz-linear-gradient(lef...
...enter center no-repeat; position: absolute; bottom: 0; right: 0; } [data-resize='both']:hover { cursor: nw-resize !important; } [data-resize='width']:hover { cursor: w-resize !important; } [data-resize='height']:hover { cursor: n-resize !important; } /** * Main Container */ #container { width: 1000px; height: 100%; display: table; margin: 0 auto; } #gradient-container { width:
450px; height: 250px; min-width: 8px; min-height: 8px; margin: 100px auto; border: 1px solid #DDD; position: relative; } #gradient-container[data-alpha="true"]:after { content: ""; width: 100%; height: 100%; background: url('images/canvas-pattern.png'); position: absolute; z-index: -1; } /** * Gradient Axis */ .gradient-axis { width: 125%; height: 4px; margin: -3px 0 0 0; borde...
clip-path - CSS: Cascading Style Sheets
pan> <div class="container viewbox"> <svg viewBox="0 0 192 192"> <g class="svg"> <rect x="24" y="24" width="144" height="144" /> <text x="96" y="91">I LOVE</text> <text x="96" y="109" class="em">clipping</text> </g> </svg> </div> </div> </div> <div class="note">clip-path: path('M15,
45 A30,30,0,0,1,75,
45 A30,30,0,0,1,135,
45 Q135,90,75,130 Q15,90,15,
45 Z') </div> <div class="row"> <div class="cell"> <span>HTML</span> <div class="container"> <p class="svg2"> I LOVE<br><em>clipping</em> </p> </div> </div> <div class="cell"> <span>SVG</span> <div class="container viewbox"> <svg viewBox="0 0 ...
...content: 'viewbox'; position: absolute; left: 1.1rem; top: 1.1rem; font: italic .6em sans-serif; } .cell span { display: block; margin-bottom: .5em; } p { font-family: sans-serif; background: #000; color: pink; margin: 2em; padding: 3em 1em; border: 1em solid pink; width: 6em; } .none { clip-path: none; } .svg { clip-path: url(#myPath); } .svg2 { clip-path: path('M15,
45 A30,30,0,0,1,75,
45 A30,30,0,0,1,135,
45 Q135,90,75,130 Q15,90,15,
45 Z');} .shape1 { clip-path: circle(25%); } .shape2 { clip-path: circle(25% at 25% 25%); } .shape3 { clip-path: fill-box circle(25% at 25% 25%); } .shape4 { clip-path: stroke-box circle(25% at 25% 25%); } .shape5 { clip-path: view-box circle(25% at 25% 25%); } .shape6 { clip-path: margin-box circle(25% at 25% 25%); } .shape7...
<color> - CSS: Cascading Style Sheets
#7b68ee mediumspringgreen #00fa9a mediumturquoise #48d1cc mediumvioletred #c71585 midnightblue #191970 mintcream #f5fffa mistyrose #ffe4e1 moccasin #ffe4b5 navajowhite #ffdead oldlace #fdf5e6 olivedrab #6b8e23 orangered #ff
4500 orchid #da70d6 palegoldenrod #eee8aa palegreen #98fb98 paleturquoise #afeeee palevioletred #db7093 papayawhip #ffefd5 peachpuff #ffdab9 peru #cd853f pink #ffc0cb plum #dda0dd powderblue #b0e0e6 rosybrown #...
... palegreen #98fb98 paleturquoise #afeeee palevioletred #db7093 papayawhip #ffefd5 peachpuff #ffdab9 peru #cd853f pink #ffc0cb plum #dda0dd powderblue #b0e0e6 rosybrown #bc8f8f royalblue #4169e1 saddlebrown #8b
4513 salmon #fa8072 sandybrown #f4a460 seagreen #2e8b57 seashell #fff5ee sienna #a0522d skyblue #87ceeb slateblue #6a5acd slategray #708090 slategrey #708090 snow #fffafa springgreen #00ff7f steelblue #4682b4 ...
offset - CSS: Cascading Style Sheets
s required for animating an element along a defined path. Note: Early versions of the spec called this property motion. ...
...osition */ offset: auto; offset: 10px 30px; offset: none; /* Offset path */ offset: ray(
45deg closest-side); offset: path('M 100 100 L 300 100 L 200 300 z'); offset: url(arc.svg); /* Offset path with distance and/or rotation */ offset: url(circle.svg) 100px; offset: url(circle.svg) 40%; offset: url(circle.svg) 30deg; offset: url(circle.svg) 50px 20deg; /* Including offset anchor */ offset: ray(
45deg closest-side) / 40px 20px; offset: url(arc.svg) 2cm / 0.5cm 3cm; offset: url(arc.svg) 30deg / 50px 100px; Formal definition Initial valueas each of the properties of the shorthand:offset-position: autooffset-path: noneoffset-distance: 0offset-anchor: autooffset-rotate: autoApplies totransformable elementsInheritednoPercentagesas each of the properties of the shorthand:offset-position: refer...
text-transform - CSS: Cascading Style Sheets
ial String <strong>I is a Lithuanian LETTER as is J</strong> </p> <p>text-transform: lowercase <strong><span lang="lt">I is a Lithuanian LETTER as is J</span></strong> </p> span { text-transform: lowercase; } strong { float: right; } This demonstrates how the Lithuanian letters I and J retain their dot when transformed to lowercase. ...
...as is J</span></strong> </p> span { text-transform: lowercase; } strong { float: right; } This demonstrates how the Lithuanian letters I and J retain their dot when transformed to lowercase. full-width (General) <p>Initial String <strong>0123
456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&()*+,-./:;<=>?@{|}~</strong> </p> <p>text-transform: full-width <strong><span>0123
456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&()*+,-./:;<=>?@{|}~</span></strong> </p> span { text-transform: full-width; } strong { width: 100%; float: right; } Some characters exists in two formats, normal width and a full-width, with different Unicode code points. The full-width version is used to mix them smoothly with Asian ideographic characters. full-width (Japanese h...
Rich-Text Editing in Mozilla - Developer guides
d(oPre); } else { if (document.all) { oDoc.innerHTML = oDoc.innerText; } else { oContent = document.createRange(); oContent.selectNodeContents(oDoc.firstChild); oDoc.innerHTML = oContent.toString(); } oDoc.contentEditable = true; } oDoc.focus(); } function printDoc() { if (!validateMode()) { return; } var oPrntWin = window.open("","_blank","width=
450,height=470,left=400,top=100,menubar=yes,toolbar=no,location=no,scrollbars=yes"); oPrntWin.document.open(); oPrntWin.document.write("<!doctype html><html><head><title>Print<\/title><\/head><body onload=\"print();\">" + oDoc.innerHTML + "<\/body><\/html>"); oPrntWin.document.close(); } </script> <style type="text/css"> .intLink { cursor: pointer; } img.intLink { border: 0; } #toolBar1 select...
...sxlYnxMAImhyDoFAElJasRRvAZVRqqQXUy7Cgx4TC6bswkAOw==" /> <img class="intLink" title="Remove formatting" onclick="formatDoc('removeFormat')" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAd0SU1FB9oECQMCKPI8CIIAAAAIdEVYdENvbW1lbnQA9syWvwAAAuhJREFUOMtjYBgFxAB501ZWBvVaL2nHnlmk6mXCJbF69zU+Hz/9fB5O1lx+bg
45qhl8/fYr5it3XrP/YWTUvvvk3VeqGXz70TvbJy8+Wv39+2/Hz19/mGwjZzuTYjALuoBv9jImaXHeyD3H7kU8fPj2ICML8z92dlbtMzdeiG3fco7J08foH1kurkm3E9iw54YvKwuTuom+LPt/BgbWf3//sf37/1/c02cCG1lB8f//f95DZx74MTMzshhoSm6szrQ/a6Ir/Z2RkfEjBxuLYFpDiDi6Af///2ckaHBp7+7wmavP5n76+P2ClrLIYl8H9W36auJCbCxM4szMTJac7Kza////R3H1w2cfWAgafPbqs5g7D95++/P1B4+ECK8tAwMDw/1H7159+/7r7ZcvPz4fOHbzEwMDwx8GBgaGnNatfHZx8zqrJ+4VJBh5CQEGOySEua/v3n7hXmqI...
Making content editable - Developer guides
"div"); } else { if (document.all) { oDoc.innerHTML = oDoc.innerText; } else { oContent = document.createRange(); oContent.selectNodeContents(oDoc.firstChild); oDoc.innerHTML = oContent.toString(); } oDoc.contentEditable = true; } oDoc.focus(); } function printDoc() { if (!validateMode()) { return; } var oPrntWin = window.open("","_blank","width=
450,height=470,left=400,top=100,menubar=yes,toolbar=no,location=no,scrollbars=yes"); oPrntWin.document.open(); oPrntWin.document.write("<!doctype html><html><head><title>Print<\/title><\/head><body onload=\"print();\">" + oDoc.innerHTML + "<\/body><\/html>"); oPrntWin.document.close(); } </script> <style type="text/css"> .intLink { cursor: pointer; } img.intLink { border: 0; } #toolBar1 select...
...sxlYnxMAImhyDoFAElJasRRvAZVRqqQXUy7Cgx4TC6bswkAOw==" /> <img class="intLink" title="Remove formatting" onclick="formatDoc('removeFormat')" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAd0SU1FB9oECQMCKPI8CIIAAAAIdEVYdENvbW1lbnQA9syWvwAAAuhJREFUOMtjYBgFxAB501ZWBvVaL2nHnlmk6mXCJbF69zU+Hz/9fB5O1lx+bg
45qhl8/fYr5it3XrP/YWTUvvvk3VeqGXz70TvbJy8+Wv39+2/Hz19/mGwjZzuTYjALuoBv9jImaXHeyD3H7kU8fPj2ICML8z92dlbtMzdeiG3fco7J08foH1kurkm3E9iw54YvKwuTuom+LPt/BgbWf3//sf37/1/c02cCG1lB8f//f95DZx74MTMzshhoSm6szrQ/a6Ir/Z2RkfEjBxuLYFpDiDi6Af///2ckaHBp7+7wmavP5n76+P2ClrLIYl8H9W36auJCbCxM4szMTJac7Kza////R3H1w2cfWAgafPbqs5g7D95++/P1B4+ECK8tAwMDw/1H7159+/7r7ZcvPz4fOHbzEwMDwx8GBgaGnNatfHZx8zqrJ+4VJBh5CQEGOySEua/v3n7hXmqI...
Constraint validation - Developer guides
itself: function checkZIP() { // For each country, defines the pattern that the ZIP has to follow var constraints = { ch : [ '^(CH-)?\\d{4}$', "Switzerland ZIPs must have exactly 4 digits: e.g. CH-1950 or 1950" ], fr : [ '^(F-)?\\d{5}$' , "France ZIPs must have exactly 5 digits: e.g. F-75012 or 75012" ], de : [ '^(D-)?\\d{5}$' , "Germany ZIPs must have exactly 5 digits: e.g. ...
...function checkZIP() { // For each country, defines the pattern that the ZIP has to follow var constraints = { ch : [ '^(CH-)?\\d{4}$', "Switzerland ZIPs must have exactly 4 digits: e.g. CH-1950 or 1950" ], fr : [ '^(F-)?\\d{5}$' , "France ZIPs must have exactly 5 digits: e.g. F-75012 or 75012" ], de : [ '^(D-)?\\d{5}$' , "Germany ZIPs must have exactly 5 digits: e.g. ...
Applying color to HTML elements using CSS - HTML: Hypertext Markup Language
box, as well as the configuration of the font used within. We also take advantage of CSS Flexbox to easily center the contents of each box. We enable flex mode using display: flex, and set both justify-content and align-items to center. Then we can create a class for each of the two boxes that defines the properties that differ between the two. .boxLeft { float: left; background-color: rgb(2
45, 130, 130); outline: 2px solid darkred; } The .boxLeft class--which, cleverly, is used to style the box on the left--floats the box to the left, then sets up the colors: The box's background color is set by changing the value of the CSS background-color property to rgb(2
45, 130, 130). An outline is defined for the box. Unlike the more commonly used border, outline doesn't affect layout at ...
...lorPicker">Border color:</label> <input type="color" value="#8888ff" id="colorPicker"> <p id="output"></p> </div> CSS The CSS simply establishes a size for the box and some basic styling for appearances. The border is also established with a 2-pixel width and a border color that won't last, courtesy of the JavaScript below... #box { width: 500px; height: 200px; border: 2px solid rgb(2
45, 220, 225); padding: 4px 6px; font: 16px "Lucida Grande", "Helvetica", "Arial", "sans-serif" } JavaScript The script here handles the task of updating the starting color of the border to match the color picker's value. Then two event handlers are added to deal with input from the <input type="color"> element. let colorPicker = document.getElementById("colorPicker"); let box = document.getE...
HTML attribute: pattern - HTML: Hypertext Markup Language
to the start of the string and its end anchored to the end of the string, which is slightly different from JavaScript regular expressions: in the case of pattern attribute, we are matching against the entire value, not just any subset, as if a ^(?: were implied at the start of the pattern and )$ at the end. ...
...t match in order to be considered valid (see Validating against a regular expression for a simple crash course on using regular expressions to validate inputs). The example below restricts the value to 4-8 characters and requires that it contain only lower-case letters. ...
<tr>: The Table Row element - HTML: Hypertext Markup Language
"row">Hoshi Nakamura</td> <td>601942</td> <td><time datetime="2012-07-23">July 23, 2012</time></td> <td>n/a</td> <td>15.00</td> </tr> </tbody> </table> CSS This time, the HTML is unchanged, so let's dive right into the CSS. table { border: 1px solid black; font: 16px "Open Sans", Helvetica, Arial, sans-serif; } thead > tr { background-color: rgb(228, 240, 2
45); } th, td { border: 1px solid black; padding:4px 6px; } While we add a font property to the <table> element here to set a more visually-appealing typeface (or an an abominable sans-serif typeface, depending on your personal opinion), the interesting part is the second style here, where we style <tr> elements located within the <thead> so they have a light blue background color. This is a ...
... be a single border instead of winding up with double borders. th, td { border: 1px solid black; padding:4px 6px; } th { vertical-align: bottom; } And here are the default styles for all table cells. Now let's customize! The top header: overall We're going to look at the top header in two pieces. First, the overall styling of the header: thead > tr { background-color: rgb(228, 240, 2
45); } thead > tr:nth-of-type(2) { border-bottom: 2px solid black; } This sets the background color of all <tr> elements in the table's heading (as specified using <thead>). Then we set the bottom border of the top header to be a two-pixel wide line. Notice, however, that we're using the :nth-of-type selector to apply border-bottom to the second row in the heading. Why? Because the heading is ma...
HTML documentation index - HTML: Hypertext Markup Language
e will never be valid, as it is impossible to meet both criteria. 44 HTML attribute: multiple Attribute, Attributes, Constraint validation The Boolean multiple attribute, if set, means the form control accepts one or more values. Valid for the email and file input types and the <select>, the manner by which the user opts for multiple values depends on the form control.
45 HTML attribute: pattern Attribute, Attributes, Constraint Validation API, Reference The pattern attribute specifies a regular expression the form control's value should match. If a non-null value doesn't conform to the constraints set by the pattern value, the ValidityState object's read-only patternMismatch property will be true. 46 HTML attribute: readonly Attribut...
...bd>: The Keyboard Input element Displaying Input, Displaying Keys, Displaying Keystrokes, Displaying User Input, Element, HTML, HTML text-level semantics, Keyboard Input, Keystroke, Reference, Web, keyboard, user input The HTML Keyboard Input element (<kbd>) represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device. 1
45 <keygen> Deprecated, Element, HTML, HTML5, Obsolete, Reference, Web The HTML <keygen> element exists to facilitate generation of key material, and submission of the public key as part of an HTML form. This mechanism is designed for use with Web-based certificate management systems. It is expected that the <keygen> element will be used in an HTML form along with other information nee...
Microformats - HTML: Hypertext Markup Language
:00">June 30, 2019 at 6:00pm (-0700)</time><br> <div class="p-location h-card"> <div> <span class="p-name">Mozilla</span> </div> <div> <span class="p-street-address">1120 NW Couch St</span>, <span class="p-locality">Portland</span>, <span class="p-region">Oregon</span>, <span class="p-country">US</span> </div> <data class="p-latitude" value="
45.523
45"></data> <data class="p-longitude" value="-122.682677"></data> </div> <div class="e-content">Come join us </div> <div> <span class="p-author h-card"><a class="u-url p-name" href="https://aaronparecki.com">Aaron Parecki</a></span> Published this <a href="https://aaronparecki.com/2019/06/29/1/" class="u-url">event </a>on <time class="dt published" datetime="2019-05-2...
...e": "Come join us", "lang": "en" } ], "location": [ { "type": [ "h-card" ], "properties": { "name": [ "Mozilla" ], p-street-address: [ "1120 NW Couch St" ] "locality": [ "Portland" ], "region": [ "Oregon" ], "country": [ "US" ], "latitude": [ "
45.523
45" ], "longitude": [ "-122.682677" ] }, "lang": "en", "value": "Mozilla" } ] }, "lang": "en" } ], ...
Proxy Auto-Configuration (PAC) file - HTTP
parts of the IP address should be matched against. 0 means ignore, 255 means match. True if and only if the IP address of the host matches the specified IP address pattern. Pattern and mask specification is done the same way as for SOCKS configuration. Examples: function alert_eval(str) { alert(str + ' is ' + eval(str)) } function FindProxyForURL(url, host) { alert_eval('isInNet(host, "63.2
45.213.24", "255.255.255.255")') // "PAC-alert: isInNet(host, "63.2
45.213.24", "255.255.255.255") is true" } dnsResolve() dnsResolve(host) Parameters host hostname to resolve. Resolves the given DNS hostname into an IP address, and returns it in the dot-separated format as a string. Example dnsResolve("www.mozilla.org"); // returns the string "104.16.41.2" convert_addr() Syntax conv...
...n the dot-separated format as a string. Example dnsResolve("www.mozilla.org"); // returns the string "104.16.41.2" convert_addr() Syntax convert_addr(ipaddr) Parameters ipaddr Any dotted address such as an IP address or mask. Concatenates the four dot-separated bytes into one 4-byte word and converts it to decimal. Example convert_addr("104.16.41.2"); // returns the decimal number 17
45889538 myIpAddress() Syntax myIpAddress() Parameters (none) Returns the server IP address of the machine Firefox is running on, as a string in the dot-separated integer format. myIpAddress() returns the same IP address as the server address returned by nslookup localhost on a Linux machine. It does not return the public IP address. Example myIpAddress() //returns the string "127.0.1.1" ...
A re-introduction to JavaScript (JS tutorial) - JavaScript
hese extend out to x = x operator y. x += 5; x = x + 5; You can use ++ and -- to increment and decrement respectively. These can be used as a prefix or postfix operators. The + operator also does string concatenation: 'hello' + ' world'; // "hello world" If you add a string to a number (or other value) everything is converted into a string first. This might trip you up: '3' + 4 + 5; // "3
45" 3 + 4 + '5'; // "75" Adding an empty string to something is a useful way of converting it to a string itself. Comparisons in JavaScript can be made using <, >, <= and >=. These work for both strings and numbers. Equality is a little less straightforward. The double-equals operator performs type coercion if you give it different types, with sometimes interesting results: 123 == '123'; // tru...
...at they don't need to be "clothed" in quotes when defining object literals. See the ES5 Spec. For more on objects and prototypes see Object.prototype. For an explanation of object prototypes and the object prototype chains see Inheritance and the prototype chain. Starting in ECMAScript 2015, object keys can be defined by the variable using bracket notation upon being created. {[phoneType]: 123
45} is possible instead of just var userPhone = {}; userPhone[phoneType] = 123
45. Arrays Arrays in JavaScript are actually a special type of object. They work very much like regular objects (numerical properties can naturally be accessed only using [] syntax) but they have one magic property called 'length'. This is always one more than the highest index in the array. One way of creating arrays ...
Grammar and types - JavaScript
leading 0x (or 0X) indicates a hexadecimal numeric type. Hexadecimal numerics can include digits (0-9) and the letters a-f and A-F. (The case of a character does not change its value. Therefore: 0xa = 0xA = 10 and 0xf = 0xF = 15.) A leading 0b (or 0B) indicates a binary numeric literal. Binary numerics can only include the digits 0 and 1. Some examples of numeric literals are: 0, 117, -3
45, 123
456789123
456789n (decimal, base 10) 015, 0001, -0o77, 0o777777777777n (octal, base 8) 0x1123, 0x00111, -0xF1A7, 0x123
456789ABCDEFn (hexadecimal, "hex" or base 16) 0b11, 0b0011, -0b11, 0b11101001010101010101n (binary, base 2) For more information, see Numeric literals in the Lexical grammar reference. Floating-point literals A floating-point literal can have the f...
...r "-"), A decimal point ("."), A fraction (another decimal number), An exponent. The exponent part is an "e" or "E" followed by an integer, which can be signed (preceded by "+" or "-"). A floating-point literal must have at least one digit, and either a decimal point or "e" (or "E"). More succinctly, the syntax is: [(+|-)][digits].[digits][(E|e)[(+|-)]digits] For example: 3.1415926 -.123
456789 -3.1E+12 .1e-23 Object literals An object literal is a list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}). Do not use an object literal at the beginning of a statement! This will lead to an error (or not behave as you expect), because the { will be interpreted as the beginning of a block. The following is an example of an obje...
Number.prototype.toPrecision() - JavaScript
ototype.toString(). If the precision argument is a non-integer value, it is rounded to the nearest integer. Exceptions RangeError If precision is not between 1 and 100 (inclusive), a RangeError is thrown. Implementations are allowed to support larger and smaller values as well. ECMA-262 only requires a precision of up to 21 significant digits. ...
...nteger value, it is rounded to the nearest integer. Exceptions RangeError If precision is not between 1 and 100 (inclusive), a RangeError is thrown. Implementations are allowed to support larger and smaller values as well. ECMA-262 only requires a precision of up to 21 significant digits. ...
Object.prototype.toLocaleString() - JavaScript
...
...0 (British Summer Time)" let deDate = testDate.toLocaleString('de'); // "29.5.2020, 18:04:24" var frDate = testDate.toLocaleString('fr'); //"29/05/2020 a 18:04:24" Number toLocaleString() override On Number objects, toLocaleString() is used to print out number displays more suitable for specific locales, e.g. with the correct separators: For example: const testNumber = 290123
4564; // "290123
4564" let deNumber = testNumber.toLocaleString('de'); // "2.901.234.564" let frNumber = testNumber.toLocaleString('fr'); // "2 901 234 564" Specifications Specification ECMAScript (ECMA-262)The definition of 'Object.prototype.toLocaleString' in that specification. ...
String.prototype.replace() - JavaScript
oups In browser versions supporting named capturing groups, will be an object whose keys are the used group names, and whose values are the matched portions (undefined if not matched). ...
.... (The exact number of arguments depends on whether the first argument is a RegExp object--and, if so, how many parenthesized submatches it specifies.) The following example will set newString to 'abc - 123
45 - #$*%': function replacer(match, p1, p2, p3, offset, string) { // p1 is nondigits, p2 digits, and p3 non-alphanumerics return [p1, p2, p3].join(' - '); } let newString = 'abc123
45#$*%'.replace(/([^\d]*)(\d*)([^\w]*)/, replacer); console.log(newString); // abc - 123
45 - #$*% Examples Defining the regular expression in replace() In the following example, the regular expression is defined in replace() and includes the ignore case flag. let str = 'Twas the night before Xmas...'; let newstr = str.replace(/xmas/i, 'Christmas'); console.log(newstr); // Twas the night befor...
WebAssembly - JavaScript
port 47Safari No support NoWebView Android Full support 61Chrome Android Full support 61Firefox Android Full support 58Opera Android Full support
45Safari iOS No support NoSamsung Internet Android Full support 8.0nodejs No support NoinstantiateChrome Full support 57Edge Full support 16Firefox Full support ...
...port 47Safari No support NoWebView Android Full support 61Chrome Android Full support 61Firefox Android Full support 58Opera Android Full support
45Safari iOS No support NoSamsung Internet Android Full support 8.0nodejs No support NovalidateChrome Full support 57Edge Full support 16Firefox Full support ...
Theme changes in Firefox 3.5 - Archive of obsolete content
e bug 394892, radio buttons and checkboxes no longer have a minimum size on Mac OS X. If your theme uses native checkboxes or radiobuttons (-moz-appearance: radio / checkbox), this can result in distorted controls. You might have to set the width and height of .checkbox-check and .radio-check to 16px to avoid that problem. Look at the patch to see what was changed for Pinstripe. Bug
450944 changed the way window shadow is handled on Mac OS X. Before that change, opaque windows always had a shadow and transparent windows never had a shadow. After that change, transparent windows also have a shadow by default. This can result in unwanted shadows in your theme, e.g. under the autoscroll icon or the identity panel. If you don't want the shadow, you can turn it off by setting the ne...
New in JavaScript 1.8.5 - Archive of obsolete content
ies on an object. bug 518663 Object.preventExtensions() Prevents any extensions of an object. bug 492849 Object.isExtensible() Determines if extending of an object is allowed. bug 492849 Object.seal() Prevents other code from deleting properties of an object. bug 4928
45 Object.isSealed() Determines if an object is sealed. bug 4928
45 Object.freeze() Freezes an object: other code can't delete or change any properties. bug 492844 Object.isFrozen() Determines if an object was frozen. bug 492844 Array.isA...
Mozilla's DOCTYPE sniffing - Archive of obsolete content
OCTYPE declaration without a DTD, i.e., <!DOCTYPE HTML>. A DOCTYPE declaration with an internal subset. Any unknown doctype, which should include the following (technically known) doctypes: The public identifier "-//W3C//DTD HTML 4.01//EN". The public identifier "-//W3C//DTD HTML 4.0//EN". The public identifier "-//W3C//DTD XHTML 1.0 Strict//EN". The public identifier "ISO/IEC 154
45:2000//DTD HyperText Markup Language//EN". The public identifier "ISO/IEC 154
45:2000//DTD HTML//EN". The public identifier "-//IETF//DTD HTML i18n//EN". Almost Standards Mode The following trigger almost standards mode. Almost standards mode was created after 1.0 and 1.1alpha, but before 1.0.1 and 1.1beta. Before almost standards mode was created these doctypes triggered full standar...
Index - Game development
s and tweens. This will result in a better, more entertaining experience. Let's explore how to implement Phaser animations and tweens in our game. 44 Bounce off the walls 2D, Beginner, Canvas, Games, JavaScript, Phaser, Tutorial, bouncing Now that physics have been introduced, we can start implementing collision detection into the game -- first we'll look at the walls.
45 Build the brick field 2D, Beginner, Canvas, Games, JavaScript, Phaser, Tutorial Building the brick field is a little bit more complicated than adding a single object to the screen, although It's still easier with Phaser than in pure JavaScript. Let's explore how to create a group of bricks and print them on screen using a loop. 46 Buttons 2D, Beginner, Buttons, Canvas...
Building up a basic demo with the PlayCanvas engine - Game development
The basic light types in PlayCanvas are directional and ambient. The first type is a directional light placed somewhere on the scene while the scond one reflects the light from the first type, so it looks more natural; this can be set globally. Again, add the new code below your previous additions. var light = new pc.Entity(); light.addComponent('light'); app.root.addChild(light); light.rotate(
45, 0, 0); It will create a light Entity component and add it to the scene. We can rotate the light on the x axis to make it shine on more than one side of the cube. It's time to add the ambient light: app.scene.ambientLight = new pc.Color(0.2, 0.2, 0.2); The code above assign a dark grey ambient light for the whole scene. The box look better now, but it could get some colors to look even bette...
2D maze game with device orientation - Game development
ction holds some basic configuration: we're setting up the scaling and alignment of the Canvas, and moving on to the Preload state when everything's ready. Preloader.js The Preloader state takes care of loading all the assets: Ball.Preloader = function(game) {}; Ball.Preloader.prototype = { preload: function() { this.preloadBg = this.add.sprite((Ball._WIDTH-297)*0.5, (Ball._HEIGHT-1
45)*0.5, 'preloaderBg'); this.preloadBar = this.add.sprite((Ball._WIDTH-158)*0.5, (Ball._HEIGHT-50)*0.5, 'preloaderBar'); this.load.setPreloadSprite(this.preloadBar); this.load.image('ball', 'img/ball.png'); // ... this.load.spritesheet('button-start', 'img/button-start.png', 146, 51); // ... this.load.audio('audio-bounce', ['audio/bounce.ogg'...
Plug-in Development Overview - Gecko Plugin API Reference
n Windows. A MIME type is made up of a major type (such as application or image) and a minor type, for example, image/jpeg. If you define a new MIME type for a plug-in, you must register it with IETF (Internet Engineering Task Force). Until your new MIME type is registered, preface its name with "x-", for example, image/x-nwim. For more information about MIME types, see these MIME RFCs: RFC-20
45: "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies" RFC-2046: "Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types" RFC-4288: "Media Type Specifications and Registration Procedures" There are some variations to how plug-ins are handled on different platforms. The following sections describe platform-specific discovery and registration: ...
Endianness - MDN Web Docs Glossary: Definitions of Web-related terms
e to an ISO date (2050-12-31). Big-endian is also often called "network byte order", because Internet standards usually require data to be stored big-endian, starting at the standard UNIX socket level and going all the way up to standardized Web binary data structures. Also, older Mac computers using 68000-series and PowerPC microprocessors formerly used big-endian. Examples with the number 0x123
45678 (i.e. 305 419 896 in decimal): little-endian: 0x78 0x56 0x34 0x12 big-endian: 0x12 0x34 0x56 0x78 mixed-endian (historic and very rare): 0x34 0x12 0x78 0x56 ...
Gutters - MDN Web Docs Glossary: Definitions of Web-related terms
and 20px-gaps between row tracks. * {box-sizing: border-box;} .wrapper { border: 2px solid #f76707; border-radius: 5px; background-color: #fff4e6; } .wrapper > div { border: 2px solid #ffa94d; border-radius: 5px; background-color: #fff8f8; padding: 1em; color: #d9480f; } .wrapper { display: grid; grid-template-columns: repeat(3,1.2fr); grid-auto-rows:
45%; grid-column-gap: 20px; grid-row-gap: 20px; } <div class="wrapper"> <div>One</div> <div>Two</div> <div>Three</div> <div>Four</div> <div>Five</div> </div> In terms of grid sizing, gaps act as if they were a regular grid track however nothing can be placed into the gap. The gap acts as if the grid line at that location has gained extra size, so any grid item placed after ...
ICE - MDN Web Docs Glossary: Definitions of Web-related terms
work-facing address of a peer) Direct TCP connection, via the HTTP port Direct TCP connection, via the HTTPS port Indirect connection via a relay/TURN server (if a direct connection fails, e.g., if one peer is behind a firewall that blocks NAT traversal) Learn more General knowledge WebRTC, the principal web-related protocol which uses ICE WebRTC protocols Technical reference RFC 52
45, the IETF specification for ICE RTCIceCandidate, the interface representing a ICE candidate ...
SDP - MDN Web Docs Glossary: Definitions of Web-related terms
SDP (Session Description Protocol) is the standard describing a peer-to-peer connection. SDP contains the codec, source address, and timing information of audio and video. Here is a typical SDP message: v=0 o=alice 289084
4526 289084
4526 IN IP4 host.anywhere.com s= c=IN IP4 host.anywhere.com t=0 0 m=audio 49170 RTP/AVP 0 a=rtpmap:0 PCMU/8000 m=video 51372 RTP/AVP 31 a=rtpmap:31 H261/90000 m=video 53000 RTP/AVP 32 a=rtpmap:32 MPV/90000 SDP is never used alone, but by protocols like RTP and RTSP. SDP is also as component of WebRTC, which uses SDP as a way of describing a session. Learn more General knowledge WebRTC protocols Session Description Protocol on Wikipedia ...
How does the Internet work? - Learn web development
e with WiFi or Bluetooth systems). All modern computers can sustain any of those connections. Note: For the rest of this article, we will only talk about physical cables, but wireless networks work the same. Such a network is not limited to two computers. You can connect as many computers as you wish. But it gets complicated quickly. If you're trying to connect, say, ten computers, you need
45 cables, with nine plugs per computer! To solve this problem, each computer on a network is connected to a special tiny computer called a router. This router has only one job: like a signaler at a railway station, it makes sure that a message sent from a given computer arrives at the right destination computer. To send a message to computer B, computer A must send the message to the router, whi...
Basic native form controls - Learn web development
coordinates are relative to the image, meaning that the upper-left corner of the image represents the coordinate (0, 0)). The coordinates are sent as two key/value pairs: The X value key is the value of the name attribute followed by the string ".x". The Y value key is the value of the name attribute followed by the string ".y". So for example when you click on the image at coordinate (123,
456) and it submits via the get method, you'll see the values appended to the URL as follows: http://foo.com?pos.x=123&pos.y=
456 This is a very convenient way to build a "hot map". How these values are sent and retrieved is detailed in the Sending form data article. File picker There is one last <input> type that came to us in early HTML: the file input type. Forms are able to send files to a se...
Example 2 - Learn web development
ancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1px 25px 2px 5px */ width : 10em; /* 100px */ border : 0.2em solid #000; /* 2px */ border-radius : 0.4em; /* 4px */ box-shadow : 0 0.1em 0.2em rgba(0,0,0,.
45); /* 0 1px 2px */ background : #F0F0F0; background : -webkit-linear-gradient(90deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); background : linear-gradient(0deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); } .select .value { display : inline-block; width : 100%; overflow : hidden; white-space : nowrap; text-overflow : ellipsis; vertical-align: top; } .select:after { content : "?"; positi...
Example 3 - Learn web development
ancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1px 25px 2px 5px */ width : 10em; /* 100px */ border : 0.2em solid #000; /* 2px */ border-radius : 0.4em; /* 4px */ box-shadow : 0 0.1em 0.2em rgba(0,0,0,.
45); /* 0 1px 2px */ background : #F0F0F0; background : -webkit-linear-gradient(90deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); background : linear-gradient(0deg, #E3E3E3, #fcfcfc 50%, #f0f0f0); } .select .value { display : inline-block; width : 100%; overflow : hidden; white-space : nowrap; text-overflow : ellipsis; vertical-align: top; } .select:after { content : "?"; positi...
clipPathUnits - SVG: Scalable Vector Graphics
ute: <clipPath> html,body,svg { height:100% } <svg viewBox="0 0 100 100"> <clipPath id="myClip1" clipPathUnits="userSpaceOnUse"> <circle cx="50" cy="50" r="35" /> </clipPath> <clipPath id="myClip2" clipPathUnits="objectBoundingBox"> <circle cx=".5" cy=".5" r=".35" /> </clipPath> <!-- Some reference rect to materialized to clip path --> <rect id="r1" x="0" y="0" width="
45" height="
45" /> <rect id="r2" x="0" y="55" width="
45" height="
45" /> <rect id="r3" x="55" y="55" width="
45" height="
45" /> <rect id="r4" x="55" y="0" width="
45" height="
45" /> <!-- The first 3 rect are clipped with useSpaceOnUse units --> <use clip-path="url(#myClip1)" xlink:href="#r1" fill="red" /> <use clip-path="url(#myClip1)" xlink:href="#r2" fill="red" /> <use clip-path="url...
color-rendering - SVG: Scalable Vector Graphics
<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(#gradient)" color-rendering="optimizeQuality" /> <text x="
45" y="50%" color-rendering="optimizeQuality">quality-optimized</text> <circle cx="100" cy="100" r="100" color-rendering="optimizeSpeed" fill="url(#gradient)" style="transform: translateX(240px);" /> <text x="290" y="50%" color-rendering="optimizeSpeed">speed-optimized</text> </svg> Usage notes Value auto | optimizeSpeed | optimizeQuality Default value auto ...
cx - SVG: Scalable Vector Graphics
s coordinate of a center point. Three elements are using this attribute: <circle>, <ellipse>, and <radialGradient> html,body,svg { height:100% } <svg viewBox="0 0 300 100" xmlns="http://www.w3.org/2000/svg"> <radialGradient cx="25%" id="myGradient"> <stop offset="0" stop-color="white" /> <stop offset="100%" stop-color="black" /> </radialGradient> <circle cx="50" cy="50" r="
45"/> <ellipse cx="150" cy="50" rx="
45" ry="25" /> <rect x="205" y="5" width="90" height="90" fill="url(#myGradient)" /> </svg> circle For <circle>, cx defines the x-axis coordinate of the center of the shape. Value <length-percentage> Default value 0 Animatable Yes Note: Starting with SVG2 cx, is a Geometry Property, meaning this attribute can al...
cy - SVG: Scalable Vector Graphics
coordinate of a center point. Three elements are using this attribute: <circle>, <ellipse>, and <radialGradient> html,body,svg { height:100% } <svg viewBox="0 0 100 300" xmlns="http://www.w3.org/2000/svg"> <radialGradient cy="25%" id="myGradient"> <stop offset="0" stop-color="white" /> <stop offset="100%" stop-color="black" /> </radialGradient> <circle cy="50" cx="50" r="
45"/> <ellipse cy="150" cx="50" rx="
45" ry="25" /> <rect x="5" y="205" width="90" height="90" fill="url(#myGradient)" /> </svg> circle For <circle>, cy defines the y-axis coordinate of the center of the shape. Value <length> | <percentage> Default value 0 Animatable Yes Note: Starting with SVG2, cy is a Geometry Property meaning this attribute can...
divisor - SVG: Scalable Vector Graphics
200" xmlns="http://www.w3.org/2000/svg"> <filter id="convolveMatrix1" x="0" y="0" width="100%" height="100%"> <feConvolveMatrix kernelMatrix="1 2 0 0 0 0 0 0 -1" divisor="1"/> </filter> <filter id="convolveMatrix2" x="0" y="0" width="100%" height="100%"> <feConvolveMatrix kernelMatrix="1 2 0 0 0 0 0 0 -1" divisor="8"/> </filter> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#convolveMatrix1);"/> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#convolveMatrix2); transform:translateX(220px);"/> </svg> Usage notes Value <number> Default value Sum of all values in kernelMatrix or 1 if su...
kernelMatrix - SVG: Scalable Vector Graphics
<svg viewBox="0 0 420 200" xmlns="http://www.w3.org/2000/svg"> <filter id="convolveMatrix1" x="0" y="0" width="100%" height="100%"> <feConvolveMatrix kernelMatrix="1 1 0 0 0 0 0 0 -1"/> </filter> <filter id="convolveMatrix2" x="0" y="0" width="100%" height="100%"> <feConvolveMatrix kernelMatrix="-1 0 0 0 0 0 0 0 1"/> </filter> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#convolveMatrix1);"/> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#convolveMatrix2); transform:translateX(220px);"/> </svg> Usage notes Value <list of numbers> Default value None Animatable Yes ...
maskContentUnits - SVG: Scalable Vector Graphics
fill="black" x="0" y="0" width="100%" height="100%" /> <circle fill="white" cx="50" cy="50" r="35" /> </mask> <mask id="myMask2" maskContentUnits="objectBoundingBox"> <rect fill="black" x="0" y="0" width="100%" height="100%" /> <circle fill="white" cx=".5" cy=".5" r=".35" /> </mask> <!-- Some reference rect to materialized the mask --> <rect id="r1" x="0" y="0" width="
45" height="
45" /> <rect id="r2" x="0" y="55" width="
45" height="
45" /> <rect id="r3" x="55" y="55" width="
45" height="
45" /> <rect id="r4" x="55" y="0" width="
45" height="
45" /> <!-- The first 3 rect are masked with useSpaceOnUse units --> <use mask="url(#myMask1)" xlink:href="#r1" fill="red" /> <use mask="url(#myMask1)" xlink:href="#r2" fill="red" /> <use mask="url(#myMask1)" xlin...
maskUnits - SVG: Scalable Vector Graphics
ght="100%" /> <circle fill="white" cx="50" cy="50" r="35" /> </mask> <mask id="myMask2" maskUnits="objectBoundingBox" x="20%" y="20%" width="60%" height="60%"> <rect fill="black" x="0" y="0" width="100%" height="100%" /> <circle fill="white" cx="50" cy="50" r="35" /> </mask> <!-- Some reference rect to materialized the mask --> <rect id="r1" x="0" y="0" width="
45" height="
45" /> <rect id="r2" x="0" y="55" width="
45" height="
45" /> <rect id="r3" x="55" y="55" width="
45" height="
45" /> <rect id="r4" x="55" y="0" width="
45" height="
45" /> <!-- The first 3 rect are masked with useSpaceOnUse units --> <use mask="url(#myMask1)" xlink:href="#r1" fill="red" /> <use mask="url(#myMask1)" xlink:href="#r2" fill="red" /> <use mask="url(#myMask1)" xlin...
mode - SVG: Scalable Vector Graphics
<feBlend in="SourceGraphic" in2="floodFill" mode="multiply"/> </filter> <filter id="blending2" x="0" y="0" width="100%" height="100%"> <feFlood result="floodFill" x="0" y="0" width="100%" height="100%" flood-color="seagreen" flood-opacity="1"/> <feBlend in="SourceGraphic" in2="floodFill" mode="color-dodge"/> </filter> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#blending1);"/> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#blending2); transform:translateX(220px);"/> </svg> Usage notes Value <blend-mode> Default value normal Animatable Yes For a descr...
orient - SVG: Scalable Vector Graphics
se means the same as auto. Note: This allows a single arrowhead marker to be defined that can be used for both the start and end of a path, i.e. which points outwards from both ends. <angle> This value indicates that the marker is oriented such that the specified angle is that measured between the shape's positive x-axis and the marker's positive x-axis. Note: For example, if a value of
45 is given, then the marker's positive x-axis would be pointing down and right in the shape's coordinate system. <number> This value indicates an angle in degrees. The marker is oriented such that the specified angle is that measured between the shape's positive x-axis and the marker's positive x-axis. Specifications Specification Status Comment Scalable Vector Gr...
path - SVG: Scalable Vector Graphics
ngs, either it defines a text path along which the characters of a text are rendered, or a motion path along which a referenced element is animated. Two elements are using this attribute: <animateMotion> and <textPath> html, body, svg { height: 100%; } <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <path id="MyPath" fill="none" stroke="silver" d="M10,90 Q90,90 90,
45 Q90,10 50,10 Q10,10 10,40 Q10,70
45,70 Q70,70 75,50" /> <text> <textPath path="M10,90 Q90,90 90,
45 Q90,10 50,10 Q10,10 10,40 Q10,70
45,70 Q70,70 75,50"> Quick brown fox jumps over the lazy dog. </textPath> </text> </svg> animateMotion For <animateMotion>, path defines the motion path, expressed in the same format and interpreted the same way as the d geometric property for...
preserveAlpha - SVG: Scalable Vector Graphics
w.w3.org/2000/svg"> <filter id="convolveMatrix1" x="0" y="0" width="100%" height="100%"> <feConvolveMatrix kernelMatrix="1 -1 2 0 0 0 0 0 -2" preserveAlpha="true"/> </filter> <filter id="convolveMatrix2" x="0" y="0" width="100%" height="100%"> <feConvolveMatrix kernelMatrix="1 -1 2 0 0 0 0 0 -2" preserveAlpha="false"/> </filter> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#convolveMatrix1);"/> <image xlink:href="//developer.mozilla.org/files/6
457/mdn_logo_only_color.png" width="200" height="200" style="filter:url(#convolveMatrix2); transform:translateX(220px);"/> </svg> Usage notes Default value false Value true | false Animatable Yes ...
startOffset - SVG: Scalable Vector Graphics
bute defines an offset from the start of the path for the initial current text position along the path after converting the path to the <textPath> element's coordinate system. Only one element is using this attribute: <textPath> html,body,svg { height:100% } <svg viewBox="0 0 220 100" xmlns="http://www.w3.org/2000/svg"> <path id="path1" fill="none" stroke="red" d="M10,90 Q90,90 90,
45 Q90,10 50,10 Q10,10 10,40 Q10,70
45,70 Q70,70 75,50" /> <path id="path2" fill="none" stroke="red" d="M130,90 Q210,90 210,
45 Q210,10 170,10 Q130,10 130,40 Q130,70 165,70 Q190,70 195,50" /> <text> <textPath href="#path1" startOffset="0"> Quick brown fox jumps over the lazy dog. </textPath> </text> <text> <textPath href="#path2" startOffset="40"> Quick brown...