master/color.html
author Erik Dahlstrom <ed@opera.com>
Mon, 26 May 2014 12:55:02 +0200
changeset 680 81c26c8c2608
parent 585 9a1b0b253f81
child 685 236eb8810fa2
permissions -rw-r--r--
More wsp/comma-wsp cleanups.
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
     2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional+edit//EN" "xhtml1-transitional+edit.dtd">
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
     3
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:edit="http://xmlns.grorg.org/SVGT12NG/">
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
     4
<head>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
     5
  <title>Color</title>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
     6
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8
6d2a0cc61c04 Use new style sheets.
tbah <tavmjong@free.fr>
parents: 1
diff changeset
     7
  <link rel="stylesheet"           title="Default"               type="text/css" media="screen" href="style/default_svg.css"/>
6d2a0cc61c04 Use new style sheets.
tbah <tavmjong@free.fr>
parents: 1
diff changeset
     8
  <link rel="alternate stylesheet" title="No issues/annotations" type="text/css" media="screen" href="style/default_no_issues.css"/>
269
f1ea6cb50be0 Fool around with style sheets for publication.
Cameron McCormack <cam@mcc.id.au>
parents: 266
diff changeset
     9
  <!--
8
6d2a0cc61c04 Use new style sheets.
tbah <tavmjong@free.fr>
parents: 1
diff changeset
    10
  <link rel="alternate stylesheet" title="CSS3 Unmodified"       type="text/css" media="screen" href="style/default.css"/>
6d2a0cc61c04 Use new style sheets.
tbah <tavmjong@free.fr>
parents: 1
diff changeset
    11
  <link rel="alternate stylesheet" title="SVG 1.1"               type="text/css" media="screen" href="style/svg-style.css"/>
269
f1ea6cb50be0 Fool around with style sheets for publication.
Cameron McCormack <cam@mcc.id.au>
parents: 266
diff changeset
    12
  -->
8
6d2a0cc61c04 Use new style sheets.
tbah <tavmjong@free.fr>
parents: 1
diff changeset
    13
  <!-- W3C style sheet will be added here during processing. -->
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    14
</head>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    15
<body>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    16
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    17
<h1>Color</h1>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    18
353
3756e40784fc Avoid conflicting class name.
Cameron McCormack <cam@mcc.id.au>
parents: 352
diff changeset
    19
<div class="annotation svg2-requirement">
266
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    20
  <table>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    21
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    22
      <th>SVG 2 Requirement:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    23
      <td>Support color management.</td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    24
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    25
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    26
      <th>Resolution:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    27
      <td><a href="http://www.w3.org/2011/10/28-svg-irc#T16-52-12">SVG 2 will depend on SVG color management subject to deciding the exact conformance classes required.</a></td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    28
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    29
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    30
      <th>Purpose:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    31
      <td>To align with mainstream graphcs use, allow fluorescent colors, more than 8 bit color, etc.</td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    32
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    33
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    34
      <th>Owner:</th>
283
7cf047fca553 Fix broken links to tracker.
Cameron McCormack <cam@mcc.id.au>
parents: 269
diff changeset
    35
      <td>Chris (<a href="http://www.w3.org/Graphics/SVG/WG/track/actions/3160">ACTION-3160</a>)</td>
266
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    36
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    37
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    38
      <th>Note:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    39
      <td>SVG color management will become a chapter in SVG 2, no longer an independent module.</td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    40
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    41
  </table>
32
655ef6b66bc3 Add a couple color related requirements.
tbah <tavmjong@free.fr>
parents: 19
diff changeset
    42
</div>
655ef6b66bc3 Add a couple color related requirements.
tbah <tavmjong@free.fr>
parents: 19
diff changeset
    43
353
3756e40784fc Avoid conflicting class name.
Cameron McCormack <cam@mcc.id.au>
parents: 352
diff changeset
    44
<div class="annotation svg2-requirement">
266
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    45
  <table>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    46
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    47
      <th>SVG 2 Requirement:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    48
      <td>Support CSS3 Color syntax.</td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    49
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    50
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    51
      <th>Resolution:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    52
      <td><a href="http://www.w3.org/2011/07/29-svg-minutes.html#item08">SVG 2 will depend on CSS3 Color.</a></td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    53
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    54
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    55
      <th>Purpose:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    56
      <td>To align with CSS, given CSS3 Color is widely implemented.</td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    57
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    58
    <tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    59
      <th>Owner:</th>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    60
      <td>Chris (no action)</td>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    61
    </tr>
b9e0581c6473 Format SVG 2 requirement annotations a bit nicer.
Cameron McCormack <cam@mcc.id.au>
parents: 260
diff changeset
    62
  </table>
19
f6e3936013ba Start to add place holders for new/changed features.
tbah <tavmjong@free.fr>
parents: 8
diff changeset
    63
</div>
f6e3936013ba Start to add place holders for new/changed features.
tbah <tavmjong@free.fr>
parents: 8
diff changeset
    64
f6e3936013ba Start to add place holders for new/changed features.
tbah <tavmjong@free.fr>
parents: 8
diff changeset
    65
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    66
<h2 id="ColorIntroduction">Introduction</h2>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    67
  
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    68
<p class="normativity"><em>This introduction is informative, not normative.</em></p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    69
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    70
  <p>Several properties used in SVG take a color specification. Also, external media such as images or video
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    71
  contain colors.</p>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    72
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    73
<p>All SVG colors used as property values include a fallback specified in the sRGB color space
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    74
[<a href="refs.html#ref-SRGB">SRGB</a>]. </p>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    75
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    76
<p>Additionally, SVG content can specify an alternate color specification
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    77
using an ICC profile [<a href="refs.html#ref-ICC42">ICC42</a>].
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    78
<!-- check paint chapter for content that should be here, and move it -->
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    79
If ICC-based colors are provided,
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
    80
then the ICC-based color takes precedence over the sRGB color specification;
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    81
otherwise, the sRGB fallback colors will be used.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    82
Note that, in this specification, by default color interpolation occurs in sRGB color space even if an
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    83
ICC-based color specification is provided, but this can be changed (see <a>'color-interpolation'</a>).</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    84
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    85
  <div class="ready-for-wider-review">
352
19efba99dccd Head capitalisation consistency.
Cameron McCormack <cam@mcc.id.au>
parents: 351
diff changeset
    86
    <h2 id="color-managed-images">Color-managed images</h2>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    87
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    88
    <p class="note">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    89
      New in SVG 2.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    90
    
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    91
    <p>Implementations of SVG 2 are required to color-manage all images. The embedded profile is used. If there is no embedded profile, sRGB is assumed, for RGB images.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    92
      
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    93
    <p class="issue">Define processing for untagged greyscale and CMYK images. Could be a default profile, or an 'explicitly undefined' with a warning to avoid untagged non-RGB images when authoring.</p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    94
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    95
    <p class="issue">References to "SVG 2 User Agent" might need to be replaced
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    96
    with one of the conformance classes listed in the <a href="conform.html">Conformance</a>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
    97
    appendix.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
    98
    
