<?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>148054</bug_id>
          
          <creation_ts>2015-08-15 06:26:58 -0700</creation_ts>
          <short_desc>&lt;br /&gt; at end of line is rendered as space. This prevents text-align-right from working correctly.</short_desc>
          <delta_ts>2015-08-17 11:18:12 -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>DOM</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>m.hatzold</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>mmaxfield</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1117928</commentid>
    <comment_count>0</comment_count>
    <who name="">m.hatzold</who>
    <bug_when>2015-08-15 06:26:58 -0700</bug_when>
    <thetext>I am using Chromium Version 44.0.2403.107 Built on Debian stretch/sid, running on Debian stretch/sid (64-bit). I can&apos;t really say which WK version is running here, selecting 420+ is a guess.


&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
p {
                  color: black; 
                  padding: 0 47% 0 0; 
                  text-align: right;
                  }

&lt;/style&gt;
&lt;/head&gt;


&lt;body&gt;
&lt;p&gt;&quot;br&quot; in neuer zeile:
&lt;br /&gt;
&quot;br&quot; in neuer zeile:
&lt;br /&gt; 
&quot;br&quot; in neuer zeile: 123
&lt;br /&gt;
&quot;br&quot; in der gleichen zeile: Wort&lt;br /&gt;
&quot;br&quot; in der gleichen zeile: noch ein Wort&lt;br /&gt;
&quot;br&quot; in der gleichen zeile: 1234 567 890&lt;br /&gt;
&quot;br&quot; in der gleichen zeile: 1&lt;br /&gt;
&quot;br&quot; in der gleichen zeile: 12&lt;br /&gt;
&quot;br&quot; in neuer zeile: 134
&lt;br /&gt;
&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1117930</commentid>
    <comment_count>1</comment_count>
      <attachid>259090</attachid>
    <who name="">m.hatzold</who>
    <bug_when>2015-08-15 06:43:10 -0700</bug_when>
    <thetext>Created attachment 259090
if br is at end of the line, it is renderd as space, if it&apos;s in a new line, no space at the end. This affects text-align: right.

This is an html example which shows the effect of the rendering bug.

Vivaldi is showing the same Bug. But recent FF (44), Seamonkey (SeaMonkey/2.33
Build identifier: 20150308222602) and latest old Opera (v12.16) (all not WK based) don&apos;t show this bug.

(WK 420+ is a guess. I am using Chromium Version 44.0.2403.107 Built on Debian stretch/sid, running on Debian stretch/sid (64-bit) and cannot determine which WK version it is using. Sorry for that.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118162</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-08-17 11:18:12 -0700</bug_when>
    <thetext>Chromium does not use WebKit. Please file your bug at http://crbug.com/new</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>259090</attachid>
            <date>2015-08-15 06:43:10 -0700</date>
            <delta_ts>2015-08-15 06:43:10 -0700</delta_ts>
            <desc>if br is at end of the line, it is renderd as space, if it&apos;s in a new line, no space at the end. This affects text-align: right.</desc>
            <filename>file_148054.txt</filename>
            <type>text/plain</type>
            <size>525</size>
            <attacher>m.hatzold</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlPg0KcCB7DQogICAgICAgICAg
ICAgICAgICBjb2xvcjogYmxhY2s7IA0KICAgICAgICAgICAgICAgICAgcGFkZGluZzogMCA0NyUg
MCAwOyANCiAgICAgICAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0Ow0KICAgICAgICAgICAg
ICAgICAgfQ0KDQo8L3N0eWxlPg0KPC9oZWFkPg0KDQoNCjxib2R5Pg0KPHA+ImJyIiBpbiBuZXcg
bGluZToNCjxiciAvPg0KImJyIiBpbiAgbmV3IGxpbmU6DQo8YnIgLz4gDQoiYnIiIGluICBuZXcg
bGluZTogMTIzDQo8YnIgLz4NCiJiciIgaW4gc2FtZSBsaW5lOiB3b3JkPGJyIC8+DQoiYnIiIGlu
IHNhbWUgbGluZTogYW4gb3RoZXIgd29yZDxiciAvPg0KImJyIiBpbiBzYW1lIGxpbmU6IDEyMzQg
NTY3IDg5MDxiciAvPg0KImJyIiBpbiBzYW1lIGxpbmU6IDE8YnIgLz4NCiJiciIgaW4gc2FtZSBs
aW5lOiAxMjxiciAvPg0KImJyIiBpbiAgbmV3IGxpbmU6IDEzNA0KPGJyIC8+DQo8L3A+DQo8L2Jv
ZHk+DQo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>