Bug 148054

Summary: <br /> at end of line is rendered as space. This prevents text-align-right from working correctly.
Product: WebKit Reporter: m.hatzold
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: dino, mmaxfield
Priority: P2    
Version: 420+   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
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. none

m.hatzold
Reported 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>
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
m.hatzold
Comment 1 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.)
Myles C. Maxfield
Comment 2 2015-08-17 11:18:12 PDT
Chromium does not use WebKit. Please file your bug at http://crbug.com/new
Note You need to log in before you can comment on or make changes to this bug.