354
efbf49ab7a9b Try moving conformance requirements styling to an alternate style sheet.
Cameron McCormack <cam@mcc.id.au>
parents: 353
diff changeset
    99
    <p><span class="requirement" id="assert_taggedImages">If a referenced image
efbf49ab7a9b Try moving conformance requirements styling to an alternate style sheet.
Cameron McCormack <cam@mcc.id.au>
parents: 353
diff changeset
   100
    contains color profile information, a SVG 2 User Agent MUST use that profile
efbf49ab7a9b Try moving conformance requirements styling to an alternate style sheet.
Cameron McCormack <cam@mcc.id.au>
parents: 353
diff changeset
   101
    to render the image.</span>
efbf49ab7a9b Try moving conformance requirements styling to an alternate style sheet.
Cameron McCormack <cam@mcc.id.au>
parents: 353
diff changeset
   102
    <span class="requirement" id="assert_untaggedImages">Otherwise,
efbf49ab7a9b Try moving conformance requirements styling to an alternate style sheet.
Cameron McCormack <cam@mcc.id.au>
parents: 353
diff changeset
   103
    if a referenced image contains no color profile information, a
efbf49ab7a9b Try moving conformance requirements styling to an alternate style sheet.
Cameron McCormack <cam@mcc.id.au>
parents: 353
diff changeset
   104
    SVG 2 User Agent MUST use the sRGB profile to render the image.</span></p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   105
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   106
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   107
    <h2 id="Color_syntax">Color syntax</h2>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   108
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   109
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   110
    <h3 id="sRGBcolor">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   111
      sRGB colors</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   112
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   113
    <p  class="prop-value"><a href="#color">&lt;color&gt;</a></p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   114
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   115
    <p>Example (these all represent the same color):</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   116
    <div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   117
      <pre>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   118
&lt;circle fill="rgb(205,133,63)"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   119
&lt;circle fill="peru"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   120
&lt;circle fill="rgb(80.392%, 52.157%, 24.706%)"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   121
&lt;circle fill="#CD853F"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   122
&lt;circle fill="hsl(30, 59%, 53%)"/></pre>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   123
      </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   124
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   125
    <p class="note">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   126
       Includes all syntactic forms supported by  SVG 1.1, adds hsl() from  [<a href="refs.html#ref-CSS3COLOR">CSS3COLOR</a>].</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   127
    <p class="note">See the CSS Color Module Level 3 specification for the
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   128
      definition of the color type.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   129
      [<a href="refs.html#ref-CSS3COLOR">CSS3COLOR</a>]</p>
585
Chris Lilley <chris@w3.org>
parents: 543
diff changeset
   130
      
Chris Lilley <chris@w3.org>
parents: 543
diff changeset
   131
      <p class="note">Must add the hsla and hsl forms.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   132
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   133
    <div class="requirement" id="assert_base_syntax">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   134
      <p>All the syntactic forms for an sRGB color, including the full set of color keywords, shall be supported by an SVG 2 User Agent.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   135
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   136
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   137
    <p>The rendering requirements for sRGB colors are more strict than for SVG 1.1  User Agents,
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   138
      where color management is optional.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   139
    <div class="requirement" id="assert_render_sRGB">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   140
      <p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   141
        When an sRGB color is used - because it is the sole color specification, or in a
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   142
        permitted fallback situation - a conformant SVG 2 User Agent 
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   143
        shall render it in conformance with the ICC profile for sRGB, to obtain the
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   144
        desired color appearance.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   145
      </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   146
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   147
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   148
    <p class="issue">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   149
      Define 'permitted fallback situation' and link to it.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   150
    </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   151
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   152
    <h3 id="sRGBcoloralpha">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   153
      sRGB colors with alpha</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   154
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   155
    <p  class="prop-value"><a href="#color">rgba(r, g, b, a)</a></p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   156
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   157
    <p>Example </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   158
    <div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   159
      <pre>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   160
&lt;circle fill="rgba(205,133,63, 0.5)"/></pre>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   161
      </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   162
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   163
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   164
    <p class="note">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   165
      New in SVG 2, added from  [<a href="refs.html#ref-CSS3COLOR">CSS3COLOR</a>].</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   166
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   167
    <div class="requirement" id="assert_combine-alpha">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   168
      <p>When an sRGB color with alpha is used in a property value,  an SVG 2 User Agent shall combine the alpha value with any separately specified alpha value that applies to that property, by multiplying the alpha values together.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   169
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   170
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   171
    <p>Example (these render as the same color)</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   172
    <div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   173
      <pre>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   174
&lt;circle fill="rgba(205,133,63, 0.25)"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   175
&lt;circle fill="rgba(205,133,63, 1.0)" fill-opacity="0.25"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   176
&lt;circle fill="rgba(205,133,63, 0.5)" fill-opacity="0.5"/></pre>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   177
</div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   178
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   179
   
345
6e956e420ada Fix duplicate ID.
Cameron McCormack <cam@mcc.id.au>
parents: 344
diff changeset
   180
    <div class="requirement" id="assert_render_sRGB_alpha">
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   181
      <p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   182
        When an sRGB color with alpha is used - because it is the sole color specification, or in a
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   183
        permitted fallback situation - a conformant SVG 2 User Agent 
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   184
        shall render it in conformance with the ICC profile for sRGB, to obtain the
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   185
        desired color appearance.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   186
      </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   187
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   188
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   189
    <h3 id="icc-colors">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   190
      ICC colors</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   191
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   192
    <p  class="prop-value"><a href="#fallback">&lt;fallback&gt;</a>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   193
      <a href="#icccolor"> icc-color(&lt;name&gt; [,&lt;icccolorvalue&gt;]*)</a></p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   194
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   195
    <p>Example:</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   196
    <div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   197
      <pre>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   198
