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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>106995</bug_id>
          
          <creation_ts>2013-01-16 02:15:42 -0800</creation_ts>
          <short_desc>[CSS Fragmentation] Break-after:always always on a box and break-before:always on the next box should collapse</short_desc>
          <delta_ts>2014-02-03 11:59:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>AdobeTracked</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>113050</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrei Bucur">abucur</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mihnea</cc>
    
    <cc>syoichi</cc>
    
    <cc>WebkitBugTracker</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>808189</commentid>
    <comment_count>0</comment_count>
    <who name="Andrei Bucur">abucur</who>
    <bug_when>2013-01-16 02:15:42 -0800</bug_when>
    <thetext>In the case of two sibling boxes, the first specifying break-after: always and the second break-before: always, there should be only one break generated and no empty fragmentainer.

&quot;A forced break then occurs at (1) if, among the ‘break-after’ properties specified on or propagated to the earlier sibling box and the ‘break-before’ properties specified on or propagated to the later sibling box there is at least one with a forced break value.

When multiple forced break values apply to a single break point, they combine such all types of break are honored and no content-empty page boxes are generated, except for at most one content-empty page as may be required by the forced break values to position ensuing content on a specific type of page. When ‘left’, ‘right’, ‘recto’, and/or ‘verso’ are combined, the value specified on the latest element in the flow wins.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>808191</commentid>
    <comment_count>1</comment_count>
      <attachid>182940</attachid>
    <who name="Andrei Bucur">abucur</who>
    <bug_when>2013-01-16 02:16:13 -0800</bug_when>
    <thetext>Created attachment 182940
Test case</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>182940</attachid>
            <date>2013-01-16 02:16:13 -0800</date>
            <delta_ts>2013-01-16 02:16:13 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>collapse_breaks.html</filename>
            <type>text/html</type>
            <size>572</size>
            <attacher name="Andrei Bucur">abucur</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c3R5bGU+CiNjb250ZW50IHsKCS13ZWJraXQtZmxvdy1pbnRvOiBmbG93
Owp9CgoucmVnaW9uIHsKCS13ZWJraXQtZmxvdy1mcm9tOiBmbG93OwoJbWFyZ2luOiAxMHB4OwoJ
d2lkdGg6IDUwMHB4OwoJaGVpZ2h0OiAxMGVtOwp9CgojcjEgewoJYm9yZGVyOiA1cHggc29saWQg
Ymx1ZTsKfQoKI3IyIHsKCWJvcmRlcjogNXB4IHNvbGlkIGdyZWVuOwp9CgojcjMgewoJYm9yZGVy
OiA1cHggc29saWQgcmVkOwp9Cjwvc3R5bGU+CjwvaGVhZD4KPGJvZHk+Cgk8ZGl2IGlkPSJjb250
ZW50Ij4KCQlCZWZvcmUgcDEKCQk8cCBzdHlsZT0iLXdlYmtpdC1yZWdpb24tYnJlYWstYWZ0ZXI6
YWx3YXlzOyI+VGhpcyBpcyBwMTwvcD4KCQk8cCBzdHlsZT0iLXdlYmtpdC1yZWdpb24tYnJlYWst
YmVmb3JlOmFsd2F5czsiPlRoaXMgaXMgcDI8L3A+CgkJQWZ0ZXIgcDIKCTwvZGl2PgoJPGRpdiBj
bGFzcz0icmVnaW9uIiBpZD0icjEiPjwvZGl2PgoJPGRpdiBjbGFzcz0icmVnaW9uIiBpZD0icjIi
PjwvZGl2PgoJPGRpdiBjbGFzcz0icmVnaW9uIiBpZD0icjMiPjwvZGl2Pgo8L2JvZHk+CjwvaHRt
bD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>