Visit Mozilla.org

SVG w Firefoksie

z Mozilla Developer Center, polskiego centrum programistów Mozilli.

UWAGA: Tłumaczenie tej strony nie zostało zakończone.
Może być ona niekompletna lub wymagać korekty.
Chcesz pomóc? | Dokończ tłumaczenie | Sprawdź ortografię | Więcej takich stron...

You can find some basic examples of SVG syntax and usage in the W3C SVG test suite.

[edytuj] Status elementów

Element Notes
Structure Module
svg
  • Zaimplementowano.
  • currentScale andcurrentTranslate DOM attributes are implemented, but there is no pan and zoom user interface.
  • SVGSVGElement
    • Unimplemented attributes: contentScriptType, contentStyleType, viewport, useCurrentView, currentView
    • Unimplemented bindings: pauseAnimations, unpauseAnimations, animationsPaused, getCurrentTime, setCurrentTime, getIntersectionList, getEnclosureList, checkIntersection, checkEnclosure, deselectAll, createSVGAngle(zaimplementowano w Firefoksie 2), getElementById
g
  • Zaimplementowano.
defs
  • Zaimplementowano.
desc
  • Zaimplementowano.
  • Only stored in the DOM, no user interface.
title
  • Zaimplementowano.
metadata
  • Zaimplementowano.
  • Only stored in the DOM, no user interface.
symbol
  • Zaimplementowano.
use
  • Zaimplementowano.
  • Only works for internal document references (błąd 269482).
  • Doesn't completely follow <svg:use> cascading rules (błąd 265894).
  • Doesn't deliver events to a SVGElementInstance tree (błąd 265895).
Conditional Processing Module
switch
  • Zaimplementowano.
Image Module
image
  • Zaimplementowano.
  • Only works for raster images (błąd 272288).
Style Module
style
  • Zaimplementowano.
Shape Module
path
  • Zaimplementowano.
  • SVGPathElement Interface
    • Unimplemented attributes: pathLength, normalizedPathSegList, animatedPathSegList, animatedNormalizedPathSegList
    • Unimplemented bindings: getTotalLength, getPointAtLength(zaimplementowano w Firefoksie 2), getPathSegAtLength
  • SVGPathSegList Interface
    • Unimplemented bindings: replaceItem()
rect
  • Zaimplementowano.
circle
  • Zaimplementowano.
line
  • Zaimplementowano.
ellipse
  • Zaimplementowano.
polyline
  • Zaimplementowano.
polygon
  • Zaimplementowano.
Text Module
text
  • Zaimplementowano.
  • SVGTextElement
    • Unimplemented attributes: rotate, textLength, lengthAdjust
    • Unimplemented bindings: getNumberOfChars, getSubStringLength, getStartPositionOfChar, getEndPositionOfChar, getRotationOfChar, getCharNumAtPosition, selectSubString
    • Bindings not functional at onload time: getExtentOfChar
tspan
  • Zaimplementowano.
  • SVGTSpanElement
    • Unimplemented attributes: rotate, textLength, lengthAdjust
    • Unimplemented unit identifier: em (for use in attributes dx, dy) (błąd 305859)
    • Unimplemented bindings: getNumberOfChars, getComputedTextLength(zaimplementowano w Firefoksie 2), getSubStringLength, getStartPositionOfChar, getEndPositionOfChar, getExtentOfChar, getRotationOfChar, getCharNumAtPosition, selectSubString
tref
  • Brak implementacji.
textPath
  • Zaimplementowano w Firefoksie 2.
  • Unimplemented attributes: method, spacing, textLength, lengthAdjust
altGlyph
  • Brak implementacji.
altGlyphDef
  • Brak implementacji.
altGlyphItem
  • Brak implementacji.
glyphRef
  • Brak implementacji.
Marker Module
marker
  • Zaimplementowano.
Color Profile Module
color-profile
  • Brak implementacji.
Gradient Module
linearGradient
  • Zaimplementowano.
radialGradient
  • Zaimplementowano.
stop
  • Zaimplementowano.
Pattern Module
pattern
  • Zaimplementowano w Firefoksie 3.
Clip Module
clipPath
  • Zaimplementowano.
  • Won't handle clip paths with have elements with different clip-rule properties or that reference other clipPaths. błąd 267224).
Mask Module
mask
  • Zaimplementowano w Firefoksie 3.
Filter Module
filter
  • Zaimplementowano w Firefoksie 3.
feBlend
  • Zaimplementowano w Firefoksie 3.
feColorMatrix
  • Brak implementacji.
feComponentTransfer
  • Zaimplementowano w Firefoksie 3.
feComposite
  • Zaimplementowano w Firefoksie 3.
feConvolveMatrix
  • Brak implementacji.
feDiffuseLighting
  • Brak implementacji.
feDisplacementMap
  • Brak implementacji.
feFlood
  • Brak implementacji.
feGaussianBlur
  • Zaimplementowano w Firefoksie 3.
feImage
  • Brak implementacji.
feMerge
  • Zaimplementowano w Firefoksie 3.
feMergeNode
  • Zaimplementowano w Firefoksie 3.
feMorphology
  • Zaimplementowano w Firefoksie 3.
feOffset
  • Zaimplementowano w Firefoksie 3.
feSpecularLighting
  • Brak implementacji.
feTile
  • Brak implementacji.
feTurbulence
  • Zaimplementowano w Firefoksie 3.
feDistantLight
  • Brak implementacji.
fePointLight
  • Brak implementacji.
feSpotLight
  • Brak implementacji.
feFuncR
  • Zaimplementowano w Firefoksie 3.
feFuncG
  • Zaimplementowano w Firefoksie 3.
feFuncB
  • Zaimplementowano w Firefoksie 3.
feFuncA
  • Zaimplementowano w Firefoksie 3.
Cursor Module
cursor
  • Brak implementacji.
Hyperlinking Module
a
  • Zaimplementowano jako wiazanie XBL - object is not of type SVGAElement.
  • Only xlink:href, xlink:show, and xlink:target (od Firefoksa 2)attributes implemented.
View Module
view
  • Brak implementacji.
Scripting Module
script
  • Zaimplementowano.
Animation Module
animate
  • Brak implementacji.
set
  • Brak implementacji.
animateMotion
  • Brak implementacji.
animateTransform
  • Brak implementacji.
animateColor
  • Brak implementacji.
mpath
  • Brak implementacji.
Font Module
font
  • Brak implementacji.
font-face
  • Brak implementacji.
glyph
  • Brak implementacji.
missing-glyph
  • Brak implementacji.
hkern
  • Brak implementacji.
vkern
  • Brak implementacji.
font-face-src
  • Brak implementacji.
font-face-uri
  • Brak implementacji.
font-face-format
  • Brak implementacji.
font-face-name
  • Brak implementacji.
definition-src
  • Brak implementacji.
Extensibility Module
foreignObject
  • Zaimplementowano w Firefoksie 3.