<?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>178990</bug_id>
          
          <creation_ts>2017-10-29 13:40:12 -0700</creation_ts>
          <short_desc>Web Inspector: Styles: Editing style attribute prepends line-break</short_desc>
          <delta_ts>2017-10-29 13:50:07 -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>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=178835</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikita Vasilyev">nvasilyev</reporter>
          <assigned_to name="Nikita Vasilyev">nvasilyev</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1365836</commentid>
    <comment_count>0</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2017-10-29 13:40:12 -0700</bug_when>
    <thetext>Editing the style attribute via the sidebar causes a line-break character to be prepended to the style attribute text in the DOM tree.

This affects both the old and the new styles sidebar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365837</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-10-29 13:40:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/35242049&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365838</commentid>
    <comment_count>2</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2017-10-29 13:43:31 -0700</bug_when>
    <thetext>This was introduced in Bug 157869 - REGRESSION (r188730): Web Inspector: Warning icons incorrectly positioned in CSS Rules sidebar.

https://bugs.webkit.org/show_bug.cgi?id=157869#c10:
&gt; This patch is essentially fixes the bug without making too much changes in
&gt; how we handle spacing and indentation in CSS.
&gt; In the future, we shouldn&apos;t append or prepend &quot;\n&quot; to inline styles at all.
&gt; This would require more changes to be made, which can
&gt; potentially break things.

Now is a good time to make these changes and add more tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>