<?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>123501</bug_id>
          
          <creation_ts>2013-10-30 02:44:18 -0700</creation_ts>
          <short_desc>Web Inspector: [CSS Regions] Setting a forced break on an element via WI requires forcing a layout to apply the break.</short_desc>
          <delta_ts>2022-07-13 09:21:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>122760</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihai Balan">mibalan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>bfulgham</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>mihnea</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>WebkitBugTracker</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>944834</commentid>
    <comment_count>0</comment_count>
      <attachid>215487</attachid>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2013-10-30 02:44:18 -0700</bug_when>
    <thetext>Created attachment 215487
HTML file highlighting the problem

Setting a forced break via Web Inspector in an element&apos;s style will not change the layout to reflect the break unless a forced layout is triggered (e.g. by resizing the browser window).

Changing a rule however, will immediately change the layout.

Repro:
1. Open attached file
2. Open WebInspector and select first &lt;p&gt; in the &lt;article&gt;
3. Add in its style &quot;-webkit-region-break-after: always&quot;
EXPECTED: Second and third paragraphs flow in the second box
ACTUAL: Second and third paragraphs will not flow in the second box unless you resize the browser window
4. Add &quot;-webkit-region-break-after: always&quot; in the empty &quot;article p&quot; rule
EXPECTED &amp; ACTUAL: Layout changes immediately</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>944835</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-10-30 02:44:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/15349903&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1267263</commentid>
    <comment_count>2</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2017-01-16 18:44:46 -0800</bug_when>
    <thetext>I am not sure what you mean by &quot;add in its style&quot;. Do you mean, setting the style=&quot;&quot; attribute on the element, or editing a CSS rule in the Elements tab?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1267322</commentid>
    <comment_count>3</comment_count>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2017-01-17 02:20:48 -0800</bug_when>
    <thetext>By &quot;add in its style&quot; I meant &quot;edit the style of the element in the WebInspector&quot;. This effectively means editing the &quot;style&quot; attribute of the element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883048</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 09:21:37 -0700</bug_when>
    <thetext>CSS Regions were removed in Bug 174978.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>215487</attachid>
            <date>2013-10-30 02:44:18 -0700</date>
            <delta_ts>2013-10-30 02:44:18 -0700</delta_ts>
            <desc>HTML file highlighting the problem</desc>
            <filename>regions-page-break.html</filename>
            <type>text/html</type>
            <size>821</size>
            <attacher name="Mihai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