Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-Windows
New issue 233879 by
grifan...@gmail.com: Bug with linear-gradient layout
http://code.google.com/p/chromium/issues/detail?id=233879
Chrome Version : 26.0.1410.64 m
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5: OK
Firefox 20: OK
IE 10: OK
What steps will reproduce the problem?
1. add this css style for some block element:
background: -webkit-linear-gradient(left, red 0%, red 50%, blue 50%, blue
100%);
my html/css is:
<!DOCTYPE html>
<title>Template</title>
<style>
html, body {height: 100%; margin: 0;}
body {
background: -webkit-linear-gradient(left, red 0%, red 50%, blue 50%,
blue 100%);
background: -moz-linear-gradient(left, red 0%, red 50%, blue 50%, blue
100%);
background: -ms-linear-gradient(left, red 0%, red 50%, blue 50%, blue
100%);
}
</style>
What is the expected result?
Background should have two equal sides red and blue with 50% width of every
side. IE10, FF20, SF5 show this expected result.
What happens instead?
Chrome adds some pixels to the left side (which is red) and these sides
became not equal. Width of tested screen is 1366px, but this bug is
reproduced with another resolutions. Width of "red side" is 697px, and
width of "blue side" is 669px, see attach, please.
Thank You.
Attachments:
google.png 49.8 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings