Search completed in 1.12 seconds.
Event developer guide - Developer guides
there are many other sources of events defined by web browsers for which pages are not yet available in this
guide.
... note: this event developer
guide needs substantial work.
Index - Developer guides
found 43 pages: # page tags and summary 1 developer
guides api,
guide, landing, web these articles provide how-to information to help make use of specific web technologies and apis.
... 4 getting started ajax, api, advanced, javascript, webmechanics, xmlhttprequest this article
guides you through the ajax basics and gives you some simple hands-on examples to get you started.
... 6 audio and video delivery audio,
guide, html, html5, media, video whether we are dealing with pre-recorded audio files or live streams, the mechanism for making them available through the browser's <audio> and <video> elements remains pretty much the same.
...And 13 more matches
Media type and format guide: image, audio, and video content - Web media technologies
this
guide provides an overview of the media file types, codecs, and algorithms that may comprise media used on the web.
... references images image file type and format
guide covers support of image file types and content formats across the major web browsers, as well as providing basic information about each type: benefits, limitations, and use cases of interest to web designers and developers.
... image file types for web designers fundamental information about the various image file types that may be useful for web designers, including best practices and use cases for each type, and
guidelines for choosing the right image file format for specific types of content.
...And 8 more matches
Firefox addons developer guide - Archive of obsolete content
there should be some introductory text on the table of contents page at https://developer.mozilla.org/en/firefox_addons_developer_
guide obviously there are a number of fixme items in the content that need dealing with, but those are already known.
... each chapter should be tagged appropriately, based on content, and every chapter should include the tag "firefox addons developer
guide".
... the stuff about installing the dom inspector (https://developer.mozilla.org/en/firefox_addons_developer_
guide/let%27s_build_a_firefox_extension#install_the_dom_inspector) is not accurate for firefox 3 or later, since it's no longer included in the firefox installer and must be downloaded from amo.
...And 6 more matches
XUL accessibility guidelines - Archive of obsolete content
introduction welcome to the xul accessibility
guidelines.
... it is hoped that these
guidelines will be sufficiently clear and detailed that everyone—even someone with no previous background in accessibility—can understand them.
... there is also a xul accessibility tool which can help test some of these
guidelines, but please be aware that no tool can replace human judgement for accessibility, and understanding the
guidelines is vital.
...And 5 more matches
NSPR Contributor Guide
nspr wishes to document some
guidelines for those who would contribute to nspr.
... these
guidelines should help the contributor in crafting his contribution, increasing its likelihood for acceptance.
... general
guidelines downward compatibility because many different applications, besides the mozilla client, use the nspr api, the api must remain downward compatible across even major releases.
...And 5 more matches
XPCOM guide
this document attempts to help them do so, first by explaining the underlying concepts, and second by describing a number of common javascript patterns that cause leaks.creating xpcom componentsthis
guide is about gecko, and about creating xpcom components for gecko-based applications.how to build an xpcom component in javascriptif you are looking for add-on sdk solution for xpcom javascript components then check out platform/xpcom module first.inheriting from implementation classesgiven that idl interfaces map to abstract classes in c++, a common problem when dealing with idl is when you have an ...
...however, it may be useful for c++ code in the mozilla platform to run tasks on another thread.mozilla internal string
guidemost of the mozilla code uses a c++ class hierarchy to pass string data, rather than using raw pointers.
... this
guide documents the string classes which are visible to code within the mozilla codebase (code which is linked into libxul).
...And 4 more matches
XUL Coding Style Guidelines - Archive of obsolete content
to make xul files easy to read and maintain, localization friendly, and portable across user agents, we need to have a set of coding style
guidelines to ensure our objectives are achievable.
... the author has collected a set of
guidelines from various sources listed in the references section.
... while some of the
guidelines are recommended practices, the others are mandatory.
...And 3 more matches
Developer guide
this
guide provides information that will not only help you get started as a mozilla contributor, but that you'll find useful to refer to even if you are already an experienced contributor.
... documentation topics getting started a step-by-step beginner's
guide to getting involved with mozilla.
... working with mozilla source code a code overview, how to get the code, and the coding style
guide.
...And 3 more matches
NSS API Guidelines
nss api
guidelines newsgroup: mozilla.dev.tech.crypto introduction this document describes how the nss code is organized, the libraries that get built from the nss sources, and
guidelines for writing nss code.
... these
guidelines will familiarize you with some of the ways things can be done in the nss code.
... some of the
guidelines in this document, are more forward-looking than documentary.
...And 3 more matches
Localization quick start guide
this
guide is filled with all of the basic, technical information you need to get involved in the mozilla l10n program.
...as you near the end of this
guide, you should be able to make a change to firefox in your local setting and then see that change in the firefox interface.
... in closing, when you finish this
guide, you will have all the tools necessary to start contributing!
...And 2 more matches
Understanding the Web Content Accessibility Guidelines - Accessibility
this set of articles provides quick explanations to help you understand the steps that need to be taken to conform to the recommendations outlined in the w3c web content accessibility
guidelines 2.0 or 2.1 (or just wcag, for the purposes of this writing).
... the wcag 2.0 and 2.1 provide a detailed set of
guidelines for making web content more accessible to people with a wide variety of disabilities.
... each of the links below will take you to pages that further expand on these areas, giving you practical advice on how to write your web content so it conforms to the success criteria outlined in each of the wcag 2.0 and 2.1
guidelines that further sub-divides each principle.
...And 2 more matches
Audio and Video Delivery - Developer guides
you can find compatibility information in the
guide to media types and formats on the web.
...it's strongly recommended that you read the autoplay
guide for media and web audio apis to learn how to use autoplay wisely..
... video.js: gratis and open source (apache 2 licensed.) audio and video jplayer: gratis and open source (mit licensed.) mediaelement.js: gratis and open source (mit licensed.) web audio api audiocontext monkeypatch: a polyfill for older versions of the web audio api; open source (apache 2 licensed.) basic tutorials creating a cross-browser video player a
guide to creating a basic cross browser video player using the <video> element.
...And 2 more matches
Introduction to Web development - Developer guides
html elements reference
guide — a comprehensive
guide to html elements with details on how browsers support them css getting started with css — an absolute beginners
guide to css covers basic concepts and fundamentals css reference
guide — a complete
guide to css with details on the level of gecko/firefox support for each.
... the w3c introduction to styling with css — a brief
guide to styling web pages for beginners.
... javascript reference
guide — a comprehensive, regularly updated
guide to javascript for all levels of learning from beginner to advanced.
...And 2 more matches
Guides - Archive of obsolete content
contributor's
guide getting started learn how to contribute to the sdk: getting the code, opening/taking a bug, filing a patch, getting reviews, and getting help.
...this
guide explains how it's created, what it's used for and how to define your own.
... content scripts
guide an overview of content scripts, including: what they are, what they can do, how to load them, how to communicate with them.
... xul migration xul migration
guide techniques to help port a xul add-on to the sdk.
Accessibility/LiveRegionDevGuide
this developer's
guide lays out general
guidelines that assistive technology (at) developers can use in developing live region support.
... this
guide was written from an atk/at-spi point of view as part of the orca live region support project.
...sometimes the very best
guide for some developers is the code itself.
...the following are
guidelines on how to implement each container-live this property determines the interruption policy or politeness level for the event and can have values of "off", "polite", "assertive" and "rude".
HTML5 - Developer guides
html5 reference
guide quick-reference html5 sheet containing markup generators, code examples and web developer tools.
... the
guide is downloadable for ease of use and access.
... this page was created with help from the w3c as a quick
guide for those who have some basic familiarity and experience using html5.
... downloadable html5
guide a quick
guide to html5, including the common html tags as well as the new html5 tags.
User input and controls - Developer guides
note: have a look at the events reference and keyboardevent
guide to find out more about keyboard events.
... note: for further information about what you can do with touch events, please read our touch events
guide.
...</div> note: compatibility information, examples and other resources can be found in the content editable
guide.
... tutorials touch events
guide managing screen orientation using fullscreen mode dragging and dropping multiple items drag operations
guide reference mouseevent keyboardevent touch events pointer_lock_api screen orientation api fullscreen api drag & drop content editable ...
Developer guides
events developer
guide events refer to two things: a design pattern used for the asynchronous handling of various incidents which occur in the lifetime of a web page; and the naming, characterization, and use of a large number of incidents of different types.
...
guide to web apis a list of all web apis and what they do.
...this set of
guides tells you all you need to know about pwas.
...this
guide covers the algorithm in general and how it applies to content you create—especially when you build properly localized and internationalized content.
XUL Migration Guide - Archive of obsolete content
this
guide aims to help you migrate a xul-based add-on to the sdk.
... there's much more information on content scripts in the working with content scripts
guide.
... see the
guide to adding firefox menu items.
Extension Theming Guidelines - Archive of obsolete content
this is a set of
guidelines on how to control the look and feel of your extension while leaving it open for styling by custom themes.
... branding certain items of your extensions style, in particular logos and icons can be kept in the chrome content package such that they are not replaceable by custom themes stylesheets
guidelines include stylesheets for every new window that your extension adds and for every window that your extension overlays content into be sure to add a stylesheet from your chrome skin package.
... xul
guidelines xbl bindings xbl bindings are applied using style rules.
The Firefox codebase: CSS Guidelines
this document contains
guidelines defining how css inside the firefox codebase should be written, it is notably relevant for firefox front-end engineers.
...most of the time, the common component already follows the a11y/theme standards defined in this
guide.
...see the svg
guidelines for more information on svg usage.
Interface development guide
the articles linked from this page offer
guidelines for developing and using these interfaces.
...idl interface rules design
guidelines and rules when creating and changing xpcom interfaces.
...commenting idl for better documentation a
guide explaining how to properly comment your interface's idl in order to ensure that not only can others understand your interface, but to ensure that the documentation here on mdc is as accurate as possible.
XPCOM array guide
this
guide describes the available arrays as well as the enumerator classes that can be used to get to them.
... array
guidelines here are a few simple rules which will keep your code clean and your developers happy: use typesafe arrays like nscomarray<t> nstarray<t> wherever possible.
...for more information about the different types of strings, see the string
guide.
Mozilla internal string guide
this
guide documents the string classes which are visible to code within the mozilla codebase (code which is linked into libxul).
... c++ signatures in idl, in parameters are read-only, and the c++ signatures for *string parameters follows the above
guidelines by using const nsastring& for these parameters.
... string
guidelines follow these simple rules in your code to keep your fellow developers, reviewers, and users happy.
Getting Started Guide
don't worry; the getting started
guide is short.
...the document some com ownership
guidelines provides some hints on when ownership is needed.
...see some com ownership
guidelines.
PWA developer guide - Progressive web apps (PWAs)
in the articles listed here, you'll find
guides about every aspect of development specific to the greation of progressive web applications (pwas).
...<<<--- web app basics introduction and getting started with pwa development some description installing and uninstalling web apps an introductory
guide to how a web app can be installed on the user's device...
...shing data from the server to your web application some description resource management description integration with the host device description security and privacy description gaming topics for web app developers description polishing web apps web api equivalents for common native apis some description platform-specific tips and issues description web application performance
guide description ensuring a good user experience description related topics some topic some description ...
SVG Guidelines
authoring
guidelines a lot of svg files (particularly those generated by svg editors) ship without being cleaned up and can contain a ton of junk that bloats the file size and slows down rendering.
...see svg authoring
guidelines.
Mozilla DOM Hacking Guide
user's
guide to class info warning: this document has not yet been reviewed by the dom gurus, it might contain some errors.
...i will try to update this
guide as soon as possible.
GC Rooting Guide
introduction this
guide explains the basics of interacting with spidermonkey's gc as a spidermonkey api user.
... if you use these types directly, or create classes, structs or arrays that contain them, you must follow the rules set out in this
guide.
Detailed XPCOM hashtable guide
this is the long version of xpcom hashtable
guide.
...a basic
guide is included here, but you should read most of xpcom/glue/pldhash.h if you intend to use pldhash.
WebRTC coding guide - Web APIs
this coding
guide will explain in depth how webrtc works, and will dive into actual code that uses webrtc to do useful things.
... if you need to learn more about the fundamentals of how webrtc and its protocols work, check out our high-level
guides for webrtc.
High-level guides - Web APIs
the high-level
guides listed below introduce webrtc technology from a top-down perspective, describing the overall architecture, the life cycle of a webrtc connection, and basic security and technological issues you might run into as you explore and build web content or apps using the webrtc api.
... when you're ready to explore webrtc in more depth, be sure to take a look at our low-level
guide to webrtc.
Cross-browser audio basics - Developer guides
this article provides: a basic
guide to creating a cross-browser html5 audio player with all the associated attributes, properties, and events explained a
guide to custom controls created using the media api basic audio example the code below is an example of a basic audio implementation using html5: <audio controls> <source src="audiofile.mp3" type="audio/mpeg"> <source src="audiofile.ogg" type="audio/ogg"> <!-- fallback for non supporting browsers goes here --> <p>your browser does not support html5 audio, but you can still <a href="audiofile.mp3">download the music</a>.</p> </audio> note: you can also use an mp4 file instead of mp3.
...see the autoplay
guide for media and web audio apis for details.
Writing forward-compatible websites - Developer guides
ask the authors of any javascript libraries you use to also follow these
guidelines suggest to the developers of your favorite libraries that they follow these
guidelines too.
...unfortunately, libraries are common transgressors of these
guidelines.
JavaScript Guide - JavaScript
the javascript
guide shows you how to use javascript and gives an overview of the language.
... chapters this
guide is divided into several chapters: introduction about this
guide about javascript javascript and java ecmascript tools hello world grammar and types basic syntax & comments declarations variable scope variable hoisting data structures and types literals control flow and error handling if...else switch try/catch/throw error objects loops and iteration for while do...while break/continue for..in for..of functions defining functions calling functions function scope closures arguments & parameters arrow functions expressions and operators assignment & comparisons arithmet...
Autoplay guide for media and Web Audio APIs - Web media technologies
in this
guide, we'll cover autoplay functionality in the various media and web audio apis, including a brief overview of how to use autoplay and how to work with browsers to handle autoplay blocking gracefully.
...the exact situations that result in blocking, and the specifics of how sites become whitelisted vary from browser to browser, but the above are good
guidelines to go by.
Image file type and format guide - Web media technologies
in this
guide, we'll cover the image file types generally supported by web browsers, and provide insights that will help you select the most appropriate formats to use for your site's imagery.
... mime type image/webp file extension(s) .webp specification riff container specification rfc 6386: vp8 data format and decoding
guide (lossy encoding) webp lossless bitstream specification browser compatibility feature chrome edge firefox internet explorer opera safari lossy webp support 17 18 65 no 11.10 (presto) 15 (blink) no lossless webp 2...
Web video codec guide - Web media technologies
this
guide introduces the video codecs you're most likely to encounter or consider using on the web, summaries of their capabilities and any compatibility and utility concerns, and advice to help you choose the right codec for your project's video.
... the simplest
guideline is this: anything that makes the encoded video look more like the original, uncompressed, video will generally make the resulting data larger as well.
Editor Embedding Guide - Archive of obsolete content
commandparam->getbooleanvalue("state_enabled",&boolval); original document information authors: michael judge (mjudge@netscape.com) contributor: kathleen brade (brade@netscape.com) last updated date: march 27, 2003 original document: a
guide to embedding the gecko editor ...
Beginner's guide to media queries - Learn web development
previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Index - Archive of obsolete content
12
guides add-on sdk no summary!
...self provides: 23 contributor's
guide no summary!
... 39 xul migration
guide no summary!
...And 123 more matches
Index - Web APIs
225 background tasks api api, background tasks api,
guide, idledeadline, overview, cancelidlecallback, requestidlecallback the cooperative scheduling of background tasks api (also referred to as the background tasks api or simply the requestidlecallback() api) provides the ability to queue tasks to be executed automatically by the user agent when it determines that there is free time to do so.
... 263 battery status api api, apps, battery, battery api, battery status api,
guide, mobile, obsolete, overview the battery status api, more often referred to as the battery api, provides information about the system's battery charge level and lets you be notified by events that are sent when the battery level or charging status change.
... 273 beacon api
guide, overview, web performance, user behavior tracker, user tracker the beacon interface is used to schedule an asynchronous and non-blocking request to a web server.
...And 109 more matches
Index - Learn web development
5 css and javascript accessibility best practices accessibility, article, css, codingscripting,
guide, javascript, learn, color, contrast, hiding, unobtrusive we hope this article has given you a good amount of detail and understanding about the accessibility issues surrounding css and javascript use on web pages.
... 10 wai-aria basics aria, accessibility, article, beginner, codingscripting,
guide, html, javascript, learn, wai-aria, semantics this article has by no means covered all that's available in wai-aria, but it should have given you enough information to understand how to use it, and know some of the most common patterns you will encounter that require it.
... beginner, github,
guide, web, gh-pages, git, publish github is a "social coding" site.
...And 99 more matches
Index - Archive of obsolete content
424 file
guide see io 425 accessing files file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 426 getting file information file and stream
guide: [ nsiscriptableio | accessing files | g...
...etting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 427 io file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 428 moving, copying and deleting files file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 429 reading from files file and stream
guide: [ nsiscriptableio | accessing f...
...iles | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 430 toc file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 431 uploading and downloading files file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 432 working with directories file and stream
guide: [ nsiscriptableio |...
...And 58 more matches
Index - Firefox Developer Tools
found 158 pages: # page tags and summary 1 firefox developer tools developing mozilla,
guide, tools, web development, web development:tools, l10n:priority firefox developer tools is a set of web developer tools built into firefox.
... 3 accessibility inspector accessibility, accessibility inspector, devtools,
guide, tools the accessibility inspector provides a means to access important information exposed to assistive technologies on the current page via the accessibility tree, allowing you to check what's missing or otherwise needs attention.
... 4 color vision simulation accessibility, accessibility inspector, color blindness, devtools,
guide, simulation, tools the simulator in the accessibility inspector in firefox developer tools lets you see what a web page would look like to users with various forms of color vision deficiency (better known as "color blindness"), as well as contrast sensitivity loss.
...And 36 more matches
Index
6 creating a python xpcom component
guide, needshelp, pyxpcom, xpcom, xpcom:language bindings creating applications with mozilla already provides a tutorial for making a simple javascript or c++ component (implementing the nsisimple interface).
... 45 components.utils.scheduleprecisegc
guide, needscontent, xpcom, xpcom:language bindings, xpconnect this method lets scripts schedule a garbage collection cycle.
... 54 plxpcom
guide, mozilla, plxpcom, xpcom, xpcom:language bindings plxpcom (perl xpcom) provides language bindings letting you use xpcom from perl code.
...And 32 more matches
HTTP Index - HTTP
a complete document is reconstructed from the different sub-documents fetched, for instance text, layout description, images, videos, scripts, and more 4 basics of http
guide, http, overview http is a pretty extensible protocol.
... 5 choosing between www and non-www urls
guide, http, url a recurring question among website owners is whether to choose non-www or www urls.
... 6 data urls base64,
guide, http, intermediate, url data urls, urls prefixed with the data: scheme, allow content creators to embed small files inline in documents.
...And 17 more matches
Cognitive accessibility - Accessibility
wcag
guidelines wcag, web content accessibility
guidelines, includes several
guidelines to improve cognitive accessibility.
... these
guidelines are published by the web accessibility initiative (wai) of the world wide web consortium (w3c), the main international standards organization for the internet.
... this group is also responsible for the accessible rich internet application (aria)
guidelines.
...And 15 more matches
Index
2 creating javascript tests automated testing, build documentation,
guide, qa, spidermonkey in which test suite does your new test belong?
... 3 creating javascript jstest reftests ecmascript,
guide, javascript, test in the js/src/tests directory, there are a few important subdirectories.
... 4 foss
guide, spidermonkey feel free to add your own spidermonkey-based open source projects (and if necessary add categories)!
...And 14 more matches
Index
10 localization notes
guide, internationalization, localization, mozilla localizers usually work on the localizable files without the context of the source files including the localized strings; it is important to add comments to the localizable files themselves, too.
... 12 localization quick start
guide guide, translation this
guide is filled with all of the basic, technical information you need to get involved in the mozilla l10n program.
...here, we'll continue to stay true to the original intent of this
guide and only present you with the technical information you need to become an official release.
...And 12 more matches
Accessibility documentation index - Accessibility
it supplements html so that interactions and widgets commonly used in applications can be passed to assistive technologies 3 aria screen reader implementors
guide aria, accessibility this is just a
guide.
... 6 aria
guides aria accessible rich internet applications (aria) defines ways to make the web more accessible to people with disabilities.
... a few
guidelines to follow that ensure better accessibility, like using drag and drop for placement of the widgets.
...And 11 more matches
Mozilla’s UAAG evaluation report
the uaag document contains a very rich set of accessibility
guidelines, that broadly define how accessibility should be implemented by any user agent, i.e.
... rating scale c: complete implementation vg: very good implementation, almost all requirements satisfied g: good implementation, most important requirements satisfied p: poor implementation, some requirements satisfied and/or difficult for user to access feature ni: not implemented nr: not rated na: not applicable document under construction
guideline 1.
...(p1) c status line and alert boxes used to convey messages and alerts
guideline 2.
...And 10 more matches
Mozilla
an introduction to hacking mozilla this
guide introduces the mozilla project and provides an overview for developers interested in contributing to or exploring the various parts of the codebase.
...these articles provide important
guides and references to ensuring the code you write is secure, including both design recommendations and testing
guidelines.
... building mozilla in this article, we list documents that will
guide you in building firefox or other projects based upon mozilla code.
...And 10 more matches
Operable - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the operable principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for operable and its
guidelines and success criteria, see principle 2: operable — user interface components and navigation must be operable.
...
guideline 2.1 — keyboard accessible: make all functionality available from a keyboard this
guideline covers the necessity of making core website functionality available via a keyboard in addition to other means (e.g.
...And 10 more matches
Border-image generator - CSS: Cascading Style Sheets
<div class="property right"> <div class="name">section height</div> <div class="ui-input-slider" data-topic="preview-area-height" data-min="400" data-max="1000"> </div> </div> </div> <div id="preview_section" class="group section"> <div id="subject"> <div class="
guideline" data-axis="y" data-topic="slice-top"></div> <div class="
guideline" data-axis="x" data-topic="slice-right"></div> <div class="
guideline" data-axis="y" data-topic="slice-bottom"></div> <div class="
guideline" data-axis="x" data-topic="slice-left"></div> </div> <div id="preview"> </div> </div> <!-- controls ...
...preview_section { position: relative; min-height: 400px; } /* image control */ #subject { width: 300px; height: 300px; background-repeat: no-repeat; background-size: 100%; background-color: #fff; border: 1px solid #ccc; position: absolute; z-index: 10; top: 15%; left: 10%; box-shadow: 0 0 3px 0 #bababa; transition-property: width, height; transition-duration: 0.1s; } #subject .
guideline { background-color: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.3); position: absolute; } #subject .
guideline:hover { background-color: #f00; } #subject .
guideline[data-active] { background-color: #f00; z-index: 10; } #subject .
guideline[data-axis='x'] { width: 1px; height: 100%; top: -1px; } #subject .
guideline[data-axis='y'] { width: 100%; height: 1px; left: ...
...-1px; } #subject .
guideline[data-axis='x']:hover { cursor: w-resize; } #subject .
guideline[data-axis='y']:hover { cursor: s-resize; } #subject .relative { position: relative; font-size: 12px; } #subject .tooltip, #subject .tooltip2 { width: 40px; height: 20px; line-height: 20px; font-size: 12px; text-align: center; position: absolute; opacity: 0.5; transition: opacity 0.25s; } #subject .tooltip { background: #eee; border-radius: 2px; border: 1px solid #ccc; } #subject .tooltip2{ color: #555; } #subject [data-active] > * { opacity: 1; } #subject .tooltip[data-info='top'] { top: -10px; right: -50px; } #subject .tooltip[data-info='right'] { bottom: -30px; right: -20px; } #subject .tooltip[data-info='bottom'] { top: -10px; left: -50px; } #subject .tooltip[data-in...
...And 10 more matches
WebXR Device API - Web APIs
guides and tutorials the following
guides and tutorials are a great resource to learn how to comprehend webxr and the underlying 3d and vr/ar graphics concepts.
... matrix math for the web a
guide covering how matrices can be used on the web, including both for css transforms and for webgl purposes, as well as to handle the positioning and orientation of objects in webxr contexts.
...this
guide covers how to create and stop webxr sessions.
...And 9 more matches
Accessibility Information for Web Authors - Accessibility
guidelines and regulations section 508
guidelines for web authors these
guidelines must be followed by u.s.
...other organizations such as schools are starting to follow these
guidelines as well.
... web content accessibility
guidelines (wcag) 1.0 another important set of
guidelines from the w3c web accessibility initiative (wai).
...And 8 more matches
Perceivable - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the perceivable principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for perceivable and its
guidelines and success criteria, see principle 1: perceivable - information and user interface components must be presentable to users in ways they can perceive.
...
guideline 1.1 — providing text alternatives for non-text content the key here is that text can be converted to other forms that people with disabilities can use.
...And 8 more matches
Index of archived content - Archive of obsolete content
.htaccess ( hypertext access ) 2015 mdn fellowship program api navigator navigator.moznotification add-ons add-on sdk builder
guides content scripts communicating with other scripts communicating using "port" communicating using "postmessage" cross-domain content scripts interacting with page scripts loading content scripts reddit example port self ...
... contributor's
guide classes and inheritance content processes getting started modules private properties firefox compatibility module structure of the sdk porting the library detector program id sdk api lifecycle sdk and xul comparison testing the add-on sdk two types of scripts working with events xul migration
guide high-level apis addon-page base64 clipboard ...
...references deploying a plugin as an extension developing add-ons displaying web content in an extension without security issues downloading json and javascript in extensions enhanced extension installation extension etiquette extension library extension packaging extension samples extension theming
guidelines extension versioning, update and compatibility extensions support in seamonkey 2 firefox addons developer
guide hiding browser chrome hotfix extension how to convert an overlay extension to restartless inline options install manifests installing extensions and themes from web pages interaction...
...And 7 more matches
Index
3 building nss
guide, nss, security this page has detailed information on how to build nss.
... 14 http delegation advanced,
guide, nss up to version 3.11, nss connects directly over http to an ocsp responder to make the request and fetch the response.
... 15 http delegation advanced,
guide, nss up to version 3.11, nss connects directly over http to an ocsp responder to make the request and fetch the response.
...And 7 more matches
Links and Resources
guidelines & standards information and resources on section 508 - legal policy for us government purchases requiring software accessibility.
... wai - web accessibility initiative web content accessibility
guidelines (wcag) 1.0 the first set of official
guidelines from the w3c web accessibility initiative (wai).
... the european union is looking to base their upcoming accessibility regulations on these
guidelines.
...And 6 more matches
Understandable - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the understandable principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for understandable and its
guidelines and success criteria, see principle 3: understandable — information and the operation of user interface must be understandable.
...
guideline 3.1 — readable: make text content readable and understandable this
guideline focuses on making text content as understandable as possible.
...And 6 more matches
Web media technologies
guides overview of media technology on the web a general look at the open web technologies and apis that provide support for audio and video playback, manipulation, and recording.
... using audio and video in html a
guide to using the html <audio> and <video> elements.
... accessibility
guide for media in web design in this
guide, we cover ways web designers and developers can create content that is accessible to people with different capabilities.
...And 6 more matches
Progressive web apps (PWAs)
to find out how to implement pwas, read through our pwa developer
guide.
...this
guide explains how a2hs is used, and what you need to do as a developer to allow your users to take advantage of it.how to make pwas installablein this article, we learned about how we can make pwas installable with a properly-configured web manifest, and how the user can then install the pwa with the "add to home screen" feature of their browser.how to make pwas re-engageable using notifications and pushhaving the ability to ...
...we will start with analyzing the js13kpwa application, why it is built that way, and what benefits it brings.pwa developer
guidein the articles listed here, you'll find
guides about every aspect of development specific to the greation of progressive web applications (pwas).structural overview of progressive web appsin this structural overview, we'll look at the features that make up a standard web application, as well as some design patterns you can follow when building your pwa.
...And 6 more matches
Organizing your CSS - Learn web development
does your project have a coding style
guide?
... if you are working with a team on an existing project, the first thing to check is whether the project has an existing style
guide for css.
... the team style
guide should always win over your own personal preferences.
...And 5 more matches
Application Translation with Mercurial
if it is a red text consisting of a number and the word 'missing', then there are untranslated texts and you can move on with this
guide.
...the firefox extension scrapbook is used in this
guide.
... install it into your default firefox profile (you will have more than one profile when following this
guide).
...And 5 more matches
What is accessibility? - Learn web development
see our cross-browser testing screen readers
guide for more details on using them.
...websites must conform with the w3c’s web content accessibility
guidelines, including cognitive accessibility
guidelines.
... the w3c’s cognitive and learning disabilities accessibility task force produces web accessibility
guidelines for people with cognitive impairments.
...And 4 more matches
nsISupportsArray
inherits from: nsicollection last changed in gecko 1.7 method overview boolean appendelements(in nsisupportsarray aelements); violates the xpcom interface
guidelines nsisupportsarray clone(); void compact(); void deleteelementat(in unsigned long aindex); void deletelastelement(in nsisupports aelement); nsisupports elementat(in unsigned long aindex); violates the xpcom interface
guidelines boolean enumeratebackwards(in nsisupportsarrayenumfunc afunc, in voidptr adata); violates the xpcom interface
guidelines boolean enumerateforwards(in nsisupportsarrayenumfunc afunc, in voidptr adata); violates the xpcom interface
guidelines boolean equals([const] in nsisupportsarray other); violates...
... the xpcom interface
guidelines long getindexof(in nsisupports apossibleelement); long getindexofstartingat(in nsisupports apossibleelement, in unsigned long astartindex); long getlastindexof(in nsisupports apossibleelement); long indexof([const] in nsisupports apossibleelement); violates the xpcom interface
guidelines long indexofstartingat([const] in nsisupports apossibleelement, in unsigned long astartindex); violates the xpcom interface
guidelines boolean insertelementat(in nsisupports aelement, in unsigned long aindex); violates the xpcom interface
guidelines boolean insertelementsat(in nsisupportsarray aother, in unsigned long aindex); violates the xpcom interface
guidelines long lastindexof([const] in nsisupports apossibleelement); violates the xpcom interface
guidelines ...
... boolean moveelement(in long afrom, in long ato); violates the xpcom interface
guidelines boolean removeelementat(in unsigned long aindex); violates the xpcom interface
guidelines boolean removeelementsat(in unsigned long aindex, in unsigned long acount); violates the xpcom interface
guidelines boolean removelastelement([const] in nsisupports aelement); violates the xpcom interface
guidelines boolean replaceelementat(in nsisupports aelement, in unsigned long aindex); violates the xpcom interface
guidelines boolean sizeto(in long asize); violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines appendelements() boolean appendelements( in nsisupportsarray aelements ); parameters aelements return value clone() nsisupportsarray clone(); para...
...And 4 more matches
WebRTC API - Web APIs
more details and links to relevant
guides and tutorials needed webrtc reference because webrtc provides interfaces that work together to accomplish a variety of tasks, we have divided up the reference by category.
...
guides introduction to webrtc protocols this article introduces the protocols on top of which the webrtc api is built.
... webrtc connectivity a
guide to how webrtc connections work and how the various protocols and interfaces can be used together to build powerful communication apps.
...And 4 more matches
Layout using named grid lines - CSS: Cascading Style Sheets
in previous
guides we’ve looked at placing items by the lines created by defining grid tracks and also how to place items using named template areas.
... in this
guide we are going to look at how these two things work together when we use named lines.
...to demonstrate i’ll use the simple layout created in the
guide on line-based placement.
...And 4 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
9 atag atag, accessibility, authoring tool accessibility
guidelines, glossary atag (authoring tool accessibility
guidelines) is a w3c recommendation for building accessible-authoring tools that produce accessible contents.
... 46 cia glossary, security cia (confidentiality, integrity, availability) (also called the cia triad or aic triad) is a model that
guides an organization's policies for information security.
... 236 internet beginner, glossary,
guide, intro, needscontent, tutorial, web, webmechanics the internet is a worldwide network of networks that uses the internet protocol suite (also named tcp/ip from its two most important protocols).
...And 3 more matches
NSS Tools certutil
these usages are described under standard x.509 v3 certificate extensions in appendix a.3 of thered hat certificate system administration
guide.
...constraint extensions are described in standard x.509 v3 certificate extensions in appendix a.3 of thered hat certificate system administration
guide.
...authority key id extensions are described under standard x.509 v3 certificate extensions in appendix b.3 of thered hat certificate system administration
guide.
...And 3 more matches
nsIDOMEvent
method overview boolean deserialize(in constipcmessageptr amsg, out voidptr aiter); violates the xpcom interface
guidelines void duplicateprivatedata(); native code only!
... nseventptr getinternalnsevent(); violates the xpcom interface
guidelines boolean getpreventdefault(); deprecated since gecko 16.0 void initevent(in domstring eventtypearg, in boolean canbubblearg, in boolean cancelablearg); boolean isdispatchstopped(); violates the xpcom interface
guidelines void preventbubble(); obsolete since gecko 24 void preventcapture(); obsolete since gecko 24 void preventdefault(); void serialize(in ipcmessageptr amsg, in boolean aserializeinterfacetype); violates the xpcom interface
guidelines void settarget(in nsidomeventtarget atarget); native code only!
... move 0x02000000 resize 0x04000000 forward 0x08000000 help 0x10000000 back 0x20000000 text 0x40000000 alt_mask 0x00000001 control_mask 0x00000002 shift_mask 0x00000004 meta_mask 0x00000008 methods violates the xpcom interface
guidelines deserialize() boolean deserialize( in constipcmessageptr amsg, out voidptr aiter ); parameters amsg aiter return value native code only!duplicateprivatedata void duplicateprivatedata(); parameters none.
...And 3 more matches
Accessibility and Spacial Patterns - Accessibility
in 2005, arnold wilkins, john emmett, and graham harding evaluated the
guidelines for characterizing patterned images that could precipitate seizures.
... they revised the
guidelines to their fundamental core, and came up with a surprisingly simple, but powerful test.
... which they published in the paper, characterizing the patterned images that precipitate seizures and optimizing
guidelines to prevent them the steps necessary to evaluate material reduce to the following: look at the screen are there more than five stripes?
...And 3 more matches
HTML documentation index - HTML: Hypertext Markup Language
3 applying color to html elements using css beginner, css, css colors,
guide, html, html colors, html styles, styling html, color with css, there are lots of ways to add color to your html elements to create just the look you want.
... 4 block-level elements beginner, development,
guide, html, html5, web html (hypertext markup language) elements historically were categorized as either "block-level" elements or "inline-level" elements.
... 5 dash adaptive streaming for html 5 video
guide, html, html5 dynamic adaptive streaming over http (dash) is an adaptive streaming protocol.
...And 3 more matches
CSS Houdini
the houdini apis below you can find links to the main reference pages covering the apis that fall under the houdini umbrella, along with links to
guides to help you if you need guidance in learning how to use them.
... no
guide or reference has currently been written for this api.
... css properties and values api reference css properties and values api
guide css typed om converting cssom value strings into meaningfully typed javascript representations and back can incur a significant performance overhead.
...And 3 more matches
Codecs used by WebRTC - Web media technologies
this
guide reviews the codecs that browsers are required to implement as well as other codecs that some or all browsers support for webrtc.
...this
guide reviews the codecs that browsers are required to implement as well as other codecs that some or all browsers support for webrtc.
... other video codecs codec name profile(s) browser compatibility vp9 — chrome (48+), firefox vp8 vp8, which we describe in general in the main
guide to video codecs used on the web, has some specific requirements that must be followed when using it to encode or decode a video track on a webrtc connection.
...And 3 more matches
Web Performance
we cover them in this section: key performance
guides animation performance and frame rateanimation on the web can be done via svg, javascript, including <canvas> and webgl, css animation, <video>, animated gifs and even animated pngs and other image types.
...to understand how to improve performance and perceived performance, it helps to understand how the browser works.recommended web performance timings: how long is too long?there are no clear set rules as to what constitutes a slow pace when loading pages, but there are specific
guidelines for indicating content will load (1 second), idling (50ms), animating (16.7s) and responding to user input (50 to 200ms).the business case for web performanceyou know web performance is important, but how do you convince clients and management to invest in performance and make it a priority.
... using performance apis performance api this
guide describes how to use the performance interfaces that are defined in the high-resolution time standard.
...And 3 more matches
Internationalized Domain Names (IDN) Support in Mozilla Browsers
as an example, an output string to be sent to a dns server for a japanese domain name, "http://ジェーピーニック.jp", will look like the following in ace form: http://xn--hckqz9bzb1cyrb.jp domain name registration after the technical standards were established by ietf, the last remaining issue was for domain name registrars to agree on an international
guideline on the use of idn characters.
... this was accomplished by the publication of the icann
guideline for idn in june of 2003.
...icann = internet corporation for assigned names and numbers.) the
guideline allows domain name registrars in each country to limit the use of characters for domain names.
...And 2 more matches
Mozilla Content Localized in Your Language
this section of the style
guide is for you to author.
...enjoy developing your style
guide!
... your language's style
guide abbreviations how are abbreviations expressed in your language?
...And 2 more matches
Introduction to XPCOM for the DOM
the understanding of the content of this document is a requirement to read the rest of the dom hacking
guide.
...for more information about nscomptr's, please read the user's
guide.
...more about this in the xpcom ownership
guide.
...And 2 more matches
imgIContainer
nsiframe getrootlayoutframe(); violates the xpcom interface
guidelines pruint16 gettype(); violates the xpcom interface
guidelines void init(in print32 awidth, in print32 aheight, in imgicontainerobserver aobserver); obsolete since gecko 2.0 void lockimage(); void removeframe(in gfxiimageframe item); obsolete since gecko 1.9.2 void requestdecode(); void requestdiscard(); void requestrefresh([co...
...nst] in timestamp atime); violates the xpcom interface
guidelines void resetanimation(); void restoredatadone(); native code only!
...return value missing description exceptions thrown missing exception missing description violates the xpcom interface
guidelines getrootlayoutframe() if this image is type_vector, that is really an embedded svg document, and this method returns a pointer to the root nsiframe of that document.
...And 2 more matches
nsISHEntry
nsdocshelleditordataptr forgeteditordata(); violates the xpcom interface
guidelines nsicontentviewer getanycontentviewer(out nsishentry ownerentry); void getscrollposition(out long x, out long y); void getviewerbounds(in nsintrect bounds); native code only!
... boolean hasdetachededitor(); violates the xpcom interface
guidelines boolean hasdynamicallyaddedchild(); boolean isdynamicallyadded(); void seteditordata(in nsdocshelleditordataptr adata); violates the xpcom interface
guidelines void setissubframe(in boolean aflag); void setscrollposition(in long x, in long y); void settitle(in astring atitle); void setuniquedocidentifier(); void seturi(in nsiuri auri); void setviewerbounds(in nsintrect bounds); native code only!
... in astring title, in nsiinputstream inputstream, in nsilayouthistorystate layouthistorystate, in nsisupports cachekey, in acstring contenttype, in nsisupports owner, in unsigned long long docshellid, in boolean dynamiccreation ); parameters uri title inputstream layouthistorystate cachekey contenttype owner docshellid dynamiccreation violates the xpcom interface
guidelines forgeteditordata() gets the owning pointer to the editor data assosicated with this shistory entry.
...And 2 more matches
Applying styles and colors - Web APIs
i also added two
guides to see the exact differences between the three.
... each of these lines starts and ends exactly on these
guides.
...you'll notice that it's drawn completely flush with the
guides.
...And 2 more matches
WebGL: 2D and 3D graphics for the web - Web APIs
guides and tutorials below, you'll find an assortment of
guides to help you learn webgl concepts and tutorials that offer step-by-step lessons and examples.
...
guides data in webgl a
guide to variables, buffers, and other types of data used when writing webgl code.
... using extensions a
guide to using webgl extensions.
...And 2 more matches
Lighting a WebXR setting - Web APIs
this
guide discusses these topics.
... and while this article provides brief reminders as to how lighting works in general, it is not by any means a tutorial in lighting or a
guide to how to create a properly-lit 3d scene.
... flashback: simulating lighting in 3d although this article isn't a comprehensive
guide to lighting a 3d scene, it's useful to provide a brief reminder as to how lighting works in general.
...And 2 more matches
Robust - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the robust principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for robust and its
guidelines and success criteria, see principle 4: robust — content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
...
guideline 4.1 — compatible: maximize compatibility with current and future user agents, including assistive technologies this
guideline focuses on making content as compatible as possible, not only with current user agents (e.g.
...And 2 more matches
Block and inline layout in normal flow - CSS: Cascading Style Sheets
in this
guide, we will explore the basics of how block and inline elements behave when they are part of the normal flow.
...the behavior on block and inline elements is the same when working in a vertical writing mode, and we will explore this in a future
guide on flow layout and writing modes.
... in this
guide, we will be working in english and therefore a horizontal writing mode.
...And 2 more matches
CSS grids, logical values, and writing modes - CSS: Cascading Style Sheets
in these
guides, i have already touched on an important feature of grid layout: the support for different writing modes that is built into the specification.
... for this
guide, we will look at this feature of grid and other modern layout methods, learning a little about writing modes and logical vs.
...we need a new reference point, and this is where understanding the block and inline axes, that we met previously in the
guide to alignment, becomes very useful.
...And 2 more matches
Grid template areas - CSS: Cascading Style Sheets
in the previous
guide we looked at grid lines, and how to position items against those lines.
... the following code creates a layout using grid-template that is the same as the layout created earlier in this
guide.
... .wrapper { display: grid; grid: "hd hd hd hd hd hd hd hd hd" minmax(100px, auto) "sd sd sd main main main main main main" minmax(100px, auto) "ft ft ft ft ft ft ft ft ft" minmax(100px, auto) / 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr ; } we will revisit the other functionality offered by this shorthand later in these
guides when we take a look at auto placement and the grid-auto-flow property.
...And 2 more matches
Realizing common layouts using CSS Grid Layout - CSS: Cascading Style Sheets
to round off this set of
guides to css grid layout, i am going to walk through a few different layouts, which demonstrate some of the different techniques you can use when designing with grid layout.
... i am going to create this layout using the named template areas that we learned about in the
guide grid template areas.
...here i am keeping everything in source order, trying to avoid any disconnect between the source and display as described in the
guide grid layout and accessibility.
...And 2 more matches
<audio>: The Embed Audio element - HTML: Hypertext Markup Language
see our autoplay
guide for additional information about how to properly use autoplay.
...here is a <a href="myaudio.mp4">link to the audio</a> instead.</p> </audio> we offer a substantive and thorough
guide to media file types and the audio codecs that can be used within them.
... also available is a
guide to the codecs supported for video.
...And 2 more matches
Introduction - JavaScript
what you should already know this
guide assumes you have the following basic background: a general understanding of the internet and the world wide web (www).
... javascript
guide (this
guide) provides an overview about the javascript language and its objects.
... if you are new to javascript, start with the articles in the learning area and the javascript
guide.
...And 2 more matches
Tutorials
creating a simple web page with html an html
guide for beginners that includes explanations of common tags, including html5 tags.
... also includes a step-by-step
guide to creating a basic web page with code examples.
... quick
guide to implement web fonts (with @font-face) the @font-face feature from css3 allows you to use custom typefaces on the web in an accessible, manipulatable, and scalable way.
...And 2 more matches
Add-on SDK - Archive of obsolete content
guides contributor's
guide learn how to start contributing to the sdk and about the most important idioms used in the sdk code such as modules, classes and inheritance, private properties, and content processes.
... content scripts a detailed
guide to working with content scripts.
... xul migration a
guide to porting xul add-ons to the sdk.
... this
guide includes a comparison of the two toolsets and a working example of porting a xul add-on.
Creating custom Firefox extensions with the Mozilla build system - Archive of obsolete content
if you are just looking to create an xpcom component or two, this is probably overkill, and you might want to take a look at this
guide instead.
...if someone can confirm this and/or provide
guidelines for what's different, i'll update the article to incorporate this information.
... on windows platforms the first time i built mozilla i used this
guide.
...here's a comprehensive looking
guide that's gotten good reviews.
DTrace - Archive of obsolete content
optimizing javascript with dtrace a
guide on profiling javascript code using dtrace.
... adding probes a
guide on creating probes and the build system magic needed to add probes to your code.
... pounce on dtrace a
guide to using dtrace on mac os x 10.5.
... community dtrace forums #dtrace on irc.freenode.org sun's dtrace howto
guide tools nightly trunk builds for solaris dtracetoolkit related topics javascript ...
Special Condition Tests - Archive of obsolete content
for instance, we might use the following: <vbox datasources="template-
guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood"> <template> <rule parent="vbox"> <groupbox uri="rdf:*"> <caption label="rdf:http://purl.org/dc/elements/1.1/title"/> </groupbox> </rule> <rule> <label uri="rdf:*" value="rdf:http://www.xulplanet.com/rdf/address"/> </rule> </template> </vbox> on the first pass, the container where g...
...here is the same example using the extended template syntax: <vbox datasources="template-
guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood"> <template> <query> <content uri="?start"/> <member container="?start" child="?item"/> </query> <rule parent="vbox"> <binding subject="?item" predicate="http://purl.org/dc/elements/1.1/title" object="?title"/> <action> <groupbox uri="?item"> <caption label="?title"/> ...
...<button label="houses in my neighbourhood" type="menu" datasources="template-
guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood"> <template> <rule iscontainer="true"> <menupopup> <menu uri="rdf:*" label="rdf:http://purl.org/dc/elements/1.1/title"/> </menupopup> </rule> <rule> <menupopup> <menuitem uri="rdf:*" label="rdf:http://www.xulplanet.com/rdf/address"/> </menupopup> </rule> </template> <...
...for instance, we might add the following to the previous example: <button label="houses in my neighbourhood" type="menu" datasources="template-
guide-streets.rdf" containment="http://www.xulplanet.com/rdf/address" ref="http://www.xulplanet.com/rdf/myneighbourhood"> the houses do have a value for the 'http://www.xulplanet.com/rdf/address' predicate, so they will also be considered to be containers as well, resulting in another level of menus.
Template Builder Interface - Archive of obsolete content
this isn't a very common technique, however, here is an example of how this can be used: <html:div id="photoslist" datasources="template-
guide-photos5.rdf" ref="http://www.xulplanet.com/rdf/myphotos" xmlns:html="http://www.w3.org/1999/xhtml"> <html:h1>my photos</html:h1> <template> <html:p uri="rdf:*"><textnode value="rdf:http://purl.org/dc/elements/1.1/title"/></html:p> </template> </html:div> this example generates three paragraphs.
...for example: <vbox datasources="template-
guide-photos5.rdf template-
guide-streets.rdf"> sometimes, you will want to calculate the datasource to be used and attach it to the template later.
... getservice(components.interfaces.nsirdfservice); var ds = rdf.getdatasource("http://www.xulplanet.com/ndeakin/tests/xul/template-
guide-streets.rdf"); var tree = document.getelementbyid("thetree"); tree.database.adddatasource(ds); tree.builder.rebuild(); this is the typical way to add a datasource to an element, in this case to the tree with the id 'thetree'.
...for instance: var tree = document.getelementbyid("thetree"); tree.datasources = "template-
guide-photos5.rdf template-
guide-streets.rdf"; this will also change the datasources used.
XUL accessibility tool - Archive of obsolete content
it is designed to test (insofar as automated testing is possible) the
guidelines and requirement for creating accessible xul as set forth in the xul accessibility
guidelines, and to report on any problems found in tested documents.
... (aaronandy) link report sections to relevant part of xul a11y
guidelines.
... ideas for further work on xul a11y some general ideas for using the tool and
guidelines to further the accessibility cause within the mozilla project.
... add usability, i18n, security and other considerations to xul a11y
guidelines -- make them more general sprinkle the a11y techniques throughout the turorial and reference.
XUL - Archive of obsolete content
xul tutorial a
guided tutorial that will help you get started with xul, originally from xulplanet.
... documentation xul tutorial a
guided tutorial that will help you get started with xul, originally from xulplanet.
... menus and popups
guide a
guide on using menus and popup panels.
... template
guide a detailed
guide on xul templates, which is a means of generating content from a datasource.
Common Firefox theme issues and solutions - Archive of obsolete content
it is a companion document to the amo editors
guide common theme problems, which provides editors with "boilerplate" copy and paste review notes for common theme issues.
...ve > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon, #identity-box[open=true] > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon { -moz-image-region: rect(0, 48px, 16px, 32px); } #page-proxy-favicon[pageproxystate="invalid"] { opacity: 0.5; } for more information about identity boxes please see the identity box section of the amo editors theme review
guidelines no visual clue for disabled url bars there needs to be a visual clue when url bar is disabled.
... resources amo editors theme testing
guidelines when developing and testing your themes, please refer to the theme testing
guidelines amo editors use to review themes.
... this
guide will help you thoroughly test your theme to find and fix issues before you push updates to amo.
Index - Game development
6 introduction to game development for the web firefox os, games,
guide, mobile no summary!
... 11 techniques for game development games,
guide this page lists essential core techniques for anyone wanting to develop games using open web technologies.
...this article provides a detailed
guide to implementing audio for web games, looking at what works currently across as wide a range of platforms as possible.
... 39 tools for game development games, gecko,
guide, javascript on this page you can find links to our game development tools articles, which eventually aims to cover frameworks, compilers, and debugging tools.
CSS building blocks - Learn web development
guides this module contains the following articles, which cover the most essential parts of the css language.
...in this
guide, you will learn what it is and how to manage it.
...this article provides a
guide to making html tables look good, with some specific table styling techniques highlighted.
...the following assessments will test your understanding of the css covered in the
guides above.
Git and GitHub - Learn web development
guides note that the links below take you to resources on external sites.
... hello world (from github) this is a good place to start — this practical
guide gets you to jump right into using github, learning the basics of git such as creating repositories and branches, making commits, and opening and merging pull requests.
...this
guide explains how.
... about pull requests (from github) a useful
guide to managing pull requests, the way that your suggested code changes are delivered to people's repositories for consideration.
Accessibility and Mozilla
this page describes a number of design-related aspects to look out for, in no particular order.accessibility/liveregiondev
guidethis page is currently under construction.
... this developer's
guide lays out general
guidelines that assistive technology (at) developers can use in developing live region support.
... this
guide was written from an atk/at-spi point of view as part of the orca live region support project.
...here is a rundown of problems and the planned solutions:mozilla's section 508 compliancemozilla’s uaag evaluation reportthe uaag document contains a very rich set of accessibility
guidelines, that broadly define how accessibility should be implemented by any user agent, i.e.
Index
675 creating an appealing add-on listing add-ons, beginner,
guide, webextension, publishing there are two essential steps to getting people to use your add-on: they need to discover your add-on and open the listing page, then the listing page needs to encourage them to click the add to firefox button.
... 676 index add-ons, glossary,
guide, index found 689 pages: 677 signing and distributing your add-on add-ons, extensions, webextensions, distribution, publication, reviews, signing add-ons need to be signed before they can be installed into release and beta versions of firefox.
... 678 make money from browser extensions
guide, monetization, webextensions, distribution while users can download browser extensions for firefox free of cost from addons.mozilla.org (amo), this doesn’t mean you can’t make money from browser extensions, and to a more limited extent themes.
... 687 using the amo theme generator amo, add-ons, firefox,
guide, tutorial, add-on the theme generator on addons.mozilla.org (amo)
guides you through the process of creating a theme for firefox.
Contributing to the Mozilla code base
this page should
guide you through the initial steps of contributing to mozilla.
...your mentor will help
guide you with the bug fix and through the submission and landing process.
...here are some further resources to help: ask for help in a comment on the bug, or in #introduction:mozilla.org or #developers:mozilla.org check out https://developer.mozilla.org/docs/developer_
guide and its parent document, https://developer.mozilla.org/docs/mozilla our reviewer checklist is very useful, if you have a patch near completion, and seek a favorable review utilize our build tool mach, its linting, static analysis, and other code checking features step 3: get your code reviewed once you fix the bug, you can advance to having your code reviewed.
...we'll be integrating some information from these pages soon, but until then you may find them interesting in their current form: a
guide to learning the mozilla codebase a beginner's
guide to spidermonkey, mozilla's javascript engine mozilla platform development cheatsheet (archive.org) ...
Preferences
mozilla preference reference a reference
guide to all mozilla preferences; currently a work in progress.
... a brief
guide to mozilla preferences an introductory
guide to where preferences are stored and other useful information about the core preference system.
... mozilla networking preferences a
guide to key networking-related preferences.
... mozilla preferences for uber-geeks a
guide to preferences that only truly elite geeks should play with.
Exact Stack Rooting
this
guide is intended for spidermonkey hackers!
... users of the spidermonkey api will want to read the gc rooting
guide instead.
... introduction this
guide explains the basics of interacting with the gc from spidermonkey.
...this traditional usage is ambiguous and this
guide will use live or alive instead of rooted to avoid confusion.
JIT Optimization Strategies
inline caches are an order of magnitude slower than the other optimization strategies, and are an indication that the type inference engine has failed to collect enough information to
guide the optimization process.
... inline caches are an order of magnitude slower than the other optimization strategies, and are an indication that the type inference engine has failed to collect enough information to
guide the optimization process.
... inline caches are an order of magnitude slower than the other optimization strategies, and are an indication that the type inference engine has failed to collect enough information to
guide the optimization process.
... inline caches are an order of magnitude slower than the other optimization strategies, and are an indication that the type inference engine has failed to collect enough information to
guide the optimization process.
SpiderMonkey: The Mozilla JavaScript runtime
guides building spidermonkey build documentation how to get spidermonkey source code, build it, and run the test suite.
... jsapi user
guide this
guide provides an overview of spidermonkey and describes how you can embed engine calls in your applications to make them javascript-aware.
... gc rooting
guide guide on how to write code compatible with the generational gc in spidermonkey.
... hacking on spidermonkey new to spidermonkey a
guide to hacking on spidermonkey.
nsIVariant
nsresult getasarray(out pruint16 type, out nsiid iid, out pruint32 count, out voidptr ptr); violates the xpcom interface
guidelines astring getasastring(); native code only!
... nsresult getasid(out nsid retval); violates the xpcom interface
guidelines print16 getasint16(); native code only!
... violates the xpcom interface
guidelines getasarray() nsresult getasarray( out pruint16 type, out nsiid iid, out pruint32 count, out voidptr ptr ); parameters type the type of the array elements.
... violates the xpcom interface
guidelines getasid() nsresult getasid( out nsid retval ); parameters retval if the internal value is an iid then it is returned.
Using the Gecko SDK
this
guide explains how to build xpcom components in c++ using the gecko sdk.
...(more information on xpcom is available at the xpcom project page.) the intent of this
guide is to help you build your components "the right way" such that they will remain compatible with future versions of mozilla.
...(<tt>about:buildconfig</tt> can be loaded in mozilla to reveal details about the compiler that was used.) for the remainder of this
guide, we'll assume you are developing components under linux.
... (ports of this
guide are welcome.) a "frozen" interface or function is guaranteed to be supported by future versions of same major version of the platform.
XPCOM
this
guide provides some explanation and advice on how to choose between them.observer notificationsthe following are topics that you can observe during the course of an application.
...it allows developers to link only against the frozen xpcom method symbols and maintain compatibility with multiple versions of xpcom.xpcom
guidethese articles provide tutorials and usage documentation for xpcom, including how to use it in your own projects and how to build xpcom components for your firefox add-ons and the like.xpcom ownership
guidelines...naturally.
...porting this code is required in order to make mozilla run on any given platform.xptcall porting
guideoriginal author: john bandhauer, 31 may 1999.xptcall porting statusthis is a status page for the multiplatform porting of xptcall.
... xptcall has a faq and a porting
guide.
UI Tour - Firefox Developer Tools
it covers the three top-level components of the inspector's ui: the "select element" button the html pane the css pane this
guide is intentionally kept as short as possible.
... it links to various how to
guides for the details of how to work with the inspector.
... to learn how to select an element, see the
guide to selecting an element.
...to learn more about the structure of the html pane, see the
guide to examining and editing html.
CanvasRenderingContext2D.lineCap - Web APIs
two
guides to see the exact differences between the three are added.
... each of these lines starts and ends exactly on these
guides.
...it's drawn completely flush with the
guides.
... <canvas id="canvas" width="150" height="150"></canvas> const canvas = document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); const linecap = ['butt', 'round', 'square']; // draw
guides ctx.strokestyle = '#09f'; ctx.beginpath(); ctx.moveto(10, 10); ctx.lineto(140, 10); ctx.moveto(10, 140); ctx.lineto(140, 140); ctx.stroke(); // draw lines ctx.strokestyle = 'black'; for (let i = 0; i < linecap.length; i++) { ctx.linewidth = 15; ctx.linecap = linecap[i]; ctx.beginpath(); ctx.moveto(25 + i * 50, 10); ctx.lineto(25 + i * 50, 140); ctx.stroke(); } screenshotlive sampl...
Key Values - Web APIs
keycode_tv_audio_description_mix_up (253) "tvcontentsmenu" displays or hides the media contents available for playback (this may be a channel
guide showing the currently airing programs, or a list of media files to play).
... vk_store_favorite_3 "
guide" toggles the display of the program or content
guide.
... vk_
guide qt::key_
guide (0x0100011a) keycode_
guide (172) "
guidenextday" if the
guide is currently displayed, this button tells the
guide to display the next day's content.
... vk_next_day "
guidepreviousday" if the
guide is currently displayed, this button tells the
guide to display the previous day's content.
Typical use cases of Flexbox - CSS: Cascading Style Sheets
in this
guide we will take a look at some of the common use cases for flexbox — those places where it makes more sense than another layout method.
...in this
guide i look at some of the typical things you might use flexbox for today.
...you could either take the content as a
guide and set both to flex: auto, in which case they would grow and shrink from the size of the content or any size applied directly to the flex items such as a width on the image.
...the flex properties we use to do this are described in detail in the
guide controlling ratios of flex items along the main axis.
Introduction to formatting contexts - CSS: Cascading Style Sheets
as explained in the
guide to in-flow and out of flow elements, the float has been taken out of flow so the background and border of the div only contain the content and not the float.
... other formatting contexts this
guide covers flow layout and is therefore not referring to other possible formatting contexts.
... summary in this
guide, we have looked in more detail at the block and inline formatting contexts and the important subject of creating a block formatting context (bfc).
... in the next
guide, we will find out how normal flow interacts with different writing modes.
CSS Fonts - CSS: Cascading Style Sheets
ont-variant-ligatures: normal; font-size: 2rem; letter-spacing: 1px; } <p>three hundred years ago<br> i thought i might get some sleep<br> i stretched myself out onna antique bed<br> an' my spirit did a midnite creep</p> the result is as follows: variable fonts examples you can find a number of variable fonts examples at v-fonts.com and axis-praxis.org; see also our variable fonts
guide for more information and usage information.
...e font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-variation-settings font-weight line-height at-rules @font-face font-family font-feature-settings font-style font-variant font-weight font-stretch src unicode-range @font-feature-values
guides fundamental text and font styling in this beginner's learning article we go through all the basic fundamentals of text/font styling in detail, including setting font weight, family and style, font shorthand, text alignment and other effects, and line and letter spacing.
... opentype font features
guide font features or variants refer to different glyphs or character styles contained within an opentype font.
... variable fonts
guide variable fonts are an evolution of the opentype font specification that enables many different variations of a typeface to be incorporated into a single file, rather than having a separate font file for every width, weight, or style.
Basic Concepts of grid layout - CSS: Cascading Style Sheets
the features shown in this overview will then be explained in greater detail in the rest of this
guide.
...lines can also be named, and we will look at how to do this in a later
guide in this series.
...at the present time, some browsers do not support the unprefixed versions which is why the live examples in this
guide use grid- prefixed versions.
...have a play with the code examples, and then move onto the next part of this
guide where we will really start to dig into the detail of css grid layout.
Relationship of grid layout to other layout methods - CSS: Cascading Style Sheets
in this
guide, i will explain how a grid fits together with other techniques you may already be using.
... in a later
guide in this series, i’ll be taking a proper look at box alignment and how it works in grid layout.
... as you can see from this
guide, css grid layout is just one part of your toolkit.
... see also flexbox
guides multiple-column layout
guides ...
Overview of CSS Shapes - CSS: Cascading Style Sheets
there are a number of ways to create these shapes and in these
guides we will find out how css shapes work, and consider some ways you might like to use them.
... in our
guide to basic shapes we explore each of the possible basic shapes and how to create them.
... to explore the box values in more detail see our
guide covering shapes from box values.
... we take a deeper look at creating shapes from images in the shapes from images
guide.
<video>: The Video Embed element - HTML: Hypertext Markup Language
see our autoplay
guide for additional information about how to properly use autoplay.
...here is a <a href="myvideo.mp4">link to the video</a> instead.</p> </video> we offer a substantive and thorough
guide to media file types and the
guide to the codecs supported for video.
... also available is a
guide to audio codecs that can be used with them.
... mdn adding captions and subtitles to html5 video web video text tracks format (webvtt) webaim: captions, transcripts, and audio descriptions mdn understanding wcag,
guideline 1.2 explanations understanding success criterion 1.2.1 | w3c understanding wcag 2.0 understanding success criterion 1.2.2 | w3c understanding wcag 2.0 technical summary content categories flow content, phrasing content, embedded content.
MIME types (IANA media types) - HTTP
our media container formats
guide provides a list of the file types that are commonly supported by web browsers, including information about what their special use cases may be, any drawbacks they have, and compatibility information, along with other details.
... the audio codec and video codec
guides list the various codecs that web browsers often support, providing compatibility details along with technical information such as how many audio channels they support, what sort of compression is used, and what bit rates and so forth they're useful at.
... the codecs used by webrtc
guide expands upon this by specifically covering the codecs supported by the major web browsers, so you can choose the codecs that best cover the range of browsers you wish to support.
...see the media container formats
guide for that.
MathML documentation index - MathML
3 examples beginner, example,
guide, mathml, needsbeginnerupdate below you'll find some examples you can look at to help you to understand how to use mathml to display increasingly complex mathematical concepts in web content.
... 4 mathml: deriving the quadratic formula beginner, education, example,
guide, html5, mathml, needsbeginnerupdate this page outlines the derivation of the quadratic formula.
... 5 proving the pythagorean theorem beginner, example,
guide, html5 math, math education, mathml, needsbeginnerupdate we will now prove the pythagorean theorem: 6 mathml attribute reference mathml, mathml reference this is an alphabetical list of mathml attributes.
... 7 values
guide, mathml, mathml reference several mathml presentation elements have attributes that accept length values used for size or spacing.
SVG documentation index - SVG: Scalable Vector Graphics
tags and summary 1 svg: scalable vector graphics 2d graphics, graphics, icons, images, reference, responsive design, svg, scalable graphics, scalable images, vector graphics, web, l10n:priority scalable vector graphics (svg) are an xml-based markup language for describing two-dimensional based vector graphics.xml 2 applying svg effects to html content css,
guide, html, svg modern browsers support using svg within css styles to apply graphical effects to html content.
... 5 linking
guide, svg the target attribute on the svg <a> element doesn't work in mozilla firefox 1.5.
... 278 introduction beginner,
guide, needsbeginnerupdate, needsupdate, svg, svg:tutorial, tutorial svg is an xml language, similar to xhtml, which can be used to draw vector graphics, such as the ones shown to the right.
... 285 svg and css css, css:getting_started, example,
guide, intermediate, needsupdate, svg, web below you'll create a simple demonstration that runs in your svg-enabled browser.
widget - Archive of obsolete content
72, label: "player", contenturl: data.url("buttons.html"), contentscriptfile: data.url("button-script.js") }); player.port.on("play", function() { console.log("playing"); }); player.port.on("pause", function() { console.log("pausing"); }); player.port.on("stop", function() { console.log("stopping"); }); to learn much more about content scripts, see the working with content scripts
guide.
... port object that allows you to: send events to the content script using the port.emit function receive events from the content script using the port.on function see the
guide to communicating using port for details.
... port object that allows you to: send events to the content script using the port.emit function receive events from the content script using the port.on see the
guide to communicating using port for details.
Bootstrapped extensions - Archive of obsolete content
see this tutorial on converting from an overlay extension to restartless for a practical step by step
guide to migrating.
... further reading how to convert an overlay extension to restartless a step by step
guide.
...the page is based on and expanded from dave garrett's step-by-step
guide to convert an old overlay based extension into a restartless addon.
Developing add-ons - Archive of obsolete content
this page will help
guide you to the information you need in order to create add-ons for firefox, thunderbird, or other software based on the mozilla platform, as well as how to distribute your add-ons.
... addons.mozilla.org (amo) api developers'
guide the amo developers'
guide describes how to use the amo api to fetch information about add-ons from the addons.mozilla.org site.
... performance performance
guides and utilities to help you make your add-on perform well (and to play nicely with others).
Mozilla Documentation Roadmap - Archive of obsolete content
the mozilla developer center this is the official and most extensive
guide to everything related to mozilla.
...it encompasses firefox, other mozilla products, javascript, css, xul, web and extension development
guidelines, accessibility, usability, best practices...
... the amo developer hub the amo developer hub is a great
guide for add-on developers.
Add-ons - Archive of obsolete content
firefox addons developer
guide the original document is in japanese and distributed via the xuldev.org website.
... security best practices in extensions this document is intended as a
guide for developers to promote best practices in securing your extension.
...some items mentioned are strict
guidelines, meaning that if you don't follow them then your add-on will not be approved on mozilla add-ons.
Building Trees - Archive of obsolete content
to use the tree builder, you need to add a flags attribute to the root node: <tree datasources="template-
guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood" flags="dont-build-content"> the dont-build-content flag causes no content to be built for the template.
...here is an example (using an rdf source): <tree id="photoslist" flex="1" datasources="template-
guide-photos5.rdf" ref="http://www.xulplanet.com/rdf/myphotos" flags="dont-build-content"> <treecols> <treecol id="name" label="name" flex="1"/> <treecol id="date" label="date" flex="1"/> </treecols> <template> <treechildren> <treeitem uri="rdf:*"> <treerow> <treecell label="rdf:http://purl.org/dc/elements/1.1/title"/> <treecell label="rdf:http:...
...for example: <tree id="photoslist" flex="1" datasources="template-
guide-photos5.rdf" ref="http://www.xulplanet.com/rdf/myphotos" flags="dont-build-content"> <treecols> <treecol id="photo" label="photo" flex="1"/> </treecols> <template> <treechildren> <treeitem uri="rdf:*"> <treerow> <treecell src="rdf:*"/> </treerow> </treeitem> </treechildren> </template> </tree> this tree displays each photo in the tr...
Multiple Queries - Archive of obsolete content
here is an example using an rdf datasource: <hbox id="photoslist" datasources="template-
guide-photos3.rdf" ref="http://www.xulplanet.com/rdf/myphotos"> <template> <queryset> <query> <content uri="?start"/> <member container="?start" child="?photo"/> <triple subject="?photo" predicate="http://purl.org/dc/elements/1.1/title" object="canal"/> </query> <action> <button uri="?photo" image="?photo" lab...
...here is the previous example rewritten using the simple syntax: <hbox id="photoslist" datasources="template-
guide-photos3.rdf" ref="http://www.xulplanet.com/rdf/myphotos" xmlns:dc="http://purl.org/dc/elements/1.1/"> <template> <rule dc:title="canal"> <button uri="rdf:*" image="rdf:*" label="view" orient="vertical"/> </rule> <rule> <image uri="rdf:*" src="rdf:*"/> </rule> </template> </hbox> the result to the user in this example is the same as the previous example...
... <hbox id="photoslist" datasources="template-
guide-photos3.rdf" ref="http://www.xulplanet.com/rdf/myphotos" xmlns:dc="http://purl.org/dc/elements/1.1/"> <template dc:title="canal"> <button uri="rdf:*" image="rdf:*" label="view" orient="vertical"/> </template> </hbox> this example shows only a single photo since a condition is used to filter out the other two photos.
Skinning XUL Files by Hand - Archive of obsolete content
to keep your xul looking consistent and to avoid breaking skins altogether (when your styles have some dependency on a part of the global skin that changes, such as an image), use the style rules in the global skin by importing it into your stylesheet with the following instruction: @import url("chrome://global/skin/"); refer to the document writing skinnable xul and css for
guidelines on how to make your skins friendly to the global skin, to xul, and to mozilla.
...0px; font-size: 9pt; } menu#edit { color: red; } other style subgroups contextualsubgroups -- elements appearing within other elements, such as italicized text anywhere within a <p> element or a <div> -- can be grouped in css, but this is an extremely inefficient way to style xul, and is frowned upon in the mozilla development community (again, refer to the skinning
guidelines in writing skinnable xul and css for more info); css2 also provides some new ways to group elements for styling, which we summarize briefly here, because they appear in mozilla with some frequency, but reserve for another article: pseudo-class parent-child element:pseudo-class { attribute: value; } parent > child { attribute: value; } button:hover { ...
... when you reload the xul file you have been working on, the box element you have used to create the navigation area in the xul file appear as follows: the skinned browser is not much to look at right now -- and you may note that this basic skin has transgressed upon some of the skinning
guidelines because it overrides color information, but you can get a sense of what the possibilities are with the combination of the xul structure and the style rules of css.
Using IO Timeout And Interrupt On NT - Archive of obsolete content
due to a limitation of the present implementation of nspr io on nt, programs must follow the following
guideline: if a thread calls an nspr io function on a file descriptor and the io function fails with <tt>pr_io_timeout_error</tt> or <tt>pr_pending_interrupt_error</tt>, the file descriptor must be closed before the thread exits.
... in this memo we explain the problem this
guideline is trying to work around and discuss its limitations.
... conclusions as long as we need to support nt 3.51, we need to program under the
guideline that after an io timeout or interrupt error, the thread must make sure the file descriptor is closed before it exits.
Choosing Standards Compliance Over Proprietary Practices - Archive of obsolete content
all businesses are expected and required to follow the
guidelines set forth by the fasb.
...by following the
guidelines that have been put into place, organizations like aol can enhance user experience, interoperability, code reuse, shared resources, and goodwill while reducing costs.
...by integrating and supporting the accessibility
guidelines, an organization can offer their product lines or services to a larger and more diverse user base.
Archive of obsolete content
solaris 10 build prerequisites sunbird theme tutorial this tutorial is a step-by-step
guide to making a theme for sunbird 0.3a1 and later versions.
...this short
guide will allow you to learn more about web services.
...due to a limitation of the present implementation of nspr io on nt, programs must follow the following
guideline: using ssh to connect to cvs using web standards in your web pages using workers in extensions this article shows you how to use worker threads in extensions to perform tasks in the background without blocking the user interface.
WCAG - MDN Web Docs Glossary: Definitions of Web-related terms
web content accessibility
guidelines (wcag) are a recommendation published by the web accessibility initiative group at the w3c.
... they outline a set of
guidelines for making content accessible primarily for people with disabilities but also for limited-resource devices such as mobile phones.
...it consists of 12
guidelines organized under 4 principles (perceivable, operable, understandable, and robust) and each
guideline has testable success criteria.
HTML: A good basis for accessibility - Learn web development
see our screen readers
guide for more details.
... webaim: links and hypertext - hypertext links mdn understanding wcag,
guideline 3.2 explanations g200: opening new windows and tabs from a link only when necessary | w3c techniques for wcag 2.0 g201: giving users advanced warning when opening a new window | w3c techniques for wcag 2.0 skip links a skip link, also known as skipnav, is an a element placed as close as possible to the opening <body> element that links to the beginning of the page's main content.
... webaim: "skip navigation" links how–to: use skip navigation links - the a11y project mdn understanding wcag,
guideline 2.4 explanations understanding success criterion 2.4.1 | w3c understanding wcag 2.0 proximity large amounts of interactive content—including anchors—placed in close visual proximity to each other should have space inserted to separate them.
HTML: A good basis for accessibility - Learn web development
see our screen readers
guide for more details.
... webaim: links and hypertext - hypertext links mdn understanding wcag,
guideline 3.2 explanations g200: opening new windows and tabs from a link only when necessary | w3c techniques for wcag 2.0 g201: giving users advanced warning when opening a new window | w3c techniques for wcag 2.0 skip links a skip link, also known as skipnav, is an a element placed as close as possible to the opening <body> element that links to the beginning of the page's main content.
... webaim: "skip navigation" links how–to: use skip navigation links - the a11y project mdn understanding wcag,
guideline 2.4 explanations understanding success criterion 2.4.1 | w3c understanding wcag 2.0 proximity large amounts of interactive content—including anchors—placed in close visual proximity to each other should have space inserted to separate them.
Supporting older browsers - Learn web development
this also means that there are some outdated articles and tutorials in existence; this useful
guide helps you check what you are looking at and can also help if you need flex support in very old browsers.
... the
guide to progressive enhancement in grid layout can help you understand the ie version of the grid, and we have included some additional useful links at the end of this lesson.
... cascading web design with feature queries using feature queries (video) previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
CSS layout - Learn web development
guides these articles will provide instruction on the fundamental layout tools and techniques available in css.
...after studying this
guide you can test your flexbox skills to check your understanding before moving on.
... beginner's
guide to media queries the css media query gives you a way to apply css only when the browser and device environment matches a rule that you specify, for example "viewport is wider than 480 pixels".
Client-side form validation - Learn web development
it isn't only good user experience, it is required by wcag accessibility
guidelines.
... note: for further information, see our constraint validation
guide, and the constraint validation api reference.
... in order to reduce the user's frustration, it's very important to provide as much helpful information as possible in order to
guide them in correcting their inputs.
Web forms — Working with user data - Learn web development
at this point you should find the introductory
guides easy to understand, and also be able to make use of our basic native form controls
guide.
... introductory
guides your first form the first article in our series provides your very first experience of creating a web form, including designing a simple form, implementing it using the right html elements, adding some very simple styling via css, and how data is sent to a server.
... form styling
guides styling web forms this article provides an introduction to styling forms with css, including all the basics you might need to know for basic styling tasks.
Getting started with Ember - Learn web development
there are a couple of github issues open about this on the todomvc family of projects: add keyboard access to demos re-enable outline on focusable elements ember has a strong commitment to being accessible by default and there is an entire section of the ember
guides on accessibility on what it means for website / app design.
...if you don't have one configured already, the ember atlas has some
guides on how to set up various editors.
...ollowing code: let app = new emberapp(defaults, { // add options here }); add the following lines underneath it before saving the file: app.import('node_modules/todomvc-common/base.css'); app.import('node_modules/todomvc-app-css/index.css'); for more information on what ember-cli-build.js does, and for other ways in which you can customize your build / pipeline, the ember
guides have a page on addons and dependencies.
Ember resources and troubleshooting - Learn web development
further resources ember.js
guides tutorial: super rentals ember.js api documentation ember.js discord server — a forum/chat server where you can meet the ember community, ask for help, and help others!
... for framework-specific things, there is the ember-inspector add-on, which allows inspection of: routes & controllers components services promises data (i.e: from a remote api — from ember-data, by default) deprecation information render performance for general javascript debugging, check out our
guides on javascript debugging as well as interacting with the browser's other debugging tools.
... for more information on sourcemaps, why they're needed, and what the ember-cli does with them, see the advanced use: asset compilation
guide.
Understanding client-side JavaScript frameworks - Learn web development
get started introductory
guides 1.
... we are publishing our initial set of articles with
guides focusing on four frameworks.
... note that we were hoping to have more frameworks included upon initial publication, but we decided to release the content and then add more framework
guides later, rather than delay it longer.
Information for External Developers Dealing with Accessibility
implementing an msaa server, a practical
guide a document for developers who need to support microsoft active accessibility (msaa) in a desktop application, in order to make it accessible with 3rd party assistive technologies, containing practical tips and the details of mozilla's implementation.
... in addition, here is a list of official keyboard ui
guidelines for each desktop: windows keys:
guidelines on keyboard ui design and on implementing keyboard shortcuts: an excellent resource from microsoft.
... gnome keys: keyboard documentation for gnome 2.2: still seeking developer
guidelines for keyboard.
What to do and what not to do in Bugzilla
it also governs which bug entry form you are presented with first (either the
guided or advanced forms).
... confirming unconfirmed bugs a useful general
guide for confirming unconfirmed bugs.
... a
guide for confirming layout bugs (bugs in web page rendering) reporting new bugs you should report a bug in the new state after going through the triaging process as described in the two above-mentioned
guides.
Working with Mozilla source code
interface development
guide guidelines and documentation for how to create and update xpcom interfaces.
... the firefox codebase: css
guidelines this document contains
guidelines defining how css inside the firefox codebase should be written, it is notably relevant for firefox front-end engineers.
... svg cleanup
guide guidelines and best practices for shipping new svgs.
Index
11 firefox and the "about" protocol firefox,
guide, mozilla, protocols there is a lot of useful information about firefox hidden away behind the about: url protocol.
... 143 multiple firefox profiles beginner, firefox,
guide, intro, profiles, qa a profile in firefox is the collection of settings, customizations, add-ons, and other personalizations that a user has made or installed into their copy of firefox.
... 168 performance best practices for firefox front-end engineers best practices, developing firefox, developing mozilla, firefox, front-end, mozilla, performance this
guide will help firefox developers working on front-end code produce code which is as performant as possible—not just on its own, but in terms of its impact on other parts of firefox.
Localizing without a specialized tool
you can follow more detailed
guidelines on compare-locale's page, but running the following command from the command line should be enough: $ sudo easy_install -u compare-locales to start, be sure to open your command line interface and change your directory to where you are keeping your localization files, the en-us sources $ cd /path/to/your/working/directory now, you will need run compare locales.
... this will be your
guide to localize firefox.
...recommended order of localization for recommended order of localization, refer to the localization "phase list" which provides a very rough
guide on where to start and in what order to proceed through translation.
Performance
documentation reporting a performance problem a user friendly
guide to reporting a performance problem.
... performance best practices in extensions a performance "best practices"
guide for extension developers.
... measuring add-on startup performance a
guide for add-on developers on how to set up a performance testing environment.
Setting up CDT to work on SpiderMonkey
there is a
guide for setting up cdt to work with the mozilla codebase, but it does not cover setting things up for just spidermonkey instead of the whole mozilla codebase.
... hence, here is a short-ish
guide for doing just that.
... step 3 - index all the code to let cdt know about the build, it has to invoke make itself (or, as is done in the
guide for the whole mozilla codebase on mdn, read a log of the build), which can be setup with these simple steps: open the project's properties by selecting its root and clicking "properties" in the "file" menu and select "c/c++ build".
Signing Mozilla apps for Mac OS X
for projects that don't use mozilla's release automation and would like to be signed for secure launching on os 10.8 mountain lion and later, this
guide should provide some insight into how to make sure applications are signed correctly using apple's codesign tool.
... apple's code signing
guide is also a good resource on the subject.
...it will
guide you through creating a private key, certificate signing request, and importing your new developer id into the keychain access application on your mac.
IJSDebugger
see the javascript debugger api
guide for details.
...see the javascript debugger api
guide for details on using the debugger api.
... see also js debugger api reference js debugger api
guide ...
nsITaskbarTabPreview
method overview void ensureregistration(); violates the xpcom interface
guidelines nativewindow gethwnd(); violates the xpcom interface
guidelines void move(in nsitaskbartabpreview anext); attributes attribute type description icon imgicontainer the icon displayed next to the title in the preview.
... methods violates the xpcom interface
guidelines ensureregistration() used internally to ensure that the taskbar knows about this preview.
... violates the xpcom interface
guidelines gethwnd() used internally to obtain the handle to the proxy window for the preview.
XPCOM tasks
general xpcom
guidelines.
... see, e.g., xpcom code faq, idl author's
guide, and implementing queryinterface.
... building ownership models that work (see xpcom ownership
guidelines), using raw pointers, nscomptr (see the nscomptr user's manual), nsiweakreference (see nsiweakreference), nscweakreference, and (across threads) proxies (see nsisupports proxies).
Index
18 cookies in thunderbird cookies,
guide, thunderbird in versions of thunderbird prior to 3 the cookie policy was very restrictive (to rss only).
... 72 adding views to the folder pane add-ons, draft, extensions,
guide, needscontent, thunderbird this is a stub page for a tutorial for thunderbird 3.
... 108 folders and message lists
guide, thunderbird the folderdisplaywidget for the current folder can be accessed via the global variable gfolderdisplay.
Edit Shape Paths in CSS - Firefox Developer Tools
this
guide walks you through all of the available options.
... activate / deactivate the shape path editor the shape path editor is accessed via the css rules panel, which can be opened as described in the
guide to opening the inspector.
...to understand the margin box, and other boxes used by css shapes see our
guide to shapes from box values.
Signaling and video calling - Web APIs
this tutorial will
guide you through building a two-way video-call.
...you can learn more about the codecs which webrtc requires browsers to support, which additional codecs are supported by which browsers, and how to choose the best codecs to use in the
guide codecs used by webrtc.
...we'll skip layout detail in this
guide, but take a look at the css on github to see how we handled it.
Geometry and reference spaces in WebXR - Web APIs
geometry operations with matrices we offer a
guide to matrix mathematics as it pertains to 3d geometry, including how matrices are used for the three primary transforms that need to be performed when rendering 3d scenes: translation is the use of a matrix to shift the position of a point through the virtual space.
...the right balance can create a unique presence and
guide your user.
... xrreferencespace the remainder of this
guide explores how to select the right reference space for your app's needs.
Web Audio API - Web APIs
if you are more familiar with the musical side of things, are familiar with music theory concepts, want to start building instruments, then you can go ahead and start building things with the advance tutorial and others as a
guide (the above linked tutorial covers scheduling notes, creating bespoke oscillators and envelopes, as well as an lfo among other things.) if you aren't familiar with the programming basics, you might want to consult some beginner's javascript tutorials first and then come back here — see our beginner's javascript learning module for a great place to begin.
...
guides and tutorials advanced techniques: creating and sequencing audiowe've now got an instrument inside our browser!
...in this article, we'll share a number of best practices —
guidelines, tips, and tricks for working with the web audio api.web audio spatialization basicshopefully, this article has given you an insight into how web audio spatialization works, and what each of the pannernode properties do (there are quite a few of them).
Mobile accessibility checklist - Accessibility
use alt and title where appropriate (see steve faulkner's post about using the html title attribute for a good
guide.) if the above attributes are not applicable, use appropriate aria states and properties such as aria-label, aria-labelledby, or aria-describedby.
... general
guidelines an app title must be provided.
... touch targets must be large enough for the user to interact with (see the bbc mobile accessibility
guidelines for useful touch target size
guidelines).
Basic Concepts of Multicol - CSS: Cascading Style Sheets
this
guide explains how the specification works with some common use case examples.
... .container { columns: 2 200px; } next steps in this
guide we've learned the basic use of multiple-column layout.
... in the next
guide, we will look at how much we can style the columns themselves.
Spanning and Balancing Columns - CSS: Cascading Style Sheets
in this
guide we look at how to make elements span across columns inside the multicol container and how to control how the columns are filled.
... note the spanning and balancing functionality covered in this
guide is not as well supported across browsers as the functionality covered in the previous two sections in this
guide.
... in the next
guide you will learn how multicol handles overflow, both within columns and where there are more columns than will fit the container.
Backwards Compatibility of Flexbox - CSS: Cascading Style Sheets
in this
guide we will look at how well flexbox is supported in browsers, and look at some potential issues, resources and methods for creating workarounds and fallbacks.
... conclusion while i’ve spent some time in this
guide going through potential issues and fallbacks, flexbox is very much ready for you to be using in production work.
... this
guide will help you in those cases where you do come across an issue or have the requirement to support older browsers.
Basic concepts of flexbox - CSS: Cascading Style Sheets
this article gives an outline of the main features of flexbox, which we will be exploring in more detail in the rest of these
guides.
... find out more about wrapping flex items in the
guide mastering wrapping of flex items.
...we do this by way of three properties: flex-grow flex-shrink flex-basis we will take a brief look at these properties in this overview, and you can gain a fuller understanding in the
guide controlling ratios of flex items on the main axis.
Controlling Ratios of Flex Items Along the Main Axis - CSS: Cascading Style Sheets
in this
guide we will be exploring the three properties that are applied to flex items, which enable us to control the size and flexibility of the items along the main axis — flex-grow, flex-shrink, and flex-basis.
...consider the following aspects, which we have already discussed in these
guides: what sets the base size of the item?
... other ways to distribute space if you do not want space added to the items, remember that you can deal with free space between or around items using the alignment properties described in the
guide to aligning items in a flex container.
In Flow and Out of Flow - CSS: Cascading Style Sheets
in the previous
guide i explained block and inline layout in normal flow.
... summary in this
guide we have covered the ways to take an element out of flow in order to achieve some very specific types of positioning.
... in the next
guide we will look at a related issue, that of creating a block formatting context, in formatting contexts explained.
Line-based placement with CSS Grid - CSS: Cascading Style Sheets
we will learn more about the interaction between writing modes and grids in a later
guide.
...we will take a proper look at how these work in a later
guide but you can see as you work that grid is laying out un-placed items into empty cells of the grid.
...at the present time, some browsers do not support the unprefixed versions, which is why the live examples in this
guide use grid- prefixed versions.
CSS Tutorials - CSS: Cascading Style Sheets
editor's note: we should look at using "difficulty level" tags on the tutorial/
guide pages so that difficulty-based lists can be automatically built.
... beginner-level css tutorials getting started this
guide is aimed at complete beginners: you haven't written one single line of css?
...it explains the fundamental concepts of the language and
guides you in writing basic stylesheets.
<button>: The Button element - HTML: Hypertext Markup Language
| the paciello group mdn understanding wcag,
guideline 4.1 explanations understanding success criterion 4.1.2 | w3c understanding wcag 2.0 size and proximity size interactive elements such as buttons should provide an area large enough that it is easy to activate them.
...in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for large text.
... (large text is defined as 18.66px and bold or larger, or 24px or larger.) webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 clicking and focus whether clicking on a <button> causes it to (by default) become focused varies by browser and os.
<source>: The Media or Image Source element - HTML: Hypertext Markup Language
for information about image formats supported by web browsers and guidance on selecting appropriate formats to use, see our image file type and format
guide on the web.
... for details on the video and audio media types, you can use, see the
guide to media types formats used on the web.
...be sure to reference our
guide to media types and formats on the web for details on what media file formats you can use and how well they're supported by browsers.
HTML: Hypertext Markup Language
this article provides a basic
guide to how preload works.
...
guide to media types and formats on the web the <audio> and <video> elements allow you to play audio and video media natively within your content without the need for external software support.
...this is a
guide to these categories.
JavaScript
get started tutorials learn how to program in javascript with
guides and tutorials.
... javascript
guide javascript
guide a much more detailed
guide to the javascript language, aimed at those with previous programming experience either in javascript or another language.
... learn javascript an excellent resource for aspiring web developers — learn javascript in an interactive environment, with short lessons and interactive tests,
guided by automated assessment.
Digital audio concepts - Web media technologies
this
guide is an overview examining how audio is represented digitally, and how codecs are used to encode and decode audio for use on the web.
...for details about the most important and useful ones for web developers to be familiar with, see the article
guide to audio codecs used on the web.
... note: for a more detailed
guide to choosing audio codecs, see choosing a codec in web audio codec
guide.
Media container formats (file types) - Web media technologies
in this
guide, we'll look at the container formats used most commonly on the web, covering basics about their specifications as well as their benefits, limitations, and ideal use cases.
...
guidelines the best choice also depends on what you'll be doing with the media.
...defines the ogg media types and file extensions quicktime file format specification defines the quicktime movie (mov) format multimedia programming interface and data specifications 1.0 the closest thing to an official wave specification resource interchange file format (used by wav) defines the riff format; wave files are a form of riff webm container
guidelines
guide for adapting matroska for webm matroska specifications the specification for the matroska container format upon which webm is based webm byte stream format webm byte stream format for use with media source extensions ...
Using audio and video in HTML - Web media technologies
in this
guide, we'll review the media elements and how to use them in html content.
... note: this
guide is a planned update to integrate content from various scattered places on mdn into one cohesive document or document set.
... we don't have a particularly good
guide to using these objects offscreen at this time, although audio and video manipulation may be a good start.
Using images in HTML - Web media technologies
in this
guide you'll find links to resources that deal with adding images to websites.
...
guides these articles provide guidance on selecting and configuring image types.
... image file type and format
guide a
guide to the various image file types commonly supported by web browsers including details about their individual use cases, capabilities, and compatibility factors.
Web technology reference
if you're new to web development, consider starting with our learning area, which is filled with step-by-step tutorials that will
guide you from total webdev newbie to at least semi-pro!
... introduction to html | learn html | html5 | developer
guide | element reference | reference css — styling the web cascading style sheets are used to describe the appearance of web content.
... learn javascript | developer
guide | reference ...
Web Components
tutorials using custom elements a
guide showing how to use the features of custom elements to create simple web components, as well as looking into lifecycle callbacks and some other more advanced features.
... using shadow dom a
guide that looks at shadow dom fundamentals, showing how to attach a shadow dom to an element, add to the shadow dom tree, style it, and more.
... using templates and slots a
guide showing how to define a reusable html structure using <template> and <slot> elements, and then use that structure inside your web components.
Working with Events - Archive of obsolete content
we talk about content scripts in more detail in the working with content scripts
guide.
... so there are two main ways you will interact with the eventemitter framework: listening to built-in events emitted by objects in the sdk, such as tabs opening, pages loading, mouse clicks sending and receiving user-defined events between content scripts and add-on code this
guide only covers the first of these; the second is explained in the working with content scripts
guide.
page-mod - Archive of obsolete content
for all the details on content scripts, see the
guide to content scripts.
... to learn much more about communicating with content scripts, see the
guide to content scripts and in particular the chapter on communicating using port.
page-worker - Archive of obsolete content
to learn much more about content scripts, see the working with content scripts
guide.
... properties port object that allows you to: send events to the content script using the port.emit function receive events from the content script using the port.on function see the
guide to communicating using port for details.
panel - Archive of obsolete content
10px; } body { background-color: gray; } </style> </head> <body> <textarea rows="13" cols="33" id="edit-box"></textarea> </body> </html> finally, save these three icon files to the "data" directory: icon-16.png icon-32.png icon-64.png to learn much more about content scripts, see the working with content scripts
guide.
... properties port eventemitter object that allows you to: send events to the content script using the port.emit function receive events from the content script using the port.on function see the
guide to communicating using port for details.
Chapter 1: Introduction to Extensions - Archive of obsolete content
« previousnext » note: if you want contribute to this document please following
guidelines from the contribute page.
...emura-san is a co-author of firefox 3 hacks (o'reilly japan, 2008.) introduction if you're reading this
guide, you’ve probably used firefox before.
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
you can learn more about chromebug and download it at http://getfirebug.com/wiki/index.php/chromebug_user_
guide you may also find this extension to be valuable: extension developer https://addons.mozilla.org/firefox/addon/7434 developing extensions: what you need to know let’s delve into chrome, something you’ll need to know about in order to develop extensions.
...the folder can be wherever you want, but for the purposes of this
guide, we’ll assume it’s at c:\extensions\helloworld .
Appendix A: Add-on Performance - Archive of obsolete content
add-on developers need to make sure that they minimize their add-ons' performance impact, and here are a few simple
guidelines that should be followed to achieve that.
... luckily, minimizing your startup time is easy, if you follow these
guidelines: do not load or run code before it’s needed.
JavaScript Object Management - Archive of obsolete content
the general
guideline we follow is this: whenever you have to set a callback function parameter, wrap it in an anonymous function.
... as a general
guideline, we keep all of our business logic in jsm, available through service objects, and chrome scripts are limited to handle presentation logic.
Local Storage - Archive of obsolete content
there's a very detailed xul template
guide here.
...there's a section about sqlite templates in the
guide, but there are some concepts in it that will require you to read at least some of the rest of it.
The Box Model - Archive of obsolete content
this blog post is a good
guide on the subject, and you should keep it in mind if you need to do some advanced text handling.
... if you're not familiar with css, you should read this css getting started
guide and other online resources before continuing with this tutorial.
XPCOM Objects - Archive of obsolete content
this section is a quick
guide on how to read xpcom documentation, which basically amounts to understanding the syntax of xpidl, the language used to specify xpcom interfaces.
...you can read more about it in the xpcom string
guide.
RDF Datasource How-To - Archive of obsolete content
constructing a dll for a component is beyond the scope of this document; the reader is referred to the rdf factory as a
guideline.
... for a complete description of how content is built from rdf, see the xul:template
guide.
Additional Template Attributes - Archive of obsolete content
<listbox datasources="template-
guide-photos5.rdf" ref="http://www.xulplanet.com/rdf/myphotos" template="phototemplate"/> ...
... <hbox datasources="template-
guide-photos5.rdf" ref="http://www.xulplanet.com/rdf/myphotos"> <template container="?start" member="?photo"> <rule> <image uri="?photo" src="?photo"/> </rule> </template> </hbox> in this example, the ?photo variable can be used instead of 'rdf:*' (although you can use either even if you specify the member variable).
Containment Properties - Archive of obsolete content
<vbox datasources="template-
guide-ex1.rdf" ref="http://www.xulplanet.com/rdf/a" containment="http://www.xulplanet.com/rdf/relateditem"> <template> <rule> <label uri="rdf:*" value="rdf:*"/> </rule> </template> </vbox> instead of iterating over a container, this example iterates over a specific predicate.
...<vbox datasources="template-
guide-ex3.rdf" ref="http://www.xulplanet.com/rdf/a" containment="http://www.xulplanet.com/rdf/relateditem"> <template> <query> <content uri="?start"/> <member container="?start" child="?child"/> </query> <action> <label uri="?child" value="?child"/> </action> </template> </vbox> try this example.
Static Content - Archive of obsolete content
<menulist datasources="template-
guide-photos4.rdf" ref="http://www.daml.org/2001/09/countries/country-ont#country" oncommand="applyfilter(event.target.value);"> <menupopup> <menuitem label="all"/> </menupopup> <template> <query> <content uri="?start"/> <triple subject="?country" predicate="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" object="?start"/> ...
... <radiogroup datasources="template-
guide-photos4.rdf" ref="http://www.daml.org/2001/09/countries/country-ont#country" onselect="applyfilter(event.target.value);"> <radio label="all" selected="true"/> <template> <query> <content uri="?start"/> <triple subject="?country" predicate="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" object="?start"/> <triple subjec...
Introduction - Archive of obsolete content
next » this tutorial is a
guide to learning xul (xml user interface language) which is a cross-platform language for describing applications' user interfaces.
...here are some
guidelines to keep in mind: xul elements and attributes should all be entered in lowercase as xml is case-sensitive (unlike html).
menupopup - Archive of obsolete content
more information is available in the xul tutorial and popup
guide.
...check positioning of the popup
guide for a precise description of the effect of the different values.
Getting Started - Archive of obsolete content
it
guides you, step-by-step, through the basics of rss and shows you working examples in action.
...however, those experienced with rss may also find this useful as an aid in filling in any missing information about rss that they were not aware of, or as a refresher
guide.
TCP/IP Security - Archive of obsolete content
another good source of information is nist sp 800-52,
guidelines on the selection and use of transport layer security, available from https://csrc.nist.gov/publications/nistpubs/.) the use of tls typically requires each application to support tls; however, unlike application layer controls, which typically involve extensive customization of the application, transport layer controls such as tls are much less intrusive because they do not need to understand...
... original document information author(s): sheila frankel, paul hoffman, angela orebaugh, and richard park title: national institute of standards and technology (nist) special publication 800-113,
guide to ssl vpns last updated date: july 2008 copyright information: this document is not subject to copyright.
Threats - Archive of obsolete content
link: red hat certificate system common criteria certification 8.1: deployment, planning, and installation original document information author(s): joint task force transformation initiative title: national institute of standards and technology (nist) special publication 800-30 revision 1,
guide for conducting risk assessments last updated date: september 2012 copyright information: this document is not subject to copyright.
... original document information author(s): karen scarfone, wayne jansen, and miles tracy title: national institute of standards and technology (nist) special publication 800-123,
guide to general server security last updated date: july 2008 copyright information: this document is not subject to copyright.
Reference - Archive of obsolete content
inheritance and private variables the
guide section links to an interesting document discussing how to create and use private variables in objects, which is great if you want to protect the various properties within an object from being poked at accidentally.
...--nickolay 05:37, 31 aug 2005 (pdt) gonna follow mozilla's coding
guides here: http://www.mozilla.org/hacking/mozil...de.html#visual --maian 00:30, 20 september 2005 (pdt) btoa() and atob() base64 encode and decode functions this documentation is missing the base64 encode (btoa) and decode (atob) functions.
Styling Abbreviations and Acronyms - Archive of obsolete content
this is to be encouraged, and according to
guideline 4 of the web content accessibility
guidelines, both elements should be given a title attribute to improve "readability of the web for all people, including those with learning disabilities, cognitive disabilities, or people who are deaf." the problem authors have discovered that any abbr or acronym that has a title attribute is rendered with a dotted underline, per the following rule in resourc...
... related links web content accessibility
guidelines 1.0 original document information author(s): eric a.
ATAG - MDN Web Docs Glossary: Definitions of Web-related terms
atag (authoring tool accessibility
guidelines) is a w3c recommendation for building accessible-authoring tools that produce accessible contents.
... learn more general knowledge atag as part of the web accessibility initiative on wikipedia technical reference authoring tool accessibility
guidelines (atag) overview the atag 2.0 recommendation ...
Debugging CSS - Learn web development
how to access browser devtools the article what are browser developer tools is an up-to-date
guide explaining how to access the tools in various browsers and platforms.
...take a look at the main devtools section, and for more detail on the things we have briefly covered in this lesson see the how to
guides.
Images, media, and form elements - Learn web development
form elements form elements can be a tricky issue when it comes to styling with css, and the web forms module contains detailed
guides to the trickier aspects of styling form elements, which i will not fully reproduce here.
... for further information on styling forms, take a look at the two articles in the html section of these
guides.
Grids - Learn web development
to dig further into the specification, read our
guides to grid layout, which can be found below.
... see also css grid
guides css grid inspector: examine grid layouts previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Introduction to CSS layout - Learn web development
the rest of this
guide covers other layout methods, which are less important for the main layout structures of your page but can still help you achieve specific tasks.
... overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Responsive design - Learn web development
you can find a detailed
guide to responsive images in the learn html section here on mdn.
... previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Styling text - Learn web development
guides this module contains the following articles, which will teach you all of the essentials behind styling html text content.
... assessments the following assessments will test your understanding of the text styling techniques covered in the
guides above.
Common questions - Learn web development
this article provides a basic
guide to publishing content using github's gh-pages feature.
...here's a step-by-step
guide to hosting your website on google app engine.
HTML forms in legacy browsers - Learn web development
and, if you must alter the default styles of your form widgets, define a style
guide to ensure consistency among all your form controls so user experience is not destroyed.
... if you read all the articles of this html forms
guide, you should now be at ease with using forms.
Your first form - Learn web development
it's beyond the scope of this article to cover the user experience of forms, but if you want to dig into that topic you should read the following articles: smashing magazine has some good articles about forms ux, including an older but still relevant extensive
guide to web form usability article.
...it's beyond the scope of this
guide to go deeply into that subject, but if you want to know more, we have provided some examples in our sending form data article later on.
What will your website look like? - Learn web development
note: complex projects need detailed
guidelines that go into all the details of colors, fonts, spacing between items on a page, appropriate writing style, and so on.
... this is sometimes called a design
guide, design system, or brand book, and you can see an example at the firefox photon design system.
Use JavaScript within a webpage - Learn web development
if you already know something about javascript or if you have a background with other programming languages, we suggest you jump directly into our javascript
guide.
... learn more <script> <noscript> james edwards' introduction to using javascript accessibly accessibility
guidelines from w3c ...
Introduction to HTML - Learn web development
guides this module contains the following articles, which will take you through all the basic theory of html and provide ample opportunity for you to test out some skills.
... assessments the following assessments will test your understanding of the html basics covered in the
guides above.
Video and audio content - Learn web development
see choosing the right container in media container formats (file types) for help selecting the container file format best suited for your needs; similarly, see choosing a video codec in web video codec
guide and choosing an audio codec in web audio codec
guide for help selecting the first media codecs to use for your content and your target audience.
... refer to our
guide to media types and formats for help selecting the best containers and codecs for your needs, as well as to look up the right mime types to specify for each.
Multimedia and Embedding - Learn web development
guides this module contains the following articles which will take you through all the fundamentals of embedding multimedia on webpages.
... assessments the following assessments will test your understanding of the html basics covered in the
guides above: mozilla splash page in this assessment, we'll test your knowledge of some of the techniques discussed in this module's articles, getting you to add some images and video to a funky splash page all about mozilla!
JavaScript building blocks - Learn web development
guides making decisions in your code — conditionals in any programming language, code needs to make decisions and carry out actions accordingly depending on different inputs.
... assessments the following assessment will test your understanding of the javascript basics covered in the
guides above.
Lightweight themes
tip: to ensure that your theme is approved for the gallery, be sure it complies with the content
guidelines and terms of service!
... submit your theme now frequently asked questions for more information about lightweight themes, including content
guidelines, please see these frequently asked questions.
Android-specific test suites
see http://checkstyle.sourceforge.net/index.html and https://docs.gradle.org/2.14/user
guide/checkstyle_plugin.html for more details.
... see http://findbugs.sourceforge.net/index.html and https://docs.gradle.org/2.14/user
guide/findbugs_plugin.html for more details.
Bugzilla
bugzilla etiquette a
guide to etiquette; this
guide will help you understand how best to conduct yourself on b.m.o.
...this
guide will help you do so.
Choosing the right memory allocator
see the xpcom string
guide for additional information.
... allocating strings in xpcom code see "callee-allocated parameters" in the xpcom strings
guide; use tonewcstring() or tonewunicode() to allocate strings that will be passed out.
Simple Sunbird build
please refer to the simple thunderbird build
guide.
...see windows sdk versions for a quick
guide.
Message manager
these
guides explain how to use message managers in multiprocess firefox.
...
guides message manager overview frame script loading and lifetime communicating with frame scripts performance best practices frame script environment limitations of frame scripts process scripts api reference nsiframescriptloader nsimessagelistenermanager nsimessagebroadcaster nsimessagesender nsisyncmessagesender nsicontentframemessagemanager nsiprocessscriptloader ...
Performance best practices for Firefox front-end engineers
this
guide will help firefox developers working on front-end code produce code which is as performant as possible—not just on its own, but in terms of its impact on other parts of firefox.
...note that a significant number of the graphics team members are in the us eastern time zone (utc-5 or utc-4 during daylight saving time), so let that information
guide your timing when you ask questions in the gfx room .
Firefox
developer
guide our developer
guide provides details on how to get and compile the firefox source code, how to find your way around, and how to contribute to the project.
...you can find details about profiles on mozilla's end-user support site.performance best practices for firefox front-end engineersthis
guide will help firefox developers working on front-end code produce code which is as performant as possible—not just on its own, but in terms of its impact on other parts of firefox.
Getting Started with Chat
general rules and etiquette once you have your client set up (see software below) and are connected, there are some basic rules you should follow to ensure the most enjoyable and productive experience: as with all mozilla forums and events, agreeing to our community participation
guidelines is a requirement for participation.
... further reading irc channel operator's
guide (new version) irc channel operator's
guide (old version) [from 1995, but still quite useful] ...
Localization content best practices
note: if you're a localizer and you want to contribute to the localization of mozilla products, you might want to read our localization quick start
guide for information on localizing mozilla code.
... w3c has a good
guide on the length ratios a developer should be prepared for.
Initial setup
this will determine what information is most applicable to you throughout the rest of this
guide.
...the svn for localizers
guide will help you learn the most important svn commands for l10n.
QA phase
since such is the case, this part of the
guide may not be entirely applicable to you.
...click here for
guidelines on how to test your localization.
Translation phase
see the list of the most critical strings for localizing in firefox, as well as a
guide to understanding how they're organized.
...read the
guidelines on localizing amo, straight from the amo team.
Setting up the infrastructure
review the english content following the web content localizability
guidelines.
... review your code following the web applications localizability
guidelines.
Writing localizable code
this page tells you about best practices and
guidelines when dealing with ui code with respect to localization.
...
guidelines thus, there are a few
guidelines you should follow to make localization of your code easier: choose good key names the names chosen for your keys (regardless of whether that's a dtd or a properties file) should be descriptive.
Research and prep
this is, therefore, meant to be a
guideline for how you should be formulating your recommendations.
...your selections for default rss readers and content handlers should follow these
guidelines: be translated in your language (because it makes the application unusable if it's not in your language provide for the intended user experience (e.g., minimal to no advertisements within the user experience) no more than three (if possible) choices.
NSS Certificate Download Specification
when it is downloaded the user will be shown a sequence of dialogs that will
guide them through the process of accepting the certificate authority and deciding if they wish to trust sites certified by the ca.
... importing certificates into nss-based servers consult your server's administration
guide for the most accurate information.
NSS Developer Tutorial
the mozilla c++ language features
guide, and the chromium c++ usage
guide, list c++ features that are known to be widely available and compatible.
... you should limit features to those that appear in both
guides.
Browser security
these articles provide important
guides and references to ensuring the code you write is secure, including both design recommendations and testing
guidelines.
... secure development
guidelinesthe following content will likely see significant revision, though can be used as a reference for security best practices to follow when developing code for mozilla.security and the jar protocolthis article discusses security concerns with the jar: protocol, which only firefox has ever implemented for web content.
AT Development
guidelines at apis implementation by gecko at vendors
guide to support gecko-based applications like firefox, thunderbird and so on.
... accessibility architecture how the accessibility hierarchy is implemented in mozilla (some issues aren't addressed by previous
guide).
XForms Accessibility
intoduction this article provides a quick
guide to how accessibility is handled in gecko for xforms..
...or you may be
guided by toolkit checklist to check keyboard navigation for xforms controls.
nsIChromeRegistry
stry = components.classes["@mozilla.org/chrome/chrome-registry;1"] .getservice(components.interfaces.nsichromeregistry); method overview void canonify(in nsiuri achromeurl); obsolete since gecko 1.8 void checkfornewchrome(); nsiuri convertchromeurl(in nsiuri achromeurl); boolean wrappersenabled(in nsiuri auri); violates the xpcom interface
guidelines constants constant value description none 0 partial 1 full 2 methods canonify() obsolete since gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) note: this method is obsolete; use convertchromeurl() instead.
... violates the xpcom interface
guidelines wrappersenabled() returns whether xpcnativewrappers are enabled for the specified uri.
nsIDocShell
e storage); void addstate(in nsivariant adata, in domstring atitle, in domstring aurl, in boolean areplace); void beginrestore(in nsicontentviewer viewer, in boolean top); void createaboutblankcontentviewer(in nsiprincipal aprincipal); void createloadinfo(out nsidocshellloadinfo loadinfo); void detacheditorfromwindow(); violates the xpcom interface
guidelines void finishrestore(); void firepagehidenotification(in boolean isunload); native code only!
... violates the xpcom interface
guidelines detacheditorfromwindow() disconnects this docshell's editor from its window, and stores the editor data in the open document's session history entry.
nsIJSID
method overview boolean equals(in nsijsid other); const nsid* getid(); violates the xpcom interface
guidelines void initialize(in string idstring); string tostring(); attributes attribute type description id nsidptr read only.
... violates the xpcom interface
guidelines getid() const nsid* getid(); parameters none.
nsIScriptableIO
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...for more details about how to use this object, see the file and stream
guide.
nsISupports
last changed in gecko 1.0 method overview nsrefcnt addref();violates the xpcom interface
guidelines void queryinterface(in nsiidref uuid, [iid_is(uuid),retval] out nsqiresult result); nsrefcnt release();violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines addref() notifies the object that an interface pointer has been duplicated.
... violates the xpcom interface
guidelines release() notifies the object that an interface pointer has been destroyed and any resources the object held on behalf of the client can be released.
Frequently Asked Questions
if you're looking here just to learn about nscomptrs, you'll get a better introduction in the getting started
guide.
... some com ownership
guidelines.
Status, Recent Changes, and Plans
you may want to skip directly to the getting started
guide, the reference manual, or the faq.
... added an entire section to the getting started
guide on nscomptrs in function signatures added references to recent bugs influencing the use of nscomptr machinery: bug 59212, and bug 59414 fixed comparisons 1 and 3, as per comments by morten welinder updated examples to prefer direct initialization over copy initialization.
customDBHeaders Preference
as you follow along the step-by-step
guide in creating a custom column, you may want to consider a preference setting that exposes custom header data for use in a custom column within thunderbird's main view.
... while i was going through the creating a custom column
guide, i built and used thunderbird-2.0b1 checked-out from cvs with the thunderbird_2_0b1_release tag.
Debugging Firefox Desktop - Firefox Developer Tools
this
guide explains how you can use the firefox developer tools to debug a different instance of desktop firefox running on the same machine.
... in this
guide, the instance of firefox being debugged is called the debuggee, and the instance of firefox doing the debugging is called the debugger.
Firefox Developer Tools
this section contains detailed
guides to all of the tools as well as information on how to debug firefox for android, how to extend devtools, and how to debug the browser as a whole.
...to ease a transition from firebug to the firefox developer tools, we have written a handy
guide — migrating from firebug.
Introduction to the DOM - Web APIs
in this
guide, we'll briefly introduce the dom.
... dom interfaces this
guide is about the objects and the actual things you can use to manipulate the dom hierarchy.
HTMLImageElement.alt - Web APIs
usage notes the fundamental
guideline for the alt attribute is that every image's alternate text should be able to replace the image without altering the meaning of the page.
... examples beyond that, there are additional
guidelines for using alt appropriately which vary depending on what the image is being used for.
HTMLImageElement.srcset - Web APIs
for more information on what image formats are available for use in the <img> element, see image file type and format
guide.
... for additional examples, see our
guide to responsive images.
IndexedDB API - Web APIs
this is the main landing page for mdn's indexeddb coverage — here we provide links to the full api reference and usage
guides, browser support details, and some explanation of key concepts.
... learn to use indexeddb asynchronously from first principles with our using indexeddb
guide.
Using the Performance API - Web APIs
this
guide describes how to use the performance interfaces that are defined in the high-resolution time standard.
... other web performance
guides (listed in the see also section) describe how to use additional methods and properties of the performance interface.
Writing WebSocket servers - Web APIs
this is not a tutorial in any specific language, but serves as a
guide to facilitate writing your own server.
...the scope of this
guide is to present the minimum knowledge you need to write a websocket server.
Viewpoints and viewers: Simulating cameras in WebXR - Web APIs
in this
guide we show how use webgl to simulate camera movements without having a camera to move.
...this
guide uses webgl directly since it's useful to understand to some extent what goes on under the hood, and to aide in the development of libraries or to help you optimize code.
Inputs and input sources - Web APIs
in this
guide, we'll look at how to use webxr's input device management features to determine what input sources are available and how to then monitor those sources for inputs in order to handle user interactivity with your virtual or augmented environment.
...the use of these profiles is briefly described under input profiles below, and a more complete
guide may be found in our article using webxr input profiles.
WebXR application life cycle - Web APIs
in this
guide, we'll get a birds-eye view of what's involved in creating and driving a webxr application, without diving down to the code level in detail.
... this serves as preparation for the next few articles in these webxr
guides, which cover starting up and shutting down a webxr session, geometry, simulating cameras, spatial tracking, and more.
Web Accessibility: Understanding Colors and Luminance - Accessibility
understaning color, luminance, and saturation is important in meeting wcag 2 accessibility
guidelines in terms of ensuring enough color contrast for sighted users with color blindness or reduced vision and preventing seizures and other physical reactions in people with vestibular disorders.
... where accessibility is concerned, however, standards and
guidelines are currently written predominantly using the srgb color space, especially as it applies to color contrast ratios.
Color contrast - Accessibility
when designing readable interfaces for different vision capabilities, the wcag
guidelines recommend the following contrast ratios: type of content minimum ratio (aa rating) enhanced ratio (aaa rating) body text 4.5 : 1 7 : 1 large-scale text (120-150% larger than body text) 3 : 1 4.5 : 1 active user interface components and graphical objects such as icons and graphs 3 : 1 not defined these ratios do not apply to "incidental" text, such as inactive controls, logotypes, or purely decorative text.
... you can also check color contrast on the fly using firefox's developer tools — see our accessibility inspector
guide, and in particular the section check for accessibility issues.
::placeholder - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
... webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 usability placeholder text with sufficient color contrast may be interpreted as entered input.
::selection - CSS: Cascading Style Sheets
to meet current web content accessibility
guidelines (wcag), text content must have a contrast ratio of 4.5:1, or 3:1 for larger text such as headings.
... (wcag defines large text as between 18.66px and 24px and bold, or 24px or larger.) webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 specifications specification status comment css pseudo-elements level 4the definition of '::selection' in that specification.
Handling Overflow in Multicol - CSS: Cascading Style Sheets
in this
guide we look at how multicol deals with overflow, both inside the column boxes and in situations where there is more content than will fit into the container.
... in the final
guide in this series we will see how multicol works with the fragmentation spec to give us control over how content breaks between columns.
Flow Layout and Overflow - CSS: Cascading Style Sheets
this
guide explains how overflow works when working with normal flow.
... flow relative properties in the
guide to writing modes and flow layout, we looked at the newer properties of block-size and inline-size which make more sense when working with different writing modes than tying our layout to the physical dimensions of the screen.
Flow Layout and Writing Modes - CSS: Cascading Style Sheets
in this
guide, we look at how flow layout behaves when used with different document writing modes.
... this is not a comprehensive
guide to the use of writing modes in css, the aim here is to document the areas where flow layout interacts with writing modes in possibly unanticipated ways.
Auto-placement in CSS Grid Layout - CSS: Cascading Style Sheets
we will take a look at the potential accessibility issues of grid layout in a later
guide, but you should take care when creating this disconnect between the visual order and display order.
...a related issue may have already come to mind if you followed the last
guide about named lines on the grid.
CSS Grid Layout and Accessibility - CSS: Cascading Style Sheets
re-ordering content in css grid layout we’ve already seen in these
guides that grid gives us power to re-order the content of our page in various ways.
...for more information about this interaction see the
guide on the relationship of grid layout to other layout methods and the section on display: contents.
Basic Shapes - CSS: Cascading Style Sheets
css shapes can be defined using the <basic-shape> type, and in this
guide i’ll explain how each of the different values accepted by this type work.
...you have already met the reference box in the
guide on creating shapes from box values, which directly uses the reference box to create the shape.
background-color - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
... webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 formal definition initial valuetransparentapplies toall elements.
color - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
... webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 formal definition initial valuevaries from one browser to anotherapplies toall elements.
opacity - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
... webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 formal definition initial value1.0applies toall elementsinheritednocomputed valuethe specified value, clipped in the range [0,1]animation typea number formal syntax <alpha-value>where <alpha-value> = <number> | <percentage> examples setting background opacity html <div class="light">you can barely see this.</div> <div class="medium">this is easier to see.</div> <div class="heavy">this is very easy to see.</div> css div { background-color: yellow; } .light { opacity: 0.2; /* barely see the text over the background */ } .medium { opacity: 0.5; /* see the text...
outline-color - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
... webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 formal definition initial valueinvert, for browsers supporting it, currentcolor for the otherapplies toall elementsinheritednocomputed valuefor the keyword invert, the computed value is invert.
<a>: The Anchor element - HTML: Hypertext Markup Language
owerpoint) </a> if an icon is used to signify link behavior, make sure it has alt text: <a target="_blank" href="https://www.wikipedia.org"> wikipedia <img alt="(opens in new tab)" src="newtab.svg"> </a> <a href="2017-annual-report.ppt"> 2017 annual report <img alt="(powerpoint file)" src="ppt-icon.svg"> </a> webaim: links and hypertext - hypertext links mdn / understanding wcag,
guideline 3.2 g200: opening new windows and tabs from a link only when necessary g201: giving users advanced warning when opening a new window skip links a skip link is a link placed as early as possible in <body> content that points to the beginning of the page's main content.
... webaim: "skip navigation" links how-to: use skip navigation links mdn / understanding wcag,
guideline 2.4 explanations understanding success criterion 2.4.1 size and proximity size interactive elements, like links, should provide an area large enough that it is easy to activate them.
<img>: The Image Embed element - HTML: Hypertext Markup Language
a complete
guide to image formats supported by web browsers is available.
... an alt decision tree • images • wai web accessibility tutorials alt-texts: the ultimate
guide — axess lab how to design great alt text: an introduction | deque mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 the title attribute the title attribute is not an acceptable substitute for the alt attribute.
<title>: The Document Title element - HTML: Hypertext Markup Language
a few
guidelines and tips for composing good titles: avoid one- or two-word titles.
... example <title>2 errors - your order - blue house chinese food - foodyum: online takeout today!</title> mdn understanding wcag,
guideline 2.4 explanations understanding success criterion 2.4.2 | w3c understanding wcag 2.0 specifications specification status comment html living standardthe definition of '<title>' in that specification.
Configuring servers for Ogg media - HTTP
this
guide covers a few server configuration changes that may be necessary for your web server to correctly serve ogg media files.
... for apache, you can add the following to your configuration: addtype audio/ogg .oga addtype video/ogg .ogv addtype application/ogg .ogg you can find specific information about possible media file types and the codecs used within them in our comprehensive
guide to media types and formats on the web.
HTTP
tutorials learn how to use http with
guides and tutorials.
... mozilla web security
guidelines a collection of tips to help operational teams with creating secure web applications.
JavaScript modules - JavaScript
« previous this
guide gives you all you need to get started with javascript module syntax.
... basic example structure in our first example (see basic-modules) we have a file structure as follows: index.html main.js modules/ canvas.js square.js note: all of the examples in this
guide have basically the same structure; the above should start getting pretty familiar.
Regular expression syntax cheatsheet - JavaScript
this page provides an overall cheat sheet of all the capabilities of regexp syntax by aggregating the content of the articles in the regexp
guide.
... if you need more information on a specific topic, please follow the link on the corresponding heading to access the full article or head to the
guide.
Using Promises - JavaScript
since most people are consumers of already-created promises, this
guide will explain consumption of returned promises before explaining how to create them.
... if you think microtasks may help solve this problem, see the microtask
guide to learn more about how to use queuemicrotask() to enqueue a function as a microtask.
About the JavaScript reference - JavaScript
if you're learning javascript, or need help understanding some of its capabilities or features, check out the javascript
guide.
... where to find javascript information javascript documentation of core language features (pure ecmascript, for the most part) includes the following: the javascript
guide the javascript reference if you are new to javascript, start with the
guide.
The "codecs" parameter in common media types - Web media technologies
this
guide briefly examines the syntax of the media type codecs parameter and how it's used with the mime type string to provide details about the contents of audio or video media beyond simply indicating the container type.
...engineering
guideline making color signal decoding recommendations for digital movies.
Performance fundamentals - Web Performance
see making pwas work offline with service workers for a
guide as to how.
...firefox is highly optimized to transition and animate scenes that: use pages/panels approximately the size of the device screen or smaller transition/animate the css transform and opacity properties transitions and animations that adhere to these
guidelines can be offloaded to the system compositor and run maximally efficiently.
Add to Home screen - Progressive web apps (PWAs)
this
guide explains how a2hs is used, and what you need to do as a developer to allow your users to take advantage of it.
... in terms of how to design the icon, you should follow the same best practices you'd follow for any android icon (see the android icon design
guidelines).
Mobile first - Progressive web apps (PWAs)
this
guide looks at a few useful techniques inside the mobile first umbrella.
... you can write your own feature detects (mark pilgrim's all-in-one almost-alphabetical
guide to detecting everything is a good start), but really it is much better to use a dedicated existing solution, such as modernizr.
Web technology for developers
web developer
guide the web developer
guide provides useful how-to content to help you actually use web technologies to do what you want or need to do.
... accessibilitycss houdinicss: cascading style sheetsdemos of open web technologiesdeveloper
guidesexsltevent referencehtml: hypertext markup languagehttpjavascriptmathmlopensearch description formatprivacy, permissions, and information securityprogressive web apps (pwas)svg: scalable vector graphicstutorialsweb apisweb componentsweb performanceweb app manifestsweb media technologiesweb securityweb technology referencexml: extensible markup languagexpathxslt: extensible stylesheet language tra...
WebAssembly Concepts - WebAssembly
you can find full documentation on emscripten at emscripten.org, and a
guide to implementing the toolchain and compiling your own c/c++ app across to wasm at compiling from c/c++ to webassembly.
... for a simple
guide on how to do this, see our converting webassembly text format to wasm article.
WebAssembly
guides webassembly concepts get started by reading the high-level concepts behind webassembly — what it is, why it is so useful, how it fits into the web platform (and beyond), and how to use it.
... converting webassembly text format to wasm this article provides a
guide on how to convert a webassembly module written in the text format into a .wasm binary.
Communicating With Other Scripts - Archive of obsolete content
this section of the
guide explains how content scripts can communicate with: your main.js file, or any other modules in your add-on other content scripts loaded by your add-on page scripts (that is, scripts embedded in the web page or included using <script> tags) main.js your content scripts can communicate with your add-on's "main.js" (or any other modules you're written for your add-on) by sending it messages, using either the port.emit() api or the postmessage() api.
Jetpack - Archive of obsolete content
get started visit the getting started tutorial download the add-on sdk (formerly called the jetpack sdk) documentation check out the documentation, including tutorials, examples,
guides, and api reference join the jetpack community follow jetpack on the mozilla add-ons blog report a bug check out the open bugs discuss jetpack grab the source code join us in #jetpack on irc.mozilla.org ...
BundleLibrary - Archive of obsolete content
not the cleanest, but it got all my plugins at once) istylr: istylr.webapp online web design tool (full win installer bundled with prism is available here - thanks to lars eric for his nsis script) meebo: meebo.webapp miro
guide: miro
guide.webapp motor0: motor0.webapp useful webapp on maintenance and fuel consumptions managment pandora: pandora@prism.app.webapp internet radio that only plays music you like.
New Skin Notes - Archive of obsolete content
--nickolay 09:19, 25 aug 2005 (pdt) (moving this to a new item) on the contrary, the list of categories current page belongs to, should be near the footer (see mdc:policies_and_
guidelines page) (dria: fix catlinks style) the arrows that appear if you select "enhanced recent changes" in your preferences have an ugly border around them.
Accessing Files - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Working With Directories - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Getting File Information - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Reading from Files - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Uploading and Downloading Files - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Writing to Files - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
IO - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Moving, Copying and Deleting Files - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
TOC - Archive of obsolete content
file and stream
guide: [ nsiscriptableio | accessing files | getting file information | reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream
guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
Providing Command-Line Options - Archive of obsolete content
} catch (e) { components.utils.reporterror("incorrect parameter passed to -viewapp on the command line."); } // changeme: change "myapp" to your command line flag (no argument) if (cmdline.handleflag("myapp", false)) { openwindow(chrome_uri, null); cmdline.preventdefault = true; } }, // changeme: change the help info as appropriate, but // follow the
guidelines in nsicommandlinehandler.idl // specifically, flag descriptions should start at // character 24, and lines should be wrapped at // 72 characters with embedded newlines, // and finally, the string should end with a newline helpinfo : " -myapp open my application\n" + " -viewapp <uri> view and edit the uri in my application,\n" + " ...
Building Hierarchical Trees - Archive of obsolete content
here is an example for the streets datasource: <tree flex="1" datasources="template-
guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood" flags="dont-build-content" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <treecols> <treecol id="address" primary="true" label="address" flex="1"/> <treecol id="floors" label="floors" flex="1"/> </treecols> <template> <rule rdf:type="http://www.xulplanet.com/rdf/house"> <treechildren> ...
Building Menus With Templates - Archive of obsolete content
here is an rdf example: <button label="houses in my neighbourhood" type="menu" datasources="template-
guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <template> <rule rdf:type="http://www.xulplanet.com/rdf/house"> <menupopup> <menuitem uri="rdf:*" label="rdf:http://www.xulplanet.com/rdf/address"/> </menupopup> </rule> <rule> <menupopup> <menu uri="rdf:*" label="...
Filtering - Archive of obsolete content
<menulist datasources="template-
guide-photos4.rdf" ref="http://www.daml.org/2001/09/countries/country-ont#country"> remember that the only requirement is that the starting point be a resource, but it doesn't matter what resource is used.
Multiple Rule Example - Archive of obsolete content
<vbox id="photoslist" align="start" datasources="template-
guide-photos5.rdf" ref="http://www.xulplanet.com/rdf/myphotos"> <template> <rule> <conditions> <content uri="?start"/> <member container="?start" child="?photo"/> <triple subject="?photo" predicate="http://purl.org/dc/elements/1.1/title" object="?title"/> <triple subject="?photo" predicate="http://purl.org...
Multiple Rules - Archive of obsolete content
a multiple rule template looks like the following: <hbox id="photoslist" datasources="template-
guide-photos3.rdf" ref="http://www.xulplanet.com/rdf/myphotos"> <template> <query> <content uri="?start"/> <member container="?start" child="?photo"/> <triple subject="?photo" predicate="http://purl.org/dc/elements/1.1/title" object="?title"/> </query> <rule> <where subject="?title" rel="equals" value="canal"/> <action> ...
Simple Example - Archive of obsolete content
first, we set the datasources and ref attributes as needed: <vbox datasources="template-
guide-ex2.rdf" ref="http://www.xulplanet.com/rdf/myphotos"> this time, we need to use a new statement, the member condition as well as a triple.
Simple Query Syntax - Archive of obsolete content
for example, to filter for photos with a specific country: <hbox id="photoslist" datasources="template-
guide-photos4.rdf" ref="http://www.xulplanet.com/rdf/myphotos" xmlns:r="http://www.xulplanet.com/rdf/"> <template> <rule r:country="http://www.daml.org/2001/09/countries/iso#it"> <vbox class="box-padded" uri="rdf:*"> <image src="rdf:*"/> <label value="rdf:http://purl.org/dc/elements/1.1/title"/> </vbox> </rule> </template> </hbox> this example shows ...
Sorting Results - Archive of obsolete content
for rdf datasources, you can also use an rdf predicate for sorting instead of a variable: <hbox datasources="template-
guide-photos5.rdf" sort="http://purl.org/dc/elements/1.1/title" sortdirection="ascending" ref="http://www.xulplanet.com/rdf/myphotos"> <template> <vbox class="box-padded" uri="rdf:*"> <image src="rdf:*"/> <label value="rdf:http://purl.org/dc/elements/1.1/title"/> </vbox> </template> </hbox> in this example, the generated items will be sorted by title.
The Joy of XUL - Archive of obsolete content
this
guide is designed to introduce application developers and their managers to xul so they can not only understand why mozilla's platform is based on it, but how they might adopt it for their own use.
Using Remote XUL - Archive of obsolete content
urce" value="https://www.mozilla.org/source.html" /> <menuitem label="build it" value="https://www.mozilla.org/build/" /> </menupopup> </menu> <menu label="testing"> <menupopup> <menuitem label="download" value="https://www.mozilla.org/releases/" /> <menuitem label="report a bug" value="https://bugzilla.mozilla.org/enter_bug.cgi?format=
guided" /> <menuitem label="bugzilla" value="https://www.mozilla.org/bugs/" /> <menuitem label="bug writing" value="https://www.mozilla.org/quality/bug-writing-
guidelines.html" /> </menupopup> </menu> <menu label="tools"> <menupopup> <menuitem label="view source" value="https://lxr.mozilla.org/seamonkey/" /> <menuitem label="tree status...
XML - Archive of obsolete content
an actual memo using the memoml to represent itself might look like this: <memo> <from>ian oeschger</from> <to>steve rudman</to> <body>i think the first draft of the
guide is done!</body> </memo> note how the memo element -- the root element in our brief definition, ordeclaration, above -- surrounds the other three elements.
tree - Archive of obsolete content
relevant accessbility
guidelines provide alternative access (for example, via menus) to column picker and for header behaviors like sorting (these have no default keyboard access).
wizard - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] this element is used to construct a step-by-step wizard found in some applications to
guide users through a task.
XULRunner - Archive of obsolete content
debug documentation steps to configure venkman to debug your app xulrunner
guide a fairly complete, but outdated, introduction and tutorial for xulrunner which collates much of the documentation found here.
Mozilla release FAQ - Archive of obsolete content
when i try to use cvs on windows, i get an error about no home directory you need to set the home environment variable to a valid directory, as cvs was designed with unix in mind, and wants to put a file in your home directory (the password file) i'm on a unix system, and still am having problems building here's a brief
guide to common build problems: cc1: invalid option 'foo' cc: no such file or directory 'foo' these are almost always caused by your platform-specific makefile being incorrect for your system, either because you're not using the compiler that you're expected to (i.e.
2006-10-06 - Archive of obsolete content
discussions w3c sets road map for web app accessibility the w3c introduced its wai-aria (web accessibility initiative for accessible rich internet applications) roadmap--a set of
guidelines for developers to make accessible web content.
Plugins - Archive of obsolete content
site author
guide for click-to-activate plugins these
guidelines will help website authors use plugins when they are blocked by default with the firefox click-to-activate feature.
Security Controls - Archive of obsolete content
original document information author(s): karen scarfone, wayne jansen, and miles tracy title: nist special publication 800-123,
guide to general server security last updated date: july 2008 copyright information: this document is not subject to copyright.
Security - Archive of obsolete content
ssl has been universally accepted on the world wide web for authenticated and encrypted communication between clients and servers.nspr release engineering
guidethis paper is for engineers performing formal release for the netscape portable runtime (nspr) across all platforms.ssl and tlsthe secure sockets layer (ssl) and transport layer security (tls) protocols are universally accepted standards for authenticated and encrypted communication between clients and servers.
References - Archive of obsolete content
from web standards project web standards group from web standards group web page development: best practices from apple developer connection mozilla web author faq from henri sivonen making your web page compatible with mozilla from nicolás lichtmaier complete css
guide from westciv.com css lessons and tutorials from alsacreations html and css lessons and tutorials from htmldog.com preparing for standard-compliant browsers, part 1 from makiko itoh preparing for standard-compliant browsers, part 2 from makiko itoh javascript best practices lists 15 of the most frequent coding practices which create problems for javascript and dhtml-driven webpages.
Archived open Web documentation - Archive of obsolete content
talk:javascript reference the
guide section links to an interesting document discussing how to create and use private variables in objects, which is great if you want to protect the various properties within an object from being poked at accidentally.
Game promotion - Game development
if you want to learn more about the etiquette of contacting the press you should definitely check out how to contact press - a great
guide from pixel prospector, and the video game journaliser site curated by them for the list of sites to contact.
Audio for Web games - Game development
this article provides a detailed
guide to implementing audio for web games, looking at what works currently across as wide a range of platforms as possible.
2D maze game with device orientation - Game development
to load specific levels, we make sure the previous levels are hidden, and show the current one: showlevel: function(level) { var lvl = level | this.level; if(this.levels[lvl-2]) { this.levels[lvl-2].visible = false; } this.levels[lvl-1].visible = true; } thanks to that the game gives the player a challenge - now he have to roll the ball across the play area and
guide it through the labyrinth built from the blocks.
Flex - MDN Web Docs Glossary: Definitions of Web-related terms
learn more property reference align-content align-items align-self flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap justify-content order further reading css flexible box layout module level 1 specification css flexbox
guide: basic concepts of flexbox css flexbox
guide: relationship of flexbox to other layout methods css flexbox
guide: aligning items in a flex container css flexbox
guide: ordering flex items css flexbox
guide: controlling ratios of flex items along the main axis css flexbox
guide: mastering wrapping of flex items css flexbox
guide: typical use cases of flexbox ...
Flexbox - MDN Web Docs Glossary: Definitions of Web-related terms
learn more property reference align-content align-items align-self flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap justify-content order further reading css flexible box layout module level 1 specification css flexbox
guide: basic concepts of flexbox css flexbox
guide: relationship of flexbox to other layout methods css flexbox
guide: aligning items in a flex container css flexbox
guide: ordering flex items css flexbox
guide: controlling ratios of flex items along the main axis css flexbox
guide: mastering wrapping of flex items css flexbox
guide: typical use cases of flexbox ...
Grid Areas - MDN Web Docs Glossary: Definitions of Web-related terms
100px 100px; grid-template-areas: "a a b" "a a b"; } .item1 { grid-area: a; } .item2 { grid-area: b; } <div class="wrapper"> <div class="item1">item</div> <div class="item2">item</div> </div> learn more property reference grid-template-columns grid-template-rows grid-auto-rows grid-auto-columns grid-template-areas grid-area further reading css grid layout
guide: basic concepts of grid layout css grid layout
guide: grid template areas definition of grid areas in the css grid layout specification ...
Grid Cell - MDN Web Docs Glossary: Definitions of Web-related terms
; color: #d9480f; } .wrapper { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 100px; } <div class="wrapper"> <div>one</div> <div>two</div> <div>three</div> <div>four</div> <div>five</div> </div> learn more property reference grid-template-columns grid-template-rows grid-auto-rows grid-auto-columns further reading css grid layout
guide: basic concepts of grid layout definition of grid cells in the css grid layout specification ...
Grid Lines - MDN Web Docs Glossary: Definitions of Web-related terms
late-rows: [row1-start] 100px [row2-start] 100px [rows-end]; } .item { grid-column-start: col1-start; grid-column-end: col3-start; grid-row-start: row1-start; grid-row-end: rows-end; } learn more property reference grid-template-columns grid-template-rows grid-column-start grid-column-end grid-column grid-row-start grid-row-end grid-row further reading css grid layout
guide: basic concepts of grid layout css grid layout
guide: line-based placement with css grid css grid layout
guide: layout using named grid lines css grid layout
guide: css grids, logical values and writing modes definition of grid lines in the css grid layout specification ...
JavaScript - MDN Web Docs Glossary: Definitions of Web-related terms
learn more general knowledge javascript on wikipedia learning javascript the javascript
guide on mdn the "javascripting" workshop on nodeschool the javascript course on codecademy.com john resig's learning advanced javascript technical reference the latest ecmascript standard the javascript reference on mdn the eloquent javascript book ...
Main Axis - MDN Web Docs Glossary: Definitions of Web-related terms
learn more property reference flex-basis flex-direction flex-grow flex-shrink justify-content flex further reading css flexbox
guide: basic concepts of flexbox css flexbox
guide: aligning items in a flex container css flexbox
guide: controlling ratios of flex items along the main axis ...
CSS and JavaScript accessibility best practices - Learn web development
accept that users can override styles accept that users can override your styles it is possible for users to override your styles with their own custom styles, for example: see sarah maddox's how to use a custom style sheet (css) with firefox for a useful
guide covering how to do this manually in firefox, and how to use a custom style sheet (css) with internet explorer by adrian gordon for the equivalent ie instructions.
WAI-ARIA basics - Learn web development
the paciello group has a fairly up-to-date post that provides data for this — see rough
guide: browsers, operating systems and screen reader support updated.
CSS selectors - Learn web development
previous overview: building blocks next reference table of selectors the below table gives you an overview of the selectors you have available to use, along with links to the pages in this
guide which will show you how to use each type of selector.
The box model - Learn web development
note: to read more about the values of display, and how boxes work in block and inline layout, take a look at the mdn
guide to block and inline layout.
Flexbox - Learn web development
previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Floats - Learn web development
previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Legacy layout methods - Learn web development
previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Normal Flow - Learn web development
previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
Practical positioning examples - Learn web development
in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's
guide to media queries legacy layout methods supporting older browsers fundamental layout comprehension assessment ...
CSS first steps - Learn web development
guides this module contains the following articles, which will take you through all the basic theory of css, and provide opportunities for you to test out some skills.
Web fonts - Learn web development
they are somewhat advanced for our beginner's course, but if you fancy stretching yourself and looking into them, read our variable fonts
guide.
What is accessibility? - Learn web development
accessibility champions since 1999, the w3c has operated a working group called the web accessibility initiative (wai) promoting accessibility through
guidelines, support material, and international resources.
The HTML5 input types - Learn web development
it is a helpful aid to
guide users to fill out a form accurately, and it can save time — it is useful to know that your data is not correct immediately, rather than having to wait for a round trip to the server.
Front-end web developer - Learn web development
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.
HTML Tables - Learn web development
guides this module contains the following articles: html table basics this article gets you started with html tables, covering the very basics such as rows and cells, headings, making cells span multiple columns and rows, and how to group together all the cells in a column for styling purposes.
Asynchronous JavaScript - Learn web development
guides general asynchronous programming concepts in this article we'll run through a number of important concepts relating to asynchronous programming, and how this looks in web browsers and javascript.
Client-side web APIs - Learn web development
guides introduction to web apis first up, we'll start by looking at apis from a high level — what are they, how do they work, how do you use them in your code, and how are they structured?
Working with JSON - Learn web development
summary in this article, we've given you a simple
guide to using json in your programs, including how to create and parse json, and how to access data locked inside it.
Introducing JavaScript objects - Learn web development
guides object basics in the first article looking at javascript objects, we'll look at fundamental javascript object syntax, and revisit some javascript features we've already looked at earlier on in the course, reiterating the fact that many of the features you've already dealt with are in fact objects.
JavaScript — Dynamic client-side scripting - Learn web development
after getting familiar with the basics of javascript, you should be in a position to learn about more advanced topics, for example: javascript in depth, as taught in our javascript
guide web apis modules this topic contains the following modules, in a suggested order for working through them.
Getting started with Svelte - Learn web development
sitory you should execute: git clone https://github.com/opensas/mdn-svelte-tutorial.git then at the beginning of each article, you can just cd into the corresponding folder and start the app in dev mode to see what its current state should be, like this: cd 02-starting-our-todo-app npm install npm run dev if you want lo learn more about git and github, we've compiled a list of links to useful
guides — see git and github.
Cross browser testing - Learn web development
guides introduction to cross browser testing this article starts the module off by providing an overview of the topic of cross browser testing, answering questions such as "what is cross browser testing?", "what are the most common types of problems you'll encounter?", and "what are the main approaches for testing, identifying, and fixing problems?" strategies for carrying out testing next, we dr...
Client-side tooling overview - Learn web development
often linters can be configured to not only report errors, but also report any violations of a specified style
guide that you team might be using (for example code that is using the wrong number of spaces for indentation, or using template literals rather than regular string literals).
Package management basics - Learn web development
a rough
guide to package manager clients this tutorial installed the parcel package using npm, but as mentioned earlier on there are some alternatives and it's worth at least knowing they exist and having some vague idea of the common commands across the tools.
Theme concepts
return; } currenttheme = theme; browser.theme.update(themes[theme]); } learn more about dynamic themes and see an additional example in the following video: if you have not built a browser extension before, check out your first extension for a step-by-step
guide.
Add-ons
you’ll find: overview of the firefox extension features tools and processes for developing and testing how to publish your extension on addons.mozilla.org or distribute it yourself how to manage your published extension an enterprise
guide for developing and using extensions how to develop themes for firefox firefox developer communities extensions for firefox for android in 2020, mozilla will release a new firefox for android experience.
Testopia
links faq wiki docs bugs (please read the bug reporting
guide) official testopia blog irc: #testopia or #bugzilla user help support-webtools@lists.mozilla.org developers dev-apps-webtools@lists.mozilla.org downloads download 2.5 (bugzilla 4.2) download 2.4 (bugzilla 3.6 and 4.0) archived versions developers greg hendricks vance baarda (former developer) ed fuentetaja (former developer) ...
Bootstrapping a new locale
recommended order of localization for recommended order of localization, refer to the localization "phase list" which provides a very rough
guide on where to start and in what order to proceed through translation.
Localizing with Koala
introduction this tutorial will
guide you through making a couple of changes to firefox's user interface using koala, an add-on for komodo edit created to help localizing mozilla.
Release phase
here, we'll continue to stay true to the original intent of this
guide and only present you with the technical information you need to become an official release.
Localization technical reviews
this
guide provides details on what a localization technical review is, what criteria are used for the technical reviews, and the process for requesting one and following its progress.
GPU performance
guides accurately profiling direct3d api calls (direct3d 9)- suggests avoiding normal profilers like xperf and instead measuring the time to flush the command buffer.
Profiling with Instruments
official apple documentation instruments user
guide instruments user reference instruments help articles instruments help performance overview basic usage select "time profiler" from the "choose a profiling template for:" dialog.
powermetrics
also note that powermetrics -h is a better
guide to the the command-line options than man powermetrics.
Crash reporting
see also understanding crash reports a
guide to searching crash reports crash-stats crash pings (telemetry) and crash reports (socorro/crash stats) building firefox with debug symbols environment variables affecting crash reporting in-code documentation crash reporter crash manager crash ping ...
Hash Tables
ts hash table functions hash table types and constants plhashentry plhashtable plhashnumber plhashfunction plhashcomparator plhashenumerator plhashallocops hash table functions pl_newhashtable pl_hashtabledestroy pl_hashtableadd pl_hashtableremove pl_hashtablelookup pl_hashtableenumerateentries pl_hashstring pl_comparestrings pl_comparevalues see also xpcom hashtable
guide ...
JSS
java provides a jce provider called sunpkcs11 (see java pkcs#11 reference
guide.) sunpkcs11 can be configured to use the nss module as the crytographic provider.
PKCS11 FAQ
these are the general
guidelines: user certificates are identified by their labels.
PKCS11 Implement
this document supplements the information in pkcs #11: cryptographic token interface standard, version 2.0 with
guidelines for implementors of cryptographic modules who want their products to work with mozilla client software: how nss calls pkcs #11 functions.
NSS reference
initial notes we are migrating the ssl reference into the format described in the mdn style
guide.
OLD SSL Reference
old ssl reference we are migrating this ssl reference into the format described in the mdn style
guide.
gtstd.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
pkfnc.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
sslcrt.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
sslerr.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
sslfnc.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
sslintro.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
sslkey.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
ssltyp.html
this page is part of the ssl reference that we are migrating into the format described in the mdn style
guide.
NSS Tools
source, documentation currently points to the netscape certificate management system administration
guide on docs.sun.com.
Network Security Services
nss api
guidelines explains how the libraries and code are organized, and
guidelines for developing code (naming conventions, error handling, thread safety, etc.) nss technical notes links to nss technical notes, which provide latest information about new nss features and supplementary documentation for advanced topics in programming with nss.
Rhino overview
javascript: the definitive
guide is recommended, and contains a chapter on rhino.
Hacking Tips
some
guidelines for handling oom that lead to failures when they are not followed: check for allocation failure!
Garbage collection
for information on how the rooting apis should be used by embedders, read: gc rooting
guide.
JS::Compile
see also the jsapi user
guide contains example code using compiled scripts.
JS::CompileFunction
see also the jsapi user
guide contains example code using compiled scripts.
JS::Handle
ed in spidermonkey 38 typedef handle<value> handlevalue; } see also mxr id search for js::handle mxr id search for js::handlefunction mxr id search for js::handleid mxr id search for js::handleobject mxr id search for js::handlescript mxr id search for js::handlestring mxr id search for js::handlesymbol mxr id search for js::handlevalue js::rooted js::mutablehandle gc rooting
guide bug 714647 bug 761391 - added js::handlescript bug 645416 - added js::handlesymbol ...
JS::MutableHandle
ehandlevalue; } see also mxr id search for js::mutablehandle mxr id search for js::mutablehandlefunction mxr id search for js::mutablehandleid mxr id search for js::mutablehandleobject mxr id search for js::mutablehandlescript mxr id search for js::mutablehandlestring mxr id search for js::mutablehandlesymbol mxr id search for js::mutablehandlevalue js::rooted js::handle gc rooting
guide bug 770759 bug 761391 - added js::mutablehandlescript bug 645416 - added js::mutablehandlesymbol ...
JS::PersistentRooted
for js::persistentrooted mxr id search for js::persistentrootedfunction mxr id search for js::persistentrootedid mxr id search for js::persistentrootedobject mxr id search for js::persistentrootedscript mxr id search for js::persistentrootedstring mxr id search for js::persistentrootedsymbol mxr id search for js::persistentrootedvalue js::rooted js::handle js::mutablehandle gc rooting
guide bug 892643 bug 1107639 -- added two phase construction.
JS::Rooted
rootedid; typedef rooted<js::value> rootedvalue; } see also mxr id search for js::rooted mxr id search for js::rootedobject mxr id search for js::rootedfunction mxr id search for js::rootedscript mxr id search for js::rootedstring mxr id search for js::rootedsymbol mxr id search for js::rootedid mxr id search for js::rootedvalue js::handle js::mutablehandle gc rooting
guide bug 756823 bug 761391 - added js::rootedscript bug 645416 - added js::rootedsymbol ...
JSRuntime
sample code to set up and tear down a jsruntime and a jscontext is at jsapi user
guide.
JS_CompileScript
see also the jsapi user
guide contains example code using compiled scripts.
Accessibility API Implementation Details
xforms accessibilitythis article provides a quick
guide to how accessibility is handled in gecko for xforms.xul accessibilitythis article shows how xul control elements are mapped to accessibility api.
places.sqlite Database Troubleshooting
then open an sqlite shell: my_work_folder> sqlite3 places.sqlite-corrupt sqlite> pragma integrity_check; if the result is ok, this
guide won't help; stop here and please file a bug.
Places
documentation places migration
guide migrating existing code to use the places api.
XPCOM glue
extension and application authors currently using internal linkage should read the
guide on migrating from internal linkage to frozen linkage.
Component Internals
these classes are described in the mozilla string
guide (see gecko resources).
Resources
weblock resources weblock installer and information the sdk download linux: http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.4a/gecko-sdk-i686-pc-linux-gnu-1.4a.tar.gz windows: http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.4a/gecko-sdk-win32-1.4a.zip other mozilla downloads gecko resources internal string
guide external string
guide the gecko networking library ("necko") the netscape portable runtime environment embedding mozilla current module owners xpinstall xul xpcom resources the xpcom project page xulplanet's online xpcom reference information on xpconnect and scriptable components the smart pointer
guide xpidl xpidl compiler reference general development resources the world ...
Using XPCOM Utilities to Make Things Easier
linking the full string library (.lib or .a) into a component may raise its footprint by more than 100k (on windows), which in many cases is an unacceptable gain (see the xpcom string
guide).
Creating XPCOM components
next » this
guide is about gecko, and about creating xpcom components for gecko-based applications.
PlXPCOM
project page (mozdev) perl object definition (mozdev) developer's
guide to perl xpcom (mozdev) newsgroup (mozdev) mailing list (mozdev) ...
nsIClassInfo
violates the xpcom interface
guidelines exceptions thrown ns_error_not_available if the class does not have a classid contractid string a contractid through which an instance of this class can be created, or null.
nsIInProcessContentFrameMessageManager
1.0 66 introduced gecko 2.0 inherits from: nsicontentframemessagemanager last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview nsicontent getownercontent(); violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines getownercontent() nsicontent getownercontent(); parameters none.
nsIMemory
method overview voidptr alloc(in size_t size); violates the xpcom interface
guidelines void free(in voidptr ptr); violates the xpcom interface
guidelines void heapminimize(in boolean immediate); boolean islowmemory(); deprecated since gecko 2.0 voidptr realloc(in voidptr ptr, in size_t newsize); violates the xpcom interface
guidelines methods alloc allocates a block of memory of a particular size.
nsIThreadEventFilter
last changed in gecko 1.9 (firefox 3) inherits from: nsisupports method overview boolean acceptevent(in nsirunnable event);violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines acceptevent() this method is called to determine whether or not an event may be accepted by a nested event queue.
XPCOM reference
see the xpcom internal string
guide for documentation of the internal string api used within the mozilla codebase.
Reference Manual
if you've never use nscomptrs before, you might want to read the getting started
guide first.
Using nsCOMPtr
contents status, recent changes, and plans recent changes to nscomptr getting started
guide introduction using nscomptr summary reference manual the basics initialization and assignment using an nscomptr<t> as a t* efficiency and correctness compiler annoyances frequently asked questions buildtime errors runtime errors how do i...
Weak reference
see also the source xpcom/base/nsiweakreference.idl xpcom/glue/nsweakreference.h xpcom/glue/nsweakreference.cpp xpcom ownership
guidelines using nscomptr original document information author: scott collins last updated date: september 23, 2000 copyright information: portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a creative commons license | details.
xptcall FAQ
the code is at: xpcom/reflect/xptcall a new porting
guide is at: https://developer.mozilla.org/en/xptcall_porting_
guide pre-implementation proposals are here and here.
XPIDL
xpidl:syntax (now up to date again) xpidl syntax (out of date) xpidl author's
guide (not as out of date) explanation of idl semantics a full
guide to the syntax can be found at xpidl:syntax, which is written in an abnf form.
MailNews fakeserver
specific fakeserver
guidelines pop imap smtp nntp nntpd.js defines a few different classes of nntp servers: compliance for rfc 977, rfc 2980, and rfc 3977, as well as a giganews and an inn server.
Building a Thunderbird extension 1: introduction
documentation thunderbird extensions (documentation overview) firefox addons developer
guide (many topics are applicable to thunderbird) mozilla cross-reference source code browser ("comm-central" contains the thunderbird code repository) community the thunderbird development community has a mailing list with an extensive searchable archive with an extensive searchable archive.
js-ctypes
custom native file standard os libraries finding window handles working with data working with arraybuffers declaring types declaring and calling functions declaring and using callbacks type conversion memory management chromeworker js-ctypes reference a reference
guide to the js-ctypes api.
Plug-in Basics - Plugins
this
guide notes platform-specific differences in coding for the ms windows, mac os x, and unix platforms.
Inspect and select colors - Firefox Developer Tools
if you click on the color sample, you'll see a color picker popup, enabling you to change the color: if the color is a foreground color, the color picker tells you whether its contrast with the background color meets accessibility
guidelines.
Page Inspector - Firefox Developer Tools
how to to find out what you can do with the inspector, see the following how to
guides: open the inspector examine and edit html examine and edit the box model inspect and select colors reposition elements in the page edit fonts visualize transforms use the inspector api select an element examine and edit css examine event listeners work with animations edit css filters edit css shapes view background images use the inspector from the web console examine css gr...
Validators - Firefox Developer Tools
applications and services devedge web tune-up wizard this interface to w3c services
guides beginning-to-intermediate web authors through the process of updating content to support netscape 7.x, mozilla and other browsers that support w3c standards.
AnalyserNode - Web APIs
examples note: see the
guide visualizations with web audio api for more information on creating audio visualizations.
Animation - Web APIs
designing safer web animation for motion sensitivity · an a list apart article an introduction to the reduced motion media query | css-tricks responsive design for motion | webkit mdn understanding wcag,
guideline 2.2 explanations understanding success criterion 2.2.2 | w3c understanding wcag 2.0 specifications specification status comment web animationsthe definition of 'animation' in that specification.
AudioConfiguration - Web APIs
properties the audioconfiguration dictionary is made up of four audio properties, including: contenttype: a valid audio mime type, for information on possible values and what they mean, see the web audio codec
guide.
BaseAudioContext.createBuffer() - Web APIs
syntax var buffer = baseaudiocontext.createbuffer(numofchannels, length, samplerate); parameters note: for an in-depth explanation of how audio buffers work, and what these parameters mean, read audio buffers: frames, samples and channels from our basic concepts
guide.
Canvas API - Web APIs
guides and tutorials canvas tutorial a comprehensive tutorial covering both the basic usage of the canvas api and its advanced features.
Gamepad API - Web APIs
tutorials and
guides using the gamepad api implementing controls using the gamepad api specifications specification status comment gamepad extensions editor's draft defines the experimental gamepad extensions.
HTMLImageElement.useMap - Web APIs
x.html" alt="return to home page"> <area shape="rect" coords="25, 25, 100, 150" href="/index.html" alt="shop"> </map> given the image map named mainmenu-map, the image which uses it should look something like the following: <img src="menubox.png" usemap="#mainmenu-map"> for additional examples (including interactive ones), see the articles about the <map> and <area> elements, as well as the
guide to using image maps.
HTMLMediaElement.autoplay - Web APIs
for a much more in-depth look at autoplay, autoplay blocking, and how to respond whena autoplay is blocked by the user's browser, see our article autoplay
guide for media and web audio apis.
HTML Drag and Drop API - Web APIs
); } window.addeventlistener('domcontentloaded', () => { // get the element by id const element = document.getelementbyid("p1"); // add the ondragstart event listener element.addeventlistener("dragstart", dragstart_handler); }); </script> <p id="p1" draggable="true">this element is draggable.</p> for more information, see: draggable attribute reference drag operations
guide define the drag's data the application is free to include any number of data items in a drag operation.
MediaDevices.getUserMedia() - Web APIs
here, indicate we need the ability to use both camera and microphone: <iframe src="https://mycode.example.net/etc" allow="camera;microphone"> </iframe> read our
guide, using feature policy, to learn more about how it works.
MediaStreamTrack - Web APIs
mediastreamtrack.contenthint a string that may be used by the web application to provide a hint as to what type of content the track contains to
guide how it should be treated by api consumers.
MediaTrackConstraints.aspectRatio - Web APIs
otherwise, the value of this constraindouble will
guide the user agent in its efforts to provide an exact match to the required aspect ratio (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.channelCount - Web APIs
otherwise, the value of this constrainlong will
guide the user agent in its efforts to provide an exact match to the required channel count (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.frameRate - Web APIs
otherwise, the value of this constraindouble will
guide the user agent in its efforts to provide an exact match to the required frame rate (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.height - Web APIs
otherwise, the value of this constrainlong will
guide the user agent in its efforts to provide an exact match to the required height (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.latency - Web APIs
otherwise, the value of this constraindouble will
guide the user agent in its efforts to provide an exact match to the required latency (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.sampleRate - Web APIs
otherwise, the value of this constrainlong will
guide the user agent in its efforts to provide an exact match to the required sample rate (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.sampleSize - Web APIs
otherwise, the value of this constrainlong will
guide the user agent in its efforts to provide an exact match to the required sample size (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackControls.volume - Web APIs
otherwise, the value of this constraindouble will
guide the user agent in its efforts to provide an exact match to the required volume (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
MediaTrackConstraints.width - Web APIs
otherwise, the value of this constrainlong will
guide the user agent in its efforts to provide an exact match to the required width (if exact is specified or both min and max are provided and have the same value) or to a best-possible value.
Media Capture and Streams API (Media Stream) - Web APIs
events addtrack ended muted overconstrained removetrack started unmuted
guides and tutorials the articles below provide additional guidance and how-to information that will help you learn to use the api, and how to perform specific tasks that you may wish to handle.
Using the Permissions API - Web APIs
this article provides a basic
guide to using the w3c permissions api, which provides a programmatic way to query the status of api permissions attributed to the current context.
Using Pointer Events - Web APIs
this
guide demonstrates how to use pointer events and the html <canvas> element to build a multi-touch enabled drawing application.
Multi-touch interaction - Web APIs
the application described in this
guide shows how to use touch events for simple single and multi-touch interactions, the basics needed to build application-specific gestures.
Touch events - Web APIs
it is only intended as a
guide.) function ontouch(evt) { evt.preventdefault(); if (evt.touches.length > 1 || (evt.type == "touchend" && evt.touches.length > 0)) return; var newevt = document.createevent("mouseevents"); var type = null; var touch = null; switch (evt.type) { case "touchstart": type = "mousedown"; touch = evt.changedtouches[0]; break; case "touchmove": type = "mo...
WebGL best practices - Web APIs
you can rely on this document to
guide your choice of approach, and ensure you're on the right track no matter what browser or hardware your users run.
Using DTMF with WebRTC - Web APIs
this article offers a brief high-level overview of how dtmf works over webrtc, then provides a
guide for everyday developers about how to send dtmf over an rtcpeerconnection.
Using WebRTC data channels - Web APIs
in this
guide, we'll examine how to add a data channel to a peer connection, which can then be used to securely exchange arbitrary data; that is, any kind of data we wish, in any format we choose.
The WebSocket API (WebSockets) - Web APIs
guides writing websocket client applications writing websocket servers writing a websocket server in c# writing a websocket server in java tools humblenet: a cross-platform networking library that works in the browser.
Fundamentals of WebXR - Web APIs
in this
guide, we provide a fundamental overview of what webxr is and how it works, as well as providing a foundation for what you'll need to know before you even begin to learn to develop augmented reality and virtual reality experiences for the web.
Using IIR filters - Web APIs
demo our simple example for this
guide provides a play/pause button that starts and pauses audio play, and a toggle that turns an iir filter on and off, altering the tone of the sound.
Window.open() - Web APIs
offer to open a link in a new window, using these
guidelines if you want to offer to open a link in a new window, then follow tested and recommendable usability and accessibility
guidelines: never use this form of code for links: <a href="javascript:window.open(...)" ...> "javascript:" links break accessibility and usability of webpages in every browser.
Using XMLHttpRequest - Web APIs
in this
guide, we'll take a look at how to use xmlhttprequest to issue http requests in order to exchange data between the web site and a server.
overview - Accessibility
general resources dhtml style
guide provides keyboard interaction recommendations wai-aria authoring practices
guide checkbox aria toggle button and tri-state checkbox examples (from "the paciello group blog") aria example checkbox widgets from the university of illinois menu using wai-aria roles and states with the yui menu control slider from the paciello group blog: aria slider, part one, part two, part threet (example) creating an accessible, internationalized dojo rating widget tabs enhancing tabview accessibility with wai-aria roles and states, from the yui blog enhancing the jquery ui tabs accordingly to wcag 2.0 and ar...
Web accessibility for seizures and physical reactions - Accessibility
ow threshhold understanding sc 2.3.1 understanding wcag 2.0 (older, but contains some explanations of references made in the wcag 2.1 criteria) three flashes or below threshold understanding success criterion 2.3.1 understanding wcag 2.1 understanding success criteria 1.4.3: contrast (minimum) web accessibility initiative (wai) web animations model w3c working draft web content accessibility
guidelines (wcag) 2.0 definition of relative luminance web content accessibility
guidelines (wcag) 2.1 contributers: heartfelt thanks to teal; wayne dick of the low vision task force of the w3c; tom jewett and eric eggert from knowbility; jim allan of the diagram center; and dr.
Accessibility
other documentation understanding the web content accessibility
guidelines this set of articles provides quick explanations to help you understand the steps that need to be taken to conform to the recommendations outlined in the w3c web content accessibility
guidelines 2.0 (wcag 2.0 or just wcag, for the purposes of this writing).
:empty - CSS: Cascading Style Sheets
| the paciello group hidden content for better a11y | go make things mdn understanding wcag,
guideline 2.4 explanations understanding success criterion 2.4.4 | w3c understanding wcag 2.0 specifications specification status comment selectors level 4the definition of 'the :empty pseudo-class' in that specification.
:invalid - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.1 | w3c understanding wcag 2.0 notes radio buttons if any one of the radio buttons in a group is required, the :invalid pseudo-class is applied to all of them if none of the buttons in the group is selected.
:optional - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 3.3 explanations understanding success criterion 3.3.2 | w3c understanding wcag 2.0 specifications specification status comment html living standardthe definition of ':optional' in that specification.
:required - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 3.3 explanations understanding success criterion 3.3.2 | w3c understanding wcag 2.0 specifications specification status comment html living standardthe definition of ':required' in that specification.
:valid - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.1 | w3c understanding wcag 2.0 specifications specification status comment html living standardthe definition of ':valid' in that specification.
font-stretch - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.8 | w3c understanding wcag 2.0 formal definition related at-rule@font-faceinitial valuenormalcomputed valueas specified formal syntax <font-stretch-absolute>{1,2}where <font-stretch-absolute> = normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percen...
font-weight - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.8 | w3c understanding wcag 2.0 formal definition related at-rule@font-faceinitial valuenormalcomputed valueas specified formal syntax <font-weight-absolute>{1,2}where <font-weight-absolute> = normal | bold | <number <a href="/docs/css/value_definition_syntax#brackets" title="brackets: enclose several entities, combinators, and multipl...
user-zoom - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | understanding wcag 2.0 formal definition related at-rule@viewportinitial valuezoompercentagesrefer to the size of bounding boxcomputed valueas specified formal syntax zoom | fixed examples disabling user zoom @viewport { user-zoom: fixed; } specifications specification status comment css device ...
CSSOM View - CSS: Cascading Style Sheets
reference properties scroll-behavior
guides coordinate systems a
guide to the coordinate systems used to specify the position of a location in a display context, whether that context is a window on a monitor, a viewport on a mobile device, or a position on a sheet of paper when printing.
CSS Animations - CSS: Cascading Style Sheets
reference css properties animation animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function css at-rules @keyframes
guides detecting css animation support describes a technique for detecting if a browser supports css animations.
CSS Basic User Interface - CSS: Cascading Style Sheets
reference properties appearance box-sizing cursor ime-mode nav-down nav-left nav-right nav-up outline outline-width outline-style outline-color outline-offset resize text-overflow user-select
guides using url values for the cursor property explains how a url can be used with the cursor property to produce custom cursors.
Box alignment in grid layout - CSS: Cascading Style Sheets
reference css properties justify-content align-content place-content justify-items align-items place-items justify-self align-self place-self row-gap column-gap gap glossary entries cross axis main axis
guides alignment in grid layout external resources box alignment cheatsheet css grid, flexbox and box alignment thoughts on partial implementations of box alignment ...
Box alignment in Flexbox - CSS: Cascading Style Sheets
reference css properties justify-content align-content place-content justify-items align-items place-items align-self row-gap column-gap gap glossary entries cross axis main axis
guides alignment in flexbox external resources box alignment cheatsheet css grid, flexbox and box alignment thoughts on partial implementations of box alignment ...
CSS Box Alignment - CSS: Cascading Style Sheets
t box alignment in multiple-column layout box alignment for block, absolutely positioned and table layout reference css properties justify-content align-content place-content justify-items align-items place-items justify-self align-self place-self row-gap column-gap gap glossary entries cross axis main axis alignment container alignment subject fallback alignment
guides css flexbox
guide: basic concepts of flexbox css flexbox
guide: aligning items in a flex container css grid
guide: box alignment in css grid layouts external resources box alignment cheatsheet css grid, flexbox and box alignment thoughts on partial implementations of box alignment ...
CSS Basic Box Model - CSS: Cascading Style Sheets
erflow-y properties controlling the size of a box height width max-height max-width min-height min-width properties controlling the margins of a box margin margin-bottom margin-left margin-right margin-top margin-trim properties controlling the paddings of a box padding padding-bottom padding-left padding-right padding-top other properties visibility
guides introduction to the css box model explains one of the fundamental concept of css: the box model.
CSS Color - CSS: Cascading Style Sheets
reference properties color color-adjust opacity data types <color>
guides applying color to html elements using css a
guide to using css to apply color to a variety of types of content.
CSS Multi-column Layout - CSS: Cascading Style Sheets
reference multiple-column layout properties column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns related css fragmentation properties break-after break-before break-inside orphans widows
guides basic concepts of multicol an overview of the multiple-column layout specification styling columns how to use column rules and manage the spacing between columns.
CSS Counter Styles - CSS: Cascading Style Sheets
reference properties counter-increment counter-reset at-rules @counter-style system additive-symbols negative prefix suffix range pad speak-as fallback
guides using css counters describes how to use counters to number any html element or to perform complex counting.
CSS Display - CSS: Cascading Style Sheets
reference css properties display css data types <display-outside> <display-inside> <display-listitem> <display-box> <display-internal> <display-legacy>
guides css flow layout (display: block, display: inline) block and inline layout in normal flow flow layout and overflow flow layout and writing modes formatting contexts explained in flow and out of flow display: flex basic concepts of flexbox aligning items in a flex container controlling ratios of flex items along the main axis cross-browser flexbox mixins mastering wrapping of flex items ordering flex items relationship of flexbox to other layou...
Cross-browser Flexbox mixins - CSS: Cascading Style Sheets
it browsers without flex wrapping) final standards syntax (ff, safari, chrome, ie11+, edge, opera) this was inspired by: http://dev.opera.com/articles/view/advanced-cross-browser-flexbox/ with help from: http://w3.org/tr/css3-flexbox/ http://the-echoplex.net/flexyboxes/ http://msdn.microsoft.com/en-us/library/ie/hh772069(v=vs.85).aspx http://css-tricks.com/using-flexbox/ a complete
guide to flexbox | css-tricks visual
guide to css3 flexbox: flexbox playground | note: mixins are not currently supported natively in browsers.
CSS Flexible Box Layout - CSS: Cascading Style Sheets
justify-content align-content align-items align-self place-content place-items row-gap column-gap gap glossary entries flexbox flex container flex item main axis cross axis flex
guides basic concepts of flexbox an overview of the features of flexbox relationship of flexbox to other layout methods how flexbox relates to other layout methods, and other css specifications aligning items in a flex container how the box alignment properties work with flexbox.
CSS Flow Layout - CSS: Cascading Style Sheets
guides block and inline layout in normal flow in flow and out of flow formatting contexts explained flow layout and writing modes flow layout and overflow reference glossary entries block (css) ...
CSS Grid Layout - CSS: Cascading Style Sheets
d-template grid-auto-columns grid-auto-rows grid-auto-flow grid grid-row-start grid-column-start grid-row-end grid-column-end grid-row grid-column grid-area row-gap column-gap gap css functions repeat() minmax() fit-content() css data types <flex> glossary entries grid grid lines grid tracks grid cell grid area gutters grid axis grid row grid column
guides basic concepts of grid layout relationship of grid layout to other layout methods layout using line-based placement grid template areas layout using named grid lines auto-placement in css grid layout box alignment in css grid layout css grid, logical values and writing modes css grid layout and accessibility css grid and progressive enhancement realising common layouts using css gr...
CSS Images - CSS: Cascading Style Sheets
reference properties image-orientation image-rendering image-resolution object-fit object-position functions linear-gradient() radial-gradient() repeating-linear-gradient() repeating-radial-gradient() conic-gradient() repeating-conic-gradient() url() element() image() cross-fade() data types <gradient> <image>
guides using css gradients presents a specific type of css images, gradients, and how to create and use these.
CSS Lists - CSS: Cascading Style Sheets
reference properties list-style-image list-style-type list-style-position list-style
guides consistent list indentation explains how to achieve consistent list indentation across different browsers.
CSS Logical Properties and Values - CSS: Cascading Style Sheets
t keywords) overflow-block overflow-inline overscroll-behavior-block overscroll-behavior-inline resize (block and inline keywords) text-align (end and start keywords) deprecated properties offset-block-end (now inset-block-end ) offset-block-start (now inset-block-start ) offset-inline-end (now inset-inline-end ) offset-inline-start (now inset-inline-start )
guides basic concepts of logical properties and values logical properties for sizing logical properties for margins, borders and padding logical properties for floating and positioning specifications specification status comment css logical properties and values level 1 editor's draft initial definition.
CSS Positioned Layout - CSS: Cascading Style Sheets
reference css properties bottom clear float left position right top z-index
guides understanding css z-index presents the notion of stacking context and explains how z-ordering works, with several examples.
CSS Scroll Snap - CSS: Cascading Style Sheets
scroll-padding-inline-end scroll-padding-block scroll-padding-block-start scroll-padding-block-end css properties on children scroll-snap-align scroll-margin scroll-margin-top scroll-margin-right scroll-margin-bottom scroll-margin-left scroll-margin-inline scroll-margin-inline-start scroll-margin-inline-end scroll-margin-block scroll-margin-block-start scroll-margin-block-end
guides basic concepts of css scroll snap browser compatibility and scroll snap specification specification status comment css scroll snap module level 1 candidate recommendation initial definition ...
CSS Shapes - CSS: Cascading Style Sheets
reference properties shape-image-threshold shape-margin shape-outside data types <basic-shape>
guides overview of css shapes shapes from box values basic shapes shapes from images edit shape paths in css — firefox developer tools external resources a list of css shapes resources css shapes 101 creating non-rectangular layouts with css shapes how to use css shapes in your web design how to get started with css shapes what i learned in one weekend with css shapes css vs.
CSS Text Decoration - CSS: Cascading Style Sheets
reference properties letter-spacing text-align text-decoration text-decoration-color text-decoration-line text-decoration-offset text-decoration-skip-ink text-decoration-style text-decoration-thickness text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-indent text-rendering text-shadow text-transform white-space word-spacing
guides none.
CSS Transforms - CSS: Cascading Style Sheets
reference properties backface-visibility perspective perspective-origin rotate scale transform transform-box transform-origin transform-style translate data types <transform-function>
guides using css transforms step-by-step tutorial about how to transform elements styled with css.
CSS Transitions - CSS: Cascading Style Sheets
reference properties transition transition-delay transition-duration transition-property transition-timing-function
guides using css transitions step-by-step tutorial about how to create transitions using css.
Media queries - CSS: Cascading Style Sheets
reference at-rules @import @media
guides using media queries introduces media queries, their syntax, and the operators and media features which are used to construct media query expressions.
CSS reference - CSS: Cascading Style Sheets
style rule examples strong { color: red; } div.menu-bar li:hover > ul { display: block; } for a beginner-level introduction to the syntax of selectors, see our
guide on css selectors.
animation - CSS: Cascading Style Sheets
designing safer web animation for motion sensitivity · an a list apart article an introduction to the reduced motion media query | css-tricks responsive design for motion | webkit mdn understanding wcag,
guideline 2.2 explanations understanding success criterion 2.2.2 | w3c understanding wcag 2.0 formal definition initial valueas each of the properties of the shorthand:animation-name: noneanimation-duration: 0sanimation-timing-function: easeanimation-delay: 0sanimation-iteration-count: 1animation-direction: normalanimation-fill-mode: noneanimation-play-state: runningapplies toall elements, ::before...
background - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 formal definition initial valueas each of the properties of the shorthand:background-image: nonebackground-position: 0% 0%background-size: auto autobackground-repeat: repeatbackground-origin: padding-boxbackground-clip: border-boxbackground-attachment: scrollbackground-color: transparentapplies toall eleme...
border-image - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | understanding wcag 2.0 formal definition initial valueas each of the properties of the shorthand:border-image-source: noneborder-image-slice: 100%border-image-width: 1border-image-outset: 0border-image-repeat: stretchapplies toall elements, except internal table elements when border-collapse is collapse.
calc() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | w3c understanding wcag 2.0 usage with integers when calc() is used where an <integer> is expected, the value will be rounded to the nearest integer.
conic-gradient() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 examples gradient at 40-degrees div { width: 100px; height: 100px; } <div></div> div { background-image: conic-gradient(from 40deg, #fff, #000); } off-centered gradient div { width: 100px; height: 100px; } <div></div> div { background: conic-gradient(from 0deg at 0% 25%, bl...
content - CSS: Cascading Style Sheets
accessibility support for css generated content – tink explanation of wcag,
guideline 1.3 – mdn understanding success criterion 1.3.1 | w3c understanding wcag 2.0 formal definition initial valuenormalapplies to::before and ::after pseudo-elementsinheritednocomputed valueon elements, always computes to normal.
cross-fade() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 formal syntax cross-fade( <cf-mixing-image> , <cf-final-image>?
display - CSS: Cascading Style Sheets
short note on what css display properties do to table semantics — the paciello group hidden content for better a11y | go make things mdn understanding wcag,
guideline 1.3 explanations understanding success criterion 1.3.1 | w3c understanding wcag 2.0 formal definition initial valueinlineapplies toall elementsinheritednocomputed valueas the specified value, except for positioned and floating elements and the root element.
flex-direction - CSS: Cascading Style Sheets
flexbox & the keyboard navigation disconnect — tink source order matters | adrian roselli mdn understanding wcag,
guideline 1.3 explanations understanding success criterion 1.3.2 | w3c understanding wcag 2.0 formal definition initial valuerowapplies toflex containersinheritednocomputed valueas specifiedanimation typediscrete formal syntax row | row-reverse | column | column-reverse examples reversing flex container columns and rows html <h4>this is a column-reverse</h4> <div id="content"> <div class="b...
font-variation-settings - CSS: Cascading Style Sheets
it also applies to ::first-letter and ::first-line.inheritedyescomputed valueas specifiedanimation typea transform formal syntax normal | [ <string> <number> ]# examples you can find a number of other variable fonts examples at our variable fonts
guide, v-fonts.com, and axis-praxis.org.
font-weight - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.8 | w3c understanding wcag 2.0 formal definition initial valuenormalapplies toall elements.
height - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | w3c understanding wcag 2.0 formal definition initial valueautoapplies toall elements but non-replaced inline elements, table columns, and column groupsinheritednopercentagesthe percentage is calculated with respect to the height of the generated box's containing block.
image-set() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 specifications specification status comment css images module level 4the definition of 'the image-set() notation' in that specification.
<image> - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 examples valid images url(test.jpg) /* a <url>, as long as test.jpg is an actual image */ linear-gradient(blue, red) /* a <gradient> */ element(#realid) /* a part of the webpage, referenced with the element() function, if "realid" is an existing id ...
image() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 this feature can help improve accessibility by providing a fallback color when an image fails to load.
letter-spacing - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.8 | w3c understanding wcag 2.0 formal definition initial valuenormalapplies toall elements.
list-style-type - CSS: Cascading Style Sheets
ul { list-style: none; } ul li::before { content: "\200b"; } voiceover and list-style-type: none – unfettered thoughts mdn understanding wcag,
guideline 1.3 explanations understanding success criterion 1.3.1 | w3c understanding wcag 2.0 formal definition initial valuediscapplies tolist itemsinheritedyescomputed valueas specifiedanimation typediscrete formal syntax <counter-style> | <string> | nonewhere <counter-style> = <counter-style-name> | symbols()where <counter-style-name> = <custom-ident> examples setting list item markers html...
list-style - CSS: Cascading Style Sheets
ul { list-style: none; } ul li::before { content: "\200b"; } voiceover and list-style-type: none – unfettered thoughts mdn understanding wcag,
guideline 1.3 explanations understanding success criterion 1.3.1 | w3c understanding wcag 2.0 formal definition initial valueas each of the properties of the shorthand:list-style-type: disclist-style-position: outsidelist-style-image: noneapplies tolist itemsinheritedyescomputed valueas each of the properties of the shorthand:list-style-image: none or the image with its uri made absolutelist-style-...
max-height - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | w3c understanding wcag 2.0 formal definition initial valuenoneapplies toall elements but non-replaced inline elements, table columns, and column groupsinheritednopercentagesthe percentage is calculated with respect to the height of the generated box's containing block.
max-width - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | w3c understanding wcag 2.0 formal definition initial valuenoneapplies toall elements but non-replaced inline elements, table rows, and row groupsinheritednopercentagesrefer to the width of the containing blockcomputed valuethe percentage as specified or the absolute length or noneanimation typea length, percentage or calc(); formal...
max() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | w3c understanding wcag 2.0 specifications specification status comment css values and units module level 4the definition of 'max()' in that specification.
min() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | w3c understanding wcag 2.0 examples setting a maximum size for a label and input another use case for css functions is to set a maximum size on responsive form controls: enabling the width of labels and inputs to shrink as the width of the form shrinks.
order - CSS: Cascading Style Sheets
flexbox & the keyboard navigation disconnect — tink source order matters | adrian roselli mdn understanding wcag,
guideline 1.3 explanations understanding success criterion 1.3.2 | w3c understanding wcag 2.0 formal definition initial value0applies toflex items and absolutely-positioned flex container childreninheritednocomputed valueas specifiedanimation typean integer formal syntax <integer> examples ordering items in a flex container this example uses css to create a classic two-sidebar layout surroundi...
position - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations visual presentation: understanding sc 1.4.8 | understanding wcag 2.0 performance & accessibility scrolling elements containing fixed or sticky content can cause performance and accessibility issues.
repeating-conic-gradient() - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.1 explanations understanding success criterion 1.1.1 | w3c understanding wcag 2.0 examples black and white starburst div { width: 200px; height: 200px; } <div></div> div { background-image: repeating-conic-gradient(#fff 0 9deg, #000 9deg 18deg); } off-centered gradient this gradient repeats 18 times, but since we only see the right half, we only see 9 repeats.
scrollbar-width - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 2.1 explanations mdn understanding wcag,
guideline 2.5 explanations understanding success criterion 2.1.1 | w3c understanding wcag 2.1 understanding success criterion 2.5.5 | w3c understanding wcag 2.1 formal definition initial valueautoapplies toscrolling boxesinheritednocomputed valueas specifiedanimation typediscrete formal syntax auto | thin | none examples sizing overflow scrol...
text-align - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.8 | understanding wcag 2.0 formal definition initial valuestart, or a nameless value that acts as left if direction is ltr, right if direction is rtl if start is not supported by the browser.applies toblock containersinheritedyescomputed valueas specified, except for the match-parent value which is calculated against its parent's direct...
text-decoration-color - CSS: Cascading Style Sheets
webaim: color contrast checker mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 formal definition initial valuecurrentcolorapplies toall elements.
touch-action - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | understanding wcag 2.0 formal definition initial valueautoapplies toall elements except: non-replaced inline elements, table rows, row groups, table columns, and column groupsinheritednocomputed valueas specifiedanimation typediscrete formal syntax auto | none | [ [ pan-x | pan-left | pan-right ] | [ pan-y | pan-up | pan-down ] | ...
scale() - CSS: Cascading Style Sheets
find out more: mdn understanding wcag,
guideline 2.3 explanations understanding success criterion 2.3.3 | w3c understanding wcag 2.1 examples scaling the x and y dimensions together html <div>normal</div> <div class="scaled">scaled</div> css div { width: 80px; height: 80px; background-color: skyblue; } .scaled { transform: scale(0.7); /* equal to scalex(0.7) scaley(0.7) */ background-color: pink; } result scaling x a...
transform - CSS: Cascading Style Sheets
find out more: mdn understanding wcag,
guideline 2.3 explanations understanding success criterion 2.3.3 | w3c understanding wcag 2.1 formal definition initial valuenoneapplies totransformable elementsinheritednopercentagesrefer to the size of bounding boxcomputed valueas specified, but with relative lengths converted into absolute lengthsanimation typea transformcreates stacking contextyes formal syntax none | <transform-list>where <t...
transition-timing-function - CSS: Cascading Style Sheets
step-start equal to steps(1, jump-start) step-end equal to steps(1, jump-end) accessibility concerns some animations can be helpful such as to
guide users to understand what actions are expected, to show relationships within the user interface, and to inform users as to what actions have occurred.
width - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.4 | understanding wcag 2.0 formal definition initial valueautoapplies toall elements but non-replaced inline elements, table rows, and row groupsinheritednopercentagesrefer to the width of the containing blockcomputed valuea percentage or auto or the absolute lengthanimation typea length, percentage or calc(); formal syntax auto | <l...
word-spacing - CSS: Cascading Style Sheets
mdn understanding wcag,
guideline 1.4 explanations understanding success criterion 1.4.8 | w3c understanding wcag 2.0 formal definition initial valuenormalapplies toall elements.
Demos of open web technologies
d graphics canvas blob sallad: an interactive blob using javascript and canvas (code demos) 3d raycaster processing.js p5js 3d on 2d canvas minipaint: image editor (source code) zen photon garden (source code) multi touch in canvas demo (source code) svg bubblemenu (visual effects and interaction) html transformations using foreignobject (visual effects and transforms) phonetics
guide (interactive) 3d objects demo (interactive) blobular (interactive) video embedded in svg (or use the local download) summer html image map creator (source code) video video 3d animation "mozilla constantly evolving" video 3d animation "floating dance" streaming anime, movie trailer and interview billy's browser firefox flick virtual barber shop transformers movie trailer a scanner ...
HTML attribute: accept - HTML: Hypertext Markup Language
.wordprocessingml.document"> whereas if you're accepting a media file, you may want to be include any format of that media type: <input type="file" id="soundfile" accept="audio/*"> <input type="file" id="videofile" accept="video/*"> <input type="file" id="imagefile" accept="image/*"> the accept attribute doesn't validate the types of the selected files; it simply provides hints for browsers to
guide users towards selecting the correct file types.
HTML attribute: pattern - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<h1>–<h6>: The HTML Section Heading elements - HTML: Hypertext Markup Language
headings • page structure • wai web accessibility tutorials mdn understanding wcag,
guideline 1.3 explanations understanding success criterion 1.3.1 | w3c understanding wcag 2.0 mdn understanding wcag,
guideline 2.4 explanations understanding success criterion 2.4.1 | w3c understanding wcag 2.0 understanding success criterion 2.4.6 | w3c understanding wcag 2.0 understanding success criterion 2.4.10 | w3c understanding wcag 2.0 labeling section content another common navigation...
<input type="email"> - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<input type="password"> - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<input type="search"> - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<input type="tel"> - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<input type="text"> - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<input type="url"> - HTML: Hypertext Markup Language
it must be a valid javascript regular expression, as used by the regexp type, and as documented in our
guide on regular expressions; the 'u' flag is specified when compiling the regular expression, so that the pattern is treated as a sequence of unicode code points, instead of as ascii.
<meta>: The Document-level Metadata element - HTML: Hypertext Markup Language
mdn understanding wcag,
guideline 2.1 explanations mdn understanding wcag,
guideline 3.1 explanations understanding success criterion 2.2.1 | w3c understanding wcag 2.0 understanding success criterion 2.2.4 | w3c understanding wcag 2.0 understanding success criterion 3.2.5 | w3c understanding wcag 2.0 name the name and content attributes can be used together to provide document metadata in terms...
<pre>: The Preformatted Text element - HTML: Hypertext Markup Language
</figcaption> </figure> mdn understanding wcag,
guideline 1.1 explanations h86: providing text alternatives for ascii art, emoticons, and leetspeak | w3c techniques for wcag 2.0 specifications specification status comment html living standardthe definition of '<pre>' in that specification.
<wbr> - HTML: Hypertext Markup Language
example the yahoo style
guide recommends breaking a url before punctuation, to avoid leaving a punctuation mark at the end of the line, which the reader might mistake for the end of the url.
Content-Security-Policy - HTTP
s to ensure resources are loaded only over https and to disable plugins: content-security-policy: default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none' example: do not implement the above policy yet; instead just report violations that would have occurred: content-security-policy-report-only: default-src https:; report-uri /csp-violation-report-endpoint/ see mozilla web security
guidelines for more examples.
Index - HTTP
111 firefox user agent string reference compatibility, firefox, firefox 4, gecko, gecko 2.0,
guide this document describes the user agent string used in firefox 4 and later and applications based on gecko 2.0 and later.
Strict-Transport-Security - HTTP
by following the
guidelines and successfully submitting your domain, browsers will never connect to your domain using an insecure connection.
Firefox user agent string reference - HTTP
if this is the case, the firefox os ua string will look like the device-specific string in the table above, where nnnn; is the manufacturer's code for the device (see
guidelines).
Grammar and types - JavaScript
to learn more about javascript's language constructs, see also the following chapters in this
guide: control flow and error handling loops and iteration functions expressions and operators in the next chapter, we will have a look at control flow constructs and error handling.
Regular expressions - JavaScript
examples note: several examples are also available in: the reference pages for exec(), test(), match(), matchall(), search(), replace(), split() this
guide articles': character classes, assertions, groups and ranges, quantifiers, unicode property escapes using special characters to verify input in the following example, the user is expected to enter a phone number.
RegExp - JavaScript
for an introduction to regular expressions, read the regular expressions chapter in the javascript
guide.
WeakMap - JavaScript
you can learn more about weakmaps in the weakmap object
guide (under keyed collections).
OpenSearch description format
reference material opensearch documentation safari 8.0 release notes: quick website search microsoft edge dev
guide: search provider discovery the chromium projects: tab to search imdb.com has a working osd.xml opensearch plugin generator ready2search - create opensearch plugins.
<animate> - SVG: Scalable Vector Graphics
designing safer web animation for motion sensitivity · an a list apart article an introduction to the reduced motion media query | css-tricks responsive design for motion | webkit mdn understanding wcag,
guideline 2.2 explanations understanding success criterion 2.2.2 | w3c understanding wcag 2.0 specifications specification status comment svg animations level 2the definition of '<animate>' in that specification.
Introduction - SVG: Scalable Vector Graphics
if you are not too familiar with xml, here are some
guidelines to keep in mind: svg elements and attributes should all be entered in the case shown here since xml is case-sensitive (unlike html).
SVG: Scalable Vector Graphics
other resources: xml, css, dom, canvas examples google maps (route overlay) & docs (spreadsheet charting) svg bubble menus svg authoring
guidelines an overview of the mozilla svg project frequently asked questions regarding svg and mozilla svg as an image svg animation with smil svg art gallery animation and interactions like html, svg has a document model (dom) and events, and is accessible from javascript.