From 86d1be8444a907f244cc913fe18a96960b280ffd Mon Sep 17 00:00:00 2001
From: Simon Pieters
Button layout is as follows:
+ +The 'display' property is expected to act as follows:
+ +If the computed value of 'display' is 'inline-grid', 'grid', + 'inline-flex', or 'flex', then behave as the computed value.
Otherwise, if the computed value of 'display' is inline-level, then + behave as 'inline-block'.
Otherwise, behave as 'flow-root'.
The element is expected to establish a new formatting context for its contents. The type + of this formatting context is determined by its 'display' value, as usual.
If the element is absolutely positioned, then for the purpose of the CSS visual + formatting model, act as if the element is a replaced element.
The element's box shrink-wraps.
For the purpose of the 'normal' keyword of the 'align-self' property, act + as if the element is a replaced element.
If the computed value of the 'display' property is 'inline', then behave as + 'inline-block'.
If the element is an input
element, or if it is a button
element
+ and its computed style for 'display' is not 'inline-grid', 'grid', 'inline-flex', or 'flex',
+ then the element's box has a child anonymous button content box with the following
+ behaviors:
It shrink-wraps.
The 'display' property is set to 'flow-root'.
If the box does not overflow in the horizontal axis, then it is centered + horizontally.
If the box does not overflow in the vertical axis, then it is centered + vertically.
Otherwise, there is no anonymous button content box.
+button
elementThe button
element expected to render as an 'inline-block' box
- depicting a button whose contents are the contents of the element.
The button
element expected to depict a button and to use button
+ layout whose anonymous button content box's contents (if there is an
+ anonymous button content box) are the child boxes the element's box would
+ otherwise have.
An input
element whose type
attribute is in
- the Color state is expected to render as an
- 'inline-block' box depicting a color well, which, when activated, provides the user
- with a color picker (e.g. a color wheel or color palette) from which the color can be
- changed.
Predefined suggested values (provided by the list
attribute) are expected to be shown in the color picker interface, not on the color well
@@ -113255,7 +113321,9 @@ details[open] > summary {
'inline-block' box containing a span of text giving the file name(s) of the selected files, if any, followed by a button
that, when activated, provides the user with a file picker from which the selection can be
- changed.
An input
element whose type
attribute is in
the Submit Button, Reset Button, or Button state is expected to render as an
- 'inline-block' box depicting a button, about one line high, containing the contents
- of the element's value
attribute, if any, or text derived
- from the element's type
attribute in a user-agent-defined
- (and probably locale-specific) fashion, if not.
value
+ attribute, if any, or text derived from the element's type
+ attribute in a user-agent-defined (and probably locale-specific) fashion, if not.
From 502b678829843f7a2c396a993ecbcebcd0448119 Mon Sep 17 00:00:00 2001
From: Simon Pieters If the element is an input
element, or if it is a button
element
- and its computed style for 'display' is not 'inline-grid', 'grid', 'inline-flex', or 'flex',
- then the element's box has a child anonymous button content box with the following
- behaviors:
It shrink-wraps.
button
elementThe button
element expected to depict a button and to use button
- layout whose anonymous button content box's contents (if there is an
- anonymous button content box) are the child boxes the element's box would
- otherwise have.
The button
element, when it generates a box (i.e., is not 'display: none' or
+ 'display: contents') is expected to depict a button and to use button layout whose
+ anonymous button content box's contents (if there is an anonymous button
+ content box) are the child boxes the element's box would otherwise have.
input
element as a file upload controlAn input
element whose type
attribute is in
- the File Upload state is expected to render as an
+ the File Upload state, when it generates a box (i.e.,
+ is not 'display: none' or 'display: contents'), is expected to render as an
'inline-block' box containing a span of text giving the file name(s) of the selected files, if any, followed by a button
that, when activated, provides the user with a file picker from which the selection can be
@@ -113335,11 +113336,12 @@ details[open] > summary {
An input
element whose type
attribute is in
the Submit Button, Reset Button, or Button state is expected to depicting a button and use
- button layout and the contents of the anonymous button content box
- are expected to be the text of the element's value
- attribute, if any, or text derived from the element's type
- attribute in a user-agent-defined (and probably locale-specific) fashion, if not.
value
attribute, if any, or
+ text derived from the element's type
attribute in a
+ user-agent-defined (and probably locale-specific) fashion, if not.
From c1e1f6f9e7d83af5affca071775a98f4b6abc29d Mon Sep 17 00:00:00 2001
From: Simon Pieters button
elementThe button
element, when it generates a box (i.e., is not 'display: none' or
- 'display: contents') is expected to depict a button and to use button layout whose
- anonymous button content box's contents (if there is an anonymous button
- content box) are the child boxes the element's box would otherwise have.
It is not yet known if these conditions are web-compatible. See issue w3c/csswg-drafts #3226.
+ From b174eaf924a25de72a21eca4fdf2bcafed8a1d3d Mon Sep 17 00:00:00 2001 From: Simon PietersFor the purpose of the 'normal' keyword of the 'align-self' property, act as if the element is a replaced element.
If the computed value of the 'display' property is 'inline', then behave as - 'inline-block'.
If the element is an input
element, or if it is a button
element
and its computed value for 'display' is not 'inline-grid', 'grid', 'inline-flex',
From 685252a60e182ee380f70d8c40c9b640e95c8643 Mon Sep 17 00:00:00 2001
From: Simon Pieters
It shrink-wraps.
The 'display' property is set to 'flow-root'.
If the box does not overflow in the horizontal axis, then it is centered
From b8cfad9789930d54daf6387f75faa10d3b3ba674 Mon Sep 17 00:00:00 2001
From: Simon Pieters The It is not yet known if these conditions are web-compatible. See issue w3c/csswg-drafts #3226.The
button
elementbutton
element, when it generates a box (i.e., is not 'display: none' or
- 'display: contents') and the conditions below do not both apply is expected to depict a button
- and to use button layout whose anonymous button content box's contents
- (if there is an anonymous button content box) are the child boxes the element's box
- would otherwise have.
-
-
-
The following terms and features are defined in the CSS Color specification: @@ -3617,17 +3617,27 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute spec=CSSALIGN>
The term block-level is defined in +
The following terms and features are defined in theis defined in the CSS Display specification.
+The following features are defined in the CSS Flexible Box Layout specification:
@@ -3661,6 +3671,13 @@ a.setAttribute('href', 'https://example.com/'); // change the content attributeThe following terms and features are defined in the CSS Intrinsic & Extrinsic Sizing Module specification: +
+ +The 'list-style-type'
property is defined in the CSS Lists and Counters specification.
The element is expected to establish a new block formatting context. The element is expected to establish a new block formatting context. The 'display' property is expected to act as follows: If the computed value of 'display' is inline-level, then behave as
- 'inline-block'. If the computed value of 'display' is a value such that the outer
+ display type is 'inline', then behave as 'inline-block'. Otherwise, behave as 'flow-root'.
-
-
@@ -112595,8 +112612,9 @@ legend[align=right i] {
follows:
The element is expected to establish a new formatting context for its contents. The type - of this formatting context is determined by its 'display' value, as usual.
The element is expected to establish a new formatting context for its + contents. The type of this formatting context is determined by its + 'display' value, as usual.
The 'display' property is expected to behave as if its computed value was @@ -113087,20 +113105,23 @@ input[type=image i][align=bottom i], object[align=bottom i] {
If the computed value of 'display' is 'inline-grid', 'grid', 'inline-flex', or 'flex', then behave as the computed value.
Otherwise, if the computed value of 'display' is inline-level, then - behave as 'inline-block'.
Otherwise, if the computed value of 'display' is a value such that the + outer display type is 'inline', then behave as 'inline-block'.
Otherwise, behave as 'flow-root'.
The element is expected to establish a new formatting context for its contents. The type - of this formatting context is determined by its 'display' value, as usual.
The element is expected to establish a new formatting context for its + contents. The type of this formatting context is determined by its 'display' value, + as usual.
If the element is absolutely positioned, then for the purpose of the CSS visual - formatting model, act as if the element is a replaced element.
If the element is absolutely positioned, then for the purpose of the + CSS visual formatting model, act as if + the element is a replaced element.
The element's box shrink-wraps.
If 'inline-size' is 'auto', then the used value is the + fit-content inline size.
For the purpose of the 'normal' keyword of the 'align-self' property, act as if the element is a replaced element.
The 'display' property is set to 'flow-root'.
The box is a block-level block container that establishes a + new block formatting context (i.e., 'display' is + 'flow-root').
If the box does not overflow in the horizontal axis, then it is centered horizontally.
An input
element whose type
attribute is in
the Color state is expected to depict a color well,
which, when activated, provides the user with a color picker (e.g. a color wheel or color
- palette) from which the color can be changed. The element is expected to use button
- layout, that has no child boxes of the anonymous button content box. The
- anonymous button content box is expected to have a presentational hint setting the 'background-color' property to the
- element's value.
Predefined suggested values (provided by the This does not change the computed value. In the absence of an explicit inline size, the box should shrink-wrap. If the computed value of 'inline-size' is 'auto', then the
+ used value is the fit-content inline size. The element is expected to be positioned in the inline direction as is normal for
blocks (e.g., taking into account margins and the 'justify-self'
@@ -113120,8 +113121,8 @@ input[type=image i][align=bottom i], object[align=bottom i] {
CSS visual formatting model, act as if
the element is a replaced element. If 'inline-size' is 'auto', then the used value is the
- fit-content inline size. If the computed value of 'inline-size' is 'auto', then the
+ used value is the fit-content inline size. For the purpose of the 'normal' keyword of the 'align-self' property, act
as if the element is a replaced element.list
attribute) are expected to be shown in the color picker interface, not on the color well
From 2c45e0d6f99712bc7b542f5a2b525d3b5936e50c Mon Sep 17 00:00:00 2001
From: Simon Pieters