diff --git a/index b/index index 5db36f1fcda..2038a6f1fe1 100644 --- a/index +++ b/index @@ -34,7 +34,7 @@
You can take part in this work. Join the working group's discussion list.
Web designers! We have a FAQ, a forum, and a help mailing list for you!
Basically, the dimension attributes can't be used to stretch the image.
-To parse the attributes, user agents must use the rules for - parsing dimension values. This will return either an integer - length, a percentage value, or nothing. The user agent requirements - for processing the values obtained from parsing these attributes are - described in the rendering - section. If one of these attributes, when - parsing, returns no value, it must be treated, for the purposes of - those requirements, as if it was not specified.
-The width
and height
DOM attributes on
the iframe
, embed
, object
,
and video
elements must reflect the
- respective content attributes of the same name.
table
element.
- The table
element's hspace
attribute maps to the pixel length properties
+
The table
element's hspace
attribute maps to the dimension properties
'margin-left' and 'margin-right' on the table
element.
The table
element's vspace
attribute maps to the pixel length properties
+
The table
element's vspace
attribute maps to the dimension properties
'margin-top' and 'margin-bottom' on the table
element.
@namespace url(http://www.w3.org/1999/xhtml); -form { margin-bottom: 1em; } -img[align=left] { margin-right: 3px; } -img[align=right] { margin-left: 3px; }+form { margin-bottom: 1em; }
When a Document
is in quirks mode,
margins on HTML elements that collapse with the top or
@@ -56112,8 +56102,8 @@ th { text-align: center; }
@namespace url(http://www.w3.org/1999/xhtml); -table[align=left], img[align=left] { float: left; } -table[align=right], img[align=right] { float: right; } +table[align=left] { float: left; } +table[align=right] { float: right; } table[align=center], table[align=abscenter], table[align=abdmiddle], table[align=middle] { margin-left: auto; margin-right: auto; @@ -56482,10 +56472,10 @@ table[frames=border] > tfoot > tr > td, table[frames=border] > tfootxx-large 7 - xxx-large + xxx-large see below - The 'xxx-large' value is a non-CSS value used here to indicate - a font size one "step" larger than 'xx-large'.
+The 'xxx-large' value is a non-CSS value used here to + indicate a font size one "step" larger than 'xx-large'.
@@ -56536,7 +56526,6 @@ ul ul dl, ul ul menu, ul ul ul { list-style-type: square; } -iframe { border: 2px inset; } table { border-style: outset; } td, th { border-style: inset; } @@ -56702,30 +56691,180 @@ table {10.4.1 Embedded content
-...
+The
+ +applet
,canvas
,embed
, +iframe
, andvideo
elements are expected to + be treated as replaced elements.When an
+ +img
element or aninput
element + when itstype
attribute is in + the Image Button state + represents an image, it is expected to be treated as a + replaced element.When an
+ +img
element or aninput
element + when itstype
attribute is in + the Image Button state + does not represent an image, but the + element already has instrinsic dimensions (e.g. from the + dimension attributes or CSS rules), and either the user + agent has reason to believe that the image will become + available and be rendered in due course or the +Document
is in quirks mode, the element is + expected to be treated as a replaced element whose content is the + text that the element represents, if any, optionally alongside an + icon indicating that the image is being obtained. For +input
elements, the text is expected to appear + button-like to indicate that the element is a button.When an
+ +img
element represents some + text and the user agent does not expect this to change, the element + is expected to be treated as an inline element whose content is the + text, optionally with an icon indicating that an image is + missing.When an
+ +img
element represents nothing + and the user agent does not expect this to change, the element is + expected to not be rendered at all.When an
- - +img
element might be a key part of the + content, but neither the image nor any kind of alternative text is + available, and the user agent does not expect this to change, the + element is expected to be treated as an inline element whose content + is an icon indicating that an image is missing.When an
+ +input
element whosetype
attribute is in the Image Button state does not + represent an image and the user + agent does not expect this to change, the element is expected to be + treated as a replaced element consisting of a button whose content + is the element's alternative text. The intrinsic dimensions of the + button are expected to be about one line in height and whatever + width is necessary to render the text on one line.The icons mentioned above are expected to be relatively small so + as not to disrupt most text but be easily clickable, for instance 16 + pixels by 16 pixels square, or 1em by 1em if the images are + scalable. The images are intended to indicate to the user that they + can be used to get to whatever options the UA provides for images, + and, where appropriate, are expected to provide access to the + context menu that would have come up if the user interacted with the + actual image.
+ +An
+ +object
element that represents an + image, plugin, or nested browsing context is expected + to be treated as a replaced element. Otherobject
+ elements are expected to be treated as ordinary elements in the + rendering model.The
+ +audio
element, when it has acontrols
attribute, is expected + to be treated as a replaced element about one line high, as wide as + is necessary to expose the user agent's user interface features.The following CSS rules are expected to apply:
- +@namespace url(http://www.w3.org/1999/xhtml); - +iframe { border: 2px inset; }+ +The following CSS rules are expected to apply as + presentational hints:
+ +@namespace url(http://www.w3.org/1999/xhtml); + +iframe[frameborder=0], iframe[frameborder=no] { border: none; } + +applet[align=left], embed[align=left], iframe[align=left], +img[align=left], input[type=image][align=left], object[align=left] { + float: left; +} + +applet[align=right], embed[align=right], iframe[align=right], +img[align=right], input[type=image][align=right], object[align=right] { + float: right; +} + +applet[align=top], embed[align=top], iframe[align=top], +img[align=top], input[type=image][align=top], object[align=top] { + vertical-align: top; +} + +applet[align=bottom], embed[align=bottom], iframe[align=bottom], +img[align=bottom], input[type=image][align=bottom], object[align=bottom], +applet[align=baseline], embed[align=baseline], iframe[align=baseline], +img[align=baseline], input[type=image][align=baseline], object[align=baseline] { + vertical-align: baseline; +} + +applet[align=texttop], embed[align=texttop], iframe[align=texttop], +img[align=texttop], input[type=image][align=texttop], object[align=texttop] { + vertical-align: text-top; +} + +applet[align=absmiddle], embed[align=absmiddle], iframe[align=absmiddle], +img[align=absmiddle], input[type=image][align=absmiddle], object[align=absmiddle], +applet[align=abscenter], embed[align=abscenter], iframe[align=abscenter], +img[align=abscenter], input[type=image][align=abscenter], object[align=abscenter] { + vertical-align: middle; +} + +applet[align=bottom], embed[align=bottom], iframe[align=bottom], +img[align=bottom], input[type=image][align=bottom], +object[align=bottom] { + vertical-align: bottom; +}+ +When an
+ +applet
,embed
, +iframe
,img
, orobject
+ element, or aninput
element whosetype
attribute is in the Image Button state, has an +align
attribute whose value is + an ASCII case-insensitive match for the string "center
" or the string "middle
", the user agent is expected to act as if the + element's 'vertical-align' property was set to a value that aligns + the vertical middle of the element with the parent element's + baseline.The
+ +hspace
attribute of +applet
,embed
,iframe
, +img
, orobject
elements, and +input
elements with atype
attribute in the Image Button state, maps to the dimension + properties 'margin-left' and 'margin-right' on the + element.The
+ +vspace
attribute of +applet
,embed
,iframe
, +img
, orobject
elements, and +input
elements with atype
attribute in the Image Button state, maps to the dimension + properties 'margin-top' and 'margin-bottom' on the + element.When an
+ +img
element,object
element, or +input
element with atype
attribute in the Image Button state is contained + within a hyperlink and has aborder
attribute whose value, when + parsed using the rules for parsing non-negative + integers, is found to be a number greater than zero, the user + agent is expected to use the parsed value for eight + presentational hints: four setting the parsed value as + a pixel length for the element's 'border-top-width', + 'border-right-width', 'border-bottom-width', and 'border-left-width' + properties, and four setting the element's 'border-top-style', + 'border-right-style', 'border-bottom-style', and 'border-left-style' + properties to the value 'solid'.The
-width
andheight
attributes on +applet
,embed
,iframe
, +img
,object
orvideo
+ elements, andinput
elements with atype
attribute in the Image Button state, map to the dimension + properties 'width' and 'height' on the element + respectively.Terms that need to be defined include: sizing - of embedded content
+The following CSS rules are expected to apply when the +
+ +Document
is in quirks mode:@namespace url(http://www.w3.org/1999/xhtml); + +img[align=left] { margin-right: 3px; } +img[align=right] { margin-left: 3px; }-10.4.2 Fragment identifiers
@@ -56742,6 +56881,7 @@ table {...
+ diff --git a/source b/source index 6eda7b31666..5e19168f84a 100644 --- a/source +++ b/source @@ -24461,20 +24461,12 @@ function AddCloud(data, x, y) { ... }Basically, the dimension attributes can't be used to stretch the image.
-To parse the attributes, user agents must use the rules for - parsing dimension values. This will return either an integer - length, a percentage value, or nothing. The user agent requirements - for processing the values obtained from parsing these attributes are - described in the rendering - section. If one of these attributes, when - parsing, returns no value, it must be treated, for the purposes of - those requirements, as if it was not specified.
-The
+ respective content attributes of the same name. @@ -61324,13 +61316,13 @@ td, th { padding: 1px; }width
andheight
DOM attributes on theiframe
,embed
,object
, andvideo
elements must reflect the - respective content attributes of the same name.The
table
element'shspace
attribute maps to the pixel length properties + to the dimension property">maps to the dimension properties 'margin-left' and 'margin-right' on thetable
element.The
@@ -61371,9 +61363,7 @@ td, th { padding: 1px; }table
element'svspace
attribute maps to the pixel length properties + to the dimension property">maps to the dimension properties 'margin-top' and 'margin-bottom' on thetable
element.@namespace url(http://www.w3.org/1999/xhtml); -form { margin-bottom: 1em; } -img[align=left] { margin-right: 3px; } -img[align=right] { margin-left: 3px; }+form { margin-bottom: 1em; }When a
Document
is in quirks mode, margins on HTML elements that collapse with the top or @@ -61398,8 +61388,8 @@ th { text-align: center; }@namespace url(http://www.w3.org/1999/xhtml); -table[align=left], img[align=left] { float: left; } -table[align=right], img[align=right] { float: right; } +table[align=left] { float: left; } +table[align=right] { float: right; } table[align=center], table[align=abscenter], table[align=abdmiddle], table[align=middle] { margin-left: auto; margin-right: auto; @@ -61813,12 +61803,12 @@ table[frames=border] > tfoot > tr > td, table[frames=border] > tfoot > tr > th {7 - xxx-large + xxx-large see below - The 'xxx-large' value is a non-CSS value used here to indicate - a font size one "step" larger than 'xx-large'.
+The 'xxx-large' value is a non-CSS value used here to + indicate a font size one "step" larger than 'xx-large'.
@@ -61872,7 +61862,6 @@ ul ul dl, ul ul menu, ul ul ul { list-style-type: square; } -iframe { border: 2px inset; } table { border-style: outset; } td, th { border-style: inset; } @@ -62041,30 +62030,213 @@ table {Embedded content
-...
+The
- - +applet
,canvas
,embed
, +iframe
, andvideo
elements are expected to + be treated as replaced elements.
- +When an
+ +img
element or aninput
element + when itstype
attribute is in + the Image Button state + represents an image, it is expected to be treated as a + replaced element.When an
- -img
element or aninput
element + when itstype
attribute is in + the Image Button state + does not represent an image, but the + element already has instrinsic dimensions (e.g. from the + dimension attributes or CSS rules), and either the user + agent has reason to believe that the image will become + available and be rendered in due course or the +Document
is in quirks mode, the element is + expected to be treated as a replaced element whose content is the + text that the element represents, if any, optionally alongside an + icon indicating that the image is being obtained. For +input
elements, the text is expected to appear + button-like to indicate that the element is a button.Terms that need to be defined include: sizing - of embedded content
+When an
+ +input
element whosetype
attribute is in the Image Button state does not + represent an image and the user + agent does not expect this to change, the element is expected to be + treated as a replaced element consisting of a button whose content + is the element's alternative text. The intrinsic dimensions of the + button are expected to be about one line in height and whatever + width is necessary to render the text on one line.The icons mentioned above are expected to be relatively small so + as not to disrupt most text but be easily clickable, for instance 16 + pixels by 16 pixels square, or 1em by 1em if the images are + scalable. The images are intended to indicate to the user that they + can be used to get to whatever options the UA provides for images, + and, where appropriate, are expected to provide access to the + context menu that would have come up if the user interacted with the + actual image.
+ +
+ +An
+ +object
element that represents an + image, plugin, or nested browsing context is expected + to be treated as a replaced element. Otherobject
+ elements are expected to be treated as ordinary elements in the + rendering model.
+ +The
+ +audio
element, when it has acontrols
attribute, is expected + to be treated as a replaced element about one line high, as wide as + is necessary to expose the user agent's user interface features.
+ +The following CSS rules are expected to apply:
+ +@namespace url(http://www.w3.org/1999/xhtml); + +iframe { border: 2px inset; }+ +
+ +The following CSS rules are expected to apply as + presentational hints:
+ +@namespace url(http://www.w3.org/1999/xhtml); + +iframe[frameborder=0], iframe[frameborder=no] { border: none; } + +applet[align=left], embed[align=left], iframe[align=left], +img[align=left], input[type=image][align=left], object[align=left] { + float: left; +} + +applet[align=right], embed[align=right], iframe[align=right], +img[align=right], input[type=image][align=right], object[align=right] { + float: right; +} + +applet[align=top], embed[align=top], iframe[align=top], +img[align=top], input[type=image][align=top], object[align=top] { + vertical-align: top; +} + +applet[align=bottom], embed[align=bottom], iframe[align=bottom], +img[align=bottom], input[type=image][align=bottom], object[align=bottom], +applet[align=baseline], embed[align=baseline], iframe[align=baseline], +img[align=baseline], input[type=image][align=baseline], object[align=baseline] { + vertical-align: baseline; +} + +applet[align=texttop], embed[align=texttop], iframe[align=texttop], +img[align=texttop], input[type=image][align=texttop], object[align=texttop] { + vertical-align: text-top; +} + +applet[align=absmiddle], embed[align=absmiddle], iframe[align=absmiddle], +img[align=absmiddle], input[type=image][align=absmiddle], object[align=absmiddle], +applet[align=abscenter], embed[align=abscenter], iframe[align=abscenter], +img[align=abscenter], input[type=image][align=abscenter], object[align=abscenter] { + vertical-align: middle; +} + +applet[align=bottom], embed[align=bottom], iframe[align=bottom], +img[align=bottom], input[type=image][align=bottom], +object[align=bottom] { + vertical-align: bottom; +}+ +When an
+ +applet
,embed
, +iframe
,img
, orobject
+ element, or aninput
element whosetype
attribute is in the Image Button state, has an +align
attribute whose value is + an ASCII case-insensitive match for the string "center
" or the string "middle
", the user agent is expected to act as if the + element's 'vertical-align' property was set to a value that aligns + the vertical middle of the element with the parent element's + baseline.The
+ +hspace
attribute of +applet
,embed
,iframe
, +img
, orobject
elements, and +input
elements with atype
attribute in the Image Button state, maps to the dimension + properties 'margin-left' and 'margin-right' on the + element.The
+ +vspace
attribute of +applet
,embed
,iframe
, +img
, orobject
elements, and +input
elements with atype
attribute in the Image Button state, maps to the dimension + properties 'margin-top' and 'margin-bottom' on the + element.When an
+ +img
element,object
element, or +input
element with atype
attribute in the Image Button state is contained + within a hyperlink and has aborder
attribute whose value, when + parsed using the rules for parsing non-negative + integers, is found to be a number greater than zero, the user + agent is expected to use the parsed value for eight + presentational hints: four setting the parsed value as + a pixel length for the element's 'border-top-width', + 'border-right-width', 'border-bottom-width', and 'border-left-width' + properties, and four setting the element's 'border-top-style', + 'border-right-style', 'border-bottom-style', and 'border-left-style' + properties to the value 'solid'.The
+ +width
andheight
attributes on +applet
,embed
,iframe
, +img
,object
orvideo
+ elements, andinput
elements with atype
attribute in the Image Button state, map to the dimension + properties 'width' and 'height' on the element + respectively.
+ +The following CSS rules are expected to apply when the +
+ +Document
is in quirks mode:@namespace url(http://www.w3.org/1999/xhtml); + +img[align=left] { margin-right: 3px; } +img[align=right] { margin-left: 3px; }-Fragment identifiers
@@ -62081,6 +62253,7 @@ table {...
+