From c058fa0fb22dc40ef0225b21a97578cddd0aaffa Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:51:05 +0100 Subject: unslug ru: move --- .../vendor_prefix/index.html" | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 "files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/vendor_prefix/index.html" (limited to 'files/ru/словарь/vendor_prefix') diff --git "a/files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/vendor_prefix/index.html" "b/files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/vendor_prefix/index.html" deleted file mode 100644 index b9d0c149ba..0000000000 --- "a/files/ru/\321\201\320\273\320\276\320\262\320\260\321\200\321\214/vendor_prefix/index.html" +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: Vendor Prefix -slug: Словарь/Vendor_Prefix -translation_of: Glossary/Vendor_Prefix ---- -

Browser vendors sometimes add prefixes to experimental or nonstandard CSS properties and JavaScript APIs, so developers can experiment with new ideas while—in theory—preventing their experiments from being relied upon and then breaking web developers' code during the standardization process. Developers should wait to include the unprefixed property until browser behavior is standardized.

- -
-

Browser vendors are working to stop using vendor prefixes for experimental features. Web developers have been using them on production Web sites, despite their experimental nature. This has made it more difficult for browser vendors to ensure compatibility and to work on new features; it's also been harmful to smaller browsers who wind up forced to add other browsers' prefixes in order to load popular web sites.

- -

Lately, the trend is to add experimental features behind user-controlled flags or preferences, and to create smaller specifications which can reach a stable state much more quickly.

-
- -

CSS prefixes

- -

The major browsers use the following prefixes:

- - - -

Sample usage:

- -
-webkit-transition: all 4s ease;
--moz-transition: all 4s ease;
--ms-transition: all 4s ease;
--o-transition: all 4s ease;
-transition: all 4s ease; 
- -

API prefixes

- -

Historically, vendors have also used prefixes for experimental APIs. If an entire interface is experimental, then the interface's name is prefixed (but not the properties or methods within). If an experimental property or method is added to a standardized interface, then the individual method or property is prefixed.

- -

Interface prefixes

- -

Prefixes for interface names are upper-cased:

- - - -

Property and method prefixes

- -

The prefixes for properties and methods are lower-case:

- - - -

Sample usage:

- -
var requestAnimationFrame = window.requestAnimationFrame ||
-                            window.mozRequestAnimationFrame ||
-                            window.webkitRequestAnimationFrame ||
-                            window.oRequestAnimationFrame ||
-                            window.msRequestAnimationFrame;
- -

Learn more

- -

General knowledge

- - - -
{{QuickLinksWithSubpages("/en-US/docs/Glossary")}}
-- cgit v1.2.3-54-g00ecf