From c34a139b296fb1767036039162c7e20ce65cd54b Mon Sep 17 00:00:00 2001
From: Yi Xu If the initiator browsing context's sandboxing flags has the sandboxed downloads
- browsing context flag set, then return false.
If the instantiator browsing context is non-null, and its sandboxing flags has the sandboxed downloads - browsing context flag set, then return false.
Optionally, the user agent may return false, if it believes doing so would safeguard the user from a potentially hostile download.
If the initiator browsing context's sandboxing flags has the sandboxed downloads - browsing context flag set, then return false.
If the instantiator browsing context is non-null, and its sandboxing flags has the sandboxed downloads - browsing context flag set, then return false.
Optionally, the user agent may return false, if it believes doing so would safeguard the user from a potentially hostile download.
The following features are defined in CSS Grid Layout:
+The following features are defined in CSS Grid Layout:
svg
elementtitle
elementuse
elementtext-rendering
propertytextBaseline
, direction
, textLetterSpacing
, textWordSpacing
, fontKerning
, fontStretch
, fontVariantCaps
, textRendering
, imageSmoothingEnabled
, imageSmoothingQuality
.
inherit
".
+
+ textLetterSpacing
[ = value ]textLetterSpacing
[ = value ]Returns the current spacing between characters in the text.
+ +Can be set, to change spacing between characters. Postive values spreads characters further + apart, while negative valuevalues brings them closer together. The default is 0.
+textWordSpacing
[ = value ]textWordSpacing
[ = value ]Returns the current spacing between words in the text.
+ +Can be set, to change spacing between words. Postive values spreads words further + apart, while negative valuevalues brings them closer together. The default is 0.
+fontKerning
[ = value ]fontKerning
[ = value ]Returns the current font kerning settings.
+ +Can be set, to change the font kerning. The possible values and their meanings are given
+ below. Other values are ignored. The default is "auto
".
fontStretch
[ = value ]fontStretch
[ = value ]Returns the current font stretch settings.
+ +Can be set, to change the font stretch. The possible values and their meanings are given
+ below. Other values are ignored. The default is "normal
".
fontVariantCaps
[ = value ]fontVariantCaps
[ = value ]Returns the current font variant caps settings.
+ +Can be set, to change the font variant caps. The possible values and their meanings are
+ given below. Other values are ignored. The default is "normal
".
textRendering
[ = value ]textRendering
[ = value ]Returns the current text rendering settings.
+ +Can be set, to change the text rendering. The possible values and their meanings are given
+ below. Other values are ignored. The default is "auto
".
inherit
".
+ The textLetterSpacing
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the textLetterSpacing
attribute must
+ initially have the value 0.
The textWordSpacing
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the textWordSpacing
attribute must
+ initially have the value 0.
The fontKerning
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the fontKerning
attribute must
+ initially have the value "auto
".
The fontStretch
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the fontStretch
attribute must
+ initially have the value "normal
".
The fontVariantCaps
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the fontVariantCaps
attribute must
+ initially have the value "normal
".
The textRendering
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the textRendering
attribute must
+ initially have the value "auto
".
The textAlign
attribute's allowed keywords are
@@ -61393,6 +61528,96 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
as appropriate.
The fontKerning
attribute's allowed keywords are
+ as follows:
auto
+ Kerning is applied at the discretion of the user agent.
normal
+ Kerning is applied
none
+ Kerning is not applied
The fontStretch
attribute's allowed keywords are
+ as follows:
ultra-condensed
+ Same as CSS font-stretch ultra condensed setting.
extra-condensed
+ Same as CSS font-stretch extra condensed setting.
condensed
+ Same as CSS font-stretch condensed setting.
semi-condensed
+ Same as CSS font-stretch semi condensed setting.
normal
+ The default setting, where width of the glyphs is at 100%.
semi-expanded
+ Same as CSS font-stretch semi expanded setting.
expanded
+ Same as CSS font-stretch expanded setting.
extra-expanded
+ Same as CSS font-stretch extra expanded setting.
ultra-expanded
+ Same as CSS font-stretch ultra expanded setting.
The fontVariantCaps
attribute's allowed keywords are
+ as follows:
normal
+ None of the features listed below are enabled.
small-caps
+ Enable display small caps character set.
all-small-caps
+ Enable display all small caps character set.
petite-caps
+ Enable display petite caps character set.
all-petite-caps
+ Enable display all petite caps character set.
unicase
+ Enables display a mixture of small caps for uppercase letters and normal
for lowercase letters
titling-caps
+ Enable display titling caps character set.
The textRendering
attribute's allowed keywords are
+ as follows:
auto
+ The user agent makes balance between speed, legibility and geometric precision. + Priority is given to speed and geometric precision.
optimizeSpeed
+ Same as SVG text-rendering setting, emphasize on speed.
optimizeLegibility
+ Same as SVG text-rendering setting, emphasize on legibility.
geometricPrecision
+ Same as SVG text-rendering setting, emphasize on rendering geometric precision.
The text preparation algorithm is as follows. It takes as input a string text,
a The following features are defined in CSS Grid Layout: If the initiator browsing context's sandboxing flags has the sandboxed downloads
- browsing context flag set, then return false.CanvasTextDrawingStyles
object target, and an optional length
maxWidth. It returns an array of glyph shapes, each positioned on a common coordinate
From c4646525218a8c8c2d31e8f4f2d07bb0b706b30e Mon Sep 17 00:00:00 2001
From: Yi Xu svg
elementtitle
elementuse
elementtext-rendering
property
If the instantiator browsing context is non-null, and its sandboxing flags has the sandboxed downloads - browsing context flag set, then return false.
Optionally, the user agent may return false, if it believes doing so would safeguard the user from a potentially hostile download.
textBaseline
, direction
, textLetterSpacing
, textWordSpacing
, fontKerning
, fontStretch
, fontVariantCaps
, textRendering
, imageSmoothingEnabled
, imageSmoothingQuality
.
inherit
".
+
+ textLetterSpacing
[ = value ]textLetterSpacing
[ = value ]Returns the current spacing between characters in the text.
+ +Can be set, to change spacing between characters. Postive values spreads characters further + apart, while negative valuevalues brings them closer together. The default is 0.
+textWordSpacing
[ = value ]textWordSpacing
[ = value ]Returns the current spacing between words in the text.
+ +Can be set, to change spacing between words. Postive values spreads words further + apart, while negative valuevalues brings them closer together. The default is 0.
+fontKerning
[ = value ]fontKerning
[ = value ]Returns the current font kerning settings.
+ +Can be set, to change the font kerning. The possible values and their meanings are given
+ below. Other values are ignored. The default is "auto
".
fontStretch
[ = value ]fontStretch
[ = value ]Returns the current font stretch settings.
+ +Can be set, to change the font stretch. The possible values and their meanings are given
+ below. Other values are ignored. The default is "normal
".
fontVariantCaps
[ = value ]fontVariantCaps
[ = value ]Returns the current font variant caps settings.
+ +Can be set, to change the font variant caps. The possible values and their meanings are
+ given below. Other values are ignored. The default is "normal
".
textRendering
[ = value ]textRendering
[ = value ]Returns the current text rendering settings.
+ +Can be set, to change the text rendering. The possible values and their meanings are given
+ below. Other values are ignored. The default is "auto
".
inherit
".
+ The textLetterSpacing
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the textLetterSpacing
attribute must
+ initially have the value 0.
The textWordSpacing
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the textWordSpacing
attribute must
+ initially have the value 0.
The fontKerning
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the fontKerning
attribute must
+ initially have the value "auto
".
The fontStretch
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the fontStretch
attribute must
+ initially have the value "normal
".
The fontVariantCaps
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the fontVariantCaps
attribute must
+ initially have the value "normal
".
The textRendering
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ the textRendering
attribute must
+ initially have the value "auto
".
The textAlign
attribute's allowed keywords are
@@ -61393,6 +61528,96 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
as appropriate.
The fontKerning
attribute's allowed keywords are
+ as follows:
auto
+ Kerning is applied at the discretion of the user agent.
normal
+ Kerning is applied
none
+ Kerning is not applied
The fontStretch
attribute's allowed keywords are
+ as follows:
ultra-condensed
+ Same as CSS font-stretch ultra condensed setting.
extra-condensed
+ Same as CSS font-stretch extra condensed setting.
condensed
+ Same as CSS font-stretch condensed setting.
semi-condensed
+ Same as CSS font-stretch semi condensed setting.
normal
+ The default setting, where width of the glyphs is at 100%.
semi-expanded
+ Same as CSS font-stretch semi expanded setting.
expanded
+ Same as CSS font-stretch expanded setting.
extra-expanded
+ Same as CSS font-stretch extra expanded setting.
ultra-expanded
+ Same as CSS font-stretch ultra expanded setting.
The fontVariantCaps
attribute's allowed keywords are
+ as follows:
normal
+ None of the features listed below are enabled.
small-caps
+ Enable display small caps character set.
all-small-caps
+ Enable display all small caps character set.
petite-caps
+ Enable display petite caps character set.
all-petite-caps
+ Enable display all petite caps character set.
unicase
+ Enables display a mixture of small caps for uppercase letters and normal
for lowercase letters
titling-caps
+ Enable display titling caps character set.
The textRendering
attribute's allowed keywords are
+ as follows:
auto
+ The user agent makes balance between speed, legibility and geometric precision. + Priority is given to speed and geometric precision.
optimizeSpeed
+ Same as SVG text-rendering setting, emphasize on speed.
optimizeLegibility
+ Same as SVG text-rendering setting, emphasize on legibility.
geometricPrecision
+ Same as SVG text-rendering setting, emphasize on rendering geometric precision.
The text preparation algorithm is as follows. It takes as input a string text,
a The following features are defined in CSS Grid Layout: The following features are defined in CSS Grid Layout: If the initiator browsing context's sandboxing flags has the sandboxed downloads
- browsing context flag set, then return false.CanvasTextDrawingStyles
object target, and an optional length
maxWidth. It returns an array of glyph shapes, each positioned on a common coordinate
From 7429bc0a9a2df34f57deafaf2330acd76259c8f8 Mon Sep 17 00:00:00 2001
From: Yi Xu
If the instantiator browsing context is non-null, and its sandboxing flags has the sandboxed downloads - browsing context flag set, then return false.
Optionally, the user agent may return false, if it believes doing so would safeguard the user from a potentially hostile download.
Returns the current spacing between characters in the text.
Can be set, to change spacing between characters. Postive values spreads characters further - apart, while negative valuevalues brings them closer together. The default is 0.
+ apart, while negative values brings them closer together. The default is 0.textWordSpacing
[ = value ]The textLetterSpacing
IDL attribute, on
getting, must return the current value. On setting, the current value must be changed to the new
- value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ value, where values may be positive or negative. When the object implementing the
+ CanvasTextDrawingStyles
interface is created,
the textLetterSpacing
attribute must
initially have the value 0.
The textWordSpacing
IDL attribute, on
getting, must return the current value. On setting, the current value must be changed to the new
- value. When the object implementing the CanvasTextDrawingStyles
interface is created,
+ value, where values may be positive or negative. When the object implementing the
+ CanvasTextDrawingStyles
interface is created,
the textWordSpacing
attribute must
initially have the value 0.
Kerning is applied at the discretion of the user agent.
normal
- Kerning is applied
Kerning is applied.
none
- Kerning is not applied
Kerning is not applied.
The fontStretch
attribute's allowed keywords are
@@ -61547,31 +61552,31 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
ultra-condensed
- Same as CSS font-stretch ultra condensed setting.
Same as CSS 'font-stretch' 'ultra-condensed' setting.
extra-condensed
- Same as CSS font-stretch extra condensed setting.
Same as CSS 'font-stretch' 'extra-condensed' setting.
condensed
- Same as CSS font-stretch condensed setting.
Same as CSS 'font-stretch' 'condensed' setting.
semi-condensed
- Same as CSS font-stretch semi condensed setting.
Same as CSS 'font-stretch' 'semi-condensed' setting.
normal
The default setting, where width of the glyphs is at 100%.
semi-expanded
- Same as CSS font-stretch semi expanded setting.
Same as CSS 'font-stretch' 'semi-expanded' setting.
expanded
- Same as CSS font-stretch expanded setting.
Same as CSS 'font-stretch' 'expanded' setting.
extra-expanded
- Same as CSS font-stretch extra expanded setting.
Same as CSS 'font-stretch' 'extra-expanded' setting.
ultra-expanded
- Same as CSS font-stretch ultra expanded setting.
Same as CSS 'font-stretch' 'ultra-expanded' setting.
The fontVariantCaps
attribute's allowed keywords are
@@ -61582,22 +61587,22 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
None of the features listed below are enabled.
small-caps
- Enable display small caps character set.
Same as CSS 'font-variant-caps' 'small-caps' setting.
all-small-caps
- Enable display all small caps character set.
Same as CSS 'font-variant-caps' 'all-small-caps' setting.
petite-caps
- Enable display petite caps character set.
Same as CSS 'font-variant-caps' 'petite-caps' setting.
all-petite-caps
- Enable display all petite caps character set.
Same as CSS 'font-variant-caps' 'all-petite-caps' setting.
unicase
- Enables display a mixture of small caps for uppercase letters and normal
for lowercase letters
Same as CSS 'font-variant-caps' 'unicase' setting.
titling-caps
- Enable display titling caps character set.
Same as CSS 'font-variant-caps' 'titling-caps' setting.
The textRendering
attribute's allowed keywords are
@@ -61605,17 +61610,16 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
auto
- The user agent makes balance between speed, legibility and geometric precision. - Priority is given to speed and geometric precision.
Same as 'auto' in SVG text-rendering setting, emphasize on speed.
optimizeSpeed
- Same as SVG text-rendering setting, emphasize on speed.
Same as 'optimizeSpeed' in SVG text-rendering property.
optimizeLegibility
- Same as SVG text-rendering setting, emphasize on legibility.
Same as 'optimizeLegibility' in SVG text-rendering propeerty.
geometricPrecision
- Same as SVG text-rendering setting, emphasize on rendering geometric precision.
Same as 'geometricPrecision' in SVG text-rendering property.
The text preparation algorithm is as follows. It takes as input a string text,
From 44daadaed71da54c87e44107228c74553c8d1fae Mon Sep 17 00:00:00 2001
From: Yi Xu Returns the current spacing between words in the text. Can be set, to change spacing between words. Postive values spreads words further
- apart, while negative valuevalues brings them closer together. The default is 0.
fontKerning
[ = value ]auto
- Same as 'auto' in SVG text-rendering setting, emphasize on speed.
Same as 'auto' in SVG text-rendering property.
optimizeSpeed
Same as 'optimizeSpeed' in SVG text-rendering property.
Let font be the current font of target, as given
by that object's font
attribute.
Update the following properties of the target, as given by
+ that object's textLetterSpacing
+ attribute, textWordSpacing
+ attribute, fontKerning
+ attribute, fontStetch
+ attribute, fontVariantCaps
+ attribute, textRendering
+ attribute.
Apply the appropriate step from the following list to determine the value of direction:
From b44ec37519f217a9c5406ebaace4213480de5b11 Mon Sep 17 00:00:00 2001 From: Yi XuForm a hypothetical infinitely-wide CSS line box containing a single - inline box containing the text text, with all the properties at their - initial values except the 'font' property of the inline box set to - font, the 'direction' property of the inline box set to - direction, and the 'white-space' property set to 'pre'.
Let font be the current font of target, as given
by that object's font
attribute.
Update the following properties of the target, as given by
- that object's textLetterSpacing
- attribute, textWordSpacing
- attribute, fontKerning
- attribute, fontStetch
- attribute, fontVariantCaps
- attribute, textRendering
- attribute.
Apply the appropriate step from the following list to determine the value of direction:
@@ -61836,17 +61827,57 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);Form a hypothetical infinitely-wide CSS line box containing a single - inline box containing the text text, with the 'font' - property of the inline box set to font, the 'letter-spacing' - property of the inline box set to textLetterSpacing, 'word-spacing' - property of the inline box set to textWordSpacing, 'font-kerning' - property of the inline box set to fontKerning, 'font-stretch' - property of the inline box set to fontStretch, 'font-variant-caps' - property of the inline box set to fontVariantCaps, SVG text-rendering - property of the inline box set to textRendering, the 'direction' - property of the inline box set to direction, the 'white-space' - property set to 'pre', and other properties are at their initial values
Form a hypothetical infinitely-wide CSS line box containing a single + inline box containing the text text, with its CSS properties set as follows:
+Property | +Source | +
---|---|
'direction' | +direction | +
'font' | +font | +
'font-kerning' | +target's fontKerning |
+
'font-stretch' | +target's fontStretch |
+
'font-variant-caps' | +target's fontVariantCaps |
+
'letter-spacing' | +target's textLetterSpacing |
+
SVG text-rendering | +target's textRendering |
+
'white-space' | +'pre' | +
'word-spacing' | +target's textWordSpacing |
+
and with all other properties set to their initial values.
+font
[ = value ]font
[ = value ]Returns the current font settings.
@@ -61314,7 +61312,6 @@ transform. ack Shaun Morris. -->textAlign
[ = value ]textAlign
[ = value ]Returns the current text alignment settings.
@@ -61324,7 +61321,6 @@ transform. ack Shaun Morris. -->textBaseline
[ = value ]textBaseline
[ = value ]Returns the current baseline alignment settings.
@@ -61335,7 +61331,6 @@ transform. ack Shaun Morris. -->direction
[ = value ]direction
[ = value ]Returns the current directionality.
@@ -61346,7 +61341,6 @@ transform. ack Shaun Morris. -->textLetterSpacing
[ = value ]textLetterSpacing
[ = value ]Returns the current spacing between characters in the text.
@@ -61356,7 +61350,6 @@ transform. ack Shaun Morris. -->textWordSpacing
[ = value ]textWordSpacing
[ = value ]Returns the current spacing between words in the text.
@@ -61366,46 +61359,42 @@ transform. ack Shaun Morris. -->fontKerning
[ = value ]fontKerning
[ = value ]Returns the current font kerning settings.
-Returns the current font kerning settings.
- -Can be set, to change the font kerning. The possible values and their meanings are given
- below. Other values are ignored. The default is "auto
".
Can be set, to change the font kerning. The possible values and their meanings are given
+ below. Other values are ignored. The default is "auto
".
fontStretch
[ = value ]fontStretch
[ = value ]Returns the current font stretch settings.
+Returns the current font stretch settings.
-Can be set, to change the font stretch. The possible values and their meanings are given
- below. Other values are ignored. The default is "normal
".
Can be set, to change the font stretch. The possible values and their meanings are given
+ below. Other values are ignored. The default is "normal
".
fontVariantCaps
[ = value ]fontVariantCaps
[ = value ]Returns the current font variant caps settings.
+Returns the current font variant caps settings.
-Can be set, to change the font variant caps. The possible values and their meanings are
- given below. Other values are ignored. The default is "normal
".
Can be set, to change the font variant caps. The possible values and their meanings are
+ given below. Other values are ignored. The default is "normal
".
textRendering
[ = value ]textRendering
[ = value ]Returns the current text rendering settings.
+Returns the current text rendering settings.
-Can be set, to change the text rendering. The possible values and their meanings are given
- below. Other values are ignored. The default is "auto
".
Can be set, to change the text rendering. The possible values and their meanings are given
+ below. Other values are ignored. The default is "auto
".
The fontKerning
attribute's allowed keywords are
- as follows:
The fontKerning
attribute's allowed keywords
+ are as follows:
auto
- Kerning is applied at the discretion of the user agent.
auto
+ Kerning is applied at the discretion of the user agent.
normal
- Kerning is applied.
normal
+ Kerning is applied.
none
- Kerning is not applied.
none
+ Kerning is not applied.
The fontStretch
attribute's allowed keywords are
- as follows:
The fontStretch
attribute's allowed keywords
+ are as follows:
ultra-condensed
- Same as CSS 'font-stretch' 'ultra-condensed' setting.
ultra-condensed
+ Same as CSS 'font-stretch' 'ultra-condensed' setting.
extra-condensed
- Same as CSS 'font-stretch' 'extra-condensed' setting.
extra-condensed
+ Same as CSS 'font-stretch' 'extra-condensed' setting.
condensed
- Same as CSS 'font-stretch' 'condensed' setting.
condensed
+ Same as CSS 'font-stretch' 'condensed' setting.
semi-condensed
- Same as CSS 'font-stretch' 'semi-condensed' setting.
semi-condensed
+ Same as CSS 'font-stretch' 'semi-condensed' setting.
normal
- The default setting, where width of the glyphs is at 100%.
normal
+ The default setting, where width of the glyphs is at 100%.
semi-expanded
- Same as CSS 'font-stretch' 'semi-expanded' setting.
semi-expanded
+ Same as CSS 'font-stretch' 'semi-expanded' setting.
expanded
- Same as CSS 'font-stretch' 'expanded' setting.
expanded
+ Same as CSS 'font-stretch' 'expanded' setting.
extra-expanded
- Same as CSS 'font-stretch' 'extra-expanded' setting.
extra-expanded
+ Same as CSS 'font-stretch' 'extra-expanded' setting.
ultra-expanded
- Same as CSS 'font-stretch' 'ultra-expanded' setting.
ultra-expanded
+ Same as CSS 'font-stretch' 'ultra-expanded' setting.
The fontVariantCaps
attribute's allowed keywords are
- as follows:
The fontVariantCaps
attribute's allowed
+ keywords are as follows:
normal
- None of the features listed below are enabled.
normal
+ None of the features listed below are enabled.
small-caps
- Same as CSS 'font-variant-caps' 'small-caps' setting.
small-caps
+ Same as CSS 'font-variant-caps' 'small-caps' setting.
all-small-caps
- Same as CSS 'font-variant-caps' 'all-small-caps' setting.
all-small-caps
+ Same as CSS 'font-variant-caps' 'all-small-caps' setting.
petite-caps
- Same as CSS 'font-variant-caps' 'petite-caps' setting.
petite-caps
+ Same as CSS 'font-variant-caps' 'petite-caps' setting.
all-petite-caps
- Same as CSS 'font-variant-caps' 'all-petite-caps' setting.
all-petite-caps
+ Same as CSS 'font-variant-caps' 'all-petite-caps' setting.
unicase
- Same as CSS 'font-variant-caps' 'unicase' setting.
unicase
+ Same as CSS 'font-variant-caps' 'unicase' setting.
titling-caps
- Same as CSS 'font-variant-caps' 'titling-caps' setting.
titling-caps
+ Same as CSS 'font-variant-caps' 'titling-caps' setting.
The textRendering
attribute's allowed keywords are
- as follows:
The textRendering
attribute's allowed
+ keywords are as follows:
auto
@@ -61829,53 +61818,56 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
Form a hypothetical infinitely-wide CSS line box containing a single - inline box containing the text text, with its CSS properties set as follows:
+ inline box containing the text text, with its CSS properties set as + follows: +Property | -Source | -||
---|---|---|---|
'direction' | -direction | -||
'font' | -font | -||
'font-kerning' | -target's fontKerning |
- ||
'font-stretch' | -target's fontStretch |
- ||
'font-variant-caps' | -target's fontVariantCaps |
- ||
'letter-spacing' | -target's textLetterSpacing |
- ||
SVG text-rendering | -target's textRendering |
+ Property | +Source |
'white-space' | -'pre' | +'direction' | +direction |
'word-spacing' | -target's textWordSpacing |
- 'font' | +font | + +
'font-kerning' | +target's fontKerning |
+ ||
'font-stretch' | +target's fontStretch |
+ ||
'font-variant-caps' | +target's fontVariantCaps |
+ ||
'letter-spacing' | +target's textLetterSpacing |
+ ||
SVG text-rendering | +target's textRendering |
+ ||
'white-space' | +'pre' | +||
'word-spacing' | +target's textWordSpacing |
+
and with all other properties set to their initial values.