DescriptionFixed positioned element with relative percentage positioned parent is wrongly placed
The usage of Length::value() is causing a bug as 25% was translated to 25px,
which is wrong.
Use valueForLength() instead in order to get the accurate value.
Modified current test to add some examples using percentages.
BUG=31286, 425991
TEST=fast/css/css-properties-position-relative-as-parent-fixed.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185274
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|