Bug 148054 - <br /> at end of line is rendered as space. This prevents text-align-right from working correctly.
Summary: <br /> at end of line is rendered as space. This prevents text-align-right fr...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-15 06:26 PDT by m.hatzold
Modified: 2015-08-17 11:18 PDT (History)
2 users (show)

See Also:


Attachments
if br is at end of the line, it is renderd as space, if it's in a new line, no space at the end. This affects text-align: right. (525 bytes, text/plain)
2015-08-15 06:43 PDT, m.hatzold
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.hatzold 2015-08-15 06:26:58 PDT
I am using Chromium Version 44.0.2403.107 Built on Debian stretch/sid, running on Debian stretch/sid (64-bit). I can't really say which WK version is running here, selecting 420+ is a guess.


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

</style>
</head>


<body>
<p>"br" in neuer zeile:
<br />
"br" in neuer zeile:
<br /> 
"br" in neuer zeile: 123
<br />
"br" in der gleichen zeile: Wort<br />
"br" in der gleichen zeile: noch ein Wort<br />
"br" in der gleichen zeile: 1234 567 890<br />
"br" in der gleichen zeile: 1<br />
"br" in der gleichen zeile: 12<br />
"br" in neuer zeile: 134
<br />
</p>
</body>
</html>
Comment 1 m.hatzold 2015-08-15 06:43:10 PDT
Created attachment 259090 [details]
if br is at end of the line, it is renderd as space, if it'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'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.)
Comment 2 Myles C. Maxfield 2015-08-17 11:18:12 PDT
Chromium does not use WebKit. Please file your bug at http://crbug.com/new