&lt;style>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   199
@color-profile {
351
45c7d67870d8 Fix minor error in @color-profile example.
Cameron McCormack <cam@mcc.id.au>
parents: 350
diff changeset
   200
  name: acmecmyk;
45c7d67870d8 Fix minor error in @color-profile example.
Cameron McCormack <cam@mcc.id.au>
parents: 350
diff changeset
   201
  src: url(http://printers.example.com/acmecorp/model1234);
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   202
}
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   203
&lt;/style>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   204
&lt;circle fill="#CD853F icc-color(acmecmyk, 0.11, 0.48, 0.83, 0.00)"/></pre>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   205
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   206
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   207
    <p class="note">Same syntax as SVG 1.1, increased conformance requirement.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   208
    
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   209
    <p>SVG 2  uses the extended ICC color specification from SVG 1.1.  In SVG 1.1,  parsing the syntax was required but implementing the ICC colour itself  was optional,  as indicated by  phrases such as "If ICC-based colors are provided and the SVG user agent supports ICC color, then...". An SVG 1.1 user agent which also conforms to this specification "supports ICC color" for the purposes of conforming to SVG 1.1.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   210
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   211
    <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   212
      As with SVG Full 1.1, SVG 2 content may specify color using an ICC profile (see
348
9876408265e2 Fix a reference.
Cameron McCormack <cam@mcc.id.au>
parents: 345
diff changeset
   213
      [<a href="refs.html#ref-ICC42">ICC42</a>]); an sRGB fallback must still be provided.
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   214
    </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   215
    
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   216
    <p>An SVG 2 User Agent searches the color profile description database for
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   217
      a <a href="#ColorProfileDescriptions">color profile description</a> entry whose
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   218
      name descriptor matches &lt;name&gt; and uses the last matching entry that is found;
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   219
      painting shall be done using the given ICC color, where the comma-separated list
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   220
      (with optional white space) of <strong>&lt;icccolorvalue&gt;</strong>'s is a set
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   221
      of ICC-profile-specific color values, expressed as <a>&lt;number&gt;</a>s
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   222
      (see <a href="#icc-colors">ICC colors</a>). If no match is
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   223
      found, then the fallback sRGB color is used.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   224
    </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   225
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   226
    <div class="requirement" id="assert_ICCColorPrecedence">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   227
      <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   228
        If ICC-based colors are provided, an SVG 2 User Agent
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   229
        MUST use the the ICC-based color in preference to the sRGB fallback color,
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   230
        unless the ICC color profile cannot be used (is unavailable, malformed, or uses an unsupported profile connection
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   231
        space).</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   232
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   233
    <div class="requirement" id="assert_useICC">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   234
      <p>When rendering, if both ICC and sRGB fallback colors are provided and the referenced ICC profile can be used, a SVG 2 User Agent MUST render using the ICC color values, using the specified ICC profile as the input profile.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   235
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   236
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   237
    <h3 id="LAB">LAB color</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   238
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   239
    <p class="note">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   240
      New in SVG 2.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   241
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   242
    <p   class="prop-value"><a href="#fallback">&lt;fallback&gt;</a> 
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   243
      <a href="#cielabcolor">cielab(&lt;Lightness&gt;, &lt;a&gt; &lt;b&gt;)</a> | <br />
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   244
      <a href="#fallback">&lt;fallback&gt;</a>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   245
      <a href="#cielchabcolor">cielchab(&lt;Lightness&gt; &lt;Chroma&gt;, &lt;Hue&gt; )</a>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   246
    </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   247
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   248
<div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   249
    <pre>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   250
&lt;circle fill="#CD853F cielab(62.253188, 23.950124, 48.410653)"/>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   251
&lt;circle fill="#CD853F cielch(62.253188, 54.011108, 63.677091)"/>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   252
</pre>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   253
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   254
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   255
    
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   256
    <p>An SVG 2 User Agent directly uses the CIE LAB or CIE LCHab values, where the comma-separated list
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   257
      (with optional white space) of <strong>&lt;icccolorvalue&gt;</strong>'s is a set
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   258
      of Lightness, a and b or Lightness, Hue and Chroma values, expressed as
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   259
      <a>&lt;number&gt;</a>s. A color profile is not referenced in the SVG, although profile-based implementations may 
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   260
    choose to implement this by providing and using an LAB profile.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   261
          
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   262
          <p>The white point  is D50, which is the whitepoint defined by the CIE for CIELab profile connection space and the 
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   263
            whitepoint used for image editors that provide LAB functionality.
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   264
          LAB measurements relative to a different whitepoint should be adapted to D50 to be used in SVG 2; the linear Bradford chromatic adaptation transform [<a href="refs.html#ref-BRADFORD">BRADFORD</a>] is suggested for this.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   265
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   266
    <div class="requirement" id="assert_LABColorPrecedence">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   267
      <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   268
        If LAB-based colors are provided, an SVG 2 User Agent
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   269
        MUST use the the LAB-based color in preference to the sRGB fallback color.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   270
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   271
    <div class="requirement" id="assert_useLAB">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   272
      <p>When rendering, if both LAB and sRGB fallback colors are provided, a SVG 2 User Agent MUST render using the ICC color values, using the specified ICC profile as the input profile.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   273
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   274
          
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   275
          <p>A fallback sRGB color must still be provided, for non-color-managed user agents.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   276
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   277
    <h3 id="named">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   278
    ICC named color</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   279
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   280
    <p class="note">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   281
      New in SVG 2.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   282
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   283
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   284
    <p   class="prop-value"><a href="#fallback">&lt;fallback&gt;</a>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   285
      <a href="#iccnamedcolor">icc-named-color(&lt;name&gt;, &lt;namedColor&gt;)</a></p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   286
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   287
    <p>Example:</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   288
    <div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   289
    <pre >
543
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   290
&lt;style>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   291
@color-profile {
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   292
  name: FooColors;
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   293
  src: url(http://swatches.example.com/Foo);
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   294
}
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   295
&lt;/style>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   296
&lt;circle fill="#CD853F icc-color(FooColors, Sandy23C)"/></pre>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   297
      </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   298
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   299
    <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   300
      SVG 2 introduces the ability to specify a color using a 'Named Color Profile'.
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   301
    </p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   302
    <p>An SVG 2 User Agent searches the color profile description database for
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   303
      a <a href="#ColorProfileDescriptions">color profile description</a> entry whose
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   304
      name descriptor matches &lt;name&gt; and uses the last matching entry that is found;
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   305
      painting shall be done using the given ICC color, where namedColor is a
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   306
      &lt;string&gt; indicating the named color to use.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   307
    
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   308
    <p class="issue">This might need to be an &lt;ident&gt; rather than a &lt;string&gt;.</p>
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   309
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   310
    <p>ICC named color profiles provide a platform- and implementation-neutral way
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   311
    to share a swatch of colors, or to use user-created names for colors.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   312
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   313
    <div class="requirement" id="assert_ICCNamedColorPrecedence">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   314
      <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   315
        If ICC-based named colors are provided, a conformant SVG 2 User Agent 
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   316
        MUST use the the ICC-based named color in preference to the sRGB fallback
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   317
        color, unless the ICC named color profile is unavailable, malformed, or uses a profile
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   318
        connection space other than CIE XYZ or CIE LAB.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   319
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   320
    <div class="requirement" id="assert_useICCNamed">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   321
      <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   322
        When an ICC named color is used, a conformant SVG 2 User Agent 
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   323
        shall render it in conformance with the specified ICC profile to obtain the
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   324
        desired color appearance.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   325
    </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   326
    
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   327
  </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   328
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   329
<div class="ready-for-wider-review">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   330
  <h2 id="Unmanaged">Unmanaged colors</h2>
356
abcb7c00f367 Markup fix.
Cameron McCormack <cam@mcc.id.au>
parents: 354
diff changeset
   331
  <h3 id="device">
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   332
  Uncalibrated device color</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   333
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   334
  <p class="note">
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   335
    New in SVG 2.</p>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   336
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   337
  <p  class="prop-value"><a href="#fallback">&lt;fallback&gt;</a>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   338
    <a href="#devicegray">device-gray(&lt;gray&gt;)</a> |  <br />
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   339
    <a href="#fallback">&lt;fallback&gt;</a>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   340
    <a href="#devicergb">device-rgb(&lt;red&gt; &lt;green&gt; &lt;blue&gt;)</a> |  <br />
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   341
    <a href="#fallback">&lt;fallback&gt;</a>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   342
    <a href="#devicecmyk">device-cmyk(&lt;cyan&gt; &lt;magenta&gt; &lt;yellow&gt; 
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   343
      &lt;black&gt;)</a> |  <br />
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   344
    <a href="#fallback">&lt;fallback&gt;</a>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   345
    <a href="#devicegray">device-nchannel(&lt;number&gt;+)</a> |
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   346
  </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   347
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   348
 
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   349
  <div class="example">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   350
  <pre>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   351
&lt;circle fill="#CD853F device-cmyk(0.11, 0.48, 0.83, 0.00)"/></pre>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   352
  </div>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   353
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   354
  <p>
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   355
    SVG 2  introduces a method of specifying uncalibrated device colors. This
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   356
    is sometimes useful in print workflows, for example to produce patches of known 
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   357
    ink density used for quality control purposes. </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   358
  
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   359
  <p>An SVG 2 User Agent which supports the indicated class of output device
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   360
    will pass the values through without color management. If the class of output device 
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   361
    (for example, cmyk) is not supported, then the fallback
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   362
    sRGB color is used.
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   363
  </p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   364
  <p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   365
    As these are uncalibrated, any interpolation or compositing occurs using the fallback
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   366
    sRGB color value.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   367
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   368
</div>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   369
260
b201818a9ebb Change the 'ready-for-wg-review' sections that have been reviewed by the WG to 'ready-for-wider-review'.
Cameron McCormack <cam@mcc.id.au>
parents: 253
diff changeset
   370
<div class="ready-for-wider-review">
167
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   371
<h2 id="ColorProperty">The effect of the <span class="property">'color'</span> property</h2>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   372
167
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   373
<p class="note">See the CSS Color Module Level 3 specification for the
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   374
definition of <a>'color'</a>.
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   375
[<a href="refs.html#ref-CSS3COLOR">CSS3COLOR</a>]</p>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   376
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   377
<p>The <a>'color'</a> property is used to provide a potential indirect value,
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   378
<span class="prop-value">currentColor</span>, for the <a>'fill'</a>,
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   379
<a>'stroke'</a>, <a>'solid-color'</a>, <a>'stop-color'</a>, <a>'flood-color'</a> and
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   380
<a>'lighting-color'</a> properties.  The property has no other effect
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   381
on SVG elements.</p>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   382
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   383
<div class="example">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   384
  <p>The following example shows how the inherited value of the
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   385
  <a>'color'</a> property from an HTML document can be used to
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   386
  set the color of SVG text in an inline SVG fragment.</p>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   387
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   388
  <pre><![CDATA[
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   389
<!DOCTYPE html>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   390
<style>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   391
body { color: #468; font: 16px sans-serif }
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   392
svg { border: 1px solid #888; background-color: #eee }
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   393
</style>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   394
<p>Please see the diagram below:</p>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   395
<svg width="200" height="100">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   396
  <g fill="currentColor">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   397
    <text x="70" y="55" text-anchor="end">START</text>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   398
    <text x="130" y="55">STOP</text>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   399
    <path d="M 85,45 h 25 v -5 l 10,10 -10,10 v -5 h -25 z"/>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   400
  </g>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   401
</svg>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   402
]]></pre>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   403
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   404
  <div class="figure">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   405
    <div class="bordered" style="color: #468; font: 16px sans-serif; display: inline-block; text-align: left; padding: 32px 128px 32px 32px">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   406
      <p style="margin-top: 0; margin-bottom: 1em">Please see the diagram below:</p>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   407
      <svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" style="border: 1px solid #888; background-color: #eee">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   408
        <g fill="currentColor">
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   409
          <text x="70" y="55" text-anchor="end">START</text>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   410
          <text x="130" y="55">STOP</text>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   411
          <path d="M 85,45 h 25 v -5 l 10,10 -10,10 v -5 h -25 z"/>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   412
        </g>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   413
      </svg>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   414
    </div>
167
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   415
    <p class="caption">The text and arrow in the SVG fragment are filled
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   416
    with the same color as the inherited <a>'color'</a> property.</p>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   417
  </div>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   418
</div>
467d465f148c Remove definition of 'color' property and an example of its use.
Cameron McCormack <cam@mcc.id.au>
parents: 74
diff changeset
   419
</div>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   420
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   421
<h2 id="ColorProfileDescriptions">Color profile descriptions</h2>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   422
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   423
  <h3 id="ColorProfileDescriptionsOverview">
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   424
    Overview of color profile descriptions</h3>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   425
  <p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   426
    The <a href="http://www.color.org/">International Color Consortium</a> has established
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   427
    a standard, the ICC Profile [<a href="http://www.color.org/ICC-1A_1999-04.PDF">ICC32</a>],
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   428
    for documenting the color characteristics of input and output devices. Using these
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   429
    profiles, it is possible to build a transform and correct visual data for viewing
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   430
    on different devices.</p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   431
  <p>
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   432
    A <span class="SVG-Term">color profile description</span> provides the bridge between
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   433
    an ICC profile and references to that ICC profile within SVG content. The color
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   434
    profile description is added to the user agent's list of known color profiles and
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   435
    then used to select the relevant profile. The color profile description contains
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   436
    descriptors for the location of the color profile on the Web, a name to reference
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   437
    the profile and information about rendering intent.</p>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   438
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   439
<h3 id="ColorProfileAtRule">The CSS <strong>@color-profile</strong> rule</h3>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   440
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   441
<p>When the document is styled using CSS, the CSS
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   442
<strong>@color-profile</strong> rule can be used to specify a color
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   443
profile description. The general form is:</p>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   444
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   445
<pre>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   446
@color-profile { &lt;color-profile-description&gt; }
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   447
</pre>
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   448
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   449
<p>where the &lt;color-profile-description&gt; has the form:</p>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   450
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   451
<pre>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   452
descriptor: value;
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   453
[...]
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   454
descriptor: value;
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   455
</pre>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   456
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   457
<p>Each @color-profile rule specifies a value for every color
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   458
profile descriptor, either implicitly or explicitly. Those not
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   459
given explicit values in the rule take the initial value listed
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   460
with each descriptor in this specification. These descriptors
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   461
apply solely within the context of the @color-profile rule in
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   462
which they are defined, and do not apply to document language
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   463
elements. Thus, there is no notion of which elements the
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   464
descriptors apply to, or whether the values are inherited by
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   465
child elements.</p>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   466
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   467
<p>The following are the descriptors for a &lt;color-profile-description&gt;:</p>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   468
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   469
    <div class="propdef">
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   470
      <dl>
60
1f6cca71309e Format property links like in CSS specs.
Cameron McCormack <cam@mcc.id.au>
parents: 32
diff changeset
   471
        <dt id="ColorProfileSrcProperty"><span class="descdef-title property">'src'</span></dt>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   472
        <dd>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   473
          <table
326
ffbdfdc0ba4c Fixes to make the document validate for publication.
Cameron McCormack <cam@mcc.id.au>
parents: 323
diff changeset
   474
          class="propinfo" >
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   475
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   476
              <td><em>Values:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   477
              <td>sRGB | &lt;local-profile&gt; | <a
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   478
              href="types.html#DataTypeIRI">&lt;iri&gt;</a> |
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   479
              (&lt;local-profile&gt; <a
423
77e0c7df2854 Remove final mentions of 'inherit' value in property definitions.
Cameron McCormack <cam@mcc.id.au>
parents: 358
diff changeset
   480
              href="types.html#DataTypeIRI">&lt;iri&gt;</a>)</td>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   481
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   482
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   483
              <td><em>Initial:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   484
              <td>sRGB</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   485
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   486
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   487
              <td><em>Media:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   488
              <td>visual</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   489
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   490
          </table>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   491
        </dd>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   492
      </dl>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   493
    </div>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   494
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   495
<dl>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   496
  <dt><span class='prop-value'>sRGB</span></dt>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   497
  <dd>The source profile is the sRGB color space. For
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   498
  consistency with
300
2a646b275f35 Fix broken links.
Cameron McCormack <cam@mcc.id.au>
parents: 297
diff changeset
   499
  <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html#scanner">CSS lexical scanning and parsing rules</a>
2a646b275f35 Fix broken links.
Cameron McCormack <cam@mcc.id.au>
parents: 297
diff changeset
   500
  ([<a href="refs.html#ref-CSS21">CSS21</a>], section G.2), the keyword "sRGB" is
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   501
  case-insensitive; however, it is recommended that the mixed
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   502
  capitalization "sRGB" be used for consistency with common
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   503
  industry practice.</dd>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   504
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   505
  <dt><span class='prop-value'>&lt;local-profile&gt;</span></dt>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   506
  <dd>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   507
    <p>The source profile is a locally-stored profile. The syntax
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   508
    for &lt;local-profile&gt; is:</p>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   509
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   510
<pre>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   511
"local(" + &lt;string&gt; + ")"
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   512
</pre>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   513
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   514
    <p>where &lt;string&gt; is the profile's unique ID as
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   515
    specified by <a href="http://www.color.org/">International
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   516
    Color Consortium</a>. (Note: Profile description fields do
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   517
    <em>not</em> represent a profile's unique ID. With current
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   518
    ICC proposals, the profile's unique ID is an MD5-encoded
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   519
    value within the profile header.)</p>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   520
  </dd>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   521
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   522
  <dt><span class='prop-value'><a
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   523
  href="types.html#DataTypeIRI">&lt;iri&gt;</a></span></dt>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   524
  <dd>The source profile is an <a>IRI reference</a>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   525
  to a color profile.</dd>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   526
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   527
  <dt>(<span class='prop-value'>&lt;local-profile&gt; <a
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   528
  href="types.html#DataTypeIRI">&lt;iri&gt;</a>)</span></dt>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   529
  <dd>Two profiles are specified. If &lt;local-profile&gt;
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   530
  cannot be found on the local system, then the <a>&lt;iri&gt;</a>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   531
  is used.</dd>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   532
</dl>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   533
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   534
    <div class="propdef">
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   535
      <dl>
60
1f6cca71309e Format property links like in CSS specs.
Cameron McCormack <cam@mcc.id.au>
parents: 32
diff changeset
   536
        <dt id="ColorProfileNameProperty"><span class="descdef-title property">'name'</span></dt>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   537
        <dd>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   538
          <table
326
ffbdfdc0ba4c Fixes to make the document validate for publication.
Cameron McCormack <cam@mcc.id.au>
parents: 323
diff changeset
   539
          class="propinfo" >
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   540
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   541
              <td><em>Values:</em></td>
300
2a646b275f35 Fix broken links.
Cameron McCormack <cam@mcc.id.au>
parents: 297
diff changeset
   542
              <td><a>&lt;identifier&gt;</a></td>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   543
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   544
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   545
              <td><em>Initial:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   546
              <td>undefined</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   547
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   548
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   549
              <td><em>Media:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   550
              <td>visual</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   551
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   552
          </table>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   553
        </dd>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   554
      </dl>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   555
    </div>
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   556
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   557
<dl>
300
2a646b275f35 Fix broken links.
Cameron McCormack <cam@mcc.id.au>
parents: 297
diff changeset
   558
  <dt><span class='prop-value'><a>&lt;identifier&gt;</a></span></dt>
543
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   559
  <dd>The name which is used as the first parameter for <span
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   560
  class="prop-value">icc-color</span> specifications within
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   561
  <a>'fill'</a>, <a>'stroke'</a>, <a>'stop-color'</a>,
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   562
  <a>'flood-color'</a> and <a>'lighting-color'</a> property
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   563
  values to identify the color profile to use for the ICC
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   564
  color specification.  Note that if 'name' is not
74
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   565
  provided, it will be impossible to reference the given @color-profile
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   566
  definition.</dd>
cfcd66187b46 Markup cleanup.
Cameron McCormack <cam@mcc.id.au>
parents: 62
diff changeset
   567
</dl>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   568
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   569
    <div class="propdef">
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   570
      <dl>
60
1f6cca71309e Format property links like in CSS specs.
Cameron McCormack <cam@mcc.id.au>
parents: 32
diff changeset
   571
        <dt id="RenderingIntentProperty"><span class="descdef-title property">'rendering-intent'</span></dt>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   572
        <dd>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   573
          <table
326
ffbdfdc0ba4c Fixes to make the document validate for publication.
Cameron McCormack <cam@mcc.id.au>
parents: 323
diff changeset
   574
           class="propinfo" >
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   575
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   576
              <td><em>Values:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   577
              <td>auto | perceptual | relative-colorimetric |<br />
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   578
               saturation | absolute-colorimetric</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   579
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   580
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   581
              <td><em>Initial:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   582
              <td>auto</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   583
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   584
            <tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   585
              <td><em>Media:</em></td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   586
              <td>visual</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   587
            </tr>
326
ffbdfdc0ba4c Fixes to make the document validate for publication.
Cameron McCormack <cam@mcc.id.au>
parents: 323
diff changeset
   588
            <tr>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   589
              <td><em><a
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   590
              href="animate.html#Animatable">Animatable</a>:</em>&nbsp;&nbsp;</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   591
              <td>no</td>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   592
            </tr>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   593
          </table>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   594
        </dd>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   595
      </dl>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   596
    </div>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   597
543
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   598
<p>The ‘rendering-intent’ descriptor
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   599
permits the specification of a color profile rendering
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   600
intent other than the default. ‘rendering-intent’ is applicable
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   601
primarily to color profiles corresponding to CMYK color
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   602
spaces. The different options cause different methods to
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   603
be used for translating colors to the color gamut of the
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   604
target rendering device:</p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   605
<dl>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   606
  <dt><span class='prop-value'>auto</span></dt>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   607
  <dd>This is the default behavior. The user agent
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   608
  determines the best intent based on the content type.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   609
    <div class="requirement" id="assert_renderingIntentAuto">
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   610
      For image content containing an embedded profile, the User Agent MUST use the intent
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   611
      specified within the profile. Otherwise, the user agent MUST use the current profile
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   612
      and force the intent, overriding any intent that might be stored in the profile
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   613
      itself.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   614
    </div></dd>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   615
  <dt><span class='prop-value'>perceptual</span></dt>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   616
  <dd>            <p>This method is often the preferred choice for images, especially when
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   617
    there are substantial differences between the source and destination
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   618
    (such as a CRT display image reproduced on a reflection print). It takes
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   619
    the colors of the source image and re-optimizes the appearance for the
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   620
    destination medium using proprietary methods. This re-optimization may
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   621
    result in colors within both the source and destination gamuts being
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   622
    changed, although perceptual transforms are supposed to maintain the
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   623
    basic artistic intent of the original in the reproduction. They will not
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   624
    attempt to correct errors in the source image.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   625
  </p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   626
    <p class="note">With v2 ICC profiles there is no specified perceptual reference
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   627
      medium, which can cause interoperability problems. When v2 ICC profiles
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   628
      are used it may be safer to use the media-relative colorimetric
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   629
      rendering intent with black point compensation, instead of the perceptual
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   630
      rendering intent, unless the specific source and destination profiles to
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   631
      be used have been checked to ensure the combination produces the desired
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   632
      result.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   633
    </p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   634
    <div class="requirement" id="assert_renderingIntentPerceptual">
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   635
      This method SHOULD maintain relative color values among the pixels as they are mapped
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   636
      to the target device gamut. This method MAY change pixel values that were originally
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   637
      within the target device gamut, in order to avoid hue shifts and discontinuities
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   638
      and to preserve as much as possible the overall appearance of the scene.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   639
    </div>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   640
  </dd>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   641
  <dt><span class='prop-value'>saturation</span></dt>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   642
  <dd>            <p>This option was created to preserve the relative saturation (chroma) of
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   643
    the original, and to keep solid colors pure. However, it experienced
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   644
    interoperability problems like the perceptual intent, and as solid color
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   645
    preservation is not amenable to a reference medium solution using v4
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   646
    profiles does not solve the problem. Use of this rendering intent is <em>not
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   647
      recommended</em> unless the specific source and destination profiles to be
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   648
    used have been checked to ensure the combination produces the desired
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   649
    result.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   650
  </p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   651
    <div class="requirement" id="assert_renderingIntentSaturation">
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   652
      This option SHOULD preserve the relative saturation (chroma) values of the original
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   653
      pixels. Out of gamut colors SHOULD be converted to colors that have the same saturation
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   654
      but fall just inside the gamut.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   655
    </div></dd>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   656
  <dt><span class='prop-value'>relative-colorimetric</span></dt>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   657
  <dd>            <p>Media-relative colorimetric 
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   658
    is required to leave source colors that fall inside the destination
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   659
    medium gamut unchanged relative to the respective media white points.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   660
    Source colors that are out of the destination medium gamut are mapped to
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   661
    colors on the gamut boundary using a variety of different methods.</p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   662
    
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   663
    <p class="note">Note: the media-relative colorimetric rendering intent is often used with
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   664
      black point compensation, where the source medium black point is mapped
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   665
      to the destination medium black point as well.</p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   666
    
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   667
    <div class="requirement" id="assert_renderingIntentRelativeColorimetric">
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   668
      This method MUST map the source white point to the desination white point.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   669
      If black point compensation is in use, the source black point MUST also be mapped to the destination black point.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   670
      Adaptation algorithms SHOULD be used to adjust for the change in white point. Relative relationships of colors inside
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   671
      both source and destination gamuts SHOULD be preserved. 
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   672
      Relative relationships of colors outside the destination gamut MAY be changed.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   673
    </div></dd>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   674
  <dt><span class='prop-value'>absolute-colorimetric</span></dt>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   675
  <dd><p>ICC-absolute colorimetric  is
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   676
    required to leave source colors that fall inside the destination medium
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   677
    gamut unchanged relative to the adopted white (a perfect reflecting
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   678
    diffuser). Source colors that are out of the destination medium gamut
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   679
    are mapped to colors on the gamut boundary using a variety of different
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   680
    methods. This method produces the most accurate color matching of
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   681
    in-gamut colors, but will result in highlight clipping if the
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   682
    destination medium white point is lower than the source medium white
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   683
    point. For this reason it is recommended for use <em>only</em> in applications
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   684
    that need exact color matching and where highlight clipping is not a
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   685
    concern.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   686
  </p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   687
    <div class="requirement" id="assert_renderingIntentAbsoluteColorimetric">
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   688
      This method MUST disable white point matching and black point matching when converting colors.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   689
    </div>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   690
    In general, this option is not recommended.
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   691
  </dd>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   692
</dl>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   693
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   694
<p class="issue">Fallback behaviour needs to be specified, for when the
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   695
requested rendering intent does not have a corresponding table in the profile;
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   696
or when all rendering-intents are provided using the same table.</p>
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   697
5d80618cb08e Remove the <color-profile> element. (ACTION-3344)
Cameron McCormack <cam@mcc.id.au>
parents: 423
diff changeset
   698
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   699
<div class="ready-for-wider-review">
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   700
<h2 id="syntax">Color syntax</h2>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   701
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   702
<p>The EBNF grammar syntax is as described in <a href="types.html#syntax">Syntax</a>.</p>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   703
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   704
<pre>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   705
<span id="icccolor">icccolor</span> ::= 
680
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   706
  ~"icc-color(" <a href="#name">name</a> (<a>comma-wsp</a> <a href="#number">number</a>)+ ")" 
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   707
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   708
<span id="iccnamedcolor">iccnamedcolor</span> ::= 
680
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   709
  ~"icc-named-color(" <a href="#name">name</a> <a>comma-wsp</a> <a href="#namedColor">namedColor</a> ")" 
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   710
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   711
<span id="cielabcolor">cielabcolor</span> ::=
680
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   712
  ~"cielab(" <a href="#lightness">lightness</a> <a>comma-wsp</a> <a href="#a-value">a-value</a> <a>comma-wsp</a> <a href="#b-value">b-value</a> ")" 
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   713
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   714
<span id="cielchabcolor">cielchabcolor</span> ::=
680
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   715
  ~"cielchab(" <a href="#lightness">lightness</a> <a>comma-wsp</a> <a href="#chroma">chroma</a> <a>comma-wsp</a> <a href="#hue">hue</a> ")" 
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   716
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   717
<span id="devicecolor">devicecolor</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   718
  <a href="#devicegray">device-gray</a> | <a href="#devicergb">devicergb</a> | <a href="#devicecmyk">devicecmyk</a> | <a href="#devicenchannel">devicenchannel</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   719
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   720
<span id="devicegray">devicegray</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   721
  ~"device-gray(" <a href="#gray">gray</a> ")"
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   722
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   723
<span id="devicergb">devicergb</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   724
  ~"device-rgb(" <a href="#red">red</a> <a href="#green">green</a> <a href="#blue">blue</a> ")"
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   725
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   726
<span id="devicecmyk">devicecmyk</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   727
  ~"device-cmyk(" <a href="#cyan">cyan</a> <a href="#magenta">magenta</a> <a href="#yellow">yellow</a> <a href="#black">black</a> ")"
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   728
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   729
<span id="devicenchannel">devicenchannel</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   730
  ~"device-nchannel(" <a href="#number">number</a>+ ")"
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   731
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   732
<span id="name">name</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   733
  <a href="#namestartchar">namestartchar</a> (<a href="#namechar">namechar</a>)*
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   734
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   735
<span id="lightness">lightness</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   736
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   737
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   738
<span id="a-value">a-value</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   739
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   740
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   741
<span id="b-value">b-value</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   742
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   743
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   744
<span id="chroma">chroma</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   745
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   746
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   747
<span id="hue">hue</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   748
  <a href="#number">number</a>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   749
  
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   750
  
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   751
<span id="gray">gray</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   752
  <a href="#number">number</a>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   753
  
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   754
<span id="red">red</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   755
  <a href="#number">number</a>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   756
  
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   757
<span id="green">green</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   758
  <a href="#number">number</a>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   759
  
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   760
<span id="blue">blue</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   761
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   762
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   763
<span id="cyan">cyan</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   764
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   765
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   766
<span id="magenta">magenta</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   767
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   768
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   769
<span id="yellow">yellow</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   770
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   771
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   772
<span id="black">black</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   773
  <a href="#number">number</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   774
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   775
<span id="namedColor">namedColor</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   776
  <a href="#name">name</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   777
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   778
<span id="fallback">fallback</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   779
  <a href="#color">color</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   780
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   781
<span id="color">color</span>  ::= 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   782
  "#" <a href="#hexdigit">hexdigit</a> <a href="#hexdigit">hexdigit</a> <a href="#hexdigit">hexdigit</a> (<a href="#hexdigit">hexdigit</a> <a href="#hexdigit">hexdigit</a> <a href="#hexdigit">hexdigit</a>)?
680
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   783
  | ~"rgb(" <a>wsp</a>* <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a>wsp</a>* ")"
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   784
  | ~"rgb(" <a>wsp</a>* <a href="#integer">integer</a> "%" <a href="#comma">comma</a> <a href="#integer">integer</a> "%" <a href="#comma">comma</a> <a href="#integer">integer</a> "%" <a>wsp</a>* ")"
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   785
  | ~"hsl(" <a>wsp</a>* <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a>wsp</a>* ")"
81c26c8c2608 More wsp/comma-wsp cleanups.
Erik Dahlstrom <ed@opera.com>
parents: 585
diff changeset
   786
  | ~"hsla(" <a>wsp</a>* <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a href="#comma">comma</a> <a href="#integer">integer</a> <a>wsp</a>* ")"
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   787
  | <a href="#color-keyword">color-keyword</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   788
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   789
<span id="hexdigit">hexdigit</span> ::= 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   790
  [0-9A-Fa-f]
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   791
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   792
<span id="number">number</span> ::= 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   793
  <a href="#sign">sign</a>? <a href="#digit-sequence">digit-sequence</a>? "." <a href="#digit-sequence">digit-sequence</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   794
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   795
<span id="sign">sign</span>::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   796
  "+" | "-"
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   797
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   798
<span id="integer">integer</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   799
  <a href="#digit-sequence">digit-sequence</a>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   800
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   801
<span id="digit-sequence">digit-sequence</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   802
  [0-9]+
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   803
  
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   804
<span id="namestartchar">namestartchar</span> ::=
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   805
  ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   806
  #xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] |
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   807
  [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] |
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   808
  [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   809
   
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   810
<span id="namechar">namechar</span> ::=
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   811
  <a href="#namestartchar">namestartchar</a> | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] |
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   812
  [#x203F-#x2040]
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   813
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   814
<span id="comma">comma</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   815
  ","
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   816
  
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   817
<span id="color-keyword">color-keyword</span> ::=
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   818
  ~"aliceblue" | ~"antiquewhite" | ~"aqua" | ~"aquamarine" | ~"azure" | ~"beige" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   819
  ~"bisque" | ~"black" | ~"blanchedalmond" | ~"blue" | ~"blueviolet" | ~"brown" | 
350
74893d8dd10e Reformatting, link fixes, etc.
Cameron McCormack <cam@mcc.id.au>
parents: 348
diff changeset
   820
  ~"burlywood" |~"cadetblue" | ~"chartreuse" | ~"chocolate" | ~"coral" | ~"cornflowerblue" |
330
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   821
  ~"cornsilk" | ~"crimson" | ~"cyan" | ~"darkblue" | ~"darkcyan" | ~"darkgoldenrod" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   822
  ~"darkgray" | ~"darkgreen" | ~"darkgrey" | ~"darkkhaki" | ~"darkmagenta" | ~"darkolivegreen" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   823
  ~"darkorange" | ~"darkorchid" | ~"darkred" | ~"darksalmon" | ~"darkseagreen" | ~"darkslateblue" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   824
  ~"darkslategray" | ~"darkslategrey" | ~"darkturquoise" | ~"darkviolet" | ~"deeppink" | ~"deepskyblue" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   825
  ~"dimgray" | ~"dimgrey" | ~"dodgerblue" | ~"firebrick" | ~"floralwhite" | ~"forestgreen" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   826
  ~"fuchsia" | ~"gainsboro" | ~"ghostwhite" | ~"gold" | ~"goldenrod" | ~"gray" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   827
  ~"grey" | ~"green" | ~"greenyellow" | ~"honeydew" | ~"hotpink" | ~"indianred" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   828
  ~"indigo" | ~"ivory" | ~"khaki" | ~"lavender" | ~"lavenderblush" | ~"lawngreen" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   829
  ~"lemonchiffon" | ~"lightblue" | ~"lightcoral" | ~"lightcyan" | ~"lightgoldenrodyellow" | ~"lightgray" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   830
  ~"lightgreen" | ~"lightgrey" | ~"lightpink" | ~"lightsalmon" | ~"lightseagreen" | ~"lightskyblue" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   831
  ~"lightslategray" | ~"lightslategrey" | ~"lightsteelblue" | ~"lightyellow" | ~"lime" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   832
  ~"limegreen" | ~"linen" | ~"magenta" | ~"maroon" | ~"mediumaquamarine" | ~"mediumblue" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   833
  ~"mediumorchid" | ~"mediumpurple" | ~"mediumseagreen" | ~"mediumslateblue" | ~"mediumspringgreen" |
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   834
  ~"mediumturquoise" | ~"mediumvioletred" | ~"midnightblue" | ~"mintcream" | ~"mistyrose" |
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   835
  ~"moccasin" | ~"navajowhite" | ~"navy" | ~"oldlace" | ~"olive" | ~"olivedrab" | ~"orange" | ~"orangered" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   836
  ~"orchid" | ~"palegoldenrod" | ~"palegreen" | ~"paleturquoise" | ~"palevioletred" | ~"papayawhip" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   837
  ~"peachpuff" | ~"peru" | ~"pink" | ~"plum" | ~"powderblue" | ~"purple" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   838
  ~"red" | ~"rosybrown" | ~"royalblue" | ~"saddlebrown" | ~"salmon" | ~"sandybrown" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   839
  ~"seagreen" | ~"seashell" | ~"sienna" | ~"silver" | ~"skyblue" | ~"slateblue" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   840
  ~"slategray" | ~"slategrey" | ~"snow" | ~"springgreen" | ~"steelblue" | ~"tan" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   841
  ~"teal" | ~"thistle" | ~"tomato" | ~"turquoise" | ~"violet" | ~"wheat" | 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   842
  ~"white" | ~"whitesmoke" | ~"yellow" | ~"yellowgreen" 
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   843
</pre>
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   844
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   845
edbf59a24137 Slight color grammar reformatting.
Cameron McCormack <cam@mcc.id.au>
parents: 329
diff changeset
   846
</div>
323
2d7ac3e5d383 merge in content from SVG Color
Chris Lilley <chris@w3.org>
parents: 301
diff changeset
   847
 
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   848
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   849
<h2 id="DOMInterfaces">DOM interfaces</h2>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   850
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   851
<h3 id="InterfaceSVGColorProfileRule">Interface SVGColorProfileRule</h3>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   852
228
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   853
<p>The <a>SVGColorProfileRule</a> interface represents an @color-profile
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   854
rule in a CSS style sheet. An @color-profile rule identifies a ICC
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   855
profile which can be referenced within a given document.
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   856
</p>
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   857
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   858
<p>Support for the <a>SVGColorProfileRule</a> interface is only required
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   859
in user agents that support <a href="styling.html#StylingWithCSS">styling with CSS</a>.
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   860
</p>
253
bca5952231aa Convert IDL to Web IDL syntax.
Cameron McCormack <cam@mcc.id.au>
parents: 251
diff changeset
   861
<pre class="idl">interface <b>SVGColorProfileRule</b> : <a class="idlinterface" href="types.html#InterfaceSVGCSSRule">SVGCSSRule</a> {
251
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   862
  attribute DOMString <a href="color.html#__svg__SVGColorProfileRule__src">src</a>;
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   863
  attribute DOMString <a href="color.html#__svg__SVGColorProfileRule__name">name</a>;
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   864
  attribute unsigned short <a href="color.html#__svg__SVGColorProfileRule__renderingIntent">renderingIntent</a>;
253
bca5952231aa Convert IDL to Web IDL syntax.
Cameron McCormack <cam@mcc.id.au>
parents: 251
diff changeset
   865
};
bca5952231aa Convert IDL to Web IDL syntax.
Cameron McCormack <cam@mcc.id.au>
parents: 251
diff changeset
   866
bca5952231aa Convert IDL to Web IDL syntax.
Cameron McCormack <cam@mcc.id.au>
parents: 251
diff changeset
   867
<a>SVGColorProfileRule</a> implements <a>SVGRenderingIntent</a>;</pre>
228
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   868
251
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   869
<dl class="interface">
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   870
  <dt class="attributes-header">Attributes:</dt>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   871
  <dd>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   872
    <dl class="attributes">
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   873
      <dt id="__svg__SVGColorProfileRule__src" class="attribute first-child"><b>src</b><span class="idl-type-parenthetical"> (DOMString)</span></dt>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   874
      <dd class="attribute">
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   875
        <div>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   876
          Corresponds to descriptor <span class="property">src</span> within an
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   877
          @color-profile rule.
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   878
        </div>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   879
      </dd>
228
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   880
251
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   881
      <dt id="__svg__SVGColorProfileRule__name" class="attribute"><b>name</b><span class="idl-type-parenthetical"> (DOMString)</span></dt>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   882
      <dd class="attribute">
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   883
        <div>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   884
          Corresponds to descriptor <span class="property">'name'</span> within an
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   885
          @color-profile rule.
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   886
        </div>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   887
      </dd>
228
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   888
251
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   889
      <dt id="__svg__SVGColorProfileRule__renderingIntent" class="attribute"><b>renderingIntent</b><span class="idl-type-parenthetical"> (unsigned short)</span></dt>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   890
      <dd class="attribute">
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   891
        <div>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   892
          The type of rendering intent, identified by one of the
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   893
          <a>SVGRenderingIntent</a> constants.
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   894
        </div>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   895
      </dd>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   896
    </dl>
6ffe8c78ba53 Remove raises and setraises clauses from IDL, and remove mention of read only nodes in the DOM and the associated exception throwing behaviour.
Cameron McCormack <cam@mcc.id.au>
parents: 248
diff changeset
   897
  </dd>
228
adb6cacf20c8 Test for node support.
Cameron McCormack <cam@mcc.id.au>
parents: 205
diff changeset
   898
</dl>
1
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   899
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   900
</body>
cbc4f3f708e9 Seed the SVG 2 repository with the current SVG 1.1 2nd Edition files. See the following lines for more. r=WG.
SVG WG <www-svg@w3.org>
parents:
diff changeset
   901
</html>