diff --git a/source b/source index 97abc1f8269..d8a03c8a5dc 100644 --- a/source +++ b/source @@ -3308,6 +3308,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The 'clear' property
  • The 'width' property
  • The 'height' property
  • +
  • The 'max-width' property
  • +
  • The 'max-height' property
  • The 'line-height' property
  • The 'vertical-align' property
  • The 'content' property
  • @@ -3366,6 +3368,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The 'border-block-start-width' property
  • The 'block-size' property
  • The 'inline-size' property
  • +
  • The 'inset-block-start' property
  • +
  • The 'inset-block-end' property
  • The following terms and features are defined in CSS Color: HTMLDialogElement : HTMLElement {

  • Add an open attribute to the dialog element, whose value is the empty string.

  • -
  • Set the dialog to the normal alignment mode.

  • -
  • Run the dialog focusing steps for the dialog element.

  • @@ -57362,9 +57364,10 @@ interface HTMLDialogElement : HTMLElement {
  • If subject is not connected, then throw an "InvalidStateError" DOMException.

  • -
  • Add an open attribute to subject, whose value is the empty string.

  • +
  • Add an open attribute to subject, whose + value is the empty string.

  • -
  • Set the dialog to the centered alignment mode.

  • +
  • Set the is modal flag of subject to true.

  • Let subject's node document be open attribute.

  • +
  • Set the is modal flag of subject to false.

  • +
  • If the argument result was provided, then set the returnValue attribute to the value of result.

  • @@ -57482,48 +57487,8 @@ interface HTMLDialogElement : HTMLElement {
    -

    A dialog element is in one of two modes: normal alignment or - centered alignment. When a dialog element is created, it must be placed in - the normal alignment mode. In this mode, normal CSS requirements apply to the - element. The centered alignment mode is only used for dialog elements - that are in the top layer.

    - -

    When an element subject is placed in centered alignment mode, and when - it is in that mode and has new rendering boxes created, the user agent must set up the element - such that its static position of the edge that corresponds to subject's parent's - block-start edge, for the purposes of calculating the used value of the - appropriate box offset property ('top', 'right', 'bottom', - or 'left'), is the value that would place the element's margin edge on - the side that corresponds to subject's parent's block-start side as far - from the same-side edge of the viewport as the element's opposing side margin - edge from that same-side edge of the viewport, if the element's dimension - ('width' or 'height') in subject's parent's block flow - direction is less than the same-axis dimension of the viewport, and otherwise - is the value that would place the element's margin edge on the side that corresponds - to subject's parent's block-start side at the same-side edge of the - viewport.

    - -

    If there is a dialog element with centered alignment and that is - being rendered when its browsing context changes viewport - dimensions (as measured in CSS pixels), or when this - dialog element's parent changes block flow direction, then the user - agent must recreate the element's boxes, recalculating its edge that corresponds to this - dialog element's parent's block-start edge as in the previous - paragraph.

    - -

    This static position of a dialog element's edge with centered - alignment must remain the element's static position of that edge until its boxes are - recreated. (The element's static position is only used in calculating the used value - of the appropriate box offset property ('top', 'right', - 'bottom', or 'left') in certain situations; it's not used, for instance, - to position the element if its 'position' property is set to - 'static'.)

    - -

    User agents in visual interactive media should allow the user to pan the viewport - to access all parts of a dialog element's border box, even if the - element is larger than the viewport and the viewport would otherwise not - have a scroll mechanism (e.g. because the viewport's 'overflow' property - is set to 'hidden').

    +

    Each dialog element has an is modal flag. When a dialog + element is created, this flag must be set to false.


    @@ -114374,7 +114339,17 @@ form { margin-block-end: 1em; } 'text-align' property set to 'justify' in a presentational hint, and to align descendants to the left.

    +

    The dialog element, when its is modal flag is true, is expected to + act as if it had a user-agent-level style sheet rule setting the following properties:

    +

    Phrasing content