<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17778</bug_id>
          
          <creation_ts>2012-07-14 11:16:11 +0000</creation_ts>
          <short_desc>Undefined term &quot;block equivalent&quot; used in painting order rules in Appendix E</short_desc>
          <delta_ts>2012-12-04 00:54:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton P">antonsforums</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69979</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-07-14 11:16:11 +0000</bug_when>
    <thetext>Reported by Simon Sapin

Steps 2 and 4 in the painting order rules in Appendix E use the following condition:

  # If the element is a block, list-item, or other block equivalent:

The term &quot;block equivalent&quot; is undefined in CSS21.  We deduce that it must include inline-level block container boxes such as inline-blocks and inline-table wrapper boxes, else such boxes do not have their background and borders painted in the algorithm.

This term should be clarified.


Conversation begins:
Bug description:
http://lists.w3.org/Archives/Public/www-style/2012May/0443.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69980</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-07-14 12:55:23 +0000</bug_when>
    <thetext>The term must also include block-level replaced elements, for the same reason.

http://lists.w3.org/Archives/Public/www-style/2012Jul/0336.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69986</commentid>
    <comment_count>2</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-07-14 13:34:55 +0000</bug_when>
    <thetext>Proposal A:

Replace:
  # Step 2: If the element is a block, list-item, or other block
  #         equivalent:
with
  | Step 2: If the element is a block container or block-level replaced
  |         element:

Similarly, replace:
  # Step 4: For all its in-flow, non-positioned, block-level
  #         descendants in tree order: If the element is a block,
  #         list-item, or other block equivalent:
with:
  | Step 4: For all its in-flow, non-positioned, block-level
  |         descendants in tree order:
  |         If the element is a block container or replaced element:

(Note the line break, which I think adds needed clarity).

The suggested replacement in the former case has a dependency on Bug 17780 since it needs to exclude table cells.

The suggested replacement in the latter case has a dependency on Bug 17779 since since it needs to exclude replaced table boxes.

Proposal: http://lists.w3.org/Archives/Public/www-style/2012May/0498.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69992</commentid>
    <comment_count>3</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-07-14 22:48:10 +0000</bug_when>
    <thetext>Since a table element is a block container element (in that its principal table wrapper box is a block container box), Proposal A fails because table elements are caught by the first part of Steps 2 and 4 instead of falling through to the second part.

Proposal B:

In Step 2, replace:

  # If the element is a block, list-item, or other block equivalent:
  #   [...]
  #
  # Otherwise, if the element is a block level table:
  #   [...]

with:

  | If the element is a block level table:
  |   [...]
  |
  | Otherwise, if the element is a block container or block-level
  | replaced element:
  |   [...]

In Step 4, replace:

  # For all its in-flow, non-positioned, block-level descendants in
  # tree order: If the element is a block, list-item, or other block
  # equivalent:
  #   [...]
  #
  # Otherwise, the element is a table:
  #   [...]

with:

  | For all its in-flow, non-positioned, block-level descendants in
  | tree order:
  | If the element is a table:
  |   [...]
  |
  | Otherwise, the element is a block container or replaced element:
  |   [...]

Proposal derived from discussion in http://lists.w3.org/Archives/Public/www-style/2012Jul/0337.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69993</commentid>
    <comment_count>4</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-07-14 22:49:33 +0000</bug_when>
    <thetext>Proposal B has the same dependencies as Proposal A.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69996</commentid>
    <comment_count>5</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-07-14 23:03:41 +0000</bug_when>
    <thetext>Bug 17782 also affects this text.  For a proposal which combines Proposal B above with Proposal A from Bug 17782, see comment #3 in Bug 17782.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>